ActionScript 3.0 :: Loading XML From Exe File Query?

Apr 11, 2011

I have a Flash movie exported as an exe file, that loads information from an XML file situated on a server, like so:

var urlLoader:URLLoader = new URLLoader();
var urlReq:URLRequest = new URLRequest("http://server.mydomain.co.uk/info.xml");
urlLoader.addEventListener(Event.COMPLETE, loadXML);
urlLoader.load(urlReq);

I'm testing the exe from my desktop and it's working fine, calling the URLs in my default browser. I would like to ask, will the exe work from any machine with internet access? Or are there likely to be problematic security issues? I haven't had to change any security settings for the exe to work on my PC.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Loading XML From Exe File Query

Apr 11, 2011

I have a Flash movie exported as an exe file, that loads information from an XML file situated on a server, like so:

var urlLoader:URLLoader = new URLLoader();
var urlReq:URLRequest = new URLRequest("http://server.mydomain.co.uk/info.xml");
urlLoader.addEventListener(Event.COMPLETE, loadXML);
urlLoader.load(urlReq);

I'm testing the exe from my desktop and it's working fine, calling the URLs in my default browser. I would like to ask, will the exe work from any machine with internet access? Or are there likely to be problematic security issues? I haven't had to change any security settings for the exe to work on my PC.

I just want to make sure that there are not likely to be any problems in my particular situation (zero margin for error with these clients!).

View 1 Replies

ActionScript 3.0 :: Loader Loading Request With Query String?

Nov 17, 2007

I need to get Zoomify to work in my AS3 application, the problem is, it's an AS2 component. so i have a swf compiled in AS2. lets call it "map.swf"so since i can't access any actions or scripts inside map.swf from my AS3 project, i'll have to pass some variables to it via query string... "map.swf?foo=bar"it works to just navigate to it from a browser using "map.swf?foo=bar".and it works to load map.swf using Loader.load(new URLRequest());

here's my code:
Code:
var request:URLRequest = new URLRequest("map.swf");

[code]......

View 3 Replies

ActionScript 3.0 :: Loading An Image As Variable From Query String

Oct 26, 2010

I'd like to dynamically load a image into my script. Ie/ myMovie.swf?image=myimage.jpg If no image gets passed - the script should use the default.jpg instead and load normally. This is what I've tried so far....

var CoverName = stage.loaderInfo.parameters["CoverName"];
if (CoverName == null) {
CoverName = "images/default.png";
}

View 0 Replies

ActionScript 3.0 :: Loading Local Files With Query Strings

Sep 14, 2009

I have a strange problem loading external assets from local files with Loader() Class in AS3. If i use query string in the file name, the asset don't loads.

[Code].....

if i dont use the '?id=33' it works. More strange... in Flex with SWFLoader it works

View 3 Replies

Query - Run A Sqlite Query In Flex To Count The Total Number Of Records?

Apr 16, 2010

I'm trying to run a sqlite query in flex to count the total number of records I believe its working fine but I just can't figure out how to display the results - all I get back is [object Object].

private function overviewOne():void{
var stmt:SQLStatement = new SQLStatement();
stmt.sqlConnection = sqlConn;
stmt.text = "SELECT COUNT(user_id) FROM tbl_user WHERE status_status ='Away'";

[code]....

So how do I make a reference to the COUNT(user_id)?

(flash.data::SQLResult)#0
complete = true
data = (Array)#1

[code]....

View 1 Replies

Flash :: Mod_rewriting A Query String Onto A Swf File?

Feb 1, 2010

I'm attempting to use mod_rewrite to clean up the URL's to a flash video player. First,here is the original URL that I'm trying to rewrite to:library/player.swf?path=path-to-file.flvhe above URL works perfectly fine when I access it directly. I have coded the swf to automatically grab the path parameter and play the video. No problems there. Now here is my attempted rewrite rule:RewriteRule ^player/(.+)$ library/player.swf?path=$1 [QSA,L]When visiting the url player/path-to-file.flv, I get the swf but no video loads. I set up a popup window in the flash to tell me the path name for debugging purposes, and it looks like the path isn't being passed at all.On the other hand if I use the exact same rule but point it to a test.php instead of player.swf, the test.php file is able to echo out the parameter

View 3 Replies

Professional :: Why Flash Don't Display Data Query Send From Php File

Mar 24, 2011

Why flash don't display my data query send from a php file that use the $_GET to retrive the information and run a query to display the result back to flash.but when I change the $_GET variable in the php file for a static value let's say (2), flash display the data that was requested in the php query..with $_GET I get in flash undefined with "2".I get in flash the data requested...

View 12 Replies

Flex - Security Restriction - Save The Results Of A Database Query To A Local File?

Jan 2, 2012

I'm having some trouble getting around a security restriction of flex. Saving a file is apparently an action that can only be invoked upon user interaction. The problem is that after my user clicks on the save button, I need to perform a database query to get the data for the file I want to save.

Because Flex works asynchronous, I have to make the database call and then catch the ResultEvent in a different function. In that function, I no longer have the user's mouseclick event. How am I then supposed to save this file?

[Code]...

View 1 Replies

ActionScript 3.0 :: Passing HTTP Query String To Flash Query String

Aug 26, 2010

I am successfully Passing HTTP Query String to Flash Query String.

Resuming:

inside html

Code:
' <EMBED src="Film1.swf'+document.location.search+'"
'+
inside as3

[Code].....

Then Film1.swf can't grab no more the userName parameter.

View 4 Replies

ActionScript 3.0 :: Passing HTTP Query String To Flash Query String?

Aug 26, 2010

I am successfully Passing HTTP Query String to Flash Query String.Resuming:inside html

HTML Code:
' <EMBED src="Film1.swf'+document.location.search+'"
'+

[code].....

View 1 Replies

Javascript :: Defer Loading Elements Until Flash Gallery Images From XML File Finish Loading?

Nov 15, 2010

How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.

View 1 Replies

ActionScript 2.0 :: Loading File Plays Before Loading Is Complete

Sep 4, 2009

I have a "loader.swf" after which my "main.swf" loades. I have used a loaderPro v3 (AS2) component. Doing that was easy but then when it starts loading, even before the loading completes the main.swf starts playing in the background. And i have no coding in my actions panel.

View 5 Replies

Media Server :: Connection Failed When Loading .asc File On Main.asc File

Jan 6, 2011

Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.

View 6 Replies

Multi File Preloader - File Start Loading Files But Does Not Loop?

Jan 6, 2010

what I'm trying to do is make a preloader that will preload about 20 external SWF files before it lets you get to my main file. I want to do this because my main file needs the SWFs to be ready to go once its done loading. I have looked around and i found a few ways to do this with the "if (loadedBytes>=totalBytes)" and the code loops back till the files are done loading... this would be just what i need but i cant seem to get it to work. the file just seems to start loading my files but does not loop and just runs the time-line even once i state what frames i want it to loop.

View 6 Replies

ActionScript 1/2 :: Loading Swf File Into An Existing Flash File - Script For Waiting It To Play Until It's Fully Loaded?

Feb 6, 2010

I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);

View 7 Replies

Flex :: Extract A Zip File From A Zip Archive Without Loading The Whole File Into Memory

Mar 10, 2011

Is there a way to extract a single file from a zip file in Adobe AIR?

I'm using NoChumps zip library to extract files from a zip. In this library the entire IDataStream is loaded into memory and after that you can extract file entries easily. In cases where the zip is 5 to 10MB there are no problems. But when the zip is 80MB, which many are, 80MB is loaded into memory. This causes the app to crash and run slow on mobile devices. According to the zip specification,

"A ZIP file is identified by the presence of a central directory located at the end of the file, this allows appending of new files. The directory stores a list of the names of the entries (files or directories) stored in the ZIP file, along with other metadata about the entry, and an offset into the ZIP file, pointing to the actual entry data."

Also, I do not have control of the size of zip files but most average is 60 to 100MB. Files inside are ~4MB.

View 2 Replies

ActionScript 2.0 :: LOADING FILE. File Plays Before Loding Is Complete?

Sep 5, 2009

I have a "loader.swf" after which my "main.swf" loades. I have used a loaderPro v3 (AS2) component. Doing that was easy but then when it starts loading, even before the loading completes the main.swf starts playing in the background. And i have no coding in my actions panel.

View 2 Replies

ActionScript 3.0 :: Check File Name Case When Loading A File?

Sep 21, 2009

Is there a way to check file name case when loading a file? For example:

My URLRequest has this: "filename1.swf", but the actual file on the server is this FILENAME1.swf. Since the file names do not match case, is there a way i can have flash and AS3 catch this?

