Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-09-2011, 09:45 AM   #1
variant22
Registered User
 
Join Date: Dec 2011
Posts: 2
Default [AS3] Flash Windows Projector (*.exe) Problem

Dear all,

I made a desktop application using Actionscript 3 in Adobe Flash CS3

It's work perfectly when I run it in *.swf (load image, XML, etc from a url)

But after I publish it to *.exe, some problems appear...

For Example, I made a button which if clicked, it will call PHP service to send email... It works fine in *.swf, But it never happen in *.exe....

I tried to trace the problems, and I have this error everytime I try to send email from my .exe Apps :
[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]

Any solutions for me?
variant22 is offline   Reply With Quote
Old 12-10-2011, 06:38 PM   #2
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 417
Default

The most likely reason for this error is...

The SWF is attempting to access a file on another/restricted domain - The permissions on a domain that you are trying to access in this instance may not be granting the appropriate permissions to the SWF.

The security settings for your EXE may not allow data from the domain to be sent back.

Basically, it's a security issue.
__________________
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
northcode is offline   Reply With Quote
Old 12-12-2011, 02:45 AM   #3
variant22
Registered User
 
Join Date: Dec 2011
Posts: 2
Default

Thanks, northcode...

I've found my problems...
There's 3 firewall active on my working PC, and I just turn off 2 of them...
So firewall and antivirus exactly affected the work on Windows Projector Applications so badly -_-
variant22 is offline   Reply With Quote
Old 07-10-2012, 04:51 AM   #4
oninross
Registered User
 
Join Date: Jul 2012
Posts: 3
Default projector exe issue

hi all, newb here. im trying to do the same but send the image to server. i can do it locally with an swf but not in exe. is there anything that i have to do in flash or the computer to let the exe communicae with the server?
oninross is offline   Reply With Quote
Old 07-10-2012, 07:29 AM   #5
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 417
Default

In your publish settings there should be an option called "Local playback security" and it's probably set to the default of "Access local files only". The other option is "Access network only". I'm not 100% sure affects projectors but it's worth a shot. If you can't get it working, post your code so we can see what you're trying to do and explain exactly how and where it's failing (runtime error, etc)
__________________
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
northcode is offline   Reply With Quote
Old 07-11-2012, 02:57 AM   #6
oninross
Registered User
 
Join Date: Jul 2012
Posts: 3
Default

The thing is, I used Flash to export my assets to swc files. Then I use Flash Develop to create my application file. I use that swf to create the exe file. I have done some testing and the swf in a browser in localhost is working fine. It can save images to the desired location. But when I use the exe file, it doesn't save at all. Any ideas?
oninross is offline   Reply With Quote
Old 07-11-2012, 06:22 AM   #7
oninross
Registered User
 
Join Date: Jul 2012
Posts: 3
Default

hi northcode,

i have solved the issue. there was no problem with the export settings. just forgot to put the //localhost in the link. now the exe file is calling the php and sending the image to the desired folder. thanks for your time
oninross is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:44 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.