Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-20-2001, 07:16 PM   #1
Zen
Registered User
 
Join Date: Mar 2001
Posts: 3
Question

I don't know how to write this an action like this:

1)

go to the frame number 70 in the next scene

(I need not to use the name of the scene in order to change scenes and order frequently)

2) It'll be helpfull also sth like

go to the frame number 70 in the next movie (swf) that is in the folder named X

Thanks, very much

MartinZen

Zen is offline   Reply With Quote
Old 03-20-2001, 08:34 PM   #2
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

question 1
You can use tellTarget

on (release) {
tellTarget ("_level0/") {
gotoAndPlay ("hi");
}
}

Add label "hi" on the frame number 70 in your next scene


question 2
You have to load your movie on some level and play it using same action (tellTarget)


Strok is offline   Reply With Quote
Old 03-22-2001, 08:26 PM   #3
Zen
Registered User
 
Join Date: Mar 2001
Posts: 3
Default

Thank you Strok,

I haven't success with the "hi" labels mechanism.
The projector didn't recognize the action as goto the "hi" in the NEXT scene.

My project is a cd displaying a lot of slides (fade in, picture, fade out... next).

I moved from switching scenes to loading .swf, and I put the things in a different way, so maybe you can help me.

1) Extracting a value from a movie name

I think what I have to do is:
a) Create a variable (I named it "count")
b) Write in the value field some expression that extracts its value from the name of the swf currently loaded at level 1
(for "item115.swf", count = 115)

2) Putting the value in a movie name

Then I have to write some buttom actions:
c) load at level 1 a movie called: "item" + the first number greater than count current value (the next movie in the list can be 116 or 120...) + ".swf"
d) load at level 1 a movie called: "item" + count current value + "alt.swf"

Thanks again

MartinZen
Zen is offline   Reply With Quote
Reply


Thread Tools
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
relative path to SWF in loadMovie() is relative to HTML page not the parent SWF danielito540@hotmail.com ActionScript 2.0 11 08-21-2008 01:49 PM
question regarding layer jungyung ActionScript 1.0 (and below) 2 10-02-2006 11:57 AM
rollOver button goto frame ukspursbloke ActionScript 2.0 5 09-29-2006 11:07 AM
Relative Directory Paths in flash CthulhuChild ActionScript 2.0 3 07-10-2006 05:30 PM
Swapdepth using txt files and dynamic content for game. superbnerb ActionScript 1.0 (and below) 3 09-22-2004 08:27 PM


All times are GMT. The time now is 06:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.