Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

still not working from within movieclip symbol

Status
Not open for further replies.

neobadlands

Programmer
Sep 2, 2000
24
DE
I already posted this:

Trying to reach main timeline from button within movieclip symbol.

davdesign told me to use "level0/", I guess in addition to "telltarget".

It works, but the main movie just starts to play, i.e. "gotoAndPlay" does not work, somehow...

Need help ASAP.

Neo
 
hi

if you send me the fla I'll have a look at it and e-mail back.

dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
hi

when you're targeting the main timeline be sure to target _level0 as an 'expression' so that the button action looks like this:

on (press) {
tellTarget (_level0) {
gotoAndPlay (40);
}
}

i.e: there's no quotation marks anywhere. I've sent you the fla by e-mail and it works fine now.

dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
hi neo
I've posted the fla to you but I'll put the explanation up here in case there's any other people who are unsure.

Flash 5 users
>>Create your buttons and drag them into position on the main stage.
>>open your actions window from the toolbar: Window>Actions or Ctrl+Alt+A
>>Click on the button you want to add actions to.
>>Go into the actions window.There's an arrow at the top left, clickon that and make sure that you are in 'Normal Mode'.
>>There are 6 submenu's on the left, click on 'Actions'.
>>Double click the action 'on'
>>Select 'release', 'rollover' etc to suit
>>Double-click the action 'getURL'
>>The three options that appear below should be filled in as follows:

URL: the-page-you-want-to-load.html
Window: the-name-of-your-target-frame
Variables: Don't send

So if you had a 'home' button on your nav-bar and wanted it to load 'home.html' into a frame named 'right', your getURL actions would look like this:

URL: home.html
Window: right
Variables: Don't send

And thats it!!!

Flash 4 users
>>Create your buttons and drag them into position on the main stage.
>>Double-click the button you want to give actions to.
>>Click on the + sign to add an action
>>Select 'OnMouseEvent' and select the option for 'press', 'release' etc
>>Click on the + sign to add an action
>>Select 'GetURL'
>>The three options that appear below should be filled in as follows:

URL: the-page-you-want-to-load.html
Window: the-name-of-your-target-frame
Variables: Don't send

So if you had a 'home' button on your nav-bar and wanted it to load 'home.html' into a frame named 'right', your getURL actions would look like this:

URL: home.html
Window: right
Variables: Don't send

And thats it!!!

Hope this helps
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
oops

posted in wrong thread ^^^ sorry!

dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top