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 June 27th, 2003, 07:51 AM
adsouza adsouza is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 adsouza User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
moving to a particular frame with a movie

hi, i was wondering if any of you guys have tried doing something like this.

I have a main file called intro.swf, this in turn calls other swf files. The intro is fed a text file called "data.txt". eg

loadVariablesNum("data.txt", 0);

This text file defines variables to load swf files. eg:

url_rub3=Chapter3.swf&titre_rub3_s1=Overview&url_rub3_s1=Chapter3.1.swf&url_rub3_s2=Chapter3.2.swf

and so on...

The only file that is embedded in the html is the intro.swf.

What i need to do is when the intro page is loaded, i would like the user to go to a particular frame in the loaded movie (something like a bookmark). This is what i'm trying to do in the intro.fla file


loadMovieNum(url_rub3_s2,1);
_level1.gotoAndPlay(6);


where:
url_rub3_s2 is the "Chapter3.2.swf" to be loaded.

It loads the chapter, but i cannot move to that frame as i'm still in the intro.swf.

I'm not sure, if i'm going the right way. Any suggestion/solutions?

Regds,
Allwyn

Reply With Quote
  #2  
Old July 10th, 2003, 09:20 AM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
what is the file size of "chapter3.2.swf"? the logic of the code is, if it hasn't finish downloading at least 6 frames, it can't goto the 6th frame. (LOL! trying to explain codes in english is trickier than i thought.)

what you might want to do, is to preload the chapter3.swf into level1. and when you reached the end of your intro, tells it to goto the 6th frame of level1.

(1) blank frame in the first keyframe of chatper3.swf ; and put a stop() action on that first frame.

(2) at the beginning of the intro, loads chapter3.swf into level 1

(3) at the end of intro, do .... "_level1.gotoAndPlay(6);"


hope that works.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > moving to a particular frame with a movie


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 2 hosted by Hostway