ActionScript 3.0 :: Variable From One Swf To Another Locally?

Jun 16, 2011

So I kinda think this is doable with SharedObject. But I'm not really sure. I found an as2 tutorial about posting highscores(www.emanueleferonato.com) and started thinking.

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Save Flash Data Locally From Locally Running .swf?

Jun 10, 2009

I want a user running a Flash game on his machine (not from a server) to be able to save some game data locally.From what I've read, there still isn't any way to do this, but I thought I'd throw it out there in case anyone knows a sneaky xml or php work around.

View 2 Replies

Xml :: Loading XML Locally?

Aug 1, 2011

I have a project in Flash Builder and I use Bulkloader to load some configuration files. When I run the project from Flash Builder or in a server, everything works as expected, but when I run the SWF from another location (for example "my documents"), the project can't load the XML.

View 2 Replies

Writing The Data Locally?

Mar 19, 2010

I have been struggling with this all week now. I am using as3 and within my movie I have a dynamic text box that contains a score.I need this score to be written to a text file preferbly in an array that only stores the highest 5 scores.I then need values from the array to be read and displayed on another movie which will act as a high score table. e.g. I will have a dynamic text box in my high score move that will display the 1st value in the array, and then the 2nd etc.

writing/reading data to text files.Alternatively if anyone else can suggest another method for a high score table please let me know. I only need a basic high score table that runs on a users local machine as the app i am making is desined to run on individual users machines.

View 1 Replies

ActionScript 3.0 :: Pop Up Swf Running Locally?

Mar 26, 2012

I'm working on a project which will be embeded locally, and im in need of a solution to make a pop up swf that loads upon click of a button from another swf.

All the solutions i can find work for uploading to the web...however dont work locally.
 
So im guessing im looking for something along the lines of "onclick load swf _blank".

View 5 Replies

Recording The Audio Locally?

Jul 14, 2009

I am trying to figure out how to make a flash Application which can allow users to Record Audio from their Microphone. The recording needs to then be uploaded to a web server.I think the best way to do it would be to store the .flv or .mp3 file locally, and then submit the file to the server after the recording is completed.I have read in some places that this is impossible to do, however websites such as livevideo.com allow this too be done with Video as well, so I think Audio should be simple if it can be done with video.

View 1 Replies

Flash :: Way To Use ExternalInterface Locally

Oct 11, 2011

The problem is this: I have an swf embedded in an html. I must call a js function in the page from the swf via ExternalInteface. Ok. But it must work locally, for any user, without doing nothing. That's because this thing must be distributed in cdroms.

View 4 Replies

IDE :: Xml Loads Locally But Not Online?

Dec 5, 2009

Im trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. The url im trying to load http:[url]....

Code:

function parse() {
xmlData2 = new XML();
xmlData2.ignoreWhite = true;[code].....

View 2 Replies

ActionScript 3.0 :: Load Xml From Web Locally?

Nov 27, 2010

Im not sure whether its possible but I have been trying to load an xml from my webserver, and do a few bits with it. I cant get the xml to load locally it works fine on my server so I assume its some kind of security issue.

View 2 Replies

ActionScript 2.0 :: Xml Load Locally But Not Online

Dec 5, 2009

Im trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. Can you explain what im doing wrong?[code]

View 8 Replies

ActionScript 3.0 :: Links Not Working Locally

Aug 10, 2010

I have CS3 movie that opens links to other sites.It works fine when publshed to the web server but when I test it locally (opening it from my own files) the links don't work - is this a security settings issue? I tried opening settings manager and "allowing" files for that file location but it didn't fix it.

View 2 Replies

Access A Webpage When Running Locally?

Jul 7, 2009

I am running my swf file through a browser on the local machine (i.e. C Drive). I want to have a link to download the Adobe Reader however when I click on the link that is setup with navigateToURL(), I get a Flash Player Security Error stating that it is unsafe to acess the Internet and to update the player options allowing it to happen. I have went to the player options and put the URL's in there that I am trying to get to with no success.

View 4 Replies

ActionScript 3.0 :: Loading Xml-file If Not Placed Locally

Jun 14, 2010

I started a discussion about my parameter catching problem and I've now narrowed it now. It turned out it wasn't the parameters not getting catched. The swf took the parameters fine, so that's apparently not the issue. My problem is that it seems like the .xml-file don't get loaded. When I've got my .xml file and .swf locally on my computer and runs it it works fine. When I place it on my web server the same way, it works fine. However, when someone else puts my .swf in embedded on their website the xml won't be loaded by the swf for some reason. Below is the AS3 code loading the xml file. It's been working fine all along until I started playing around with calling the swf from different sources (my friend's web server by embedding it etc.).

