ActionScript 3.0 :: ExternalInterface Made Available Offline?
Feb 23, 2010
I am developing a Flash application that will be made available for both online and offline (via DVD).Opening the HTML through the web presents no issues. However, if the HTML file is opened locally, Flash Player security stops the application from communicating with local HTML files unless the Flash Global Security Settings is set.How can I allow the Flash application to run properly locally without setting the Security Settings of the FP.
View 1 Replies
Similar Posts:
Jun 28, 2011
i have some actionscript that makes a
ExternalInterface.call('someFunction');
call.is it possible to reference the html object that made the call to someFunction directly using the ExternalInterface.call call?
Assume that the object that makes the call also has some Callbacks (via ExternalInterface.addCallback) that are accessible via javascript.
Currently:
Actionscript source
ExternalInterface.call("someFunction");
ExternalInterface.addCallback("someCallback",someASfunction);
[code]....
View 1 Replies
Apr 29, 2009
Anyone let me know wether if pixel calculations are made swf files and when they r made to fullscreen wether they will remain the same in any monitor size?
View 1 Replies
Apr 26, 2009
I am designing a CD-ROM for a client for my university's project.I was wondering if It is possible to add some thing like a contact page? if yes, what should I do? As it is not possible to use Php for an offline media what else can I do? I did a research and found out I can connect the form or a button to out look but that's all, nothing more?
View 2 Replies
Oct 19, 2009
I have imported an .FLV file to my flash movie and no matter what I try when I upload this it just won't show online. heres the info in my component properties:and im just loading the .swf in the normal old fashion way for testing:
HTML Code:
<embed height="400" width="540" pluginspage="http://www.macromedia.com/go/getflashplayer" src="intro.swf" play="true" loop="true" menu="true"></embed>
[code].....
View 3 Replies
Nov 24, 2009
It plays perfectly well in 'Publish Preview' and when you launch the HTML page offline. However it won't play online. First I published it in Flash 8, where I'd created it, uploaded the swf and the html. In Firefox it loaded a blank page which revealed on right click that there was a Flash movie there, but you couldn't see it or do anything. In IE it just stuck half way through loading. Then I resaved it in Flash CS3 and published it with AC_runactivecontent.js. Uploaded it to my site and the result was exactly the same. To check my syntax a friend uploaded it to his webspace, and put another swf on the same page using the same syntax. The new swf played, but mine didn't. The 'publish settings' for the two were the same. Again, if you look at the page offline both play. My friend made some changes to the FLA and published it successfully on his webspace. He suggested the file size may have been a problem: I had had some fairly large audio files in it and 'updated' them to smaller ones. The resulting swf was 6mb. We wondered if the old ones had been retaines somewhere, boosting the file size. The only other difference I can see between his version and mine is that there's a font I used which wasn't on his PC. His version has it as Arial (there is only one word in the whole thing). I took his version, deleted the sound files and reimported the smaller versions, which then published as a 3mb file. But now it doesn't play! Results in IE and FF exactly as above.
View 7 Replies
Jan 5, 2010
In order to work offline I'm using XAMPP to develop a website which is working great except that I can't see any Flash content. External Flash players have no problem working offline but obviously won't load anything but SWFs and FLVs. Is there a way to get Flash to work in a browser while offline?
View 1 Replies
Aug 17, 2011
I'm building a site that needs to work both online (served in a browser using http://), and offline (served in a browser using file:///). The site is using basic HTML, but needs to be able to play FLV or MP4 videos. There are many video players that work online, but getting a player to work on the users machine is more problematic. Every one I have tried either doesn't work or shows a message about adding the flash movie to my trusted files in flash player.[code]Has anybody experienced a similar problem? Does anybody have a suggestion for alternatives that may work.
View 1 Replies
Jan 30, 2012
The user is downloading the .swf file (an e-brochure) from a link in an email. I'm trying to track the users interaction on the offline .swf. Is this possible?
View 1 Replies
Feb 14, 2012
I'm making a software using AIR, and I got the installer installer.exe, but when I'm going to install in the target pcs, It tells me "This application requires a version of adobe air which cannot be found .....", but I need that my installer setup everything that I need to run my app in these pcs that have no Internet connection.
View 2 Replies
Jun 10, 2010
Hi,
i am very new to actionscript,and i am trying to change language of text of label for online-offline button.actually for other label text i am able to change the language but for online and offline button it is getting difficult because it is depending upon network available.Also for the label for online-offline,we can't give separate property for online and offline.Only either online or only offline we can give.
Can you please find any solution for this?
My email id is subhajit.goswami@izmocars.com.........
Please post in this or you can contact me in this email id also.
Below i am giving the code i have written for online-offline.But that one is working only for online,not off line
<mx:Label text="{resourceManager.getString(GlobalConstants.R EADER_BUNDLE, 'online')}" styleName="tahomaPlain" fontSize="10"/>
View 0 Replies
Jun 10, 2010
I've used this website a lot over the past few weeks as a reference for my actionscript 2 questions. It's really been fantastic ď so first I would like to take a moment to appreciate the community and wealth of information on this site and forum.
I have a couple of methodology questions concerning an .fla file I'm working on. I made a flash gallery here. As you can see online the images fade in as they are loaded dynamically via the loadClip() method.I would prefer them to load more like this. Is it possible to load an image to a variable instead of a MovieClip that exists on stage?
In addition to this if you download the zip file with the flash file you'll notice that the position of the images and the text is more accurate than when viewed in a browser. I thought flash was a self-contained entity and that it would run identically on all platforms / browsers / online / offline / remotely / locally.
View 3 Replies
Dec 31, 2010
I'm trying to communicate with this php
[Code]....
I can't figure out why it won't tell me if Vinceguy1 is offline or not
View 3 Replies
Jan 6, 2010
I am looking into building an AIR application that will show positions of locations and associated details in layers over maps. The positions will be entered into the application as GPS coordinates. The users of this application will only need to look at one country and will not always have internet access. Is it possible to do this with Google maps?Is Google maps the best solution for this?Do you know of other packages that would offer similar functionality to Google maps in Flex/Flash?
View 1 Replies
Aug 7, 2008
We're using the script to have an online brochure, and now want to be able to put it on a CD for offline browsing as well.When it is viewed offline, an error message pops up and wants me to add the page/folder in here:Since this is a plugin script that doesn't have an fla file for me to edit, what are my options here? I've tried to decompile the swf file in order to make the changes, but that doesn't work (the script is fairly complex, so I didn't think it would decompile fully).
View 6 Replies
Dec 24, 2010
I have an SWF file that works great when I publish it or view it in the Flash Player. However, when I use Simulate Download, all the buttons' functionality gets messed up - for some reason, clicking them results in the playhead going to other frames than it's supposed to. I've tried uploading the file to my website and the buttons don't work well there either.
View 3 Replies
Dec 24, 2010
I have an SWF file that works great when I publish it or view it in the Flash Player. However, when I use Simulate Download, all the buttons' functionality gets messed up - for some reason, clicking them results in the playhead going to other frames than it's supposed to. I've tried uploading the file to my website and the buttons don't work well there either. Is there any reason for this to happen?
View 2 Replies
Mar 13, 2007
I am trying to create a 'Password' database with flash to push both to and from an external database, the only problem is that I do not want to have to run IIS or Apache or any other web server. Is there any way to read a non localhost/web based type database within flash? If so can someone point me to a tutorial or
at least in the right direction?
View 2 Replies
Oct 12, 2009
this is my first flash test and I have been stuck for weeks to solve this issue. I am currently with Mediatemple, standard gs plan, and I have three files that I wish to upload:
index.html (html file)
ProgBar.swf (Preloader)
Main.swf (External Swf that is being loaded)
If you open the html file locally on a computer, it works fine, however the problem arises when these files are uploaded to the internet,. It doesn't seem to work at all... Please help me figure out why. Thank you for your consideration.
View 2 Replies
Dec 4, 2009
it does of course save the flash/game cookies to the macromedia folder but, what if i want to reformat? how would i, on reinstall of windows reload my game progress? theres gotta be a way?
View 11 Replies
Oct 12, 2010
I've got Flash content that needs to run within a web page off a CD. It works fine if I change the security settings in the Flash Global Security settings screen but that can only be accessed online. So...an the security violation be overcome with a cross-domain XML on the local drive somehow?
View 2 Replies
Aug 15, 2011
I am currently using Flex (Flash Builder 4) and making web service connections to a Apache PHP Zend AMF server to retrieve data. This works great, but I am wondering what options are available for fault tolerance. I know I can probably set up a second server that the application would switch to in the event it is unable to reach the first server. I am also thinking about trying to give each individual machine some tolerance.
For example, if they at least had the ability to input data to the application, that would be a start. So if they click 'save' and it can not reach the server, it caches it or stores it to a local file until the server is back up. Though lack of being able to do data look-ups might be a big problem. Maybe there are already some libraries or something I can look at to do this?
View 1 Replies
Aug 9, 2010
I'm starting AS3 and I'm building a video project.
The objective is to have 2 different videos, which will intersect in a certain point.
When the 2nd video starts playing I want to show a subtitle for it. Here's the problem. When exporting the swf everything goes ok, but when I upload it the textField disappears.
I don't know what to do or think. It's just a textField (exported from library).
View 3 Replies
May 11, 2009
I used a UILoader to load slide images from a folder. It works off line but not online. Can you help me with this?
var imageNumber:Number = 1;
function checkNumber( ):void
{
next_btn.visible=true;
[code]....
View 2 Replies
Mar 11, 2005
I've recently sucessfully ported a PHP/MySQL driven search to an offline Flash and XML format. It works perfectly loading its results from a large selection of XML files.The problem I have lies with Msie under SP2. Since there is a html frame structure for the offline site the browser silently fails to show the Flash movie that loads the XML files from the hard drive and displays search results. Another movie is responsible for collecting the search query and sends it to the results movie through a localConnection. Msie under SP2 obviously needs to be configured to allow this Flash file to be loaded and to let it retreive its xml files. My question is, are there nicer ways to work around this problem other than asking the viewer to manually configure his/her Internet Explorer..
View 1 Replies
Sep 8, 2005
Ok, so here's my problem I've used the tutorial here: [URL] to create a preloader for my external images.. But i have a biiiiig problem The preloader work extra-fine with .jpegs from the [URL] but when i try to use the preloader for a file on my hdd.. and after i enable the Simulate Download feature it seems like thing go really crazy.. Because the trace actions say the jpg is loaded.. But in the main stage, it takes some time for the image to appear.. Dunno what this means, and i thought that some of you might know Here's the code
[Code]....
View 4 Replies
Sep 23, 2009
I'm a new Flash user, trying to build a fairly intricate website by newbie standards. I have a basic understanding of Actionscript and OOP, enough to build a fairly nice looking full-featured website. Most of my goals for the website have been met, including dynamic XML content, a dynamic navigation menu, dynamic screenshot galleries.My current nemesis is a flash video gallery. I'm using xml lists of video locations (different types of video, including flv, wmv, and avi), and I've tried both the stock CS4 video player component (FLVPlayback) and the ubiquitous ToobPlayer 1.0.
Here's the problem. When I compile the video and view it offline, with either player component, it works beautifully! Loads each video from the XML gallery and performs as requested. When I upload it to an FTP and run the website (in an html file) as an http:// link, the video player component is no longer visible and nothing playsIt's driving me ape! Do I need to include some .as files when I upload or something?
View 7 Replies
Jul 21, 2010
I'm having a bit of trouble with creating a download link. Basically on my flash website I have a PDF of my portfolio which is available to download, I don't want people to view it in the browser because I'd like to them to have it on their desktop so they can view it offline, etc.
So far I have:
pdfbtn_over.addEventListener(MouseEvent.CLICK,goPD F);
import flash.net.FileReference;
var myPDF = "[URL]";
var fileRef:FileReference = new FileReference();
function goPDF(e:MouseEvent):void{
fileRef.download(myPDF, 'OliRushworthPortfolio.pdf')
}
View 13 Replies
Oct 12, 2010
I'm creating a offline application that needs to save out XML file to the user's computer. I normally use Zinc to handle all saving, but I've just remembered that FP10 has FileReference, is there are way to invoke the save with out the dialog box displaying?
View 4 Replies
Mar 11, 2005
I've recently sucessfully ported a PHP/MySQL driven search to an offline Flash and XML format. It works perfectly loading its results from a large selection of XML files.
The problem I have lies with Msie under SP2. Since there is a html frame structure for the offline site the browser silently fails to show the Flash movie that loads the XML files from the hard drive and displays search results. Another movie is responsible for collecting the search query and sends it to the results movie through a localConnection.
Msie under SP2 obviously needs to be configured to allow this Flash file to be loaded and to let it retreive its xml files. My question is, are there nicer ways to work around this problem other than asking the viewer to manually configure his/her Internet Explorer...
View 1 Replies