Actionscript 3 :: After Loading A Flash Movie The Form Stops Working?
Aug 24, 2011
I'm a total begginer in flash and action script, I do have some knowledge in other programming languages.By trying to help a friend I added a contact form in his company website, that was made by someone else.his site is full flash with a index frame that loads several pages.After I built the new contact.swf and tested locally and also hosted by accessing it straight from the browser and embeded I tried to replace it with the old contact.swf that had no contact form.During the tests, everything was fine but when included in the site the form is not functioning.The form has a few rules that prevent empty fields with a green text warning. when I access it embeded separatelly in a web page it works, when I access it loaded by index.swf it does nothinh even if I press the submit button.So I assume the problem is in the index.swf action script.the button that loads the contact page has this code:
on (rollOver) {
gotoAndPlay(2);
}
[code]......
View 1 Replies
Similar Posts:
Mar 31, 2010
i am trying to create a flash movie for my browser page. i am able to import and export the movie just fine, the problem comes after i export the movie. As long as i leave the flash file in the folder it was created in things work great. If i try to move the folder or rename the folder it stops working. It acts like it cant find the flv file i created the flash with. if i rename or move the folder back where it was created things work fine.
View 2 Replies
Mar 5, 2009
I'm trying to load a jpg from [URL]. I load if from my computer, it works.. load it online, doesn't. And it doesn't give me any errors or anything. The completeListener is not working! Is there a problem with flash loading from other domains or what?.. If I test it, it shows in Safari's activity that the jpg was loaded, but it won't display it.
[Code]....
View 7 Replies
Jan 24, 2007
I have a working contact form (.swf) that doesnt work inside another movie. Alone it works, but when I call it in main movie with loadMovie it doesn't.
[URL]
I used files from Kirupa's tutorials, made by claudio and senocular.
View 3 Replies
Apr 19, 2004
I followed this tutorial for a form mailerHowever when I try to load this from my main swf into a movie clip holder, it no longer works. It only wants to work by itself, im a novice at flash/actionscript but im wondering if this is causing the problem by trying to get to the root of my main movie instead of the actual mailer.swf?
onClipEvent(data){
_root.nextFrame();
}
View 3 Replies
Mar 12, 2010
I've tried it on several different copies on Flash(on college computers and at home) with different files and no matter what, once I save the file, any action script I had will stop working and will never work again no matter what.
When I create a new document and put in some Actionscript (3), it will work at first. For example if I have one line telling an object to have a lower alpha. Then, consistantly, when I go to "save" it'll stop working.
View 19 Replies
Nov 28, 2009
I have this piece of script:
function dataImporting(target, type, path)
{
if(type == "IMAGE")
{
[Code].....
This function is suppose to deal with loading requests from different kind of movieclips throughout the movie. There is something wrong with 'load(path as URLRequest)'. It compiles fine, but upon running flash simply crashes over and over (flash stopped working). It seems as if there is something wrong with it but flash not being able to catch the error.
The path is given as an argument to the function in the form of a string, but should be converted to a URLRequest before being able to be loaded.
View 8 Replies
Jun 5, 2010
Im working on something it coming right a long, but i think i did something wrong. I have a script see buttom, but is stops working after 3 or 4 clicks, the thing is that the bar is supposed to slide if you click on it end if ther is a bar in the way its going to take that with him.
[Code]...
View 12 Replies
Dec 12, 2009
I'm using the gskinner.com bridge to load and talk between a as2.0 object in as3.0 . The library works smoothly. If I upload the html it works smoothly. But when I embed it as using fb:swf on facebook, the as2.0 object stops loading, any clues?
View 1 Replies
Nov 4, 2011
I'm developing a new website one with a dynamic slideshow which can be found here. [URL] The problem is, after weeks of it working it all of a sudden now has issues loading the xml data into the swf. The swf loads but nothing displays in it, this worked and I changed nothing but updated the graphics which would display in it. If you hit refresh an untold number of times eventually it loads. To me this sounds like a server issue, but I'm not sure.
I've tried updating my flash player, updated the swfobject.js to the latest one I could find. I've made all my .js local on the server instead of calling externally to a source. I'm not sure what the problem might be. I've attached a working and not working example graphic to this post. I've tested this out on 7 different PC's both of which running either Windows 7 or Windows XP. Out of 7, 4 of them load the slideshow properly each and every time. 3 of them however loads it, but will randomly get the issue where it doesn't load properly.
View 3 Replies
Feb 14, 2011
I have a problem with the following code:[code]The problem is that the code is working when I test the scene (ctr+alt+enter in flash), but after I publish it it doesn't work... not sending any request nor redirect.What I want to do is to log in a file on the server what the users typed (related with Related with: Flash actionscript - save a text file on server).
View 1 Replies
Jul 16, 2009
I have three buttons, each time you hover over a button an image related to that button will appear. Got this to work by following this tutorial: [URL]
I have the buttons inside a movieclip and the code on each movie clip is
on (rollOver) {
_root.x +=2;
_root.But1_MC.swapDepths(_root.x);
[Code]....
This works together nicely until I roll my mouse over one of the buttons, and pretty much whatever the last button was that I rolled over that's what image stays up. The side buttons still keep rotating at the correct interval, but the images are not the correct ones
View 0 Replies
Jul 29, 2009
I've built a flash website for my client. I created the website, and it worked just fine. The client then came back with a few minor changes and additions. The only major addition was an intro animation, which I created in 3D / After effects.
Now, the website works when it's on my hard drive, but the minute I upload it, it suddenly stops at 3%. The loader dissapears, and nothing happens after that. I have tried deleting the additions, including the animation, and the updated menu. Same problem, only the point at where it stops loading becomes 5% instead of 3%. I have tried removing the preloader, and creating a shell.swf, which loads the file in using an external preloader. Same problem occurs. If I link directly to the file ie [url]... then nothing happens either (that link is for example purposes only). I have tried copying frames and pasting into a new flash file (main2.swf) and same problem occurs. Lastly, I tried removing the preloader, instead creating a simple test animation that loops until the file is loaded. Also just sits there and stops loading.
View 3 Replies
Dec 28, 2010
I downloaded OSMF Sample player and opened osmf.html, (C:playerosmf.html)it worked perfectly without any problem.The same file when I deployed onto tomcat server,[URL] I get the error "The specified capability is not currently supported" while debugging.
View 2 Replies
Nov 22, 2010
I have recently uploaded a website (using a temporary page for the first couple of days) but on the Gallery page of my site, the Flash file loads up to 95% and then stops. Link to the page is below:
[URL]
View 2 Replies
Nov 12, 2010
I have included the Uncaughterrorevent handler for the LoaderInfo. Which worked fine in my actionscript project.
That was until I attempted to use a browser with a FP version of 10,0. This then fails to load the SWF unless i take out all references to UncaughtErrorevent.
I did try only adding the error handler if flash player 10,1 > is installed. But still doesn't work. Even having a reference to UncaughtErrorEvent as parameter in a function causes the SWF not to load.
View 1 Replies
Oct 4, 2011
We have some Raptivity generated Flash content that worked fine for a few years. All of a suddent, our trainers noticed that the Flash files display as a black block. I can see the loading text and small bar so the Flash should be playing initially. Then it becomes write. Click on it, it becomes black. I can see them OK. My Flash Player version is 10.3.183.7 while one trainer is 10.3.183.5. Not too big a difference. I will ask them to upgrade too. Does the Flash player make older Flash content obsolete? The Raptivity we have is 4 years or more old.
View 0 Replies
Feb 25, 2010
i have created a movie that has got 15 scenes,it stops working on the 15th scene.is there any reason why this is happening?
i know this might be the lamest question some one has ever asked about flash on this site?
View 1 Replies
Oct 11, 2009
I have a movieclip clip that plays when the movie starts, the movieclip is a visual assets that show's that the application is loading some information but it's not showing any loading progress, just playing while the assets are loaded.I created a for loop that will load the assets using a simple loader, and then when the object is loaded the application push the object to an array.Problem is that when the loading starts all the animation that i have on screen stops until the loading is finished.The whole point is that the animation will play while it's loading.
View 10 Replies
Sep 10, 2010
For some reason my flash file is not calling a php file and sending out an email including the data entered in the flash file.
I've taken out other movie clips and graphics to make this easier on everyone.
Fla File: [URL]
PHP File (in txt format for read-ablity): [URL]
Note; As you can see I've used _root.movieclip, I've tried it with out _root and still no luck.
View 1 Replies
Feb 26, 2010
I have decided to give these components in flash a try and can't get it to work.I am using the following components, a Checkbox(instance name chkPrivacy), TextInput(instance name txtName) and a ComboBox(instance name cboName) on my stage.I have a "submit" button that I made.On my submit button, there is the following code:
Code:
on (release) {
cmdSubmit_onRelease();
}
On frame 1 of my timeline I have the following code:
Code:
stop();
cboName.addItem('');
cboName.addItem('Bill');
cboName.addItem('Tom');
[code]....
When I try to submit, I get an error like it could not find the file form.php+txtName=undefined+cboName..... something like that.I dont know how to get that checkbox thing working to send a variable out to my form.php
View 7 Replies
Jan 26, 2009
after loads of attempts trying to get my mail contact form to work ( very new to action script + php ) I finally got there! The only problem is i receive all this under the message..
[Code]...
The message is in there, but you can see this is a bit of a problem. Does anyone know how I can resolve the issue?
View 3 Replies
Oct 24, 2005
I got this problem, that if i load a movie by ckliking on a button it doesnt work but if it is on its owne it works just fine...
[URL]
button code
PHP Code:
on(release){ if(cont_loaded = !cont_loaded){ _root.insis.loadMovie("tutsisu.swf"); }else{ _root.insis.unloadMovie(); } }
movie code
PHP Code:
on(change){if ( this.selectedItem.label == "tut1" ){loadText = new LoadVars();loadText.load("sisu.txt");loadText.onLoad = function() {_root.scroller.text = this.sisutext;}; }else if ( this.selectedItem.label == "web" ){getURL("http://www.kirupa.com","_blank");}}
View 5 Replies
Jul 14, 2004
i created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).
The form worked fine, as a standalone swf file, BUT now its not working since i did this:
instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!
I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made. Here is the actionscript on the form:
[Code]...
View 4 Replies
Jul 14, 2004
I created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).
The form worked fine, as a standalone swf file, BUT now its not working since i did this:
instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!
I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made. Here is the actionscript on the form:
onClipEvent(data){
// show welcome screen
gotoAndPlay("brochure", 46);
}
[Code].....
View 4 Replies
Aug 27, 2010
I do not know how to insert an animation stops to give the presenter time and forward or backward in a linear and PowerPoint by pressing any key. Similar to typical PPT slideshows and will insert a small clip light and animation films. "My idea is that every time they click on any key (no button) on the film, forward motion up to a certain frame and so on until the end of the presentation "
View 1 Replies
Jan 14, 2011
I have created a movieclip1 :head, a second movieclip: body
created a movieclip that uses head and body and called that player.
And I create a simple moving animation : works great !
then I associated a class to head: Head.as
package {
import flash.display.MovieClip;
public class Head extends MovieClip {
[Code]....
When I uncomment trace this.alpha = 1 the ANIMATION IS STOPPED.
View 2 Replies
Oct 16, 2009
I have some movie clips that hold the contents. (ie I have a movie clip to hold my navigation buttons and another to hold the actual content.) I wrote some action script on a separate layer that is outside of the movie clips, the AS adds event listeners and a few simple functions. All my navigational buttons work prefectly, I have a button that I use for email, this works the first the frame is loaded. If I go to another frame (another page of the website), and then go back, the button no longer works, I tested with just using trace("the email button was clicked"); oh, I thought I might add that each page of the website is a different frame, that is inside my content movie clip. my AS looks like this:
stop();
navigation_mc.home_btn.addEventListener(MouseEvent .CLICK, homeClickF);
navigation_mc.rates_btn.addEventListener(MouseEven t.CLICK, ratesClickF);
[code].....
View 3 Replies
Feb 28, 2011
I have am trying to make a pre-loader I guess you would call it for a flash movie with a MP3 embedded in it.The total size of the flash movie is 4MB.Below is what I have in frame 1 actionscript:
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, Loading);
this.loaderInfo.addEventListener(Event.COMPLETE, FinishedLoading);[code]....
Instead of 10%, 20%, 30%, ......and so on, I get just one dot, then another, then another, .....Once the reach four, the dots disappear and it starts all over again.Until the movie is loaded.
View 2 Replies
Nov 24, 2009
I've designed a site with 2 forms that use PHP. One has 3 form fields (name, email, message) which I've called 'samples'. The other has one field where an email address is submitted called 'email' for a newsletter sign up, and the pages jump to frames once the data is sent. Admittedly I've used a tutorial for this, but haven't changed anything other than the PHP file names and everything associated with these files in flash in the actions panel.I've assigned this code to the send buttons
on (release) { form.loadVariables("/samples.php", "POST");}
AND have added this to the MovieClip containing the Form fields
onClipEvent(data){ _root.nextFrame();}
The problems i'm having are that all the data isn't being received correctly. So the message form isn't working, it's only sending the first field. The newsletter form is using the samples.php file not the email.php. And secondly, where Flash should jump to the next frame once the form has been submitted, it's actually jumping to the end frame (stop actions on all frames).
View 37 Replies