Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Starting Preload From Specific Frame ?



Here is one for the courts to decide on.

I have a movie that bookmarks itself when it is closed. So when you load it back into the shell movie it will start at the last frame it left off from. I am using SharedObjects for all that bookmarking business.

Now what I want to do is only preload the remaining frames of the external swf starting from the last frame the user left off from.

For example: the movie being loaded in has 100 frames total. The user watches the first 50 frames and then closes the browser (or unloads the movieClip...whatever..doesn't matter). So now when the user comes back to that particular swf he will start watching from frame 51.

So , is there a way to preload only the frames from 51 to 100?

Anyone? thanks!



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-27-2003, 12:48 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Starting On A Specific Frame...
hey guy's, maybe someone here can help.

i have a MovieClip with 40 frames.

i was wondering when i load that movie clip can i make it start on a specific frame eg. let's say frame 30..instead on frame 1........

can this be done??

Any help would be greatly appreciated, kind of urgent.

thanx heaps
mdesign

Starting .swf In Specific Frame?
I want to do the following:

If I open a specific html-page on my site, there is a flash-menu on it. I want to start that flash-menu in a specific frame, which I enter on the html page. I know it can be done, but I don't know how. I use this to enter the frame-value in the html:


Code:
<EMBED SRC="flash/movie.swf?frame=11"

So I want the menu to start at frame 11 when the page is opened instead of frame 0.

Now I need to read this variable "frame" in the first frame of the flash-menu. But I don't know how to do this. Can anyone help me please?

Starting Movie At Specific Frame
here's the problem...

I have this movie which acts as my menu, when I click on it I want ti to load another page...when this new page loads up, I don't want the menu to go through it's loading sequence again, so I was wondering if I could gotoandstop at a certain frame once I load up a page.

Thanks in advance!

[F8] Starting At A Specific Frame On Pageload
Hello,

I was wondering the easiest way to have a flash header start at a specific frame on pageload. The reason is, the whole header on my website is a flash header with animations/intro-like effects at the beginning. I was hoping to keep this on the first page, but just have it start at the end on the rest of the pages, thus skipping all of the intro effects while still having the identical header.

Thanks in advance,
Robert

Starting On A Specific Frame Of A Movieclip
I am almost finished making a flash movie, but I am stuck on one problem. The second scene consists of one movieclip that is about 1500 frames long. I am trying to get it so that at a certain time in the third scene I put a copy of that movieclip in and it would start playing at around frame 700 of the movieclip instead of starting at frame 1. If anyone knows a certain script that can help me with this I would greatly appreciate it. This seems like my only option without having to pretty much redo the whole thing (about 4000 frames)

Starting In A Specific Frame Of A Flash-movie
My problem is that my flash-menu is that my flashmenu got specific states. For example when you click on "guestbook" -- a G will be available on the left corner of the menu.

The problem is that when you load a new html-page, the menu will reload and loose its guestbookstate.

I've tried:

1)
Include this in the HTML-file:
<param name="movie" value="gfx/flash/meny.swf?startFrame=Frame 5">
<embed src="gfx/flash/meny.swf?startFrame=Frame 10" ...

2)
Include this in the HTML-file:
<param name="flashvars" value="startframe=5">
<embed ... flashvars="startframe=5"

3)
Javascript -- I've it working, but not under firefox and mac, therefore this solution isn't acceptable

4)
Try to implement the solution that was used in this thread:
http://forums.devshed.com/t188028/s.html&highlight=geturl
I've attached my files for nbr 4, if somebode likes to take a look in them

Here is how the menu will look like: www.runtimerecords.net/flash-problem

Thanks//

Starting A Flash.exe From Director And Sending It To A Specific Frame
Hey all- Have a bit of a pickle here. I am working on a project where a game was developed in Director. From anywhere in the game they can click on a link for help. This will start up a flash.exe. That isn't a problem, but can I send a variable to tell the flash which frame to goto? I need to send the users to the help page relating to the page they are on in director.

In other words, how do I pass a variable between Director and a Flash projector on windows?


Any help would be deeply appreciated.

Thanks
cognizen

Preload Specific Frame?
Hi,

Hopefully some kind soul out there can help me.

