Link to home
Start Free TrialLog in
Avatar of GarrettChristopherson
GarrettChristopherson

asked on

Alert component not working on server

When I test my .swf in Flash and load it with my Flash Player, the Alert box will appear.  When I transfer the file to my server and view the web page in my browser, lastest and greatest of Mozilla Firefox, the Alert box doesn't appear.  In the actionscript I have the import mx.controls.alert line, and I have transfered the Alert.as file to the relative folder of the server.  I'm running IIS 6.0 in Windows Small Business Server 2003 on the server.  Any Ideas?
Avatar of julianopolito
julianopolito
Flag of Brazil image

first you don't need to put the .as file on the server , since it is compiled inside the swf. Can you send source code and related files so i can check for you the problem? It could be the trigger for the alert, but i don't have enough information. To send it here, zip all files, change zip extension to pdf,and post it here for me.

thanks
Avatar of GarrettChristopherson
GarrettChristopherson

ASKER

The file is too large to upload.  Can I email or ftp it to you?

 The Alert.show() calls are on lines 145, 122, and the import statement is on 1.  The Actionscript code is over 5000 lines.
polito.disco1@gmail.com

after sending to my email, post here a message so i know there is email there
I've sent the email to polito.disco1@gmail.com
can you tell me what alerts are not working? I published the swf file in the web server, and when i try to send empty form I receive 2 alerts, one above other ("Incorrect Form" and "These Prints need quantities"). both show here locally and when published. How are you publishing the files?
I only have two alerts in the whole .swf.  Neither of them appear when I leave the forms blank and send the form.

I'm publishing for Flash Player 7, bottom up, and in ActionScript 2.0.  The only options that is selecte is compress movie and jpeg quality is at 80. None of the other options are selected.  Is that what you meant by publish? I'm thinking of the menu options in the File menu of Flash.
I 'm also transfering the .swf file through my LAN with FTP.  The I use LogMeIn to remotely move the file into the website's directory. The web page is www.GarrettChristopherson.com
I just realized that I failed to mention that I am loading one .swf that will load and play a second .swf until the .swf of the .fla you have is loaded. I apollogize for not informing you earlier.
Can you send me whole application files? So I can test? As I said it is working fine here with both alerts, but i need to test the loading and loder swfs together , cause i don't know if it is influencing (I don't think so). Also about the publishing, I asked what are you putting in the server? What files? can you publish them and send me the url that is not working, so i can see it not working?
The email has been sent that has the other files and published .swf files.  The url is www.GarrettChristopherson.com
please try putting into the server my swf. Here it is working with the alerts even when published on the server. send me url for this file
Picture-Display-050-other.swf.pdf
ASKER CERTIFIED SOLUTION
Avatar of GarrettChristopherson
GarrettChristopherson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial