LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 05-29-2007, 03:52 PM
Knigh7 Knigh7 is offline
Registered User
 
Join Date: May 2007
Posts: 1
Rep Power: 0
Knigh7 is on a distinguished road
Exclamation ScrollPane little help

Ok I'm using Component ScrollPane and I'm loading 4 external Images jpeg in the Scrollpane and it's in Actionscript 3.0.

I have 4 buttons named instance img1_btn, img2_btn img3_btn img4_btn
The ScrollPane instance Name is img_ldr.

So I want to load 4 images into my Scrollpane.
Everything is working ok, but I need the code in Actionscript 2.0 not 3.0.


function showImg1(evt:MouseEvent):void {
img_ldr.source = "images/myimage.jpg";
}
img1_btn.addEventListener(MouseEvent.CLICK, showImg1);

How do I write the same code in actionscript 2.0.
This is really important if anyone can help.
Thank you in advance.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrollpane Glitch madM1k3y Flash MX 2004 1 11-22-2006 02:38 PM
scrollpane redraw? tommy rehulka Actionscript 2.0 Components 4 09-24-2006 12:12 PM
newbie scrollpane problem quaich Actionscript 1 Components 9 09-02-2006 03:47 AM
Help with Scrollpane and loading MC's? Shana-chan Flash MX 1 02-03-2005 12:23 AM
Scrollpane with a dynamically growing movie clip skchun23 Flash MX 3 09-09-2004 11:05 PM




All times are GMT. The time now is 01:01 PM.