[Code]...

View 5 Replies

Flash :: Project Not Playing Locally

Dec 21, 2010

I have started a new fulltime job doing flash work (yay) and on my first two projects I keep running into a weird situation. For some reason the projects I create work just fine when tested on my development machine, but as soon as we try them on another machine in the office they will not work unless, we upload them to a webserver and view them from there.

I am working on and saving my files to a network drive on the server and can run them fine, but whenever anyone else with the same version of flashplayer and browser tries to run them off the same network drive they don't work? Now, I don't remember the exact error or problem with the first project, but on this second one I'm calling a function in a swf on a web page from javascript using AS3 ExternalInterface. On the other computers the browser reports a javascript error of "Object doesn't support this property or method" when once again, on my machine (and once posted online) works just fine. Also, before you start thinking it's a problem with ExternalInterface and  javascript my first project was not using ExternalInterface or javascript calls.

View 1 Replies

Professional :: FLV Works Locally But Not On Web Server

Jan 19, 2011

I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.
 
Googling reveals two possible issues... server mime types, and flv path issues.
 
Everything is in the same folder so I'm doubting it's a path issue.
 
If it's the mime type issue, how do I go about fixing it? My host is dreamhost.
 
*update, I tried adding the following two lines to my .htaccess file but it didn't change anything:

AddType application/andrew-inset ez
AddType video/x-flv flv

 Here is the html: [URL]
 
And here is the whole project in a zip if anyone has time to take a look:
 
[URL]

View 1 Replies

Professional :: SWF Plays Locally But Not On Server

Jul 4, 2011

I have a SWF (1.8mb) which I placed onto my HTML page using Dreamweaver, and set to autoplay. When I save the file and open it in Firefox/Safari, the movie plays as expected. But when I uploaded the files to my hosting server, the movie doen't appear (not even a box where it should be - just nothing but blank space where it should be). I've made sure that I uploaded the SWF, the HTML file, the expressInstall.swf, and the swfobject_ modified. js file. I also changed the permissions to allow executable scripts. I don't have a Flash blocker installed.[code]

View 1 Replies

Flex :: Store Data Locally Using It?

Dec 15, 2010

How to store data locally using Flex 3 in web applications. Without using backend or using shared object.

I came to know that there is something called Data Management in Flex 3. And it is not for AIR application.

View 2 Replies

Flex :: Air - Images Store Locally From Xml?

Mar 30, 2011

I have one xml link. that link have collections of images(apx 1000 images). when i flex applications start at the time load all images in locally. then when i need that images then use it. How i do this... give me some links and logic.

View 1 Replies

Windows :: Why Does StageVideo Not Work Locally In IE

Aug 1, 2011

I'm having troubles testing a StageVideo file locally. The HTML file that contains the swf loads perfectly in Chrome & FireFox, but when I go to open it in Internet Explorer 9 nothing happens (it just shows a white screen).

I've added the permissions for the location to the 'Global Security Settings' tab of the Flash settings manager (on the Macromedia website). I've also checked in the IE9 settings to make sure that it allows GPU rendering.

why it might be blocked in IE9?

View 1 Replies

Html :: Swf Plays Locally But Not Online?

Dec 22, 2011

i have a swf: Adjusting__Age.swf. and what happens is that if i run it locale it works:

file:///C:/xampp/htdocs/test/Adjusting__Age.html

but if i sun it online or even in my localhost it doesnt appear:

http://localhost/test/Adjusting_Age.html

here is my code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="512" height="384" id="training-video"

[Code].....

View 2 Replies

ActionScript 3.0 :: Load XML Locally From A Server

Aug 13, 2009

I'm writing a simple application and at some point I want to load some XML. The problem is that I don't want to pull that XML from a server but define it locally. So far the only solution I have found is something like this:

[Code]...

The problem is that there are several XML variables that I need and each one is of noticeable size. Is there a way I can include an XML file in my swf witch I can access and get my data from at runtime?

View 2 Replies

ActionScript 2.0 :: Swf Plays Locally But Not Online

Sep 20, 2010

I have a main swf that loads several child swfs on different frames. The swfs load into an empty moviclip on the stage. When the timelines on a frame, I have code on that frame that says [code]...

View 4 Replies

ActionScript 2.0 :: Swf Plays On Server But Not Locally?

Oct 21, 2010

I developed an app that ran fine locally and on the web. However, this morning I noticed that it will not play properly on my PC, but will on the web, or in a Director projector. It is an AS2 slide presentation, that loads xml content. Everything was working fine locally until today. It seems to load the content fine but won't call methods any longer... Again everything works fine on the web or in a projector.

View 1 Replies

ActionScript 2.0 :: Save Data Locally With It?

Jul 8, 2011

How i can save data localy in my drive using as2

View 3 Replies

ActionScript 3.0 :: Open User Xml Locally?

Sep 25, 2011

I have a local running flash file and I would like the user to be able to load a chosen XML file.

View 3 Replies

ActionScript 2.0 :: [FMX] Save A File Locally

Jan 20, 2003

I am populating a listbox with an array. When an item is selected in the listbox, I am attempting to link to that file and save it locally when I click a save button. I have fished around looking for ways to do this. I guess I'm looking for any info. I know the FSCommand has some functions that may help, but they don't seem to be supported completely.

View 7 Replies

ActionScript 2.0 :: Saving And Loading Locally?

Aug 22, 2006

Is it possible that, when I publish my flash program to the internet that the user can save and load text to a text file somewhere on his computer?

View 2 Replies

ActionScript 2.0 :: Saving Data Locally?

Jan 16, 2008

I have an offline presentation for a client that needs to have a form submitted data saved local on the machine (kiosk) to be gathered later.I researched on google and found fscommand to write to a txt file but this no longer works and is sorta sloppy.

View 5 Replies

IDE :: Preloader Works Locally But Not On Server

Mar 7, 2009

I'm working on a website ([URL] - don't think the flash file can be seen in FF yet) and I want to load an swf-file with some illustrations and such. As this could get a little big, I have made another swf-file which shows a preloader and loads the first swf-file. The preloader works perfectly when tested in Flash CS3, but when uploaded to and tried on my webhost's server, the preloader doesn't load anything. Instead it of the load-percentage it just writes "NaN". You can find the as3-code down below. The preloader-swf and the swf to be loaded are located in the same folder. Both are as3.

This is the code from my as-class file:
package classes{
// Imports necessary classes
import flash.display.MovieClip;
import flash.text.TextField;
import flash.events.Event;
[Code] .....

View 2 Replies

ActionScript 3.0 :: Works Locally But Not Online?

Jan 25, 2010

Swf generated by class (shown below) brings in the noponies as3 accordion which all works ok locally. But when I put it online nothing is shown. I think it's something to do with the xml files but not too sure

Code:
package courseClasses{
import flash.display.MovieClip;

[code].....

View 2 Replies







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