HELP - Problems With Layers And Timelines
Hi, Imaging the scenario - I have 4 square images 150 px by 150 px on a 600 px background the first image image1 is named layer1 and is in the top left corner and has a timeline 1-30 and gradually fills the area and goes back to its original state then the second image image2 is called layer2 and is in the top right and does the same thing as layer1 with a timeline of 31-60 and so on until image 4 has completed.
The problem i have is that image 2-4 when they fill the area are hidden behind the other images ie image 2 hidden by image1, image4 hidden by the other 3. I know this is something to do with the layers. I have tried reorganising the order of the layers so that this doesnt happen, but cant get it to work properly. As image1 goes out and image2 comes out i want image 2 to be in front of image 1 and so on.
There is probably a simple solution to this, any help would be greatly appreciated as am new to developing in flash?
FlashKit > Flash Help > Flash MX
Posted on: 05-18-2004, 04:35 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Transformations, Timelines And Layers
Hi All,
I'm new to flash 8 and am trying to do something that on the face of it should be reasonably simple, but I'm failing miserably.
When the script is run I want a photo to show then some text relating to that photo to overlay the photo so that the photo can be seen behind the text, then this to stay visible for a few seconds. Then a second photo comes in on top of photo1 and it's related text so that photo1 and text cannot be seen. Text for photo2 appears on photo2 stays for a few seconds and so on This should happen about 5 times with 5 different photo's then start again.
So far I've managed to create 2 layers on the stage and each layer has a photo. For each I go to the transform (I think) and so far I have photo1 dropping in from the top for 30 frames. I then have 2 blank frames and the second photo (layer2) transforming over the 1st layer.
The first problem I have is that I seem to be having trouble making the first photo stay for a period before the next one starts. I think If I can resolve this then the text just end up havinig there own layers and I follow the same patters.
Any pointers would be very welcome. I've been to the book shop and trawled loads of flash8 books, but because none are specific to what I want to do, I dont know which if any of them would help me with this particular problem.
[MX04] Movie Clip Timelines Don't Manifest On Parent Timelines
Just starting Flash (practically no experience beforehand), I started NCH85's tutorial series on Deviantart. I went through the first one with no problem, and went through the second one, paying attention, taking my time, until I reached the point that I'm supposed to have the bunneh's head swapped with bunneh's head copy to produce a twitching effect.
For those that don't want to watch the tutorials for whatever reason, essentially I've got a main timeline with a bush movie clip and a bunny movie clip, and within the bunny movie clip I have two bunny head movie clips, one that is static, and one that is animated with twitching whiskers (a new keyframe two frames after first frame), which are to be swapped on the bunny movie clip's timeline to produce a twitching whisker effect. I follow the tutorial, move the red cursor thingy left to right, and there's no twitching. I noticed during the tutorial there was a surplus of frames to reach Frame 12, which did not happen on my end, so I assumed that the author is supposed to create them. I did manually create a keyframe at frame 12-ish, but still nothing happened.
Similarly, I duplicated my .fla to try something different, and make it so that the bunny's head copy is just the whiskers up sprite, then animate on the bunny movie clip timeline (above the head timelines). It worked, then when I tried it on the main timeline, the bunny's whiskers wouldn't twitch.
Thanks in advance for replies.
Making Timelines To Embed In Other Timelines
BACKGROUND:
I am making a 50-frame my_movie.fla with several layers of buttons and graphics already in it. The movie plays manually (by button press). It is, in essence, a state diagram.
The graphics and buttons must be visible and accessible throughout the entire movie. Only one element changes depending upon which frame is current.
Some frames in my_movie will contain level 2 of the state diagram. Some of the level 2 frames will contain level 3, etc. I'm assuming these are all timelines.
QUESTION 1:
Do I make the timelines as (A) individual *.fla files and point to them in Level 1 of my_movie or (B) do I make them as mc symbols and place them in the level 1 frames?
QUESTION 2: If (B), how do I make them - make them on a temporary new layer, make a symbol for each, then blow those frames away?
Any ideas are appreciated.
Merging Layers Or Scanning Layers Into Image
Hello all. Been awhile since I've been to the FlashKit forums, but I'm learning something new.
Anyway, I've been programming in AS1 and AS2 for awhile and just recently started learning to do AS3. To start my learning progress I'm making a drawing program...
So far I just have draw and erase functions. Every time you "draw" it creates a new Shape object to draw on. This way if I want to add "Undo" I just go through and delete the new Shape object one by one. When you erase it creates a layer above the last draw area with a blend mode of "erase". So pretty simple.
The problem I have so far is that after drawing and erasing a bit it starts to get laggy as all the layers pile up on top of each other. When I add an undo function I will only have 10 steps of undo so to reduce overhead. But even without undo the extra layers are needed to be able to erase part of the drawing and then draw over where you erased.
So this brings me to my question. Is there a way in AS3 to merge together multiple layers or Shape objects? So after so many layers are created by drawing and erasing I can merge them into one flat one to reduce the processing needed.
I was thinking maybe I could do this though scanning the pixels on the clip contaning all the layers? I know I worked with saving images in Flash 8 before, but not sure how this works in AS3. I hear it's faster, hopefully fast enough to not have to wait 5 minutes every so many times you draw in my program.
And here's the code I have so far:
code:
var drawArray:Array=new Array();
var layerClip:MovieClip=new MovieClip();
var drawArea:Shape= new Shape();
this.addChild(layerClip);
layerClip.addChild(drawArea);
layerClip.blendMode=BlendMode.LAYER
drawArray.push(drawArea);
var drawLayer:int=0;
var prevX:int=0;
var prevY:int=0;
var erase:Boolean=false;
function runDraw(event:MouseEvent) {
drawArray[drawLayer].graphics.curveTo(prevX, prevY,(prevX+drawArray[drawLayer].mouseX)/2,(prevY+drawArray[drawLayer].mouseY)/2);
prevX=drawArray[drawLayer].mouseX;
prevY=drawArray[drawLayer].mouseY;
event.updateAfterEvent();
}
function startDraw(event:MouseEvent):void {
if (erase) {
drawArray[drawLayer].blendMode=BlendMode.ERASE
drawArray[drawLayer].graphics.lineStyle(6, 0x990000, .75);
}
else {
drawArray[drawLayer].graphics.lineStyle(2, 0x990000, .75);
}
drawArray[drawLayer].graphics.moveTo(drawArray[drawLayer].mouseX, drawArray[drawLayer].mouseY);
prevX=drawArea.mouseX;
prevY=drawArea.mouseY;
stage.addEventListener(MouseEvent.MOUSE_MOVE, runDraw);
}
function stopDraw(event:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_MOVE, runDraw);
var drawArea:Shape= new Shape();
layerClip.addChild(drawArea);
drawArray.push(drawArea);
drawLayer++;
}
function toggleErase(event:MouseEvent):void {
if (erase) {
erase=false;
}
else {
erase=true;
}
}
stage.addEventListener(MouseEvent.MOUSE_DOWN, startDraw);
stage.addEventListener(MouseEvent.MOUSE_UP, stopDraw);
eraseBut.addEventListener(MouseEvent.CLICK, toggleErase);
Turn Selected Layers Into Guide Layers?
i had 3 layers selected... went to trash them and somehow the were turned into guide layers... this would be great if i could find out how it happened. rather than turning one at a time into a guide.
Anybody know how?
Importing AI Layers As Flash Layers
Is there a way to import Illustrator layers as Flash layers. Most of the time I export my Illustrator file as a swf then import it into flash. Then One by one I have copy an object...delete...then make a new layer and past it in place..
[F8] Layers ... Oh, GOOD LAWD, Layers
Greetings, Flash Gurus and Gurus-to-be,
i am mocking up a site, which can be found at HERE
The only links operational are Catering and King Cakes, and are only operational if you REFRESH the page. i know i am lacking a preloader, i have it built, but am not wasting time with it right now.
As you can see from the example, i have our little Butcher Guy off to the left, and for each "department" of our organization, i would like to dress him for the part. i want our butcher guy to fade in and out, and in the case of the King Cake page, i would like our logo and the Italian flag on the left to change into the traditional Mardi Gras colors in all their gaudy splendor.
My problem lies in the fact that my men seem to be piling up on one another, as does my Italian and Mardi Gras flags.
If i use "index.html" to load "Master.swf" (which is the initial, fade in page), and master.swf has inside of it, actionscript to load "MasterMardiGras.swf", (which is the King Cake page), how would i go about getting control and order in here?
Copies of the swf files are here:
http://img150.imageshack.us/my.php?image=loaderjw0.swf
http://img124.imageshack.us/my.php?image=masterqz4.swf
http://img145.imageshack.us/my.php?i...rdigrashh8.swf
http://img388.imageshack.us/my.php?i...ateringur4.swf
http://img125.imageshack.us/my.php?i...tercafety3.swf
Thanking you, i am, for your great, overflowing keg of knowledge!
Question About Controlling Layers From Other Layers
Is it possbile to create an action in a loaded movie in layer1 that will tell the movie in layer0 to go to a specific frame and start playing?
Another question I have is, can you load a movie into a container or layer and have it start, not at the begininning, but at a specific spot in the loaded movie's timeline?
Hidden Layers Vs Guide Layers
I often have things on a layer that I don't want to see while I'm working on another layer and frequently testing and tweaking and I used to just have those hidden in the timeline and they would publish. And if I didn't want a layer to publish, I'd make it a guide. In CS3 it seems that those hidden layers won't publish (though at times I've had them publish for me in certain files, but I don't know why).
Is there a setting I can choose to make hidden fields publish like they did prior to CS3?
Action Scripted Layers Always Act As Top Layers?
I used this snow effect from kirupa...
<A href="http://http://www.kirupa.com/developer/mx/snow.htm
However, the snow effect always acts like the top layer, ok what i mean is, i have 3 layers, (1)toplayer= a car, (2)middle= snow, (3)low= background.
I want to make the snow to be seen behind the car...i hope you understand what i mean , whenever i put the code from the link above it acts as the top layer and appears in front of everything.
Any help is appreciated...
Oh Layers..layers...I Hate Da Layers
HI!
so there is some hair on the floor, and some bald patches in my head...big deal!
anyways...at the moment my movie is kinda messy, but something is happening that really annoys me!
i have this mc that loads into a target..and then you click button2 and this loads mc2 into the target, ok fine!
BUT, what is buggin´me, is that when you click, say, button3, to load mc3...you see like whats underneat...on the very bottom layer...and i dont want that to happen....i want there to either be nothing...or atleast show the previously loaded mc...but not the very bottom.....
how can i solve this guys??
thanks very mucho! adios
Timelines
I have a movie with the movie clips on the main timeline, (_root.) I want to put additional MC's within the sister timeline that contain audio clips. How do I return to the sister timeline from inside the MC's with the audio scripts.
Thanks,
Jesus In A Cube
Timelines
Hello,
Can someone please explain how the timelines work if you have one scene and various movie clips within it?
If I have a movie with one frame but several movie clips in it how does the movie load? If I want to make a "loading" clip at the beginning how can I tell what frame will make the loading 100%?
Hopefully someone will understand what I'm trying to say here!
Cheers,
Mike
Timelines
does anyone know any good examples of a smooth flowing history timeline.... i'm trying to make a boring company history a bit more fun and interactive......
Timelines
Is it possible to loop one frame in the timeline while another one continues?
I have a picture slideshow lasting for about 50 seconds and a scrolling textfields that lasts much longer and the length of the text is variable.
Is there anyway I can loop the slideshow while the scrolling text continue?
Thanks
3 Timelines Or 6?
i was wondering which is wiser.. i'm working on an swf. that's going to take multible mc symbol timelines. i could make it all fit in 3 timelines, but more would be ideal.
i guess my question is, will having 3 timelines be a small swf. then lets say 6 timelines, with all the same motion tweens in both of course? just a thought.. thx for your time everyone..
Timelines?
I am SO FRUSTRATED with flash it's not funny. I am learinign flash as I am tryign to do a project so this is not for fun.. even though I'd like it to be. but I really need someone to explain to me in PLAIN english how timelines in the scene work? I know I created each movie in their own timelies as I'd like to see them last on the scene but if I have multiple movies that need to follow each other ... how would i do that ... some work and some don't . I'd just like to know the techicalities and how the timeline works on the scene. PLEASE!! I'm desperate. my project is due Wednesday.
tanks.
Help With Timelines
I have a beehive that when I put the mouse over it plays a shake animation, how would I have it play another animation if I click on it? I have the beehive as a symbol that has the shake animation and tried to put that in new symbol and made it animated different. How would I target the inner most timeline for the onRollOver event?
Timelines
Hello,
I have this code in the first frame in the maintimeline:
matkonim.firstpage.search_mc.addEventListener(Mous eEvent.CLICK, serach);
function serach(Event:MouseEvent):void{
matkonim.gotoAndStop("matkon");
matkonim.views.gro_txt.text=rss.recipies[0].groceries;
matkonim.views.todo_txt.text=rss.recipies[0].instructions;
}
The movieclip "matkonim" (on the maintimeline) have in the "matkon" frame
(it's not the first frame) movieclip called "views" which have 2 text areas with the name mentioned in the code/
the "rss.recipies[0].groceries;" and "rss.recipies[0].instructions;" are strings that Im loading from an rss file/
i get this error:
"TypeError: Error #1009: Cannot access a property or method of a null object reference.at recipies_fla::MainTimeline/serach()"
can anbody help me????
thanks
Timelines
I have created a button for activating a video. The 2nd button askes to copy the symbol and change Up/Down/Over and then suggests I SCRUB THE TIMELINE. Total novice and unsure why/or how to do this
Appreciate help
Regards
Steve
Help With Timelines...
i'm having problems grasping timelines within timelines, so here goes...
new project, i create a circle. i convert this circle to a movie clip. i double click the movie clip. then i edit the graphic (within the movie clip) as follows: i create a 10 frame shape tween. i hit enter and it changes shape nicely.
i go back to the main timeline. hit play, it plays nicely.
now i drag my keyframe on frame one to the third frame. now i have 2 empty frames, and a keyframe on the 3rd frame on the main timeline. hit play, it just flashes from a blank to the shape.
i add the line gotoandplay(3) to the first frame. it still does it. so i add 10 frames to the main timeline. now, it plays nicely.
question is, why did it play alright when the movie clip keyframe was on the first and only frame on the main timeline, whereas when it was on the third frame, it required the extra 10 frames on the main timeline?
thanks for any insight on this!
Variables & Timelines- PLEASE HELP
I have a button within a movie (a).
When the button is released it sets a variable:
Set (Order, "True");
The button then sends main timeline to another frame which then plays another movie clip (b).
At the end of this second movie (b) clip i want a frame action to read the original variable from button in the first movie clip(a), and on the basis of it being either True or False, tell the main timeline to jump to a specific frame.
The idea being that buttons within several movies will all set thier own variables, then send the main timeline to play the same second movie(b) and based on which variable has been set by the buttons the last frame of the second movie(b) will then send the main timeline to a different frame.
How do i get the frame action at the end of the second movie(b) clip to read the variable set by the button in the first movie clip(a) and react to its True or False state.
i have tried all sorts of combinations and cannot get it to work.
If anyone can help me sort this out i will be eternally grateful.
Cheers
//d-b//
HELP -addressing Timelines
this should be simple i'm sure, I have a set of 5 buttons on the first keyframe of a movie, each target 1 movie clip different keyframes using 'goto and play frame label XXX' . This works. I have a stop action at the end of the selected movieclip on the movieclips timeline. The problem arises when I want to tell the original timeline to go to a certain frame label from inside the movieclip.
Can anhyone help?????....does this make sense to anyone?!?!?!?!
cheers!
A Problem With Timelines
Hi fellow flash friends,
I have an a problem. I created a site in Flash 5 but now my bosses want to convert the site to Flash 4, blah, blah, blah. Now, there is a line of code that I have been using in order to commnuicate with the main timeline of my movie through 2 nested movie clips. The structure is:
1) Main Timeline
2) MC on main timeline
3) MC within 2)
Now, no.3 (nested MC) needs to tell no.1 (main timeline), to go and play frame label 'case'. Originally, I had the code on the button in MC3:
on (release) {
_parent._parent.gotoAndStop("case");
}
I wanted to know what the flash 4 actionscript would be in order to do the same thing! I am no wizard at this, and really started scripting in flash 5, I need your wonderful help on this!!!
Thanks and I owe you all in advance, as always!!
Jag
A Problem With Timelines
Hi fellow flash friends,
I have an a problem. I created a site in Flash 5 but now my bosses want to convert the site to Flash 4, blah, blah, blah. Now, there is a line of code that I have been using in order to commnuicate with the main timeline of my movie through 2 nested movie clips. The structure is:
1) Main Timeline
2) MC on main timeline
3) MC within 2)
Now, no.3 (nested MC) needs to tell no.1 (main timeline), to go and play frame label 'case'. Originally, I had the code on the button in MC3:
on (release) {
_parent._parent.gotoAndStop("case");
}
I wanted to know what the flash 4 actionscript would be in order to do the same thing! I am no wizard at this, and really started scripting in flash 5, I need your wonderful help on this!!!
Thanks and I owe you all in advance, as always!!
Jag
Timelines And Levels
Hi,
I have a basic question regarding levels. Is it possible to place a new timeline or animation on a higher level?
I know i can load a movie onto a higher level but can i simply start a new timeline or animation on a higher level then level0 and have it still be part of the mainmovie.
Thanks Anyone
Richard
Talk To Different Timelines?
when loading external swf's into level 1. How do I tell the main timeline to go to a certain keyfame while the loaded .swf occupies other space?
SI
Multiple Timelines
I'm looking for some help. I'm working in Flash 5 and I'm trying to work with multiple timelines. I have a button that loads a new swf (at level2) into the main timeline (level0). I want that button (in level0) to load the new swf at (level2) and go to a specific frame label on the new swf at (level2). Plus I want that button to go to a specific frame label on a Movie Clip on the new swf at level2.
Is this possible?
Does this make since?
Please help?
Talking To Timelines
Thanks to many of you in this discussion forum, I have created a prototype (using Flash MX) for instructional tutorials. If I can solve one more problem, I'll have a fully working prototype!
My movie uses a movie clip for navigation. It has Restart, Previous, Next, and Go to End buttons. All of the buttons work fine with one exception (see below).
Here's what my main movie does (and doesn't do):
(1) Plays an introduction and then prompts the user to "Click to begin."
(2) User clicks Next, Movie1 (external swf) loads into a movie clip on the stage. User can click forward or backward to view different labeled frames in Movie1.
(3) In the last section of Movie1, if user clicks Next, Movie2 (external swf) loads into the same movie clip (replacing Movie1) and plays. User can browse this movie, too.
(4) At the end of Movie2, if user clicks Next, main movie takes over and displays a Menu Page that enables user to revisit any of the tasks demonstrated in any of the movies.
At this point, if I click the Restart button and go back to replay the main movie from the beginning, it plays the introductory material and prompts the user to "Click to begin" again. But this time, if the user clicks Next, the movie won't budge. It won't advance to the next frame and reload Movie1.
In testing, I find that if I skip the loaded movies and click "Go to End," then click "Restart," the movie plays fine. It's only when I have loaded the external movies that restarting the movie causes it not to advance normally. I've tried explicitly unloading them, but that doesn't seem to fix the problem.
I have also used the Debug command to watch variables and to see what's showing on the stage. I do use variables in all timelines, but I'm careful to target them. The only thing I note is that if I play the entire movie and then click Restart, the loaded movie sometimes shows and sometimes doesn't. I can't seem to isolate the problem.
If I can just get this movie to Restart and play without problems, I'll be done with this project.
I humbly seek advice...
Multiple Timelines
This question is in regards to the tutorial located at http://www.flashkit.com/tutorials/An...-159/index.php . That tutorial is incomplete, and I can tell from the instructions that he left out a bunch of steps. So I am wondering how I create multiple timelines? I want to do exactly what the flash animation does. I want two things to start playing, but only one of them continues to loop through.
It would be great if someone could possibly fill in the blanks. Thanks a lot!
P.S. I did a search, but couldn't find a previous question like this already asked. But maybe I missed it. Sorry if it's redundant.
Controlling Timelines
I have problems controlling the _level0
I have several MCs nested into eachother: i.e.
tree.branch.apple at _level0
A movie is loaded at _level1 and this movie contains a script telling _level0 to move the instance apple to a specific label
How can I "target" apple when the instance is not on the main timeline?
Help is much appreciated.
Root Timelines
O.K so I have a flash movie, and I want to load external swf's into the movie via empty movie clips.
The external swf is a game for example, as soon as it is loaded in it ceases to work because the root timeline has changed, this is all logical. Is there a way around this problem.
A solution that does not require me to change every bit of code from _root to _root.emptymovieclip would be amazing!
Thanks
mr mooch
Contolling Timelines
hola, is there any way of getting a timeline to play a certain ammount of frames then stop?
cheers guys
Talking Between Timelines
hey guys, i got one for ya! i got a MC producing a random number and i want it to use that number to make another MC play for that ammount of frames, is that possible?
another thing, whenever i try dragging stuff from the library, flash stops responding, anyone know about that?
Music Timelines
Hi
I am attempting to create a music studio using flash mx so that users can preview and insert samples into a timeline and play back/save their creations. I am fairly new to flash and I need to be pointed in the right direction. Any help MOST appreciated.
Bungledog
Multiple Timelines?
Hi, I'm REALLY new to Flash. I've gone through a bunch of tutorials and did the lessons, but I'm a little confused.
I am trying to build a website. This is what I want to do. The main page has a left menu bar. Each of the links (buttons) will take you to another page. For example, the "Fun" link will go to a page with links to games and activities. OK, for each of these buttons in the menu bar, I think I target seperate flash movies (with their own timelines) and load these movies into the timeline on my main page. (There aren't linking options between these pages, the user would have to go back to the main page).Is this right?
Apart from the left menu bar, I want the main page content to be a nonlinear collection of text pages (very simple for now). So, for example, after reading the text on a page, you can choose to move to the next page, or jump to another page by clicking on a button. OK, I think to do this, I put this text content in frames on the main timeline and use actionscript to "go to and play" the specified frame on the timeline.
So, is this right? My main timeline is my navigation page (level0). On this timeline are also the simple text pages that basically link to each other. OK, each of the buttons on the menu bar of the navigation page will target a movie in another level. So "Fun" will target maybe a movie in level1.
So, to start, I should make the main timeline. Then, I should create the simple text pages and put them where I want them in the timeline. Then, I should create seperate movie files for the movies I want to load (like "Fun") and then load them into the main timeline.
Am I generally on the right track here or have I totally got this wrong?
(I would really appreciate your help :-) Thanks!!!
Communicating With Timelines ? ?
S I M P L E Q U E S T I O N
I have a Movie Clip [Scoll] with a button
in it with the following code :
gotoAndPlay(1);
But it communicates with the Scoll Movie
Clip. How do I get it to communicate with
main movie [home] timeline?
I M P O R T A N T
I can't use _root.gotoandplay(1) because
the Home Movie is already loaded into
another SWF [Index].
Reversing Timelines
*EDIT* It would help if I attached the FLA, hmmm...? OK FlashKit... after futile searching to *almost no avail... I needed to reverse playback of my MC. Came up with some code that did the trick. NOW, I need the same action that calls the reverse function originally, to call the same reverse function of another MC on that same timeline. Should be a simple rewrite somewhere Im sure... Id appreciate any help. Thanks. heres a little snippet:
(on first frame)
Code:
stop();
closedMC.onRollOver = function(){
gotoAndPlay(2);
}
function doReverse(){
_root.onEnterFrame = function(){
if(_currentframe > 1){
gotoAndStop(_currentframe - 1);
} else {
_root.onEnterFrame = null;
_root.play();
}
}
}
(on last frame)
Code:
stop();
openMC.onRollOut = function(){
doReverse();
}
I need the openMC function to call ringsMC timeline to reverse playback as well. Ive tried several different variations and just cant seem to hit the nail on the head...
Thanks again,
Geoff
Scenes And Timelines..
helloo..i am making a webpage.
on my first scene i have some buttons when i click on of the buttons a picture fades in ( in my main timeline ) when the pic fades in i want my main timeline stop... and call a movie clip to play and appear with a menu ( thats what i put in my MC )
buut i dont know what is the AS to put in can you help me ?
what i need is that when i run my movie on frame 20 ( for example ) i want it to stop and call a MC to play on my first scene
THANKS
LoadMovie And Timelines
The Background Info
A Flash slideshow! I have a main timeline with Actions that tell a '.swf' to load into a blank movieclip on the main Scene.
Here's a little image of the timeline...!
----a-----a-----a-----a
At the first 'a', 1.swf is loaded into the blank movieclip, at the second 'a', 2.swf is loaded and so on...
(Each .swf contains an image)
The Problem
The problem is that the time line doesn't wait for the .swf to load, it just carries on.
The Question
Reckon I should just get rid of the separate .swf's and just use movieclips containing the images within the same Main
movie..? Or is there a way of getting it working with the separate movies?
Targeting Different Timelines
hi... first time poster... long time reader...
i have a problem in linking from a button in a movie clip... to the root timeline...
so basically i have two timelines... one is the movie clip (with the button inside that i want to link to the main timeline) and the root timeline where most my work is...
i've used the code
on(press,release){
_root.(instance name).gotoandplay(label name);
]
however.. this does nothing.. i would really appreciate it if someone could xplain to me the rite code... once again im trying to link a button from within a movieclip to the main timeline... thx very much
Variables On Different Timelines
AS 2.0 (MX Pro)
GDay Flashkit! Need some help:
Im simulating a user inputting their name into a Input Field, and upon button press, jump to a specific timeline and output their name there. Enclosed is the simulated file. Any insight would be appreciated. Thanks!
Geoff
Sub Timelines/movies
How can one use a roll over function on a button to activate a sub movie?,
for example I want to change the colour from red to blue on a circle. The colours are set out on frame inside the circle movie clip. Now I want to use two buttons that can be rolled over to change the colour of the circle. However this rollover function must be seperate from the main function of the button, on the click the button takes me to a seperate frame on the main timeline.
Is this clear enough? I hope someone can help
worzel
Conflicting Timelines
Hi.
I'm trying to put together a picture gallery using one of Flask MX's templates. I have created 7 swf files with the templates, each with there own preloaders and from the main swf I have buttons that load the "galleries" in an emptymc. The problem I'm running into is that the nav buttons in the gallery that switch the pictures is controlling the main timeline. When I try to alter the mc_controller scripting in the gallery swf.. the swf doesn't work properly. When I try to place the external swf ( gallery ) on a different level from the main movie it doesn't work all all....
any help would be great.
I've enclosed the gallery scene fla and the external fla gallery car show.
Thx
Galley Scene
Car Show Gallery
Accessing Timelines
For some reason I can't fiddle with the timeline of a swf I've loaded into my main movie. Can anyone see anything wrong with the following?
<code>
//create empty clip
_level0.createEmptyMovieClip("mc_EmptyClip", 2);
//populate it
_level0.mc_EmptyClip.loadMovie("myfolder/mynewclip.swf");
//position it
setProperty(_level0.mc_EmptyClip,_x,20);
setProperty(_level0.mc_EmptyClip,_y,26);
//now go to the right section of the clip - this bit don't work!
_level0.mc_EmptyClip.gotoAndStop("myframelabel");
</code>
I can load it and move it about, but it won't goto anything, label or frameno. The first frame of the loaded clip plays a short intro, I want to skip to a frame further on.
Any help would be smashing!
Controlling Timelines...
How come something so simple (in theory) is so difficult? (...I know it's because I suck at AS)
I have an MC on _root that when it starts playing to tell another embedded MC (_root.mc1.mc2.thisMC) to continue playing till it gets to a certain frame and then to stop. I've read on the forum that you can't use a frame label for something like this.
Can anyone give me a helping hand?
Independant Timelines?
Is it possible to have a movie inside anouther movie that isnt subject to the fact that the first movie is stopped or not?
I have a timeline of 600 frames with a movie of about 30 inside it, but inside that is anouther one of 600 frames and I want that one to be inline with the first one, only problem is that the second one of 30 frames starts and stops itself for animation purposes and makes the internal one also start and stop.
|