ActionScript 3.0 :: Load A Local Swf Into Online Swf?
Oct 8, 2010I am trying to upload a local swf into a swf app that i have on my server, any ideas about how to do this?
View 1 RepliesI am trying to upload a local swf into a swf app that i have on my server, any ideas about how to do this?
View 1 RepliesFor some reason when my swf is published online the elements show up pixelated but when its local it looks fine. the object is set to high quality in the html.[url]...
View 1 Repliesfor some reason when my swf is published online the elements show up pixelated but when its local it looks fine. the object is set to high quality in the html. kinda stuck on this one...
[URL]
I've made a flash-uploader in action script 3 which have worked on a couple of sites. I recently implemented it in a new site and made some few changes. It started working but suddenly it stopped working... If i make a .html site on my local machine and test it (or run it in flash) the uploader works perfectly. But as soon i run it from my server, it wont upload?? How the hell can this happend? Sorry for my language but for me it seems very not-logical.. And let me again say, it worked for a start, and without any further changes it stopped worked on my new server.
View 3 RepliesAny tutorial that explains how to make a online high-score and a local one, both viewable within the SWF?
View 1 RepliesI used a fantastic XML video tutorial from this site -http:[url]...in a school project here - http:[url].....When I test the site on my local machine everything works fine,but, when I upload it to a web server , clicking on the thumbnails to change the video does not work - except for the first page of videos.
View 1 RepliesI am making flash page and i have put it on my test server:[URL]It works in ie and firefox but not safari. But when i try it in safari locally on my computer it works.
View 3 RepliesI'm using loadSound to load in external MP3 files and they load and sound great on the local machine but don't work when I upload the files to the web. I'm pretty stumped. The MP3 files are only like 10k and 60k so it can't be a size issue (I'm on a T1 line here at work too). Here is the site: [URL] Basically when you walk close to the fire you should hear the fire crackling and it will get louder as you get even closer. Everything works on my PC, just not online. Here's the AS code for the fire:
[Code]....
I have a Flex application that just load an external SWF, but the application load and unload infinitely my swf.
[Code]...
I'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
I recently began working on a large game. The main swf that all the levels load from also acts as a runtime library. When the MovieClipLoader loads the next level, if that level imports any mc's from the main swf then it won't load. It works fine straight from the HDD though.
I could really use a hand. I've used up most of my brain power figuring out the source of the problem (there's a lot of stuff to sift through).
I mis-spoke before. The MCL will load level.swf, I see the progress bar and OnLoadInit executes which should mean that the first frame of the level was initialized, but nothing appears.
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 RepliesI have an issue with website load.
[URL]
the content won't show untill you refresh 3-4 times.
I just create a rss reader of itunes feeds that work perfectly on my deskstop but when I put it online the Event.COMPLETE, rssLoaded is never fired look like the loading of the feed is impossible. I change with another feed : same problem I test this on my personal website Numéricable ( France) and on a blog plateform I saw security alert when I launch in my brownser but people on the forum said that it just a problem when you run the swf locally...
View 6 RepliesI would like to load an external image to a flashwebsite.I do this using a Loader.[code]When I test the swf offline, it works. But when I put everything online and I browse to the HTML file, it doesn't load the images anymore.What do I have to do to load external images online?
View 3 RepliesHas anyone been successful in using StageWebViewBridge to load and communicate with an online web page? [URL]. The documentation and examples offered are all configured around working with local files (which work successfully) and although the instruction to 'include the StageWebViewBridge.js' file within the loaded html page sounds very straight forward, sadly it doesn't seem to work.
For anyone wanting to replicate my test I have uploaded the files here: [URL]. I'm basically loading the 'ExampleCallBackFuncions.html' file from a web server. I've included the StageWebViewBridge.js file like so...
<script type="text/javascript" src="StageWebViewBridge.js"></script>
When I test the movie I get the correct setup output messages
_serializeObject =>___onDomReady
_serializeObject =>___getFilePaths
_serializeObject =>___onDeviceReady
_serializeObject =>fnCalledFromJS
And the html page appears in the viewport. But on pressing the button which should send a message to Actionscript I get the following error messages:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at es.xperiments.media::StageWebViewBridgeExternal/parseCallBack()
[/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridgeExternal.as:88]
at es.xperiments.media::StageWebViewBridge/onLocationChange()
[/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridge.as:236]
My goal is to send a message back to ActionScript from the html page.
im loading some RSS from twitter.. it works fine when i'm testing local, but when customer uploads it on 3rd part server, it doesent work. It's most likely a flash security issue. Is it possible to make a serverscript file that outputs the RSS to flash? Our server does have both ASP and PHP directories.. so any will do.
View 0 RepliesI'm trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. [code]...
View 0 RepliesI am trying to find the solution to loading a .txt from c:/ to my online swf.
View 2 RepliesSetup: I have an html page with an embedded flash object. The object is an "index.swf" with an empty movie clip on it. External swf's load onto the index swf via the empty movie clip when buttons are pushed.
Problem: On my test server in dreamweaver, the swf's load fine. When I put them on my server and test it online only the index swf loads. not the initial swf or any of the other swf's.
Site: [URL]
Files: [URL]
(index page and home page for your reference)
I am making a flash site where one of my pages loads an external swf. In this external swf I have sub pages with links. My problem is when I visit a page from this external swf, and then go to a page from my main website (clicking my main time line buttons) and then go back to the page with the external swf i was previously on, the page would go to the last page i was on, instead of refreshing it back to the main frame of the external swf.
I made a small, simple example of what I am experiencing on the site I'm working on.
[Code]...
Firstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. So i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
[AS]onClipEvent (load) {
loadVariables("http://www.cppa.co.uk/t/test1.php", this, "GET");
filenames.split(":");[code]....
But when trying my php file through firefox its says (php file ."Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip,
I'm using LoadVars to load variable data into flash from a .txt file.Pretty simple - when uploaded onto a server, I can see the data loaded but no one else can, not even other accounts on my computer!Could this be a CHMOD permission problem? Could this a problem with my AS? A problem with directories? A problem with URLs?Anybody have a good method that simply loads vars from a .txt file and can also do it online?
View 2 RepliesFirstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. o i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
[AS]onClipEvent (load) {
loadVariables("http://www.cppa.co.uk/t/test1.php", this, "GET");
filenames.split(":");
myRandom = random(filenames.length);
[code]....
But when trying my php file through firefox its says (php file
"Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
So if anyone could give me any advice on how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip.
I am building an app that needs to load and add a swf to the stage but I dont know how, I could get the whole "URL" of the file by using the class File for AIR but when I try to load it with a Loader it wont work...
View 2 RepliesIf I run this code locally, the site works well. But, when I publish it in the web, dont work. WHY
[Code]....
I'm trying to load a radar image over a google map. The problem is, I'd like to load the image from a local file. I understand how to do this remoteley via a url, buit not from a local file. I've read something about embedding, but I don't know what embedding means. I'm going to need this image to change, and eventaully want to have a loop of images playing over the map. Below is what I have so far. You can see I've commented out the line with the url loading, and have a fail attempt at loading locally below it.[code]...
View 8 RepliesIs it possible for flash to access data from outside of the root directory of the server it resides.i.e.
Root directory = /var/www/httpdocs
SWF = /var/www/httpdocs/flash/file.swf
XML = /var/www/xml/file.xml
I try to upload file from local system to web server.My application is desktop application and I work with php server.Find below my code
In flex
var dropfiles:Array = evt.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array;
for each (var file:File in dropfiles){
var fileFormat:String = file.extension;
var fileUrl:String = file.url;
[code]....
With those code message "Error #2044: Unhandled IOErrorEvent:" appear on flex.
How do you load a local image?[code]...
View 4 Replies