Open The 2nd Scene Of Flash Movie Each Time
Hi
I have flash intro on 2nd scene and HomePage on 1st Scene I want to play intro first.Some actions are attached to external movies thats why I don't want to move intro to 1st Scene. My question is that is it possible to open this movie on 2nd Scene each time?
Thanks
FlashKit > Flash Help > Flash ActionScript
Posted on: 02-22-2003, 01:24 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash Crashes Every Time I Open A Movie
I have a fla file i have been working non for some time for a client. The file was working perfectly until a few days ago when i tried to open it. Flash immediately crashed. So i tried opening it on a different machine with flash on. same thing, not even an error message. I have now tried it on around 5 machines with no luck. So today i resigned myself to having to restart the project. However i tried opening the file as a library and it opened OK. One of the library items (a movie clip named "movie") is corrupted as if i click on it in the library it causes flash to crash. SO when i am opening the file, flash tries to load that movie and it crashes. is there any way i can edit the fla with another program to remove this file? i tried in a hex editor searching for movie but it doesn come up with anything congruent... Any ideas? i'd rather not lose that work (although with the library back it is not as bad!)
Oli
Open New Movie/scene With Transparency
Hi,
I am new to this list and might as well be new to Flash. My knowledge is more in php, html etc. However, I need to get something together in Flash and while I can usually figure something out ... I think I need a bit of help with this.
I have a map created in Flash where I want to be able to click on a country and have a semi-transparent window come up over top so you can still see the outline of the selected country through the window, Into this window, I need to be able to dynamically load text (plain and/or html), images, other flash or flash video. I also want the movie or scene to zoom up to a set size and then zoom back to nothing on close.
So, are transparent backgrounds possible? Should I be opening a new movie or a new scene? I also need this new window to grab data from an external file or database (XML or MySQL).
A tall order perhaps but any help or direction will certainly be appreciated.
Dave
Random Colors Ever Time You Open A Movie
I was looking at my friend webpage and he has it so that everytime you open the site, the background is a different picture (it cycles through about 5) and the color scheme of the nav. menu is different. does anyone know how to do that?
Flash Scene Play 1 Time Only
I'm going to make a flash animation and only want it to play 1 time and then go to another scene and stop. When I exit to other sections on the site and then go back to this page, how can I make the flash not play from the beginning but show you scene2 where it had stoped earlier? At this point I want it to maybe stop at scene2 and either stay stoped or wait 5 min and play again. It's for an ad.
I did this flash scene http://www.igtmarketing.com/ and it plays all over again if you click services and back again.
Thanks for your help!!
Jeff
Anoying Alert Every Time I Open Flash
Hi,
I put an html file in the HTML folder within the Flash MX files. When I loaded flash (the publish settings window does this too) I got the following alert:
Quote:
An invalid template file (FlashObject.html) has been found in your HTML folder.
(The file was called FlashObject.html).
I removed this file, but still get the alert when I open flash or go to the publish settings and it's becoming increacingly anoying.
How can I stop this?
Thanks
Open The Right Scene
how can i get a movie to open to the scene I want. My movie has two scenes, (scene 1)main and (scene 2)game. No matter what I try, it opens to scene 2. I have tried arragning the scenes with no help
please help
[Edited by chosenson on 08-26-2002 at 01:28 PM]
Can I Open A Scene In A New Window?
I am running flash 4 and was hoping to either preload another movie, and have it pop up in another window, or have the scene i want open in a new window? any help would be great, thanks...potar
Button To Open A New Scene
I'm making a button to open a new scene. The button won't allow me to add a script for this....I know this is a totally newb question but I have to start somewhere
thanks for your help
Open URL And Go To New Scene Problem
PLEASE HELP.
I am using actionscript 3 in CS3.
1. Firstly I am trying to simply click an image and for it to open up a new scene on the first frame.(need code to do this)
2. I want to click an image and for it to open a URL of my choice.(need code to do this)
I am used to using flash 8 so all this new scripting is new to me. Please help!!
Is There A Way To Specify A Scene Or Frame A .swf Should Open On?
Is there a way to make a flash menu for an otherwise HTML website with a seperate scene for each page? So that, for example, when you're on the home page it shows the home button in the down state and it isn't clickable. And so on and so for the other pages. I know I could create seperate .swf's for each page, but then each one would have to load on each page visit instead of loading just once on the home page and then being cached for the rest of the site. Is there a way to specify a scene or frame a .swf should start on when opened?
Is There A Way To Specify A Scene Or Frame A .swf Should Open On?
Is there a way to make a flash menu for an otherwise HTML website with a seperate scene for each page? So that, for example, when you're on the home page it shows the home button in the down state and it isn't clickable. And so on and so for the other pages. I know I could create seperate .swf's for each page, but then each one would have to load on each page visit instead of loading just once on the home page and then being cached for the rest of the site. Is there a way to specify a scene or frame a .swf should start on when opened?
Not Enough Memory To Open Scene Error
Hi,
I've got a large flash file which no longer seems to open. The file is 10 MB.
When I try to open the file I get a 'Not enough memory to open scene' error. It suggest using Get Info to modify the memory allocation which I assume is for Mac although I'm using XP.
I've tried searching for an answer to this but have had no luck so far.
Thanks,
Chris
There Is Not Enough Memory To Open This Scene."
Hi Guys,
I'm working with a file that's only about 2mb in size, but every time I open it I get this message: -
"There is not enough memory to open this scene. Your document is not damaged and you may save your scene"
And then it tells me to increase the amount of memory by shutting down programs, even though I'm working on a machine with 1gb of RAM, and barely any background processes running. It does load the scene, but it deletes a specific frame from one of my animations.
Does anyone know how to get around this. If I keep editing the scene, will it just keep deleting the same frame? If that's the case, it's not a big problem, but if it starts deleting other stuff, that would kind of suck.
Can anyone shed some light on this?
Thanks!
How Do I Direct A Button In 1 Flash Movie To A Specific Scene In Another Flash Movie
I have a separate flash 5 movie which is a bank of buttons inside an html page.
This page is accessible from my main flash site but how do i get back into the main flash site and into the specific scenes relating to each of the buttons on the button bank?
I have tried using variables but I havn't quite managed to get it to work yet.
cheers, ailie
Different Time Of Day Different Scene..help
hey actionscripts guru..
need a lil assistant please..
what i want to do is change a background scene (MC) according to the time of day..etc..
so if its morning.. the sunrise scene..midnite..the moon/nite scene..etc...
i was able to find the source to do the clock in flash..but how can i parse to show a certain scene..for a given interval of time..like say..
from 8am-noon..show this scene
from noon-6pm show this scene
from 6-midnite show this scene
from midnite-6am.. show this scene..
any help or a starting point is helpful
Flash Movie Goes To Next Scene On On Two Movie Clips Touching
I am pretty sure this can be done because my digital imaging teacher showed us a square spinning after touching a triangle that was moving around. I didn't really pay attention at the time because it seemed pretty useless. But anyway, how could I make a movie go to the next scene after one movie clip touched another movie clip, like two boxes or something? What would the code look like at where would I put it? Thanks.
[MX04] Imported SWISH Movie To Flash Doc And Only Want To Loop 1 Time Within My Movie
I have a flash movie that I am working on. This is my situation:
- I brought a movie from SWISH max to create an effect to this one tag line
- I exported that movie and imported it into a flash mx 2004 document
- When I preview it dont stop looping!
- I tried creating a setting for it on the SWISH application that says "stop playing at end of movie" but i think it overrides that once its brough over to Flash MX.
Any suggestions how I can take care of this problem withi flash? Thanks!
Open 2 External Swf With A Time-delay
hi there
i try to open two external swf in a main movie with a time-delay between. i can open the two swf at the same time, but i cant seem to get the delay to work. please help me.
i tried to put this actionscript in the first frame of the main movie:
version 1:
loadMovie("test4.swf",_root);
clearInterval(myInterval);
myInterval = setInterval(loadMovie("test5.swf",1), 5000);
i also tried this, without luck:
version 2:
loadMovie("test4.swf",_root);
_root.waitHowLong = 5000;
_root.delay = true;
_root.startTime = (getTimer());
if (_root.delay) {
if (_root.waitHowLong<=(getTimer())-_root.startTime) {
_root.delay = false;
}
}
loadMovie("test5.swf",1)
greetings and a good day to you
Moving To A Scene Using Time?
Ok heres another one.
I have 4 scenes, the first is intro,
I want it to move to another scene according to what time it is. I tried this script
adlibbing here so it may not be totally correct
mydate=new Date();
hours= mydate.getHours();
if (hours= "1" or "2"){
gotoPlay (scene2,2)
}
thats a short version of it.
i keep getting errors for the gotoplay part.
i know it needs property it usually is written hours=gottoPlay i tried that that didnt work either.
if someone has a suggestion id be a happy man lol.
thanks in advance
sam
akaeadsam
Go To A Scene After Elapsed Time?
Hey Guys,
I know this may be a simple question, but how do I create an action to go to another scene after an elapsed amount of time? I am creating a Flash banner that has 6 images in it. After one image loads, I want it to stay on screen for 10 seconds and then jump to the next image.
Sounds pretty simple huh? Any help would be greatly appreciated.
Thanks!
Loading One Scene At A Time
Hey I'm just learning flash and I guess I'm catching on rather quickly but I have a question. I'm making a website with flash and i have the pages of the website into different scenes and I was wondering if somebody had the action text to load only a scene at a time. I know how to make a preloader to load the entire movie but i plan on putting flash files into the site and I want them to load sepratly. If you want to see what I have with my website so far you can check it out at http://thisismysite.250free.com/rhinovalley.html The action text to load individual scenes would be very appriated if somebody could provide me with that information. Thanx.
Loading One Scene At A Time
Hey I'm just learning flash and I guess I'm catching on rather quickly but I have a question. I'm making a website with flash and i have the pages of the website into different scenes and I was wondering if somebody had the action text to load only a scene at a time. I know how to make a preloader to load the entire movie but i plan on putting flash files into the site and I want them to load sepratly. If you want to see what I have with my website so far you can check it out at http://thisismysite.250free.com/rhinovalley.html The action text to load individual scenes would be very appriated if somebody could provide me with that information. Thanx.
Targeting Frame Label In Scene From Movie Clip In Same Scene
Hey Pals,
I'm trying to target a frame label on the timeline of a scene from a movie clip within the same scene, using Flash MX 2004 Pro. The scene is ultimately used as a .swf to load as a page of a website. The frame label is called "miscOn", the scene is called "misc". The below code is attached to a button within the movie clip.
on (release) {
loadMovieNum("tajwebsite_main.swf",1);
gotoAndPlay(miscOn);
}
Thanks!
Stu
.mov File Needs To Open Quick Time Player.
I would like to have my button to call up a .mov file. It works except it opens into explorer. It needs to open in an independant quick time player.
on(release) {
getURL("my.mov");
}
Can someone tell me if this can be done?
thank, Laurel
Loading One Frame/scene At A Time
Hi, I was wondering how If it is possible to load one part of a scene and watch it play, meanwhile having another part of the same scene be loading a bigger file.
And, how would you be able to load just one scene of a movie. and not the whole movie. So you basically have several loading bars for every page.
I'm very sorry if this is confusing...
I'll explain a bit more if it is not understandable
Cycle Through The Scene After A Set Period Of Time
I have a movie that I have next and back buttons to move from one scene to another. What sort of actionscript would I need to add to the timeline to make it "autoplay" or advance to the next scene after a set amount of time if the next and back buttons are not pressed?
I have applied the code below;
var duration:Number = 12000; // set the call delay
var yourInterval:Number = setInterval(doSomething, duration);
function doSomething():Void
{
gotoAndPlay("Scene 2", 1); // play Scene 2 from frame 1
clearInterval(yourInterval); // clear your interval function
} // end of doSomething
The interval time works, but for some reason it only jumps to the first scene,what ever i change the 'gotoAndPlay("Scene *.", *.)' I have 10 scenes in this flash doc.
Does anyone know why, please show me how stupid i being...
my flash doc code
Stage.scaleMode = "noscale";
//below allow to cycle through the scenes.
var duration:Number = 12000; // set the call delay
var yourInterval:Number = setInterval(doSomething, duration);
function doSomething():Void
{
gotoAndPlay("Scene 3", 1); // play Scene 2 from frame 1
clearInterval(yourInterval); // clear your interval function
} // end of doSomething
back_btn.onRelease = function (){
gotoAndStop("Scene 1", 1);
};
next2_btn.onRelease = function (){
gotoAndStop("Scene 3", 1);
};
menu_btn.onRelease = function (){
gotoAndStop("Scene 1", 1);
};
Open A Movie In Flash 5
I want a button that when you press it opens a movie in a new window as i know u can play movies in flash 5. I have an idead of the action script but i doesnt seem to work am trying.
on (press) {
getURL ("jacko", "_top");
}
the movie file in the same file is called jacko.
Open A PDF From A Flash Movie
Hi All,
Any of you bright sparks know how to open a pdf file from a button in flash.
I know how to launch an exe and I tried doing it a similar way but it doesn't want to work for me.
Any Ideas??
Can't Open A Flash Movie
when i try to open a flash movie it asks me to choose a program to open the file....what should i do?
I Cant Navigate 1 Scene From Another Scene Thorogh Movie Clip
SIr i made a Movie Clip and in the movie clip there are 4 buttons when i want to use the button so go to another scence it cant happen so how can i go to Another scene by the button which is present in the MOVIE clip
i think u understand my Problem
simply summary is that i there is a button in the movie clip and i want to use the button to go to another scene but it cant happen
Thk u in adnvance for any body Consideration
On My Movie, At The Middle Of The 3rd Scene, Goes And Plays The Sounds On 4 Scene...m
on my movie, at the middle of the 3rd scene, goes and plays the sounds on 4 scene...leaving some stuff of the 3rd... then goes blank... then it just gets crazy... no where there in the middle of the scene i gave it a command to go to the next scene... what on earth is going on...
please help...
it never happened before...
mayor deadline/...
urgent care...
thank you in advance:
chesckob
How To Random Load A Frame Every Time I Open The Web Page
hi, i'm trying to find some resource to help with this script.
what i'm trying to do, it's to randomly load a frame in a MC everytime a web page is open and then stop there. no timers, no redirect, just a random load.
for example.
my movie has 5 frames with different backgrounds. red, blue, yellow, green, purple.
i want to ramndomly load one of the color everytime an user load the home page.
Revert To Previous Scene After Time Delay
I have a 2 scene movie with a title on the first scene and an interactive colour selector on the second. Is it possible to add a time delay on the second scene so that if there hasn't been any mouse events for a certain amount of time the movie reverts back to the first scene?
[F8] Load Next Scene Of Imported Swf At Specific Time
Hi I'm using actually using flash CS3 and I have a movie file that loads into my main movie that displays a weekly event that I have to manually change every week. The imported movie contains a graphic that I change every week.
I use this to bring the movie in...
Code:
loadMovieNum("this_week.swf", 13);
What I would ideally like to do is have several weeks worth of graphics on sequential scenes and have the main movie automatically load the next scene of the imported swf at 5am on Sunday morning for a period of 1 week. Then change again the follwing week etc.
You can see the imported swf on the site here, its the date and name that flies in on the bottom right.
Hope that makes sense!
Thanks
Load Next Scene Of Imported Swf At Specific Time
Hi I'm using flash CS3 and I have a movie file that loads into my main movie that displays a weekly event that I have to manually change every week. The imported movie contains a graphic that I change every week.
I use this to bring the movie in...
Code:
loadMovieNum("this_week.swf", 13);
What I would ideally like to do is have several weeks worth of graphics on sequential scenes and have the main movie automatically load the next scene of the imported swf at 5am on Sunday morning for a period of 1 week. Then change again the follwing week etc.
You can see the imported swf on the site here, its the date and name that flies in on the bottom right.
Hope that makes sense!
Thanks
Help On Getting The Flash Movie To Open At A Certain Size
i am making a little navigation movie that will go in a frame to the left of my webpage, and i was wondering if you can specify the movie to open in a certain window width and height, so that it enlarges the movie, for people with different resolutions to see. i basicly need to know how to get the movie to open in a certain size window...thanks
Button To Open Flash Movie
I would like to have a button in one movie open up another movie in its own window. This project will be a projector on a CD in the end, so javascript won't work here I don't think. Is this possible?
Cheers!
Unable To Open A Flash Movie.
One of my .fla documents doesn't want to open. It keeps saying "failed to open", yet I know it's functional and in the same version I have.
Anybody have any clues to why and how I can open my file?
I need help!!!!!
Eric
Open New Window From Flash Movie
Greeting,
First I Just want to say that this is the greatest community ever for anyone who wants to learn flash. I've been here a long time but just registered.
Anyway, I have a quick one, I use the following javascript
function newWindow(url,name,features){
var newWin = window.open(url,name,features);}
for opening a new window from a flash movie embeded in an html page. when I tested in my pc all the new windows popup ok but when I published my site on the internet, not thing pops up? can someone please help shed some light to this problem of mine?
Thanks in advance.
AL
Open Curtain FLash Movie
I'm tryign to create an MC that will show some curtains opening, but I can't picture how it would look. Can anyone link me to, or possibly create a small .fla that would have a curtain opening animation?
Open Director Movie In Flash
Hi everyone:
I'm looking for someone who knows how to play a Director movie with several pages in Flash? Please check my site at http://www.ninjalydia.com under the section"New Media". Click the first page of portfolio to open the movie. The problem is the buttoms in the movie can't open Other pages which were saved into html and dcr format. It works well when I tested on my local Hard Drive. But there is no working for the live site. May you tell me how show display director movie in Flash?
Thanks
Lydia
|