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




Beating The 16,000 Frame Barrier Without LoadMovie()



Heya folks.

I've been working ona personal Flash project for quite some time now. I was oblivious to the 16,000 frame limit until now. My movie is running at 30 fps and is between 10-12 minutes long, so as it turns out I'll be exceeding this limit by a fair amount. Cutting stuff out of my film or reducing the fps is not an option at this point in development, and this all need to be contained in one SWF. I really want to beat the barrier, and I have an idea, but I wanted to throw it out there to make sure it will work before I go through the trouble of doing it.

I'm assuming 16,000 frames is the limit for the main timeline, but the timelines of movie clips exist outside of this barrier. Could you realistically compile half the movie into an 8000 frame movie clip, put the other half of the movie into another 8000 frame movie clip, and then put these two movie clips on a 2-frame movie? The first movie clip would have actionscript that moved the main timeline to the second frame (and the second half of the movie) when it completed its 8000 frame run.

I've never tried this before. Would this work without defying any of the frame limits? If this idea is even theoretically sound but I'm missing something important, any advice is greatly appreciated. Thanks for your time.



FlashKit > Flash Help > Flash General Help
Posted on: 09-24-2004, 05:53 PM


View Complete Forum Thread with Replies

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

Hit Test Barrier
I know how to get an object when hit to move to a random spot on the stage but how would i make it so that when something its it it stops?

Like this:
I have a movie clip of a wall, and when the user controlled player hits the wall it wont let them past it, like a boundry i guess, How would i do that?

Barrier To Dragging
I need to make it so you can drop an object into a glass cylinder, however, once it's in the cylinder I don't want the user to be able to drag it out the sides of the cylinder...
I tried creating an invisible object with which the element performed a hitTest and if true then stopDrag but the problem with that is then you could no longer drag it (sorta like it was stuck to the invisible object)...here's my code...


Code:
ElementFe_mc.onEnterFrame = function(): Void {
var StopHitTest:Boolean = this.hitTest(Stop_mc);
if (StopHitTest) {
this.stopDrag();
}
};

Need Barrier To Dragging
I need to make it so you can drop an object into a glass cylinder, however, once it's in the cylinder I don't want the user to be able to drag it out the sides of the cylinder...
I tried creating an invisible object with which the element performed a hitTest and if true then stopDrag but the problem with that is then you could no longer drag it (sorta like it was stuck to the invisible object)...here's my code...


Code:
ElementFe_mc.onEnterFrame = function(): Void {
var StopHitTest:Boolean = this.hitTest(Stop_mc);
if (StopHitTest) {
this.stopDrag();
}
};

Invisible Vertical Barrier
How would I create a vertical barrier in a platform game that would stop the character from advancing?
Thanks

I Need Code For Creating A Barrier Please Help
I am relatively new to scripting, and I need help creating
code that will stop my character from running through the walls.
Please help.

Barrier/Wall Collision Detection
Ok I have a character that you move with the arrow keys but i only want them to move within a certain area and not off the canvas. I have no idea how to do this or where to begin, but I'm assuming its fairly simple.

On this I've made the wall into a movie clip but I have no idea how to use hitTest for this, but basically i just want it so when the character hits the wall they cant go through it that have to go around it in order to get to the other side, but like I said i'm sure its fairly simple I just have no idea how it works.

also the .fla is Flash MX

EDIT: Ok I've messed around with this but i cant get it working nothing I do works, so heres the new one hope someone can fix it

Creating A Barrier For A Racing Game
Does anyone have a solutions for forcing a car to stay within a set barrier while the road moves. Please note that the car only moves left and right and I want the car to not be allow to drive of the side of the road or hit buildings. Or more precisely confined to a strict 4 lane avenue. Any quick advise with simplified solution. Working in Flash 8.

Thanks in advance

Beating The Login
I have a flash movie that starts out with a login. It's purpose is just to give the user a username. I want them to be able to use spaces, but I don't want them to just hit the spacebar a bunch of times. How do I make sure they use some combination of letters and numbers and not just a bunch of spaces and making it look like there is no name?