View 2 Replies

Data Integration :: Loading Remote XML File Into SWF File?

Jan 28, 2007

I have a problem loading remote XML file into SWF file. Im doing a banner for a client with adds that is supose to load constantly updated XML file from my clients server and load some images into flash form it. Everything works fine when i test the movie (CTRL+ENTER), but when i publish it and test it from explorer, XML file is just not loading into flash.

View 7 Replies

ActionScript 3.0 :: Loading Multiple Swf File Into A Main Swf File?

May 18, 2011

I have problem in loading multiple swf file into a main swf file. I will state the things clearly at first. I have a main Index file to which i have to load some swf files which i have placed in a seprate folder. I tried to load those movies to main swf file using loadMovie it worked well when i give the exact path of the swf movies in subfolders. Aslo it worked when i placed the entire swf files including the Index file on a single folder, this worked only on my local machine suppose if i copy those entire folder to some other Computer and tried to run the Index file it doesnt works if it is in an single folder it works. The thing i need is the Index file alone has to be placed on the main folder and rest of the Swf file has to be placed on sub folder so when i run the index file it has to load the required swf file from sub folder this even have to work when i run the application on some other computers.

View 4 Replies

ActionScript 2.0 :: Loading Frames On One .swf File From Another .swf File

Feb 2, 2009

[URL] I'm using 2 .swf files. The Main.swf file loads the portfolio.swf file when you click on the Portfolio tab. On the portfolio.swf page I have 4 buttons that go to different frames on the portfolio.swf file The buttons do not work when you click on them and I have no idea why.

View 4 Replies

ActionScript 3.0 :: Loading An Xml File File That Has 32mg?

Feb 7, 2009

Im loading an xml file file that has 32mg, and it is taking up to 30 minutes for flash to load it. Is it normal to take that much time to load a 32 mb file??

View 3 Replies

ActionScript 3.0 :: Loading A Swf File In Another Flash File

Dec 30, 2011

I have a website.fla and want to add a slideshow.swf to one of the pages.

View 4 Replies

ActionScript 2.0 :: Loading A External Text File To Flash And According To The Number Present In The Text File

Apr 25, 2009

I'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.

View 2 Replies

ActionScript 2.0 :: Run A Pre-loader That Will Indicate "loading..." And Indicate The File Is Loading

Sep 27, 2004

I am creating an interactive CD ROM that has a flash file with a 200 meg video file in it. I want to run a pre-loader that will indicate "loading..." and indicate the file is loading. I have a stop action script built into my first keyframe and on a seperate layer the following action script:

[Code]...

When I go from scene 1 to scene 2 and load the movie, there is a 4 - 5 second delay before I get my Loading text. The file then loads rather quickly and the video file plays. I know this is a big file to load into memory from a CD, but would like the "Loading..." to display immeidately, so the user will know what is going on. Does anyone know why I am geting this delay or how to overcome it? Again, this is not an internal job or running from a web server. It is loading on a local client from a CD ROM drive.

View 1 Replies

ActionScript 3.0 :: ColorTransform Query?

Jan 6, 2010

i am currently reading Learning Actionscript 3.0 A Beginners Guide and i'v stumbled on a code snippet tutorial that i hope you can explain to me, P.139. What i am trying to do is essentially create a particle system and the following code snippet i'm not sure about is the following

[Code]....

View 1 Replies

ActionScript 3.0 :: Query And Getting Data From DB Using PHP?

Feb 11, 2010

how getting data back from a php script which query a DB?

View 1 Replies

ActionScript 3.0 :: How To Get Query String From URL

Mar 22, 2010

How to get query string from URL? The characters past the ? in IE. [URL]

View 1 Replies

Sql :: Realization Of An Algorithm In SQL Query?

Dec 14, 2011

I have a database which has 2 tables:

CREATE TABLE RecipeDB (
RecipeID INT PRIMARY KEY AUTO_INCREMENT,
Name VARCHAR,[code]........

I also have an actionscript, in which I have ingArr:Array of ingredient strings.Now, I would like to realize the following queries here:

1) Select (all fields) one recipe which has the most of ingredients from the array. If more than one record have the same amount of matches, then divide the number of matches by total number of ingredients in recipe and return the one with the highest ratio. If there are no matches return nothing.

2) As above, but return 10 recipes with the most matches and do not perform check for equal number of matches. Sort the results by the number of matches.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved