ActionScript 3.0 :: Flash Form Doesnt Work When Uploaded To Site
Oct 18, 2009
i've created a basic flash form which uses the following script for the send button:[code]it works well when i test it locally in the flash IDE.. it also works when i upload the SWF and the corresponding HTML file that holds it to url...but when i upload it to a subdomain (ex. url..), it doesnt work anymore.. after pressing the "send" button, my "sending input" animation shows up as expected, but then it gets stuck there and never proceeds to the "input sent" animation.. the message never gets sent to my email..
I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?Does anybody know how to resolve this problem
Im in my first year studying a web design course, over the summer I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?
I am building a flash intro page, but when I publish the file on my computer and even run for errors, everything works and comes clean... But when I load it onto the server, the ENTER button, no longer works...
If someone could check the actionscript for the button... I checked and double checked my code, and it seems to be right
I have developed an site in flash doesnt throw any error in Flash IDE debug mode, But when I launch this in web browser it throws error.
Disadvantage of showing error in browser window is that it wont show the line number of the error. Is there any otherway to get the line number of error, when running in the browser.
I made a flash website for a client and there is only ONE thing wrong with it. Everything works when I preview it in Adobe Flash Player. And I have it embedded in a Dreamweaver CS3 file, and when I preview it...it works. THEN when I upload it to the server, two of the INTERNAL links fail. I have two links that say "Behind the Camera" and "Contact". [URL] You can see when you click on either of the links, it just randomly skips ahead in the first scene. What I really want them to do is when you click Behind the Camera you go to Scene 2 and Contacts you go to Scene 3. I have coded everything correctly, because everything works when I preview it. But once I upload the .swf file to the server, those links fail.
ok flash doesnt work on nfl.com video.i got the new player 10 point whatever.tried it in mozilla all i keep it video loading.NEVER LOADS tried it in IE says i need to download the newest player from adobe already done.i took down my firewall setting took adblock plus off.
Ive updated to CS5 and now I have problems with the flash I am working on,when I export the timer doesnt work,in stead of saying **mins it just says mn with no number.Ive reloaded flash several times but still doing it,altho once it worked the first time I exported it but not again. No problem on CS4. Im guessing it must be some action script it doesnt like, unless something is corrupt on my computer.
I have a bunch of loadMovie() scripts in my flash files and everything loads fine when I open the flash files from my folder.Once I preview them online on my test server, the loadMovie() scripts no longer work. Has anyone encountered this? Does my paths need to change in order to view the flash files online?Right now, I have everything realitive to the flash file so:My main file is test.swf. that loads in fine in the website.But test.swf loads in test2.swf which is contained in a flash folder so my loadMovie script itloadMovie("flash/test2.swf", 2)
I have been building a website in dreamweaver, but have flash buttons which work fine. But the banner I have made in the page just has a white background. When I export it in flash it works, and when I preview in the dreamweaver browser it still works. I do not know what I have done wrong. Is the coding in the server wrong for the flash?
I've tried to send some parameters to my flash app by flashvars. Unfortunently, it doesnt work. To embde flash I'm using SWFObject 2.2. I also use lib SWFAddress 2.4 (I'm stating this, because I've heard that some versions of swfobject and swfaddress are not compatible).Here is my html code:
I have a seek bar for video player just like youtube, user can drag the cursor in seekbar or click anywhere on seekbar to jump to the time I use mouse.down and mouse_up event for dragging the cursor:
[code]...
here is my problem: if I do only clicking or dragging nothing wrong but when I do both clicking works but dragging isnt when mc.cursor.mouseEvent up is called mc.mouseEvent click is also called and since mc.cursor is clicked click event got the coordinates wrong I remove the click event in mouseEvent up function in 1st line and in the last line I add again but it does the samething again
For those liquid layout experts: Do you know why the site comes out cropped when it's uploaded? This was applied to another site and it worked fine. I'm not sure if it has to do with the levels of where the layers are on the stage, but I can't figure this out The scaling seems to work fine when the browser window is scaled up or down. But I just don't understand why it shows up cropped to begin with.
I have a thumbnail scroller, it's working when I preview it in flash or in IE when the files are not on my server, however when I upload them to my site, the scrollwheel no longer works.
I dont know if there was a recent download of flash or something but the number stepper suddenly doesnt work?URL...on external banners page and on the digital copy page, they are both inactive!?
I've created a flash website and have split it up into different swfs and have added pre loaders so it loads more cleanly. When I preview the site the links open up the external swfs no problem, but once the site it uploaded the swfs don't load, it appears that the main movie restarts insted of the external swfs (only the contact button works because it's part of the main movie).The 4 buttons at the bottom of the main page go to frames with the follwing or similar action script
designplay.loadMovie("design.swf");
This frame also contains the clip (designplay) which the design.swf should load into. It appears the issue is with the paths, I've spent a long time trying to fix this and just can't get it.
I just uploaded my exported swf to the site for the first time and it's running the movie but, either not reading the xml file or reading the xml and not loading the images.
I love Flash CS5 and working with the AS3 package yet I have done everything and now I am stuck at the most frustrating part - I want to add contact forms to my site and its now allowing me to add another form, brings up errors as follows:
Scene 1, Layer 'Action Script', Frame 291, Line 3 1021: Duplicate function definition. 1st Code that works fine send_details.addEventListener(MouseEvent.CLICK, sendData); function sendData(evtObj:MouseEvent):void{ trace (fullnames_txt.text); trace (email_txt.text); trace (contact_numbers_txt.text); trace (postage_details_txt.text); trace (message_txt.text); var [code]....
I went through the tutorial on creating the email form with php. I followed it and made my own movie, uploaded it to my webserver and tried it. I havent recieved and emails. Then I downloaded his source file and changed the email address in the php and uploaded it and Its still not working.
I went through the tutorial on creating the email form with php. I followed it and made my own movie, uploaded it to my webserver and tried it. I havent recieved and emails. Then I downloaded his source file and changed the email address in the php and uploaded it and Its still not working..what am I doing wrong?
I've created this simple website which consists of a 3d carousel style gallery of images. When I tested it locally everything worked perfectly, however, the version on the web-server is not working. The website is at dansawesomeweb. site11. com. I renamed the html file so you can browse the websites folders if you wish. After much testing I believe the problem of the website lies within me loading external images. You see two of the images(the only two that you can see) are loaded from the same domain and specifically the same directory as the website itself. It seems to be unable to load any image from any where else on the web.It could be to do with the image url's I used: i'm not entirely sure how they should be formatted? (As you can tell I'm not familiar with this kind of stuff) Do you think it's my host? -but from what I hear 000webhost does fully support flash. Or do you think it's purly how I programmed it in as?
The way the website works is that the base.swf loads the caro.swf. The caro.swf's doc class is CaroClass.as. The flash makes use of some custom classes that are in the class folders. The class called 'Obj' is an image holder movieclip that loads an image off the web into itself: These make up the carousel. There is also one class that is supposed to load a higher resolution of images when you click on one of the Obj's, and also show a description. The image url's, captions and descriptions are held in an xml document which is loaded by the caro.swf at the start. Just go to the webpage and click on the CaroData.xml for the XML.
If I have a form with 12 text input fields on one page and on another for a different reason I have 4 text input fields how do I keep this information form the 4 from being passed to my php script?
the flash4 published set of files, with a variety of skins tried, works well on the local drive, even when moved to a different folder structure. when index.html is opened on the remote web site, the browser (firefox3 and ie7) displays the player conrols and a rotating horizontal barber pole, green and black, but no flash video.some of the skins i've used are: SkinOverPlaySeekFullscreen.swf, nOverPlayStopSeekCaptionVol.swf and SkinUnderPlay.swf. all work locally but do not play the .flv file on the web site. no problem playing flv movies on the remote web site if the file set is created by dreamweaver.
I have an app with a preloader - works fine until the content gets cached, then for some reason wont progress to the next slide - Fullscreen mode is set to full (if that makes a difference). It doesnt seem to happen consistently either.
i'm trying to drag something, and on stopdrag it should start a function if certain requirements are fullfilled. My code looks like this.if(e.target.dropTarget.parent == targetName || e.target.dropTarget.parent.parent.parent.getChildByName("cloud").getChildByName("itemPlacer").getChildAt(1) == targetName){
I got 2 questions, first, this works good when i drag and stopdrag correctly(the requirements in the if are fullfilled). but if the requirements are not fullfilled i get an error saying that the place i'm referring to cant be null. I know that the problem lies after the || part but dont know how to resolve it. 2nd, isnt there a shorter way of doing these checks? Atm i'm going through alot of parents and getchildats and was wondering if there was another way.
i got an image gallery that reads data from an xml file. this xml formatted data is from a php file. when i open the gallery it loads the 1st image; when i click next it loads the 2nd and so forth... but as soon as it has loaded all the images once, it gets stuck. i dont know what to do. when i had the gallery read directly from an .xml file things were working fine but as soon as it was data from a php file that was xml formatted this problem started to occur.
i am having a serious problem with my navigation my file just doesnt seem to work heres the code:[code]ill upload the FLA in a sec if anyone could please take a peek this is for a project at uni i need to have it handed in by monday and ive been stuck with this problem since 15:00 in the afternoon uk time and its now 22:15.url...