It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Flash Forum

I need a help for flash scripting.?

Moderator: Phate

I need a help for flash scripting.?

Postby vickymesh on Fri Sep 07, 2007 7:42 am

I had made a two different movie clip for web design company client - one is a scroller another movie clip contains some images in scroller movieclip I had put some buttons. Now when we click first button a particular image should appear in 2nd movieclip, when I click 2nd button another image should appear. but I am not able to give a perfect script to button so that it link to another movie clip. Can pls. someone can help me.
vickymesh
 
Posts: 4
Joined: Fri Sep 07, 2007 7:30 am

Postby Kangho on Sat Sep 15, 2007 5:49 am

Did you use the On(press) ?
User avatar
Kangho
 
Posts: 41
Joined: Thu Aug 23, 2007 8:07 am
Location: At home

Postby knifeinback on Sat Sep 15, 2007 6:28 am

That site is the most overpriced piece of crap I've ever seen.
just for the record.
User avatar
knifeinback
100+ Club
 
Posts: 136
Joined: Fri Jul 27, 2007 10:41 am
Location: 4170: Brisbane

Postby tkgd2007 on Sun Feb 10, 2008 11:53 am

It's actually not that overpriced... assuming the websites produced are great and the web designers have a good portfolio to back them up.

And to respond to your question... here is an example.

Button 1
Code: Select all
on(press){
_root.mymc.gotoAndStop(2);
}


Button 2
Code: Select all
on(press){
_root.mymc.gotoAndStop(3);
}


first frame of mymc (movieclip)
Code: Select all
stop();


second and third frames have the images you want to show. Hope this helps.
tkgd2007
100+ Club
 
Posts: 103
Joined: Thu Nov 15, 2007 10:46 pm


Who is online

Users browsing this forum: No registered users and 0 guests

cron