This site is optimised for Firefox 2.0 or Internet Explorer 7.

Problem with movie clip when I select other links.

brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Problem with movie clip when I select other links.

Postby brandroid on Mon Aug 24, 2009 12:44 am

Im a beginner to Flash and to help me grasp the basics of building my own Flash site, I downloaded some Flashmo.com website and looked at the actionscript etc. One thing I tried to do was import their carousel template into one of their flash templates. When I did this however the carousel won't disappear when I click on other links. I set the site to load on another frame that doesn't contain the carousel, and it works fine but when I click on the link containing the carousel it starts up and wont disappear once I goto other links. Im sure this has something to do with the actionscript. If anyone has any suggestions as to what might possibly be done I'd appreciate it very much. Thanks.

I loaded the site online so you can get an idea of what Im talking about.
http://www.teeworksink.com/temp

User avatar
Defenestrated
 
Post Count: 243
Joined: Fri Jul 24, 2009 11:17 pm
Location: Stockholm, Sweden
Flash Version: Adobe Flash CS4

Re: Problem with movie clip when I select other links.

Postby Defenestrated on Mon Aug 24, 2009 6:45 pm

Post the source so we can help you.

brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Re: Problem with movie clip when I select other links.

Postby brandroid on Tue Aug 25, 2009 1:15 am

Great thank-you I'd appreciate any help I can get. I'm not sure if I need to add actionscript to the menu_list or the movieclip itself. Thanks for the reply. Pretty sure this is the right file.
Attachments

mytestsite.fla [ 2.18 MiB | Viewed 564 times ]


brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Re: Problem with movie clip when I select other links.wo

Postby brandroid on Wed Aug 26, 2009 3:11 pm

Think I have to edit the action script contained on the frame, in the movie clip, or in the link list? Also ill add the XMLFile for the source file I don't think the carousel will work without it. Please anyone who has any suggestions please reply id be very appreciative because I'm sure ill be doing this a lot in sites in the future. Thanks

User avatar
Defenestrated
 
Post Count: 243
Joined: Fri Jul 24, 2009 11:17 pm
Location: Stockholm, Sweden
Flash Version: Adobe Flash CS4

Re: Problem with movie clip when I select other links.

Postby Defenestrated on Thu Aug 27, 2009 8:49 am

I tried the source, but it's like you said, it won't function without the .xml files. Try just zipping together everything you have in your project folder and posting it.

brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Re: Problem with movie clip when I select other links.

Postby brandroid on Fri Aug 28, 2009 4:37 am

Ok heres the .zip file hope this works for you sorry. The zthumnails are the thumbnails for the bottom scrolling images, just so your not confused, I haven't edited the actionscript for that, but I'm sure I can figure that out. Thanks again for taking a look at this for me, I really appreciate any help any of you can bring to the table. Hope I don't waste any more of your time. I didn't include the .FLA because no matter what I did with that it made the file too large the forum wouldn't let me upload it unless I did it seperate so just put the .FLA above in the folder and I'm pretty sure it will work fine. Sorry for the inconvenience once again. Thanks again.
Attachments
newtestsite.zip
just add the .FLA included in this folder from my previous post.
(195.58 KiB) Downloaded 28 times

brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Re: Problem with movie clip when I select other links.

Postby brandroid on Sat Aug 29, 2009 8:25 pm

Did that work for you guys? If not please let me know.

User avatar
Defenestrated
 
Post Count: 243
Joined: Fri Jul 24, 2009 11:17 pm
Location: Stockholm, Sweden
Flash Version: Adobe Flash CS4

Re: Problem with movie clip when I select other links.

Postby Defenestrated on Sun Aug 30, 2009 12:09 am

The reason the carousel won't disappear is because the items on the carousel are added to flashmo_contents dynamically through the duplicateMovieClip method and are therefore not bound to any one frame. The best solution would be to create a separate movieclip for the carousel and toggle its visibility. This would also solve another major bug you have, that the code for the first frame runs every time you go back to home causing several carousels to be created. Hope this helps you!

brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Re: Problem with movie clip when I select other links.

Postby brandroid on Sun Aug 30, 2009 3:36 pm

Oh thank-you! It works like a charm now. I didn't toggle it's visibility though. What I did was create a movie clip for it and then placed it inside the flashmo_contents clip on the home link frame. Its not playing anymore when I click on other links, but will it create multiple carousels everytime I go back to home like you said, it doesn't seem like it is. I really appreciate your help Defenestrated.

User avatar
Defenestrated
 
Post Count: 243
Joined: Fri Jul 24, 2009 11:17 pm
Location: Stockholm, Sweden
Flash Version: Adobe Flash CS4

Re: Problem with movie clip when I select other links.

Postby Defenestrated on Sun Aug 30, 2009 3:53 pm

No that was an earlier problem, since the carousel script was on the first frame of flashmo_contents it would run every time you went back to the first frame. But you've solved that now by storing the carousel in its own movieclip.

brandroid has no avatar
brandroid
 
Post Count: 7
Joined: Mon Aug 24, 2009 12:34 am
Flash Version: Macromedia Flash 8

Re: Problem with movie clip when I select other links.

Postby brandroid on Mon Aug 31, 2009 4:24 pm

Ok great it seems to be working wonderfully. I appreciate your help its suprising how tough it is to get help in flash forums. I'm used open source shopping cart forums where you get a reply in an hour or so.

Sonicpossum has no avatar
Sonicpossum
 
Post Count: 2
Joined: Thu Jul 29, 2010 1:26 am
Flash Version: Adobe Flash CS4

Re: Problem with movie clip when I select other links.

Postby Sonicpossum on Thu Jul 29, 2010 2:30 am

Hey there guys
Im also new to this and having the same problem, while i do understand most of what youre saying i dont know how to create the movie clip that encompasses the whole carousel. Any direction would be greatly appreciated
Thanx

Sonicpossum has no avatar
Sonicpossum
 
Post Count: 2
Joined: Thu Jul 29, 2010 1:26 am
Flash Version: Adobe Flash CS4

Re: Problem with movie clip when I select other links.

Postby Sonicpossum on Thu Jul 29, 2010 7:31 pm

Ok never mind, I finally got my brain working and figured it out. Thank you for helping out brandroid and thereby helping me
Cheers


Return to General Flash

Who is online

Users browsing this forum: No registered users and 2 guests