Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 27th, 2004, 02:26 PM
dedalien dedalien is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 dedalien User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Button embedded in movie clip...not working

I'm a pretty experienced Flash user, but mostly self taught and not at all an expert on ActionScript. Here's what I have going:

I have a movie with many multiple scenes embedded. In one of the scenes, I have a layer that has a movie clip inserted to a keyframe. In that movie clip, is a button that slowly floats around. I want to make it so that when someone clicks on the button, wherever it is on the page, it can load the scene that I specify. However, when I set up the action, and then click on the button, it just reloads the scene that the button is in.

Does anyone know an action I can use to correct this? Or do I just need to take the button out of the movie clip keframe, and just create the animation and motion in the scene timeline itself.

Hopefully someone can help. I'm thinking it's an easy fix, just probably something I've never come across before. Thanks!

Reply With Quote
  #2  
Old February 27th, 2004, 02:48 PM
binkyboo binkyboo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 114 binkyboo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
You need the button to specifically target a label, not a scene. Put in a frame label on the first frame of the scene you need your button to jump to. Your button should then have this code on it:

Code:
on (release) {
    _parent.gotoAndPlay("labelName");
}

Reply With Quote
  #3  
Old February 27th, 2004, 02:57 PM
dedalien dedalien is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 dedalien User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'll give that a shot. thanks. I figured it was something small that i was leaving out somewhere.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Button embedded in movie clip...not working


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT