[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Alert component not working on server

Posted on 2008-02-08
14
Medium Priority
?
157 Views
Last Modified: 2011-10-19
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?
0
Comment
Question by:GarrettChristopherson
  • 8
  • 6
14 Comments
 
LVL 17

Expert Comment

by:julianopolito
ID: 20855250
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
0
 
LVL 5

Author Comment

by:GarrettChristopherson
ID: 20855380
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.
0
 
LVL 17

Expert Comment

by:julianopolito
ID: 20855456
polito.disco1@gmail.com

after sending to my email, post here a message so i know there is email there
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
LVL 5

Author Comment

by:GarrettChristopherson
ID: 20855524
I've sent the email to polito.disco1@gmail.com
0
 
LVL 17

Expert Comment

by:julianopolito
ID: 20855652
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?
0
 
LVL 5

Author Comment

by:GarrettChristopherson
ID: 20855719
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.
0
 
LVL 5

Author Comment

by:GarrettChristopherson
ID: 20855751
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
0
 
LVL 5

Author Comment

by:GarrettChristopherson
ID: 20855820
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.
0
 
LVL 17

Expert Comment

by:julianopolito
ID: 20855883
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?
0
 
LVL 5

Author Comment

by:GarrettChristopherson
ID: 20855906
The email has been sent that has the other files and published .swf files.  The url is www.GarrettChristopherson.com
0
 
LVL 17

Expert Comment

by:julianopolito
ID: 20856004
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
0
 
LVL 5

Accepted Solution

by:
GarrettChristopherson earned 0 total points
ID: 20856175
I figured out that I needed to add an Alert object to the Library of the main/first .swf in order for it to show.  Thanks for your help.
0
 
LVL 17

Assisted Solution

by:julianopolito
julianopolito earned 1600 total points
ID: 20856232
that is why i needed both files loader and loaded, because this issue is very common, but i understood that you said on swf did not contain the other and did not have time to check the loader
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

640 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question