I restricted what they can input by using:

myText_txt.restrict = "A-Z a-z 0-9";

And, I can use the code below, but it won't help if they hit the spacebar.

if (myText_txt != "") {
//login;
}

Any suggestions?

Ok, I've Been Beating Around The Bush But I Can't Figure It Out
I've been trying to get ideas to help me with what I'm trying to do, and everyone HAS helped me a lot... but I still can't figure it out! What I'm trying to do is have a ball always moving right; when it reaches a certain point... say frame 15 or getTimer()+whatever, then it will start over (moving right) but the rotation will be random and it will resume from the position that the last frame was at. So it's constantly moving, after a while it will turn a random direction and go that way, after a while it will turn... you get it. I've tried everything! OY!! If you want me to say what I've tried so that you have a starting point or so that you can see what I was doing wrong, please say so. Thanks

I Know Im Beating A Dead Horse.....
But someone has to have an idea

Here we go

Ok, I have a flash movie, this flash movie is a map with 52 movie clips, they all have an instance name of "section" with a number after it IE: section0 section1 and so on. Ok, In the main coding of my movie I have XML that passes thru ASP that changes the color of the movie clips depending on the variable that is in my database. I use SQL. Here is the coding in my movie

"



/* function sectorArray(){
var msectors, varColor, sid, ftxt
for(i=0;i<=rcrXML.childNodes.length;i++){
if(this.childNodes[i].nodeValue == null && this.childNodes[i].nodeName =="sectors"){
msectors=this.childNodes[i];
}
}
var msector
for (q=0;q<=msectors.childNodes.length;q++){
if(msectors.childNodes[q].nodeName=="sector"){
msector=msectors.childNodes[q];
sid=msector.attributes["id"];
for(j=0;j<=msector.childNodes.length;j++){
if(msector.childNodes[j].nodeName=="color"){
varColor=msector.childNodes[j].firstChild.nodeValue;}


}

changecolors(varColor,sid)


}
}

}
function changecolors(varColor,sid){
ftxt=new Color("section"+sid)
ftxt.setRGB("0x"+varColor)
}
rcrXML = new XML();
rcrXML.ignoreWhite = true;
rcrXML.onLoad = sectorArray;
rcrXML.load("zRcrXml.asp?mdsid=2")
stop ();
||||||

That is the code INSIDE the movie. My actual xml/asp file has this

"
<%option explicit
dim cn, rs, sql
Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
Response.Buffer = true
sql="SELECT * FROM vw_RCR_Mapdata WHERE mdsid = " & request.QueryString("mdsid") & "; "
'Response.Write sql
'Response.End
cn.Open "provider = SQLOLEDB.1;Initial Catalog = OGToolsDb; Data source = Webapps; user id=fsfxsb07; password = "
rs.Open sql,cn
%><?xml version="1.0" encoding="iso-8859-1"?>
<sectors>

<%
do until rs.EOF%>
<sector id="<%=rs("secid")%>">
<rcr>"<%=rs("Rcr_Value")%>"</rcr>
<secname>"<%=rs("Name")%>"</secname>

<%'Check for runway surface conditions for this secid
'Response.Write rs("secid") & ", "
'Response.Write rs("Rcr_Value") & ", "
'Response.Write rs("Takeoff_Landing") & ", "
'Response.Write rs("WaiverThreshold") & ", "
'Response.Write rs("TaxiThreshold") & ", "


if rs("secid") = 0 or rs("secid") = 5 then
'Comparison between takeoff threshold for the runway and rcr

if rs("Rcr_Value") < rs("Takeoff_Landingcaution") then
if rs("Rcr_Value") >= rs("Takeoff_LandingRed") then
'Assign yellow as the color
%><color>ffff00</color><%
else
'Assign red as the color
%><color>ff0000</color><%
end if
else
'Assign green as the color
%><color>00ff00</color><%
end if
else
'Comparison between taxi threshold for the rest of the airfield
if rs("Rcr_Value") < rs("Taxicaution") then
if rs("Rcr_Value") >= rs("TaxiRed") then
'Assign yellow as the color
%><color>ffff00</color><%
else
'Assign red as the color
%><color>ff0000</color><%
end if
else
'Assign green as the color
%><color>00ff00</color><%
end if
end if
rs.Movenext
%></sector><%
loop
%></sectors><%
rs.Close
cn.Close
set cn = nothing
set rs = nothing
*/
||||||||

