HTML Load To Specific Scene
When somebody comes to my website, it loads an html file with a full-frame Flash video. They watch scene1, scene2 and then load into scene3.
In scene3 there are links that load different HTML files into the same window.
Is there a way to create an HTML file that they could click on that would re-load the original video to scene3?
An example of what I'm looking for would be something like this in the HTML file:
<PARAM NAME=movie VALUE="content.swf (scene3)">
I realize that code would not work, but I hope it helps you to understand what I'm looking for. I don't know if it exists or is an option.
The alternate approach would be to put scene3 in a seperate html file altogether. Any feedback would be appreciated.
DevShed > Flash Help
Posted on: March 4th, 2004, 11:58 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Specific Scene From HTML
Hey
Is it at all possible to call a specific scene in a .SWF file using HTML code? I think it should be possible with a variable passed on the URL to the .SWF file and having some actionscript responding according to the value of the variable. But I am not sure of how to go about it.
Is there anybody out there who could help me thorugh this problem please?
Len
Load Specific Scene In Movie
Hey,
I was wondering if you can use the loadMovie action to load a specific scene in the movie you are loading?
Thanks
Jay
Load New Swf And Goto Specific Scene
Hi Folks,
Reckon this is a newbie question. Is it possibe to load a new swf and then jump to a specific scene?
I've looked throught the Actionscript Dictionary and it mentions Moviclips, levels and variables, but nothing about a specific scene.
Any help would be appreciated.
dpower
Load A Specific Scene In A Site
I have a website and would like to be able to load a specific scene in th eSWF. So when the SWF is loaded it goes to that specific scene.
Can this be done
How To Load Movie To Specific Scene?
I'm using Flash 5.
I would like to load a swf from another swf, but have it go directly to a specifc scene and frame.
Does anyone know how I can do this?
Thanks.
[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
Using Input Text To Load A Specific Scene
What I am wanting to do is have an input text field where a user can enter a zip code and once they submit that zip code I want to load a particular scene.
I just started to really get into the action script, and am working with Flash CS3 and AS 3.0. I've been using visual quickpro guide for CS3 Prof Advanced as a reference, and in it talks about using the SharedObject class to store and retrieve information. Using their code as an example, here is what I have thus far:
var mySharedObject:SharedObject=SharedOBject.getLocal( "myCookie");
zip_submit.addEventListener(MouseEvent.CLICK, savedata);
function savedata(myevent:MouseEvent):void {mySharedObject.data.zip = newwavezip.text;
mySharedObject.flush();
}
My undertanding is that this should save the data from the input text field that I have labeled zip when they click on the submit button labeled zip_submit.
What I can't figure out from here is how I would then retrieve this data and then compare it to a list of zip codes, and if it finds a match, take the user to a particular scene. If it does not find a match, it should also take the user to a particular scene. Ideally since this ShareObject can save information locally on a users computer, I figure if the user returns, it would automatically load this information and take the user to a scene.
Load Movie And Go To Specific Frame Or Scene
Greetings everyone.
I'm primarily a Director user, but have just begun Flashing. I have encountered a problem that should be very simple to solve, but has turned into a really big deal.
All I want to do is load a movie/swf file (from a running movie/swf file), and go to a specific frame or scene in the loaded movie. What is happening is, I can call the movie, but not specify the frame or scene.
In a nutshell: From the "Main level"/"Level-0" movie, at an arbitrary point in the timeline, while the movie is playing, I click on a button and stop the timeline from playing.
I then click on a newly visible picture/button, which links me to the sub-level swf/movie.
The sub-level movie has only a stop command and a "back button" (at this point).
I want to be able to click on the "back-button" and return to the exact point in the time line in the Main-level movie that I left from.
This is a cinch if we are dealing with different scenes in the same movie, but we're not.
Go to: http://www.showorksevents.com/Us/ProfAff/New/new.htm
Scroll the picture timeline. Click on a picture. It takes you to a "sub-level" movie. Click the back button. You return to frame 1, Scene 1, of the "main-level"/"Level 0" movie. I want to return to frame 18 of Scene 1 of the main level movie.
I have tried and tried, read everything I can find, seached the net, and am now asking the real guys. Any ideas how a not very good with ActionScripts kinda guy can make this happen?
Any help would be greatly appreciated.
Thanks
GB
Can You Load To A Specific Scene In A Loaded.swf File?
Hello all,
I'm hoping someone out there has been able to do this. I've tried looking around and have found somethings to try but they haven't worked. It seems like it would be a relatively common script to do, but I haven't been able to find the solution.
In my Flash site I have a buttom that I use to load a .swf file into using loadMovie. My questions is, how would I load to a specifc scene or frame in that loaded .swf file?
I don't have the code on hand but I have been trying to use something like this:
on release Load Movie cd.swf and goto scene 4
This hasn't really been successful. Is there a simple script to load a .swf to a specific scene? I'd appreciate any help.
Thanks,
mk
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
Can You Load To A Specific Scene In A Loaded.swf File?
Hello all,
I'm hoping someone out there has been able to do this. I've tried looking around and have found somethings to try but they haven't worked. It seems like it would be a relatively common script to do, but I haven't been able to find the solution.
In my Flash site I have a buttom that I use to load a .swf file into using loadMovie. My questions is, how would I load to a specifc scene or frame in that loaded .swf file?
I don't have the code on hand but I have been trying to use something like this:
on release Load Movie cd.swf and goto scene 4
This hasn't really been successful. Is there a simple script to load a .swf to a specific scene? I'd appreciate any help.
Thanks,
mk
Linking To A Specific Scene/frame In Flash From HTML
Hi,
I hope someone can help me as I've been googling all morning and have not been able to find out how to do this.
Basically I am editing a Flash template. Half of the site is in Flash and half just basic html. The flash part is made up of only one .swf file.
I am trying to create a basis <a href> link in HTML that will go to a specific scene and frame within that Flash file. So I can't just link to the .swf file because it will load at the beginning which I don't want.
It's probably quite easy and I apologize if that's the case. I'm learning Flash.
Thanks very much!
Amy
Load A Specific Scene When I Load A New Swf.
So, I have swf-1 that has 6 buttons. Then I have swf-2 that has 6 scenes. Each button on swf-1 needs to load a different scene in swf-2. At this point all I can do is load scene1 of swf-2 from all of the buttons. Can someone please tell me how to make a button load a specific scene in the second swf? At this point I'm worried I have to go back and make each scene it's own swf. If I do, is there an easy way to convert them? Any help is greatly appreciated.
Html Link To Load Swf Then Load Specific Xml File
Hi I'm still learning a lot to do with actionscript and not even sure if this can be done so this is a long shot!
I want to have a link in html to load an xml file in a swf - haha does that make sense??
Eg: The user to be able to click on the websites link on "http://crushdesign.co.uk/links.html"
Then that take them to "http://crushdesign.co.uk/portfolio.html" BUT in the Web section of the swf!
Thanks guys
HTML To Load Movie To Specific Frame?....Help Me...Help Me
Oh, I'm in trouble now!
Let me tell you straight off that I'm a Graphic Designer
who doesn't know JavaScript and I'm just learning the joys of ActionScript.
I have a site that needs to go up TOMORROW and I need to
have an HTML page load a .swf to a specific frame. It
has to work in Netscape and I.E.
I've begun searching the forums and am reading through
several posts suggesting how to create a LINK that, when
clicked, will load a .swf to a specific frame. It is
making my brain hurt.
Can anyone PLEASE suggest code that I can put in my HTML
page that will simply tell the .swf to open at frame label,
"Oh God I promise to learn JavaScript if you can just
get me through the next two days" when the HTML page loads?
Sincerely Desperate,
MelbArt
Passing A Variable From HTML To Flash Movie To Have It Load Specific Swf
I think this is possible...but I'm having a hard time figuring out how I should go about it.
This is what I have at present: 4 separate flash movies for each html page on the site. One loads the title of the page (ie. "home", "links", etc), the other is a simple animation that reveals an image (this image is different for every page), the third is just a link to a map that will open in another window (I might get rid of this completely), and finally, the fourth is the menu bar. Each button is coded for a particular url. The menu bar is different for each html page to make it easier to switch from the French content page to the English content page.
What I'd like to do: Is combine the first three movies into one fla, and then have the proper swf loaded for the corresponding HTML page. I'm thinking that I could pass a variable from the HTML page (using javascript)to the main flash movie so that the correct title swf and image swf are loaded. Am I making sense? Is it possible?
LOL...my brain is mush right now and I cannot seem to wrap my head around the javascript/corresponding actionscript for this. I need sleep. :-)
Any suggestions would be greatly appreciated, thanks!
Html --> Redirect To Flash Site And Load Specific Movie
This will take a while to explain..
I have a website done in one main flash which calls up external swf. If the user does not have Flash 6 player, they will be redirected to the HTML site. However, users coming in via search engines will most likely end up in the HTML site. So the boss has asked me to add some magic codes into every HTML page to check the user for presence of flash player. If the user has it, then they will be redirected to the FLASH site BUT the trick is, it has to load the exact corresponding swf of the HTML page they were redirected from!!!! Any Flash Merlins out there with that kind of magic to teach me how to achieve such miracles? I cannot afford to restructure my Flash cuz my navigations are in the main movie and every page is in individual external swf to be loaded into a blank container in the main mov when they are called.
I'm building with Flash MX
Html To Load Flash An A Certain Scene/frame/slide
Hi, i am in the process of creating a very large site. When inserting a flash file into a html page, is it possible to also tell it were to start, like at a specified frame or slide or scene?
i want to have multiple pages with the same flash loaded everytime, but the page loads the flash with a different scene or slide.
any help would be apreciated.
Button In Scene 1 Loads A Specific Mc In Scene 2?
Unfortunately my brain isn't really designed for understanding or figuring our ActionScript very well... Here's what I'm trying to do and the problem:
The user arrives at a 'splash screen' in Scene 1 which gives them the option to choose to view the demo in 'interactive' or 'autorun' mode (the two modes are slightly different in terms of their content so I'll have two separate scenes, Scene 2 will contain all the 'interactive' movie clips and Scene 3 will contain all the 'autorun' movie clips). The user can then choose whether they'd like to view the demo with the sound on or off. Once they've made this selection they'll be taken to the opening animation of the mode (i.e. interactive or autorun) they selected, with the sound on or off as they specified.
What ActionScript needs to be applied to the sound on or off buttons in Scene 1 to ensure that the correct sound movie clip loads at the beginning of Scene 2 or Scene 3.
If the user initially decided to view the demo in autorun mode they will be able to change to interactive mode at any time... how can I ensure the sound setting they have selected remains unchanged across Scenes (and they can choose to turn the sound on or off at any time)?
I need to create this as a single SWF - I can have as many Scenes and movie clips as is necessary but cannot use loadMovie and multiple SWF's
If anyone has any ideas I'd love to hear them! I just can't figure it out and I'm getting REALLY desperate!
Thanks!
Go To A Specific Scene After A Specific Time
What is missing in below actionscript:
strTime=0;
_root.onMouseMove = function(){
strTime = getTimer();
}
_root.onEnterFrame = function() {
if (getTimer()-strTime>100000) {
trace("100 sec. inactivity registraitet")
getURL ("http://www2.devi.com/webhome-demo/valgsprog.asp", "_self");
strTime = getTimer();
}
}
A malfunction on My movie (23 scenes) occurs using this script. Every time I go to a new scene the time of mouse-inactivity most start all over from zero before going til to the getURL. But it seems that the time of inactivity of mousemove in some way "accumulate" from all the scenes dispite you haven't been on the scenes.
What may I add to the script make i work proberly???
Go To A Specific Scene After A Specific Time
What is "missing" in below actionscript:
strTime=0;
_root.onMouseMove = function(){
strTime = getTimer();
}
_root.onEnterFrame = function() {
if (getTimer()-strTime>100000) {
trace("100 sec. inactivity registraitet")
getURL ("http://www2.devi.com/webhome-demo/valgsprog.asp", "_self");
strTime = getTimer();
}
}
A malfunction on My movie (23 scenes) occurs using this script. Every time I go to a new scene the time of mouse-inactivity most start all over from zero before going til to the getURL. But it seems that the time of inactivity of mousemove in some way "accumulate" from all the scenes dispite you haven't been on the scenes.
What may I add to the script make i work proberly???
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 Load A Swf From Html And Goto Specific "label"?
Hi
I'm wondering to know how to use HTML code to simply call a swf file that goto specifc "label"
can I use some coding like this?
in HTML file
<PARAM NAME=movie VALUE="abc.swf?Label="xxxxx"">
in abc.fla
gotoAndPlay (xxxxx);
appreciate if someone would let me know the right syntax/method
Thanks in advance.
Alan
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!!!!!
Load Specific .swf During Specific Time
Hi all. I have been working on this piece of code that loads a movie depending on the time of day. I.E. morning, afternoon, night. And this is what i have so far, but it doesn't work. Any ideas?:
Code:
now = new Date().getHours();
if (now>=8 && now<13) {
loadMovieNum("http://www.my_url.swf1", 0);
} else if (now>=13 && now<17) {
loadMovieNum("http://www.my_url.swf2", 0);
} else if (now>=17 && now<20) {
loadMovieNum("http://www.my_url.swf3", 0);
} else if (now>=20 && now != 0) {
loadMovieNum("http://www.my_url.swf4", 0);
} else if (now == 0 || now<8) {
loadMovieNum("http://www.my_url.swf5", 0);
}
}
Thanks,
Victor
Please Help, Need To Go To A Specific Scene
Hello,
I am a flash newbie and I got a simple actionscript syntax question. I can't seem to understand the syntax: "gotoAndPlay([scene,] frame)"
Can someone give me a simple syntax on how the [scene] parameter works?
Example: How do I place the [scene] syntax on the following actionscript code?
on(release) {
gotoAndPlay(16);
}
Thanks for your help.
Go To Specific Scene?
Hi
How do I go from 1 scene in a file, to a specific scene in another file? Must I use those Named Anchors, and whats the scripting then??
This is what I've got at the moment:
Code:
on (release, keyPress "<Left>") {
loadMovieNum("presentation.swf", 0);
}
but it just starts the whole file from the start.. I want it to go to example: scene 5 in presentation.swf....??
Thanks for the help!!!
Go To Specific Scene?
Hi
How do I go from 1 scene in a file, to a specific scene in another file? Must I use those Named Anchors, and whats the scripting then??
This is what I've got at the moment:
Code:
on (release, keyPress "<Left>") {
loadMovieNum("presentation.swf", 0);
}
but it just starts the whole file from the start.. I want it to go to example: scene 5 in presentation.swf....??
Thanks for the help!!!
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.
Tell The Movie To Go To A Specific Scene
I have a movie with many scenes
i can make a button that will tell the movie to go to a scene:
on (release) {
gotoAndPlay ("Scene 2", 1);
}
When I put that button inside an instance (and it is named), it will no longer work!
Not:
on (release) {
_root.gotoAndPlay("Scene 2", 1);
}
Or:
on (release) {
tellTarget ("_root") {
gotoAndPlay ("Scene 2", 1);
}
}
Or:
on (release) {
tellTarget ("_root") {
gotoAndPlay ("_root.Scene 2", 1);
}
}
Or:
on (release) {
gotoAndPlay ("_root.Scene 2", 1);
}
This seems like a very simple and wanted ability, why is it so hard to make happen? Thanks in advance for the help!
LoadMovie, Then Go To Specific Scene
Hello...
I'm trying to target a scene in a movie that loads on layer 2. The movie has four scenes, one is called "snapshots".
Here's my code:
on (release) {
loadMovieNum("media.swf", 2);
_level2.gotoAndPlay("snapshots", 1);
}
I don't get an error message, and when the button is released, it does load the movie, only it doesn't go to the scene I want it to go to.
Can someone help me tweak my code to get it to work the way I want it to?
Thanks,
Ansia
Addressing To A Specific Scene
Hi,
I'm in a movieclip wich contains different buttons.
this movieclip is on the root but I can't tell those buttons to go to and stop "scenexyz" of the root
I tried with:
on (release) {
_root.gotoAndStop("scenexyz", 1);
}
but it didn't work....
what's the right syntax?
Addressing To A Specific Scene
Hi,
I'm in a movieclip wich contains different buttons.
this movieclip is on the root but I can't tell those buttons to go to and stop "scenexyz" of the root
I tried with:
on (release) {
_root.gotoAndStop("scenexyz", 1);
}
but it didn't work....
what's the right syntax?
Going To Specific Scene Based On URL. Possible?_
Hi,
I would like to know if, based on the loaded URL, a flash movie can go to specific scene. Should be simple, right?
The reason I want to do this is because I have a menu of a site built in flash and I want to use the same flash movie across the site. I do not want to load a different flash menu for each page or section.
thanks!
Link To A Specific Scene = Possible?
Hello.
I'm just beginning to learn how to work with flash. Now I have created a Menu in flash. It consists of a main menu, and 5 sub-menus. The flash movie has 6 scenes: Scene1 = the main menu, and scene 2 - 6 are the submenus.
Is it possible to make an HTML link to for example Scene 3 in this Flash movie? If so, tell me how!
Thnx.
Button Going To Html File, Want Html To Be Specific Size In Window
When I click on a button in my flash project, it takes the user to a html file. In that file the user can click on different .pdf files. I would like to make the html file a certain sized window example 300x400. I do not know what code (or where to put it in the html file) to use to make the window constrain to 300x400. Also, I would like the users computer to open acrobat reader in a seperate window, when they click on a .pdf link. Right now, it just opens in the original html file so the user has to hit the back button to get back to the original html file. If anyone can help I'd appreciate it muchly!
Stittch
Jumping To Specific Places In A Second Scene
Hi all,
see if you can get your head around this one...
- I have a multiscene movie
- in scene 1 I have 8 menu items
- scene two begins with an intro
- each menu item should first run the intro...
- and then go to the corresponding item
- the item (a text box in a movie clip) then opens up on the main stage for all to view
so to recap:
if I click on the menu item 'contact' in scene 1..it runs the intro in scene 2 and then jumps to the movie clip with the text box in it....or so it should.....but I've been at it all day....and still have no clue how.....surely there should be some script for doing this?
hopefully yours
Leo
Printing Specific Frame On Scene 2
To all who can give a hand.
I am a newbie that embarked on to ambitious a project for his ignorance.
I hope that I will be clear in my confusion. I want to make a calendar that when the mouse rolls over a date brings up a larger text with written details for that day. I also want this day info to be printable.
I put up a movie with a graphic symbol for the month, days, and numbers. For the first day I put a button with this action:
on (rollOver) {
gotoAndStop ("Scene 2", 1);
}
Second day:
on (rollOver) {
gotoAndStop ("Scene 2", 2);
}
And so on for the other dates of the month.
On scene two, for every day I have a button with this action:
on (rollOut) {
gotoAndStop ("Scene 1", 1);
}
on (press) {
getURL ("print:", "/");
}
On the over state of this button I put a movie that is specific to that day.
I also put a #p label on the frame that I want to print.
This plan works but for the following points:
When I ask to print I get the graph of month thing and I don’t get the day detail wich is the only thing that I want to print and lastly the whole thing is much to heavy for an online publication.
What am I doing wrong? Code and or conception wise.
Thanks to all who will try to decipher this sort of mess.
Craggo (new member)
How To Get BytesLoaded And BytesTotal For Specific Scene?
can anyone please tell me how i can get the bytes loaded and total bytes for a specific scene within a movie? also if i can designate a frame within that scene?
in a related question, the ifFramesLoaded (scene, frame) action -- does the frame parameter tell it to load JUST THAT frame or all frames UP TO THAT frame?
thanks a lot ch'all.
yjk
Loading A Specific Scene In An External Swf
I looked throughout this forum and couldn't find the answer. here is my problem...
i have 2 swf files (movie1 and movie2) and i would like to jump from one movie to the next using loadmovie, but i want to jump to various scenes inside the second movie (movie2) using different buttons in the first movie (movie1). How do you write the actionscript so that you jump to a specific scene title inside an external swf? Here's what i have so far..
on (release) {
loadMovieNum("main.swf", 0);
}
I want to jump to a scene called 'profile' in the "main.swf" movie. i know this is probably easy.
thanks,
jeff
Jump To Specific Scene From Linking URL
I seached the forums and found no answer so here is my question...
I have a website built in Flash and I want to link to a specific scene in the Flash and not have to have everyone start at the begining.
I tried setting a variable in the linking URL and having actionscript check for the variable and forward to the scene but that did not work. I might not have had it formated properly.
Anyone know how to jump to a specific scene when coming to a Flash site from an external HTML page?
Thanks.
R. Coy
How Do I Link One SWF File To Another SWF To A Specific Scene
I am a newbie and I am working on a project where I have several flash files that I've published as html files. I need to connect one html file to another but I want to connect to a specific scene.I can't figure it out.
I want to connect jimandkathyjones.html to step4.html, scene 5.
A Percentage Preloader For A Specific Scene.
can anyone tell me how to do a percentage preloader for a specific scene. i can't seem to find any good tuts on them.
it goes someting like this....
user sees the first frame of the preloader, it will show how many percent is loaded for the next scene which is called 'index'.
so it's like user sees my preloader with numbers representing the precentage in the centre. the percentage represents a huge scene(index) which will load immediately after it's 100% loaded.
just a simple one.
thanks for the replies.
Help With - Script To Goto A Specific Scene
Hi, Im new to flash, and I'm trying to make an all Flash site.
The current problem, whats the steps i need to do to make a button (onrelease) goto another scene
I tried script:
"scene 2".onRelease = function () {
gotoAndPlay(1);
};
and get this error:
'Statement must appear within on/onClipEvent handler'
Notes:
- i typed the above script in the button frame
- the button instance name is 'butt_peter'
- the button is in 'scene 1'
- i want it to goto 'scene 2' when clicked
Thanks in advance
|