Actionscript 3.0 :: Flash Form, Home Page Pops Up In New Window?
Apr 22, 2009
The form is done and works. I set it up to send an email when the "submit" button is pressed. The problem is that after the form is submitted the home page pops up in a new window. I need it to send the email without a new window popping up. Here is the code.
var address:String = "/gdform.php";
var url:URLRequest;
var variables:URLVariables = new URLVariables();
I'm working on this flash site This is my first time using the loadVars command, so I'm guessing I'm doing something wrong with it.I have a movie clip that acts as a window, it has an animation of popping up, once it does it has a text box in it thats set up to display html. It then loads the html from a txt file, which works fine. The problem is, when the user clicks on another page, the window pops out, starts over from the beginning and pops in, this time loading a different txt file for the html. This also works, however, if you select the text or click on it at all and then switch the page, anywhere you click next will make all the text in the box vanish. You can click and hold onto the scroll bar and scroll down, but the second you let go it vanishes.
Here is the loading code on the frame in _root:
[code]...
I can't think of any reason why this is happening, and all of my debugging attempts have failed.
how some websites you click on something, a flash window (I'm assuming it's a flash window) pops up and everything goes dark around it (and you can't click anywhere) until you close the window.
I know how to make a symbol "clickable" to where it brings you to a URL, but I need to know how to make my game (I made for a virtual world) to pop up when I click on a laptop (not in a new link).
So I am doing a flash intro page, but the intro becomes the home page, as in all the pieces come together to create the Flash home page, so that there is just one file for the home page that includes the intro from Flash..how do I make it so that all the parts on the page stay there indefinitely, because right now after a certain amount of time, they disappear due to using the timeline in Flash.
I was following the tutorial on this site for the pop up window and was having some problems. When I click on my link to open the pop up window I also get another window that says [object].The pop up window also pops up behind my original window. I launching the pop up window from a swf loaded into another swf.
i created this contact form in flash 8 and i get the email but an UNDEFINED message pops up on my status i cant get rid of it here is my action script for the submit button
[URL]I want to play the home page animation once only - and when visitors come back to the home page - it would ideally go to the last frame (or?). I have seen 'mentions' of Flash objects (cookies) and other scripts but have yet to see the actual script to make this work.I'm using Flash MX 2004 (version 7.2)?
I have just created a website in Flash MX and I would like to have a youtube video on the home page. I see in youtube where it gives the embed code for html sites, but what do I put in flash and what is the action script?
I am using the following code for my Navigation in a FLash CS4 file:
stop (); function buttons(event:MouseEvent):void{ gotoAndStop(event.target.name); } home.addEventListener(MouseEvent.CLICK,buttons); services.addEventListener(MouseEvent.CLICK,buttons); about.addEventListener(MouseEvent.CLICK,buttons); contact.addEventListener(MouseEvent.CLICK,buttons);
It works great when I am on the home page, but stops working once I navigate to any of the other pages. I have an Actions layer and that layer extends the full length of all pages/frames of the timeline.
I have the frames labeled as such: home, services, about, and contact. (All are "Type:Name")
each button is named as such: home/ instance of "home", services/instance of "services", etc.
i always see some fancy/complex/elements got random motion: flash home page navigation, such as [URL] I just wondering is it very complex/hard to make one? & How can a newbi, like me get started to make one? does it involve complex/advanced actionscript?
I want the simple movie to load the URL(home page) after it's finished. so i tried to add getURL("[URL]" , "_blank"); at the end of movie, but i keep getting errors.. this is the website that i'm working on LINK It's a very simple. i'm not even going to dare to make it fancier. I just want the movie to be over and go straight to the home page without any clicks.. i tried to put the geturl thingy at the last movie clip(Imagine tomorrow) and i tried to put it at the end of the keyline.. neither seem to work. i'm sure it's very easy one, but it just doesn't work.
i always see some fancy/complex/elements got random motion: flash home page navigation, such asI just wondering is it very complex/hard to make one? & How can a newbi, like me get started to make one? does it involve complex/advanced actionscript?
When the link is clicked, it pops up a new window with the path of the fla file in the address bar and an UNDEFINED at the end...
Code: on (release) { getURL(_root.clickTag, "_blank"); }
With this AS on the button the link does not pop up at all
Code:[code]...
I've used clickTag, clickTAG, ClickTag, and ClickTAG all with the same results... not that it should matter as long as the flash and html match.I've tried to add the clickTag in the html like this
HTML Code:[code].....
And none of that is working so maybe SWFobject would work?
I have a project for a site that sells fishing lures.I want to have an animated index page before moving on to the home page. My idea is to have a boat sitting on a pond fishing lines in the water, when a fish jumps out of the water, the water ripples, the next time you see the fish it's got a hook in it mouth and jumping out of the water.how do I go about it? How to I create the water rippling? I think with the fish I can do easily enough with it jumping on and off stage. Would I do the water with shape tweens?
I'm building a website in flash using my limited understanding of action script.Everything was progressing very well until I found that if I go to one of my example pages of my web site and play the flash video (with audio)and click back to my "home" button, the audio will continue to play.If I go back to the example page, the video is off and when I start the video, it plays again with the other audio.How do I stop the audio when I click away from the example page back to the home page or any other page?
I'm building a site in flash using as3. I implemented an xml slideshow on the home page but it wont disappear when changing pages. Anyone could tell me how to remove it on other pages?
I'm trying to make a link from one flash site to another, but not just to the home page of it, but to a specific part of it. For example, I run and am wanting to make the direct links from the websites of the seven artists involved (mostly flash sites) to their specific page on thesite... does that make sense?
what i am trying to achieve is have a rollover on a button that pops up a 'window' with some text on it (i have this bit worked out) then once the user has finished reading the text they rollout from the 'window' and the image behind is restored. i have attached the .fla so you can see what i mean.
what is going wrong is that the active part of the rollover on the button is only very small and as the 'window' expands and then reveals the text, the active part of the button remains small. so when the user moves his or her mouse the 'window' disappears. i'd like it to stay open until they rollout from the entire text window.
I strolled across something neat on a radio website [URL] and I really like how they do the flash on the top left. Below is the link to the actual SWF for bigger so that you can see what the SWF looks like. on the link above, you can move your mouse over the squares and it pops up a little window. You can even click on that. Here is the link to the SWF. [URL]
The PHP file is ran with headers to force a download (from flash/as3 project), but it also pops up a blank page. Is there a way to close that after?I don't think users want blank page popups springing up.[code]
I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.
I am trying to create a flash headline gallery animation for a web site and I am having a bit of trouble. I am trying to get something similar to what you see on many websites today. Example 49er website ( [URL].. Typically the animation starts with one headline for a story "Click here to learn more" . After 7 seconds or so it goes to the next.I want mine to utilize the horizontal sliding effect between stories. underneath the stories are several buttons for navigating to a specific headline.
Many example sites i've seen use javascript or something else, but i was attempting to use Flash. I borrowed some code from a tutorial and I have some of it done. I have the button nav working, and the headlines slide horizontally when clicked. What i can't seem to add to this is the auto-play, wait 7 seconds then go to the next.
There is always really cool special fx on the kirupa home page banner. But I can never find out where I can find FLA's with them. Can someone give me a link to where I might be able to find them...If not. This would be a perfect place to put banner ef ex. So post them if you have them!