My question being, there has to be some way possible, to make a code that allows me to mouseover any of the movie clips, and they display the variable in the database that corresponds to their individual section number


Or am I just not going to get it cuz its not possible????

Delay Action Is Beating Me
I have a movie clip that comes to meet the mouse when the mouse hovers over the botom portion of the stage. The clip is scripted to move only along the x axis. When the mouse leaves that bottom area, The movie clip flies off the stage to the left or right, depending on which is closer.

What I want the movie clip to do is wait a few seconds before it flies off the stage when the mouse leaves the bottom area. That way if the mouse wanders from that area for a second or two, the movement of the movie clip won't be annoying. Here is my code:

onClipEvent (enterFrame) {
if (_root._xmouse<795 && _root._xmouse>05 && _root._ymouse>405 && _root._ymouse<445) {
var distance = _root._xmouse-this._x;
if (this._x != _root._xmouse) {
this._x += .15*distance;
}
} else if (this._x<401) {
var homing_distance = -120;
if (this._x != homing_distance) {
this._x += .15*homing_distance;
}
} else if (this._x>400) {
var homing_distance= 820;
if (this._x != homing_distance) {
this._x += .02*homing_distance;
}
}
}


I have been messing with gettimer, but I can only get the delay to work once. I think set interval might be the key. Please help, this is driving me nuts!

Thanks

Beating The Popup Blocker
I have an aspx form that I need to load from a button as a popup but the blocker catches it. We tried to load it with getURL(javascript:window.open()), but the popup blocker(IE and a google popup blocker) caught it. Is there a way to make something popup on a user driven event like this? The thing is is that we could do it with "_blank" just fine but we also need to limit the size of the window scallability menubar and all that other stuff you can do with window.open. What do you guys suggest?

Heart Beating Tween
How can I implement a tween simulting the heart beating.

var myTweenX:Tween=new Tween(myShiningLogo,"scaleX",Bounce.easeOut,1,0.6, 1,true);

var myTweenY:Tween=new Tween(myShiningLogo,"scaleY",Bounce.easeOut,1,0.6, 1,true);

this is almost what I want. But I would like the object to come back to initial dimensions. Should I use other 2 tweens ?

Beating My Head Against A Wall Over Mappings And External Data
Ok, here's what I need to do.

I have a set of options, such as eye color. There are a variety of choices.

The choices are based on a previous variable.

What I would like to do is have an external file contain these choices in a mapping, such as eyecolor = (["blue", "green"])

In flash, I'll have a dynamic text box to display the choices (one at a time), and a left and right arrow to cycle through the various possibilities.

What's driving me crazy is turning those externally defined mappings into something flash can use, probably an array. That way I can have the buttons control a function that cycles through the array's indexes.


Any suggestions are greatly appreciated.