I've got a big flash movie with lots of photography in it. I need the movie to keep downloading continuously, but I'd like to sort it so that when a user clicks on a link to go to a frame near the end of the movie, preloading that frame takes priority over the others. (am I explaining this OK?)

Say they click to go to frame 150, and there is loads of stuff on frames 100-149, it seems that flash needs to load all these frames before it can display frame 150. Is there a way around this? Without sacrificing continuous preloading. (Originally I was loading every frame in as a seperate '.swf', but obviously, you can't preload a lot of stuff that way)

Any help would be greatfully appreciated

Jamie

Preload Up To A Specific Frame
I have a movie I'd like to make a preloader for. I DON'T WANT TO USE 'IF FRAME LOADED'. I'd like to preload frame 150 (theres more frames but this is the frame I'd like to preload and have the movie start playing from there). Please advise as to how I can do this with FLASH MX.

Thanks!

Preload External .swf And Play At Specific Frame
here is my problem for all you flash guru out there.

i have this main movie that has a background music loop, which i saved as a separated .swf file, that plays through all scenes in the main movie with out interruption. (user has the option to turn it on/off)

i have a preloader scene that only check, i guess the root level but not level 1 where i set the external .swf file. i am sure there's a way to check the completion of both level 0 and 1 of the movie before the it jumps to the very next scene, can someone tell me? also, i don't want the movie to load or music to play right after the .swf file is loaded. instead, i want it to play at a specific frame of the next scene. so is there a way i can "store" the loaded .swf file and play it when the movie process to the desired frame?

thanks in advance for your time!

Loading External Movie And Starting With Specific Frame Of That External Movie
I would like to load an external swf onto my stage and go to any specific frame of that external swf. Can this be done in Flash? If yes Please give me a sample or any help.

Loading External Movie And Starting With Specific Frame Of That External Movie
I would like to load an external swf onto my stage and go to any specific frame of that external swf. Can this be done in Flash? If yes Please give me a sample or any help.

Specific Starting Points
Is it possible to set up several starting points in a flash movie and then add code that will tell the movie to randomly (or in a specific order) play at these different starting points? (this is what my client wishes for it to do)

Starting An Animation At A Specific Time.
Hey everyone,

I'm trying to figure out how to start a flash animation at 7PM PST every Tuesday PST—this animation would signify a 'live chat.' I can't figure how to make it PST specific, or how to do automate it every Tuesday, and I'm not sure if it's possible with just AS2.0 and no php involvement. I looked up the "get.Timeshift" function in the help, but it didn't make sense to me.

Anyone's insight would be very appreciated!

Thanks!

Chris

Video Starting At Specific Time?
I'm working on a teaching site and don't have any previous experience with Flash, so I was hoping someone could help me with 2 questions:

1) Is it possible to start a video at a specific time?
2) Is it possible to start a video mid-way through the movie?

Here's an example of what I'm talking about:

Say we want to play a 15 minute video and we want it start at 2:00pm. If someone goes to the website at 2:00pm, they'll get to see all 15 minutes of the video. If someone goes to the website at 2:05pm, the video will start at the 5-minute mark and they'll only get to see the final 10 minutes of the video.

Is this possible?

Thanks!

Starting A Scene When Stopping On A Specific Keyframe
I am working on a scene which contains about 30 keyframes. Every time the scene stops on a keyframe an other scene should start playing. So if it stops on keyframe 1, scene A should start playing and if it stops on keyframe 2, scene B should start playing etc. etc. But since I’m not very experienced with action scripts I can’t find any way to make this work. Can anyone please give me some advice? I am really very much stuck right now………

If Timeline Came From (specific Frame Of Any Scene), Go To (specific Frame)
Hi, I have thirteen scenes, each one has 2 frames, one with audio (loadSound) one without. What's the best way to tell flash when a user clicks on a nav button (which calls a scene) to go to the 1st or 2nd frame of the scene depending on if the previous scene was playing the 1st or 2nd frame?

Thanks in advance.

Specific Html Page Triggers Specific Frame Of The Flash Movie
I have been playing with flash and html and wonder if any of you have a bright idea on how to do this.


I have a flash movie, which I call from html but depending on which part of the html page I call it from I want to start it at a particular frame and not always from the beginning.

I have created a variable within the movie in action script and given it a different value for each of the frames I want to start the movie at, and want now to designate the value I give to that within html so that the movie “jumps” to the correct frame. Is this possible or am I totally crazy??

How To Time The Starting Of An Exteranlly Loaded Movie After A Specific Part Of Main
Plz help with this...
how to time the starting of an exteranlly loaded movie after a specific part of main movie has loaded...

I have a movie called mywork.swf, which is loading thumbnails and display (the display of main clip/ image when u click on any thumbnail) externally from a movie called thumbnail_loaded.swf
Now that is working fine...
But the problem is here... in mywork.swf , I am also loading a movie called tbn_detail.swf whihc has the detail of the work displayed (from thumbnail_loaded.swf) and the serial number of the project page (like in www.albertocerriteno.com , in exhibition link click on any thumbnails and see the numbers with detail on top- thats exactly wat i want) but dont knw how to get it working...if some1 has a similar file or knws how i shd go about it plzzz help ...im working on a deadline so any urgent help wld be much appreciated...

Thanks a ton

How To Time The Starting Of An Externally Loaded Movie After A Specific Part Of Main.
Plz help with this...
how to time the starting of an exteranlly loaded movie after a specific part of main movie has loaded...

I have a movie called mywork.swf, which is loading thumbnails and display (the display of main clip/ image when u click on any thumbnail) externally from a movie called thumbnail_loaded.swf
Now that is working fine...
But the problem is here... in mywork.swf , I am also loading a movie called tbn_detail.swf whihc has the detail of the work displayed (from thumbnail_loaded.swf) and the serial number of the project page (like in www.albertocerriteno.com , in exhibition link click on any thumbnails and see the numbers with detail on top- thats exactly wat i want) but dont knw how to get it working...if some1 has a similar file or knws how i shd go about it plzzz help ...im working on a deadline so any urgent help wld be much appreciated...

Thanks a ton

How To Load Specific Frame Of Specific Movie On Another Layer
Here's my setup:

Layer 0 = main movie

Layer 1 = navigation movie

Layer 2 = products.swf


Using a button located on Layer 1 (that contains navigation.swf), I need to load on Layer 2 the products.swf, and it needs to land on frame 54 of that movie.

I'm fairly illiterate r.e. ActionScript, so go gentle on me, please, LOL

Thanks!!!!!

Specify A Starting Frame?
Greetings,

Is it possible to specify a starting frame for a flash movie in the OBJECT or EMBED tags?

The situation that I am specifically referring to is a site where I have two different flash movies playing in two different frames. One movie is a navigation bar with a few submenus. The other movie is a map that is in the main frame of the site. I want the map movie to be able to load or control the other movie. I figured the easiest way would be to specify the starting frame on the navigation movie when it loads. I have been experimenting with passing variables to the movie and then using an IF/ELSE logic tree to simply gotoandplay() the frame that I want, but the logic doesn't seem to be working.

Is there a way to just send a starting frame number in the OBJECT or EMBED tag? If so, I can do all my logic with PHP and just send the correct tag to load the movie at the frame I want.

Any help is appreciated,
-Pete

Starting From Different Frame
I have a flash document that needs to be started from frame 3 and not frame 1. Is there a actionscript that tells the document to start from frame 3 on loading?

Cheers

Starting At A Different Frame
i want to send people a link to my flash site but i want to take them to a specific section of the site....since my site is all run/contained in one swf - how can i do this since the url for the whole site is always the same?

thanks

Starting From A Different Frame
Hello there, this is my first post here, i have had a look through the archieves but was unsuccessful.

I'm wondering if i can start from a different frame by giving some parameters to flash via a link, or is there another way this can be done..?

thx...

Starting Movie On Last Frame
This seems like it should be easy, but because I don't know what I'm doing, it's not. :>

Here's the situation. When a visitor goes to index.html at my site, a Flash movie with preloader plays. At Frame 99, a script launches another page (welcome.htm) in the same browser window. On this page, and every other page in my site, the last frame of the movie (101) is the navigation menu. So I don't want the entire movie to play on these pages. I want it to start on Frame 101.

Here's the action script:

Frame 99: getURL ("welcome.htm");

Frame 100: Flag = "2";
gotoAndPlay (101);

