Button Problem? Not Redirecting To Frame
I have "do it." set as the button and in my actions I have it set to re-direct to frame 5 upon clicking it, but it doesn't work at all? What am I doing wrong?The .fla : http://referralwire.net/stas/Flash/XBDE.fla
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 12-29-2005, 04:13 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Redirecting To Frame Dependent On Value From ASP
Right, the problem that i'm having is that I want to redirect in Flash to 1 of 2 frames depending on the result of an ASP query.
For example the ASP is going to give me an answer of Yes or No, if it is yes then I want my Flash file to start playing Scene 2 but if it is no then I want my flash file to start playing Scene 1.
I've loaded the variables in from the asp page and can get it so that 1 of the above scenario's works but never both together.
Does anybody have any idea or is this the impossible?
Redirecting From Field Info To Scenes And Frame
Hello,
I have 2 text fields which will determine what scene is to play next and which frame in that scene to go to.
The scenes are either a00, b00, c00, d00, or e00
The frame numbers are from 0-99 but I do want it be able to account for frames 100-999 or whatever, probably 150 is a suitable maximum for now.
So, an example could be "b" (variable=letter) in the first field, and "234" (variable = number) in the second. It would go to scene b00, and jump to frame 234 in that scene.
I want to create the proper action now to do something like:
on enter, go to and play/stop scene (letter + 00), frame number
I know how to do this if I wanted a url created from variables, but I don't know how it is supposed to be done regarding frames.
Redirecting Button Events
Help everybody! I'm extremely new to Flash and CS3, so please be patient...
I have a SWF in which I need buttons to be activated, not by clicking on them, but by clicking on something else. To figure out if I can do this, I have defined two buttons. The button I want to highlight is marked "B213". The button I want to use as a control is marked "bigbutton".
Here is the stupid code test to try to get this to work:
bigbutton.addEventListener ( MouseEvent.CLICK, bigtest ) ;
function bigtest ( event:MouseEvent ) : void
{
B213.dispatchEvent ( new Event ( MouseEvent.CLICK ) ) ;
}
No compilation errors come out, and both buttons go highlight themselves appropriately -- each of them turn green when clicked. However, if bigbutton is in fact simulating a click to B213, it sure ain't giving me any indication of doing so on screen.
Any help would be sorely appreciated! 'Tis time sensitive...
Flash 8 ActionScript Version 2.0. Button Redirecting
So im building this flash website for college. It was ment to be in HTML, but i thought i would be a little different and try something in Flash.
Although the action scrpit is getting me down. (i use C++ as my main code language, so this is all kind of new to me!)
I am aiming to click the buttons to take you through parts of the site and load it in one set graphic window. Changing the text each time a different button is pressed.
I can work out part of my code which is:
onPress = function () {
gotoAndPlay("SceneX", 1);
};
But this brings up one nasty error that says:
must appear within on handler
I have browsed through the AS help file, but cant make much of it.
some help on this small fix would be very nice Thanks
Symbol Redirecting
Can anyone help me with the following?
Is it possible to replace a symbol within a movieclip with another symbol in your library. Is there a shortcut to do this? TENX
Redirecting Components
ok, here's the scoop: I have a multiple choice component in my FLA. All I can find is that if the user selects a right or wrong answer, there will be an immediate feedback that reads 'correct' or 'incorrect' or whatever text you designate. Then you can stop or play another frame(label).
What I want to do is go to and play different frames depending on the answer. Let's say, if they answer correctly, the component shows "Yes, that is correct" and then moves on to the next question after a brief (3sec) pause. But if they answer incorrectly, the component shows "Wrong, STUPID!", then goes to (say) framelabel ("Feedback1") where the answer can be found within a paragraph or two. After a brief pause, we go back to the component question where they have another opportunity.
If correct, the same thing happens as before, but if incorrect, they get another message ("Wrong again, meathead") and they move on to the next question.
Basically, I just need to know how to designate which answers are wrong/right and how to get them to go to their appropriate framelabel(s). Thanks in advance for all your help.
BTW: If any Christians read this, please send a prayer up for the capture of this <a href="http://www.wtopnews.com/index.php?nid=104&sid=9974">Sniper</a> that's terrorizing the DC area.
Redirecting What Is Loading
I have a flash site divided into 5 separate scenes. I will have a preloader that will run until the 1st scene, the home page, is loaded. The rest of the scenes will continue to load in the background.
What I would like is: when a user clicks a link for a particular section, the bytes/frame for that scene will begin to load and run another preloader(if the frames aren't already loaded).
For example, if the user clicks a link to view section 5, I don't want the user to have to wait for scenes 2-4 to load before 5 begins to load.
Perhaps I will have to break the scenes up into separate movies?
Sorry if this is an old issue, I realize that there are tons of preloader threads here; I searched and I don't think I found one which directly relates to what I'm trying to achieve.
TIA
Redirecting Trick
I want to redesign my website so that it has a feature like you see on this website where you click a section(for example, clients, work, etc.) and it scrolls you to that section. The cool thing is all the sections seems to be on the same flash movie. (I'm guessing what they did might have involved putting some actionscript on the GO BACK buttons that included redirecting the x and y coordinates which control movement???)
Here's the website:
http://www.fivestone.com/
Anywho, anyone who has any idea how they did that trick please share! Will be much appreciated. Thank you.
Odd Problem When Redirecting At End Of .swf
Hello,
I have an FLA file that has two layers.
The first contains a graphic lasting 120 frames.
The second is named 'end'.
Basically when I place this action at the end of my first frame, I want it to load the 'randomload.swf' file.
PHP Code:
ifFrameLoaded("end") {
getURL("../flash/randomload.swf","_current");
}
It does, but not within the usual constraints of my web page, it insteads loads up 'randomload.swf' which takes up the full window. Not a new window, but the full window.
How can I just make this impact on the flash file and not browser window?
Just to re-iterate I only want the flash file to change, not my web page.
Many thanks for your time looking at this.
Redirecting A Swf File
Hello All,
I do not want people to be able to directly browse to http://www.mydomain.com/myMovie.swf; I want them only to see the swf from the page it is embedded in: http://www.mydomain.com/index.cfm How do I ensure that if the user browses to the first link, it will redirect him (because its just a raw swf and not an html or coldfusion page i cant use javascript or coldfusion code etc). Thanks.
Redirecting An Old Link
I have a new flash site, but I had links to a specific page on my old site from other sites. How do I redirect visitors?
Remove Redirecting Url
my flash file links to a non existent location at the end. How can I stop it from linking?
Redirecting To A New Website
I have an old website and I want to redirect users to the new website. I want it so that on the old website a user is taken to the new one after a few seconds (without having to click on a link). How would I do that? Thanks!!
Redirecting With Actionscript
what's the actionscript for making a movie automatically redirect to a page of my choice in the last frame of the movie's timeline?
Redirecting To Root-HELP
I am making my website, and it needs to run faster, therefore I am dividing it into directory folders. I need help finding a code with the "play movie" action that will direct the user from a lower-folder back out to the heirarchy or root directory. I can direct INTO a directory folder (with a simple folder name and backslash, followed by that file name), but how to I get back out? It may have something to do with relative URL's, or targetting paths.
Please help.
Redirecting After Flash Intro?
Is there a way to: after the flash intro comes to an end for it to redirect to another page? (I do have a skip intro link to go to the main page already. I just don't want my visitors to just sit there after the intro stops and wonder what to do next?)
Redirecting To Html Page
hey everybody.
I can't seem to remember how to get my flash file to redirect to an html page when the animation is over.
I'm using flash MX, and I have no books for reference at the moment.
I can't seem to find a tutorial for this either.
I've been typing in "redirect to html page" nothing is showing up.
If anyone could help me I'd love the advice.
I know I know, this is a really stupid question probably.
Redirecting To Html Page
is there a script for redirecting to an html page when the animation is over.
So it just jumps to the page?
I'm using flash MX, hence me posting here..
sorry for the stupid question
I hope someone can help..
Redirecting To And Html Page
is there a script for redirecting to an html page when the animation is over.
So it just jumps to the html page?
I'm using flash MX
geturl? or something.. i just don't know how to write the code for it..
it's giving me errors
thanks
Noobie Question (redirecting Url)
i made a little animation and when it's done, id like it to redirect them to another site.
i have this at the end of the animation:
getURL('http://www.chwclan.com/beta/index.php', '_SELF', 'POST');
It works on my computer, but not when it's attached in a web browser.
how could i fix this?
Problems With Redirecting From Flash
I have a flash movie that contains a button that, when clicked, should send the user to a different HTML page.
At present I am using the following code:
on (release) {
getURL("online.htm?http://www.mysite.net/");
}
This works fine except it doesn't pass the querystring along with it, so everything after the ? is lost.
Does anyone know how to overcome this??
Thanks
Micheal
Redirecting After Movie Finishes
I'm really new at Flash and I was wondering if anyone could tell me how to make the movie redirect to a certain page when it finishes playing. Thanks.
Preloading And Redirecting A Swf With An Embedded FLV
Hi there, I hope you can help, I'm so frustrated with my website at the moment.
I have been given an avi video to be used as an intro. It needs to redirect after it has finished playing. So I converted the file into flv and embedded it into the timeline in flash (all 1186 frames!)
REDIRECTING:
First question: is it necessary to put in a "stop" script if it redirects?
I didn't think it was necessary, but if I leave it out the movie tends to loop. So I had 1 layer with the movie and a second layer with a stop action. I placed a key frame at the in the last movie frame and put in a "getURL" action.
Any it doesn't work! So I fiddled around with it for 2 days or so, I don't even remember what I did in the end, but I got it sort of working in flash, but when I put the swf in dreamweaver it doesn't redirect. It just stops?
Please can somebody tell me how to do this because I feel like throwing my computer accross the room at the moment!!!
PRELOADING:
This file is about 2mb, it definately needs to preload and have a progress bar. Initially I managed to get the redirecting right by importing a wmv (but now it doesn't work anymore) and I was able to preload my file using Flash components. On my computer it was working brilliantly and quickly, but the people that I'm making the website for are in Ireland and on there computers it was taking really long. The music started playing while the progress bar was there, and then when it reached 100% they were only able to see the last few frames and then it froze just before the end. For the preloader, I found a tutorial and used scripting from that.
I am beyond frustrated now and feeling rather dumb! I have never worked with FLV's before and have been struggling to find info on the net that is relevant to flash 8, so any help and guidance would be greatly appreciate
d!!!!!
Redirecting After Movie Finishes
I'm really new at Flash and I was wondering if anyone could tell me how to make the movie redirect to a certain page when it finishes playing. Thanks.
Bandwidth Checking/page Redirecting
Hello all,
Question re: a project request I have been sent. Here is the scenario...
I have a web page that contains 2 separate Flash animations, which are quite large.
For low-bandwidth users (dial-up/56k), the page shows the 2 animations 'loading' sequence for quite a while. For hi-bandwidth users (dsl/cable/etc), it loads pretty quickly and they see the animation right away.
Is there an easy way to check the "bandwidth" a user has before loading this page? and then based on that:
1. Hi-bandwidth results...show the Flash animations as they are
2. Low-bandwidth users...show static JPG/GIF versions of the Flash
I could create separate pages for hi/low bandwidth users, but I want to keep the same pages for both if possible, and have the Flash swap out to static depending on the bandwidth testing...
Hopefully this makes sense, and isnt a completely dumb question. I'm still learnin'...If there are any examples or tutes on this, I'd appreciate any help I can get.
Thanks!
Redirecting Browser After Video Playback?
I have an intro page with a flash file that plays a FLV file. I want that intro page to redirect into our home page once the video is done playing. It's not an embedded video, the Flash (SWF) file links to a separate FLV file.
Is there an easy way to do this in Flash? Sorry if this is a stupid question, I'm relatively new to Flash programming. Thanks in advance.
Redirecting Via GetUrl - Ruining Graphic
I have a index.html where I run an intro (intro.swf) , when this intro is done running, I redirect the intro to the site by using the following in the last frame:
getUrl("http://www.d21308.monline.dk/site.swf", "_parent");
However when redirected to the site, graphics seem to get scaled or sqeezed somehow, atleast proportions aren't kept. Especially if the browser isn't in full window, then everything gets messed up.
Have anyone experienced this? Any suggestions?
Feel free to take a look: http://www.d21308.monline.dk/ (music appears in the intro, just so you're prepared
Redirecting URL After Flash Video Ends , Help?
Hi,
I created this flash video SWF here: www.funduefoods.com (click "Watch Our Chocolate Fountain Video!"). When the video ends my client wants the page to be redirected to the Fountain page. Is there a simple action script code for this? I know one way is to embed the video into the timeline, then add a getURL code in the last keyframe, but I would rather have the video be a progressive download. Help???
Thanks
Edited: 11/09/2007 at 11:48:30 AM by menela
Redirecting The Browser After Video Playback
I have an intro page with a flash file that plays a FLV file. I want that intro page to redirect into our home page once the video is done playing. It's not an embedded video, the Flash (SWF) file links to a separate FLV file.
Is there an easy way to do this in Flash? Sorry if this is a stupid question, I'm relatively new to Flash programming. Thanks in advance.
Redirecting Using An External Video Clip.
her guys,
what i need to know is how to redirect using an external movie clip,
i have made my main file and then i load content box's with spererate .swf files in them, i would like these seperate .swf files to have buttons that redirect the main .swf file if you understand what i mean.
file Contains
*Main .SWF
*Seperate .swf thats loaded into the main.swf ----> contains a button that i would like to change the scene on the main.swf file.
help this helps you understand what im trying o acheive.
any help greatly appreciated.
Cheers
Baleric
Redirecting Flash Intro To Main Site
Well the title pretty much sums up what I need done. I have been pulling out my hair trying to find that simple code but i can't. I need help! here's the site www.FreedomMission.com I have an intro which I saved as my .index file and a main site that I have on my .main file. I need the index to go to the main site after it is done playing.
Thanks,
Ryan Evans
Redirecting A Page Based On Flash Version.
Basically, If a user has flash 8, I want them to go to the flash version of the site, if they have any version under that I want them to go to the non-flash version of the site. Thanks for any help.
Redirecting From Flash Player Download Site
Once a user has downloaded and installed the Flash Player from the Macromedia site, is it possible to make the browser go directly to the Flash site? Or do they have to hit the back button to proceed to the Flash site? I am thinking of users who are not very proficient at navigating and may not know what to do once the Flash Player is successfull installed.
Detecting Dial Up/broadband And Redirecting To Another Page
Hi there,
I am a flash newbie. Just designing my first real site and I was wondering if anyone had any code that would be able to tell if the site visitor was on broadband or dial up and if on dial up then redirect them to another page.
Thanks
Having Browser Detect Flash & Redirecting Users
Couldn't really find my answer in other threads, or at least didn't see it in my novice code-reading abilities, but I need to have a script of some sort that will detect if the user has Flash installed. If they do, my SWF will play. If not, they will be redirected to a basic page that has my logo but will provide a link to download the Flash Player. I've looked at sites with tutorials on some coding, but don't really know where the redirecting can be thrown in.
Redirecting To Parent Scene After Movie Clip Has Finished
I am creating a movie and in scene one there is a movie clip at the end. I want the scene to stop at that movie, let that movie run through its entirety (about 30 frames), and after the movie is finished return back to the parent stage and proceed to scene 2. I have asked before this script before but I have misplaced it. I know that it is something along th lines of parent play; but I am not an actionscript expert in any way. If someone can provide me with the solution, the placement of the script in which frames, that would be great. Thanks.
[F8/AS2] - Redirecting External Resource When Encountering 404/503 Errors Or Timeouts
Hello,
I'm curious if anyone's ever been able to monitor an external resource (image, in this case) for error response codes, and/or a specified timeout, and attempt to load another resource if encountered...
Hopefully that made sense, but I'll explain further -
Say I use loadMovie to grab an image: server1.tld/image.jpg
If server1.tld goes down or has some temporary resource issues that give error status codes, I don't want my application to just error out, I'd like it to instead try to get the image from server2.tld/image.jpg instead.
Has anyone been able to do something like this? Google has not been my friend on this one. Thanks
How To Address A Button On The 5th Frame Of A Movie Clip With Action Script Located On The First Frame Of The Main Time
I'm trying to make a button appear on frame 10 of a movie clip and write actionscript on the main time line that addresses that frame 10 button. I'm not sure of the method I need to do to get that frame 10 button to get a url. I tested the same button when put on frame 1 and it worked, but I'm not sure how to address buttons and other symbols that appear as a result of the playhead moving to different places on movie clip time lines.
Can anyone help, or give me a link?
Thanks
Dennis
Attach Code
//works
_root.buttons_mc.go_btn.onRelease = function(){
_root.mall_mc.gotoAndPlay(1);
//a stop action is placed on frame 10 of the mall_mc movie clip
};
//this button is inside the mall_mc movie clip on frame 10
//doesn't work
_root.mall_mc.url_btn.onRelease = function(){
getURL("http://yahoo.com");
};
//An instance of the same url_btn is dragged on to frame 1 of the mall_mc
//movie clip and given an instance name url_frame1_btn
//works
_root.mall_mc.url_frame1_btn.onRelease = function(){
getURL("http://yahoo.com");
};
Flash Button To Take Movie Clip To The Next Frame Label Instead Of The Next Frame
I am trying to figure out how to create a button to take a movie clip to the next Frame Label instead of just to the next Frame. I have a slide show that I am working on with a fade effect from picture to picture. When I just use the nextFrame script it will literally take you from frame to frame on the fade in. Is there a script that will allow you to go to the next (or previous) Frame Label from where the movie was stopped?
Any help is greatly appreciated!
Looping Scenes To Go From First Frame To Last Frame And Rollover Button Play
I'm trying to figure out:
a) how to loop a scene to go from the first frame to the last to the second last etc
WHILE
b) having the scene play either forwards or backwards (as above) while the user has their mouse over a button but making the scene pause when the users mouse isn't over the button.
can anyone help me????
Flash Button In One Frame Goes To Movie Scene In Other Frame
Hey whats fellow flashers. Im sure this is a no brainer for you smarties, but its driving me crazy...I'm working on a site that has a flash movie menu in the one frame and the main movie in another frame. I need to be able to click on the buttons in the menu (top) frame and have them go to a certain location in the flash movie which is in the bottom frame. If I use the Get URL action, it lets me specify the frame, but not the label (location). If any of you guys have ideas or need me to explain further, please reply. Thanks.
Actionscript To Make A Button Move From Frame To Frame
I'm trying to take a Powerpoint Presentation and put it into Flash. The problem is that I im not sure how I can get a mouse click to advance to the next frame. I want a user to click on the Flash item and go from frame 1 to frame 2 and so on and so on. What would be the best way to do this so it looks and acts like a Powerpoint presentation.
Thanks
Make Button Go To Certain Frame Depending On What Frame Movie Is On?
I want to be able to tell a button to go to a certain frame depending on what frame the movie is on. In this flash file, I have a piece of paper moving to the top of the screen, two pieces of tape coming to tape it up, and then writing on the paper. I want to make it that if someone has already clicked on a link, and the paper and everything is on the top of the page, that the next link they click on, just goes to the frame where the writing for the page begins, and not have the paper and tape again and vice versa...
I hope this makes sense...
Quick Button Question Next Frame And Previous Frame
hey there, just a quick problem im hoping someone can help me with please?
ive got this code on a button:
Code:
on (press) {
newDepth++;
var h = box.createEmptyMovieClip("holder"+newDepth, newDepth);
h.loadMovie("vanda.swf", "_root.holder"+newDepth);
preLoader(h);
}
have then got this code on another button in the same timeline as above with this code:
Code:
on (press) {
_root.bar.buttons.box.holder+newDepth.gotoAndStop(nextFrame);
}
i would like these buttons to tell whatever swf has been loaded into the empty movie clip to go forward one frame and stop and backward one and stop? am i close?
[F8]Playing A Movie Clip From A Certain Frame To A Certain Frame With A Button
Hey guys,
im slamming my head in trying to figure this out.
I have an invisible button and only one mc, the mc loops 3x then stops, this is defined with as in mc.
Now i want to play the movie from the invisible button but only loop it once.
Which means i would like to play it from frame 1 to frame 215.
And also when u rollout i would like the movie to stop and go to frame 1.
this is my button code so far
Code:
on (rollOver) {
tellTarget ("loader")
{
gotoAndPlay (1);}}
on(rollOut){
tellTarget ("loader") {
gotoAndStop(1);}}
on (release)
{
getURL(clickTAG, "_blank");
}
Help please
|