XML Resize Thumbs (hope I'm Not Beating A Dead Horse)
Hello everyone! I've been all through these 60 some pages on this subject and didn't find what totally what I was looking for... of course eye strain might be a problem so if there is a thread to something I ask please tell me. I apologize in advance if I do. This is my first ever thread also.

Here is a zip of all my files so far. http://marazita.com/funstuff/gallery.zip First here is the link to Scotty's thumb resize that I've put into my .fla. V3_with_thumbs zip Mine doesn't work because what I'm trying to do is make the thumbs replace the mc's that I've added (each with an instance name thumb1, thumb2, etc.). As an artist I like to group images that belong in a group. Sometimes a group can have 3 sometimes 4, etc.. This is what's been wrong with what I've found in the threads so far. They've just been lumped into a certain amount to columns and rows. If you look at my files you'll understand better. I was also hoping that the thumbs would load like this zipped file http://marazita.com/funstuff/gallery_preloadthumbs.zip (which is another nice dynamic loaded one that you don't have control over either). Any help will be greatly appreciated and at the end I'll post my finished file to share with everyone since I've gained so much from this site I would like to also give back. This will help a lot of artists out there I'm sure. Thanks to all that help in advance. I have other questions... but lets do baby steps at first.

-Justin-

www.marazita.com

Help With Loading External Movie Clip(beating A Dead Horse)
Hello folks, I seem to have run into some problem with a project of mine. I have a Main movie which loads multiple external movies. I am using an empty movie clip called contents to load them into.

one of my external movies has a button in it that launches a centered pop up window(kirupa tutorial). This external movie named site works perfectly by itself, but when loaded into the main movie, the button does not work. I'm using:

on (release) {
_root.contents.loadMovie("site.swf");
}

any input would be greatly appreciated.

Help With Loading External Movie Clip(beating A Dead Horse)
Hello folks, I seem to have run into some problem with a project of mine. I have a Main movie which loads multiple external movies. I am using an empty movie clip called contents to load them into.

one of my external movies has a button in it that launches a centered pop up window(kirupa tutorial). This external movie named site works perfectly by itself, but when loaded into the main movie, the button does not work. I'm using:

on (release) {
_root.contents.loadMovie("site.swf");
}

any input would be greatly appreciated.

Frame By Frame LoadMovie Function?
I past the last 30 minutes reading post's about external .swf, and jpeg's. Using the LoadMovie function:

i know so far You can load an external movie(swf) into your webpage in 2 ways - into a level and into a target. When loading into a target, you have an mc (movieclip) on your stage with an instance name. Then you need to give a button an action.

If i have a movie with for example 4 frames in layer 1 and a lot of layers for the design and stuff -

each frame of layer 1 have their own JPEG

each frame on layer 2 - have a button , that if the user click it, a
text appears in a box.

layer 3 - the list box

______________________________________

So if i have a JPG on frame 1 , how i can do that the next external jpeg or swf open in a place on frame 2, and no in the same frame?

Each JPG have a their own button, so i need that all the external jpgs were in differents frames...

That is possible? Or what i need to do whit this!

Please any help, suggestion, anything!

Thanks!

[CS3] Button Rollouts, And "invisible Barrier".. Driving Me Crazy Please Help
Hi all.. thanks for taking the time to look at my problem, its actually making me lose hair.

PROBLEM 1: RollOuts

Im trying to make my new site in flash, which is pretty much unchartered territory for me. The first problem i've come accross is rollouts.. I've tried numerous tutorials, but either it just plain hasn't worked for me (after triple checking the steps) or it mentions something i havent heard of and cant find in my version of flash (flash pro 8)

In my "over" tab in the button, i have a movie. its simple, it moves a box into my desired position (tween) from the right. I want it to move back to its original position (again with a tween/animated effect) when the mouse leaves the "hit" area.. how do i achieve this? A few things i'v been told on other sites just plain havent worked because i get an error saying mouse events cant be used in movies just buttons.

PROBLEM 2: "Invisible Barrier"

As mentioned above, my button is basically a box moving into position from right to left using a tween. The thing i haven't a clue how to do is stop the thing being seen in its original position.

I've made a very quick example here
http://www.coredesignz.co.uk/testbutton.swf

What i want (for the top button) is for the green box to be invisible when its to the right of the black line, so it looks like the bottom button (theres just a white box covering it on the bottom) Is there a way to do this, or is there a different way to achieve the desired effect?


Apologies for this being so long winded.. If you can help it would be much appreciated.. I've been using flash for just a day so far, so try dumb it down as much as possible.

Please dont post links to tutorials.. Though helpful they may be, i've probably tried it.

Thanks again, hope someone can help
-Twitch

Creating Text File - Or - "Beating A Dead Horse"
Hey Folks,

Please forgive me for revisiting this often-asked question, but...

I just installed Flash MX 2004, and was wondering if there was
any new functionality that allows the developer to create and
write to an external text file.

From what I've read, this is possible using PHP, ASP, etc... Though,
that requires access ta a PHP or ASP web server - something I don't
want to set up at this time. So, I guess I'm asking if there is any
way to create/write a text file without the help of PHP, ASP, or
a web server?

I'm inserting the movie in VB and using FSCommand to communicate
between the two - Flash input, VB create the file. This works, but
is not very elegant, not efficient, can't run it in IE, etc...

Can you do it using XML? Any other suggestions?

Thanks A Lot,

Loading A .jpg Dynamic "I'm Beating My Head Here"
I've done this many times before and suddenly It won't work.

I'm loading a .jpg dynamically during runtime into a MC.

the clip is named "container"
the .jpg is in the same directory

here's the code I'm using..

container.loadMovie("logo.jpg");


The movie clip will disapear during runtime as if it was being replaced with the .jpg, but not image appears.....

any idea?

thanks,

LoadMovie - First Frame Only ?
This is not a preloader question. I was wondering if anybody knows of any secret syntax or cunning workarounds to ask loadMovie to only load the first frame of an external .swf (one that has a stop action at the first frame but cannot be edited) until told to load the whole thing. Essentially I want to load a poster frame from a .swf video - if the user wants to see the whole movie they can click to commence the load otherwise they don't have to bog up their connection downloading video they might not want.

Many thanks in advance

Loadmovie Certain Frame
I have a menu in my main movie a load movie with several frames. how could I goto frames in my loaded movie by presing the buttoms of my menu?

I have try this:

on (release){
_level0.container.content.loadMovie(mymovie.swf);
_level0.container.content.gotoAndPlay(1);
}

but doesn´t work. Help please!

LoadMovie In A Frame
I have a LoadMovie action placed in a frame, rather than associated with an event. If I preload the main movie, does the other movie get loaded as well, or does it load when I play that frame?

Loadmovie + Frame #?
Is it possible to load a movie and have it link to a particular frame within the loaded movie?

Right now, I have:

}
on (release) {
loadMovieNum("movie.swf", 0);
gotoAndStop(3);
{

Thanks

MX LoadMovie One Frame
Hello,

I want to do a thumbnail viewer for .swf files.

Is there a possibility to load only one frame or a range of frames instead of the whole file to save memory?

peace.mate::

Loadmovie In Frame
i want to load a movieclip which is a menu, i want to load it on the stage on a level.... at a certain point in the timeline...i tried,doesn't work! help!

LoadMovie To Frame
I have movies loaded onto layers, default (0) main (10) other (11) layer 11 "other" loads over main and then unloads main. I would like for people to click to go back to main at a certain frame. So, "other" would load main on level 10 and the unload itself to reveal main frame ~~>(whatever). How would I do this?

LoadMovie On Frame?
I need help quick folks....

I'm using this on a the final frame of "ox1.swf" to open "ox2.swf"

loadMovie("ox2.swf",_level2);

This script is not opening "ox2.swf"

I need it on a frame, and not on a button. If it were on a button, I could get it to work. Can anyone correct this for me please...I know I'm doing something wrong.

I need this ASAP....last minute project...

THANK YOU

pug

LoadMovie On A Certain Frame?
Is there a way I can load a movieclip on a certain frame, and then specify actions for that frame?

Thanks.

Loadmovie To Particular Frame?
im using this script:

on (release) {
loadMovieNum("resource.swf",1);
}


works fine, but... how do i tell the movie to load to a particular frame in the target movie?

LoadMovie At Specified Frame?
This script is attached to a BTN within a SWF that's been loaded into CDpagesMC at the root at frame 11. I'm trying to get it to play until frame 15 then load the new movie. All paths are correct. (I can't use a frame action at 15 as there are more BTNs to script within the SWF, each loading different SWFs.)

on (release) {
this._parent._parent.play();
this._parent._parent.loadMovie("InvocCDpage.swf", CDpagesMC);
}

Anyone any ideas on this? Most appreciated...

LoadMovie In Another Frame
Hi,
I have a frameset that has a top banner and a main frame.

I was wondering if it's possible to have a button in the top (banner) frame loading a .swf with loadMovie in the other frame. getURL is not an option for me.

thanks!

LoadMovie At Frame...
I am trying to reload an external intro swf but not have it start at the beginning of the intro. When I try to use loadMovie("mySwf.swf", 85) it doesn't go to the frame number and starts over. It also plays on top of the movie I am trying to exit from.

I think I am doing it wrong as it thinks I'm telling it to play on level 85 and therefore leaves the movie in tact when the other is loaded. But when I simply use ("mySwf.swf"), to go back to the intro page (swf) it plays by itself and not on top of another. But it starts at the beginning which I don't want to do.

Any ideas?

Thanks!

Go To Specify Frame When Using LoadMovie
i have a problem, i want to go to frame 10 on movie.swf when using loadmovie, anybody can help???
loadMovie("movie.swf","movie_mc");

LoadMovie At Certain Frame
Ok so I have a navigation system set up that loads in a swf but I want it set up when i click on say Home it loads in frame 1 of the movie, Contact it loads in frame 3 of that movie, then when you click on About it will load in frame 2 of that movie, so say if someone clicks About it will loadMovie and go directly to frame 2 and skip frame 1, anyone know how this can be done?

On Frame Loadmovie Help
Ok.. so i have my buttons loading swf to an iframe but i want the home page swf to load on frame 30 so i put a keyframe on the 30th frame and the action script...


Quote:




loadMovie("home.swf", iframe, );




it doesn't work any help?

Loadmovie And A Certain Frame
I would like to load a movie to level0 so it replaces my main movie but also jumps to a certain frame. I will need to do this on a few buttons.

here's the code on my button

on (release) {
loadMovieNum("products.swf", 0);
gotoAndStop(20);
}


my movie loads as it should but does not seem to be getting the command to goto frame 20.

Any solutions you could offer would be great.

Loadmovie On A Certain Frame
Hi,

I'm sorry if this has been answered before. I've tried looking but with no joy - hence the question.

I have a button with actionscript written like this


Code:

on (release) {
_root.targetname.loadmovie("world.swf");
}



however when "world.swf" is loaded I would like to play this movie starting from the frame "start" and not the beginning. Is there a simple way of doing this?

thanks,

Tim

Loadmovie, Then Goto Frame?
Does this look like it would work?

loadMovieNum ("multimedia.swf", 2);
tellTarget ("_level2") {
gotoAndPlay (16);
}
stop ();




Is there any reason that the tellTarget line would be ignored? (that's the problem I'm facing -- everything seems to stop at line1, the loadMovie line)

THANKS!

LoadMovie And Having 2 Frame Rates
What I would like to do is this. I have a main movie. The main movies frame rate is 20. I would like to call another movie into it(i know this is possible). What I would like to know is if I can get the movie I am calling in to play at 8 frames per second instead of the main movies 20 fps. Is this possible. Thanks for your help.

LoadMovie And Specific Frame
hello
i know very basic actionscripting, and i have 0 programming skills (i use flash more for the animation aspect as i am a designer). it's been a long ride with this question, and i've searched everywhere for the answer including macromedia's support section, actionscript dictionary, and macromedia's own flash forum.

here is my quandry:
i have a slide show of 24 images which was started by my predecessor. the images (PNGs) were poorly optimized (if at all) and the final swf file is over 400K. i added a loader in the meantime since it is up on the company's website but it is still obviously a long wait on a 28 or 56K modem.

it was then suggested that i cut the file up into maybe 3-4 segments, and use the loadMovie command to load each successive movie into the swf. i experimented with just flat out loading the movie (all into level0) and it worked fine *except* (and herein lies the MAJOR problem) when the user clicks backwards through the loaded movies, file3 links to file2 but it goes to frame 1 of file2. it would be really nice if, when going backwards, file3(frame 1) went back to file2(frame 8).

i've gotten everything from"you need variables or maybe cookies" (which was described as "very complex") to several scripts typed out for me that just didn't seem to work. it was also mentioned that i would need to preload the segments because you can't jump to a frame which hasn't loaded yet (which makes a lot of sense) - but from an aesthetic point of view i'd like to keep the slideshow seamless, and not have a loading clip in between images. is there any advice/links/scripts/etc that you knowledgeable people could point me to? i would be forever in your debt.

thanking you very much in advance,
idarii

Loadmovie And Frame Problem
I'm making a help movie which will work w/ my main movie. Butr the help page has different frames for different help pages. How do I make it so that the loadmive loads a frame number

Loadmovie And Frame Problem
I'm making a help movie which will work w/ my main movie. Butr the help page has different frames for different help pages. How do I make it so that the loadmive loads a frame number

LoadMovie Into Specific Frame
anyone have any ideas on how to do a loadMovie (into an empty MC) and have it go immediately to a specific frame in that movie's timeline?

thanks, pdh

LoadMovie, LoadVariables And Go To A Frame?
Desperate - I have a very large Flash project to complete for my final multimedia degree and have tried for weeks to figure out a way around this to no avail.

The project is a piano tutorial that teaches how to play the basic chords in all major scales.

There is a main entry screen with 5 nav buttons that actually load each "sub screen" which are separate SWFs into level 0. This works fine.

The big problem is this:
Initially when the "Lessons" SWF loaded, the user could click a link to go to a particular lesson. I had the links in a dynamic scrolling textfield, where the actual text got loaded from an external .txt file. This is working great. But with this method, all 12 lessons MUST be separate .SWFs or HTML files. This is going to take tons of file size, since I have to repeat the images such as the keyboard, buttons (which could be made generic also), and other MCs in each of 12 lessons. There is no way to get one of these links to go to a particular frame in a loaded movie so I could genericize it, e.g., loadMovie, hostlessonSWF, frameL1, or something like that.

So I am experimenting with a sample, and trying to get a lesson link in the form of a button, (just non-scrolling, non-dynamic text) to load the host movie and then target a particular frame to load that lesson (maybe via attachMovie), but I can't get that to work either.

The bottom line is, how do you pass variables between loaded movies or URLs???

Thanks.

Can I Loadmovie And Jump To A Frame
When I use LoadMovie I end up at the start of the SWF I load. Is there any way to load it and jump to a specific label or frame number?

thanks

Mitch

Loadmovie & Frame Issue
Here's my situation:

I have a Flash movie on the home page of a site. The movie contains both an intro and the navigation for the site. The navigation has a simple animation that causes it to slide up to expose the buttons at about 6 seconds in to the movie. If the visitor doesn't want to view the movie or wait for it to load they can click a "view menu" button that activates the animation to reveal the buttons.

I am using 2 swfs, one for the intro(intro.swf) & a second at level 1 for the navigation(nav.swf). The intro calls the nav with loadmovie before the intro preloader begins(the nav is only 12k). The nav has a stop on frame 1. When the button to view menu is clicked it goes to frame 2 which exposes the other buttons to navigate the site.

Ideally I would like the nav animation (from frame 2) to begin after the intro has loaded about 6 seconds in to the movie IF the "view menu" button has not been pressed. If the "view menu" button has been pressed then the buttons are already exposed and there is no need for further action.

I have no idea how to do this. Any advice would be greatly appreciated.

Thanks!

LoadMovie Clip At A Certain Frame
Hello,
I wanted to know how to load a movie clip at a certain frame, but without preloading it from the beginning.

So I have a menu, the user clicks a button that begins a preloader to the sub-menu opening. What do I use

onRelease
loadMovieclip.my_movieClip

I want to have other movies within the main page to load at certain points.
Any help would be grrreat!
Thanks
PCRIDE_

WINTER IS COMMING

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