Frame 101: stop ();



Here's my HTML:

index.html:

<PARAM NAME=movie VALUE="pieceofeight.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=medium> <PARAM NAME=salign VALUE=T> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="pieceofeight.swf" loop=false menu=false quality=medium salign=T wmode=transparent bgcolor=#FFFFFF WIDTH=755 HEIGHT=231 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>


welcome.htm

<PARAM NAME=movie VALUE="pieceofeight.swf?flag=2"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=autohigh> <PARAM NAME=salign VALUE=T> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="pieceofeight.swf?flag=2" loop=false menu=false quality=autohigh salign=T wmode=transparent bgcolor=#FFFFFF WIDTH=755 HEIGHT=231 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>



Instead of starting the movie at Flag 2 (Frame 100), the movie is starting at the preloader when welcome.htm is launched.

What am I doing wrong?

Thanks in advance for your help.



Devon

Movie Not Starting From Frame 1
Problem:

Well when my preloader finishes, its supposed to go to the next scene, but it doesnt play the next scene from frame 1. I dont understand why, heres my code:

loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1000);
totalkbytes=Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop (_root.frame);
}

Any ideas?
~DW~

Random Starting Frame
I would like to make a movie that starts at a random frame. Is there an action for this? What kind of trick can I use? PLEASE HELP

Have Fun

Starting A Movie At A Particular Frame.
I am making a website that contains various works of art. I want it to work like this: When the user clicks on a button (paintings, for example) I want thunbnails of those paintings to appear. Then, when a thumbnail is clicked, a popup window will appear with closeup versions of the thumbnails. In that popup movie are "next" and "previous" buttons so the user can scroll through all the paintings.
My question is this: How do I get the popup movie to start on the frame that corresponds to the thumbnail that was clicked? For example, if thumbnail #6 is clicked, and the closeup version of that painting is located at frame #20 in the popup movie, how do I get the popup to start there? Is it something in conjunction with the "get URL" action?
ALSO, how can I make the popup window close by clicking a "close window" button?
Thanks for reading.

Starting A Movie At A Particular Frame.
I am making a website in Flash MX that contains various works of art. I want it to work like this: When the user clicks on a button (paintings, for example) thumbnails of those paintings will appear. Then, when a thumbnail is clicked, a popup window will appear with closeup versions of the thumbnails. In that popup movie are "next" and "previous" buttons so the user can scroll through all the paintings.
My question is this: How do I get the popup movie to start on the frame that corresponds to the thumbnail that was clicked? For example, if thumbnail #6 is clicked, and the closeup version of that painting is located at frame #20 in the popup movie, how do I get the popup to start there? Is it something in conjunction with the "get URL" action?
Thanks for reading.
ALSO, how can I make the popup window close by clicking a "close window" button?
Thanks for reading.

Starting At A Frame From The <embed> Tag
Hi,

Is it possible to start a flash movie at a certain scene from an attribute in the <embed> tag?

My site has a flash movie front end, but a html navbar. I would like the link in the navbar to point to a page with the same movie on it, but playing from a different point. Perhaps there is a way to do this without using more than one page?

Any help much appreciated.

Starting Swf In Frame 3 Or 6 By Url Input
how do i get a swf file to start in frame 3 or 4 or 5.

i would like to this by adress bar ( url )

like www.macromedia.com/movie.swf&frame3 that it starts at frame 3 when something like this is typed.

or can i make a swf with action script in it that opens a other swf that start at frame 3 or 4 in the same frame.

i need this because i want my movie to be enter at a topic that can be given by a user. like if i send a email a can make a link in it that makes my movie start at frame 3 because that the topic my email is about and they dont nee to see the rest of the swf

Frame Starting Point
Hello,
Ive built a site with flash mx nav, is it possible to have the flash movie start from differnt frames on different pages? The problem being an image is displayed on click but when th new page is loaded the flash file returns to the start.

many thanks

todd

Starting A Movie In A Different Frame
hi all

what im trying to do is when a button is clicked on one site, it loads a different url movie in the same window, but after it has loaded up it starts at a certain frame on the timeline.

i was told this would work but it didnt:

on (release) {
getURL(" url ", " frame name ");

im not sure i've explained it very well but any help would be welcome.

cheers

[MX] Starting A Movie On A Different Frame
I've made a movie -- called "pix.swf" -- with about twenty images which dissolve every few seconds, and loops continuously.

This same movie will play on differrent sub-pages of a website, but I would like it to start on a different image for each different page it plays on. So I've made 12 little "loader" subfiles, each of which contains a variation on the following code:
_global.movieVar = 1;
loadMovieNum("pix.swf", 0);(That's for loader1; loader2 creates variable 2, loader3 creates variable 3, etc.)

Then on my main "pix" movie, I've got this in the first frame:
if (movieVar == 1) {
gotoAndPlay(60);
}
if (movieVar == 2) {
gotoAndPlay(111);
}
if (movieVar == 3) {
gotoAndPlay(160);
}
if (movieVar == 4) {
gotoAndPlay(210);
}
etc. So my plan was for each subpage to have a "loaderX.swf" which would open pix.swf on the specified frame.

This worked great when I created a sort of prototype, using different colored shapes. But when I then copied the code into the Flash that contained the jpg images, it didn't work. Whether I play loader1 or loader9, it always starts at frame 1 of "pix.swf"

Why does this work with shapes but not bitmaps? This might not be the best way to do what I need to do -- any other suggestions would be most appreciated!

Starting A Movie At A Different Frame
I'd like to have a movie start at a different frame the second time it is viewed on the same visit. In other words, if they view the same movie a second time by leaving the page and then coming back to it, I would like that movie to jump to a different frame and play.

Starting At Random Frame
I'm fairly new to AS, but know this is very simple to do.
I'm building a banner but every time it load I want it to start playing on a random frame label.
Anyone know how to code?
Thanks

Starting .swf File At A Certain Frame?
New user to this forum and flash AS in general, so hello to everyone.

I was wondering if there was a way to have a .swf file start at a certain frame?

I'm using the code below and it loads the .swf file fine only it starts at frame zero instead of what I want to be frame 680. I was wondering if there was anyway to have it start at frame 680 instead of 0?


ActionScript Code:
var myloader2:Loader=new Loader();
stage.addChild(myloader2);

backbutton.addEventListener(MouseEvent.CLICK, clickbutton);
function clickbutton(myevent:MouseEvent) {
    var myrequest:URLRequest=new URLRequest("Vignelli.swf");
    myloader2.load(myrequest);
    }

Any help is very appreciated, even a not possible to do.

Starting Movie On A Later Frame
hi again,
i have a movie that is essentially a looped gallery. i'd like to start the movie on the last frame --frame 11 currently-- although i intend to add frames to it as more content is added. a gotoAndStop(11); seems to derail the movie. i'm sure there's an easy trick, but i'm new with as3. i'm attaching the prev/next code i'm using, because i feel like it might be relevant to the issue. thanks!







Attach Code

//forward and back//
forward_btn.addEventListener(MouseEvent.CLICK,forward);
back_btn.addEventListener(MouseEvent.CLICK,backward);

function forward(event:MouseEvent) {
if (this.currentFrame == this.totalFrames)
{
gotoAndStop(1);
}
else
{
nextFrame();
}
}

function backward(event:MouseEvent) {
if (this.currentFrame == 1)
{
gotoAndStop(this.totalFrames);
}
else
{
prevFrame();
}
}

Random Starting Frame
I have a simple Flash movie with a series of still pics fading from one to the next. I want to use it in a web page masthead and I would like the movie to start on a random frame. Is there some simple AS3 code I could use in the first frame that directs the movie to immediately jump to a random starting point within the 220 frames contained in the movie? Help for a newbie would be much appreciated.

Starting A Swf On Frame One After Loading
Here's a basic one! I have managed (finally) to get a progress bar working through a loader, but the swf starts half way through - where it has loaded to in the background. Here is the code I have so far.....

myLoader.contentPath="golding.swf";
myBar.setStyle("themeColor", "0xB50000");
myBar.setStyle("color", "0xFFAC2E");
myBar.label="%1 KB out of %2 KB loaded (%3%%)"
myBar.conversion=1024;
myBar.source=myLoader;
myBar.mode="polled";
myLoader.load();

I have tacked this at the bottom to no effect....

if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

But I suspect that I'm on the right track????

Anyone with a clue would be most welcome, having spent way too much time with silly errors so far!

Thanks
Fio

External Swf Starting On Frame 10
hello everybody!!

This might sound a dumb question, but how can i load an external swf into a movieclip, but i want that external swf would start on frame 10 (for example), instead on frame 1.

I have this external swf loading to movieclip1, and there's a button that makes the same external swf to load to movieclip2, but now i want it to load and start on frame 10... sounds weird?? yep! but i really need this to happen!!!

thanks

Starting A Swf On Frame One After Loading
Here's a basic one! I have managed (finally) to get a progress bar working through a loader, but the swf starts half way through - where it has loaded to in the background. Here is the code I have so far.....

myLoader.contentPath="golding.swf";
myBar.setStyle("themeColor", "0xB50000");
myBar.setStyle("color", "0xFFAC2E");
myBar.label="%1 KB out of %2 KB loaded (%3%%)"
myBar.conversion=1024;
myBar.source=myLoader;
myBar.mode="polled";
myLoader.load();

I have tacked this at the bottom to no effect....

if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}

But I suspect that I'm on the right track????

Anyone with a clue would be most welcome, having spent way too much time with silly errors so far!

Thanks
Fio

Tell Frame To Change If A Specific Frame Combination Is Loaded
To get a better idea of what Im talking about please check my flash page. http://www.munktiki.com/Munk-e.htm

You can see that when a different munk-e color is selected and you have his ear extentions on(bottom left in the piercings menu)that the colors dont match.


So.... when the color movie/orange frame is selected and the earring movie/ear extensions frame is selected then the orange frame will tell the earrings movie to go to the correct corrisponding color earring.
Man I hope this makes sense, it barely does to me.

Hope someone can help

Help Load A Movie (and Frame) On A Specific Frame In My Timeline
I need to Load a movie and go to a specific frame within that loaded movie.


I know how to do this "on press & release" commands but how do I get it to load when a certain frame is reached in my timeline.


Example. When finished preloading it plays frame 25. When it gets to frame 25 I wan't a movie to load and start on a certain frame.

If you need more info or I am not making myself clear, please let me know.

Thanks in advance.

Second Half Of Movie Starting After Frame 15
Ok,

Needs some basic help here. I created a simple movie. Move some bars around, twist and turn some images, all in a span of 15 frames. Now, what I want to do is AFTER the first 15 frames have loaded, I want the button bar to pop up (one button at a time) but with the the images at frame 15 still remaining constant (static, etc).

When I go to frame 16 and beyond, the previous images are no longer there. I tried dragging frame 15 of each layer out, but that starts to extend the tween, which is not what I was looking for. I know this is something simple, just cannot quite get a hold of it.

Help...

Thanks,

Zeus

Movie Clip Starting Frame
I've got 3 instances of one movie clip on my root timeline. I'm trying to make them each start on a different frame, so they motion will be a bit off. (Creating a grandfather clock and having the weights move up and down at different periods).

So my question is, how do I set a Movie Clip instance to start at a different frame?

I'm VERY new to flash and have no experince with actionscript, so be gentle!

-Aconite

Music Starting Once Frame Is Selected
First time Actionscript 3 user.

I'm making a platform game at the moment with each level inside a frame. For the background music I was going to embed the sound sound file in the library and whenever the app moves to a new frame on the timeline new music will play. It needs to be on each frame as each level of the application is a frame itself. So hopefully when the frame is selected the user will get some background music while he plays the level.

So for example

Frame 2 = Level 1 Plays, BackgroundMusic runs
Frame 3 = Level 2 Plays, Stop Music 1, and Play BackgroundMusic2


Fairly simple with action script 2, however I can't seem to be able to do it with 3.
So currently I'm using this code
function playMusic(event:Event) {
var Music:BackgroundMusic = new BackgroundMusic();
var MusicChannel:SoundChannel = BackgroundMusic.play();
}

This crashes the app so if you guys have better ways of acheiveing the same goal I'm all ears.

Publishing Flash: Starting In A Different Frame
Hi,

Is it possible to publish a Flash-movie to Html and start the movie in a different frame, other then the first frame????

Thanks,

Menno

Copyright © 2005-08 www.BigResource.com, All rights reserved