ActionScript 2.0 :: Detect Whether SWF File Is Launched Locally Or Through A HTTP Protocol?

Dec 30, 2006

Is it possible to detect whether an SWF file is launched locally or through a HTTP protocol?

View 4 Replies


Similar Posts:


ActionScript 2.0 :: [FMX] HTTP Is Not A Registered Protocol?

Sep 12, 2005

Anyone ever received this message after using the "on (release)" and "getURL" scripts for a button hyperlink? You would think I had a typo somewhere, but I don't see one. Every button hyperlink produces this message then goes to the intended page after clicking "OK".

View 11 Replies

Media Server :: HTML 5 And Use Of HTTP Protocol

May 23, 2011

In our company we upgraded to fms 4 and installed the apache that comes bundle up with the installation. We had it configure and now we can play videos in html 5 by using the http protocol. The question I have is, can we use https protocol instead of rtmps? I've been doing a lot of research and I found documentation that says to put a minus sign in front of port 443 (-443) in the fms.ini file in the ADAPTOR.HOSTPORT line but it also says that with this configuration port 443 will only receive rtmps connections. My next step is to put the minus sign in front of the port number and restart the server and just try to establish connection using https to see if i works.

View 1 Replies

ActionScript 2.0 :: FileReference.download Without HTTP Protocol?

Jan 10, 2010

I'm trying to create a simple flash app that runs on the CD. I need to let user save some files from the CD to their local.

This script works:
ActionScript Code:
import flash.net.FileReference;
var listener:Object = new Object();
listener.onComplete = function(file:FileReference) {

[Code]...

View 0 Replies

Flash - Create A Custom HTTP Protocol In Delphi?

Dec 16, 2009

I build a project using Flash and Delphi. In Flash i need communication with delphi. Current i use ExternalInterface and FSCommand. Now i need Flash communication with Delphi via HTTP but it need open a custom port on Delphi and it can prevent by user's firewall. I see a product called F-IN-BOX it can implement HTTP link like [URL]

View 3 Replies

Media Server :: Publish Live Stream To FMS On HTTP Protocol?

Mar 26, 2012

I want to use customised encoder to publish live steams to a FMS4.5 server?Is it possible to connect encoder and FMS4.5 server on HTTP protocol?i read in other articles FMLE can connect to FMS on RTMP protocol.

View 4 Replies

ActionScript 2.0 :: Detect Web Protocol?

Sep 6, 2005

I'm working on a site where I have a flash animated logo in the header of all pages that links to the home page of the site. Sometimes that logo shows up on SSL pages. But when you link back to the home page, it needs to be non-SSL. But we don't want to always use an absolute URL because that makes testing in our local environment tricky.

View 6 Replies

ActionScript 3.0 :: "Error #2039: Invalid Remote URL Protocol" With Http:// Url?

Jan 2, 2011

I am kind of frustrated, as I am trying to have a little flash downloader download a file. However, I keep getting:

Code:
Error: Error #2039: Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS.

[code].....

View 2 Replies

ActionScript 2.0 :: When Click On A Thumbnail, A PDF File Is Launched?

Mar 13, 2005

I've tried applying Ilyas' infinite menu to the Senocular's XML portfolio. However, the movement looks bad--you can see where the thumbs stop and begin. I was wondering how this could be fixed??

Also, would it be possible that when you click on a thumbnail, a PDF file is launched? How could I do this from the XML file?

I'm trying to create a continuous scrolling horizontal menu. The menu would contain pictures of news articles and when you click on the picture, you could read the article in the PDF!

Since each article is pretty long, like news clippings, I don't think having this info in a flash pop-up box would work?

View 14 Replies

Flash :: Does ExternalInterface Work On The File: Protocol

Mar 9, 2011

Can anyone confirm that ExternalInterface works on the file: protocol, or point to some docs that say that it will not?

View 3 Replies

Linux :: Can't Pass Parameters To Flash Using 'file://' Protocol?

Sep 27, 2011

system infoflash player version: 10_1_102_65OS: linux debian, 6.0.2web browser: Mozilla Iceweasel 3.5.16problem descriptionI have a flash file that uses parameters to show output on the screen. unfortunately i don't have sources and can't modify/review it.shows correct flash in the browser.but when i try to load flash from fileflash can't read passed parameter and shows invalid outputit's really strange. because when i downgraded flash plugin (from 10_1_102_65 to 9) both protocols works! That is something occurred in the flash player above 9.unfortunately i can't use Flash Player 9 in my production environment so i should resolve the issue with Flash Player 10.

View 2 Replies

ActionScript 2.0 :: Save Scores In A Text File Or Xml File Locally?

Feb 28, 2003

Is it possible to save scores in a text file or xml file locally? Im not creating an online application but rather an application for personal use! I don't want to use cookies since they can be cleared by mistake! It would be really good if it was possible to save the score to an external file!

View 2 Replies

Ajax :: Detect If HTTP Request Is From Browser / Flex Asynchronous Request?

Jun 1, 2010

When Flex application make an asynchronus HTTP request, does it add a special header to the request, like some JavaScript framework does? Something that indicates whether this request is an AJAX call/not.I just want my server side code to return different response format, depending on whether the request is made from browser/flex.

View 1 Replies

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

ActionScript 2.0 :: Load An Xml File From Via Http Into Flash 8 File?

Dec 2, 2009

I'm trying to load an xml file from via http into my flash 8 file. Locally it works fine but when on the server it fails. I assume this has to do the flash security sandbox. How do I get around this. I own the servers so is there some sort of fix that I upload to allow the swf to receive the data?

View 1 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

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 3.0 :: File 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]

View 2 Replies

Swf File Won't Show Up Online But Works Locally?

Oct 16, 2009

i have a flash (swf) file
 
i embedded it in an html page
 
the location is right
 
it works locally when i preview it in a browser

as soon as i upload it - it doesn't show up

here's the page: [URL]
 
here's the location of the swf file: [URL]

i've even tried relative vs. absolute links and nothing. i've tried firefox and safari. nothing.
 
i'm guessing this is some dumb simple thing, and hopefully it took you longer to read this than it will to type the answer.

i am embarrassed that i am not getting this but hey, it needs to be fixed and i'm sick of looking at it and trying to figure it out.

View 2 Replies

Xml :: Flash As3 Open A File Locally (with FlashPunk)

May 8, 2011

Okay, so at the moment I am making a game in as3 with the FlashPunk framework. I have managed to set up ogmo editor to work with it, and the results have been good! I intend to send the ogmo project to some friends, so that they can make some levels for my game themselves. But I have run into a problem. I wanted my friends to be able to test the levels they make, so I set about trying to find a simple open file dialog solution, Sp that they can select the generated XML file (.oel), and then load it in to the actual game.

View 1 Replies

ActionScript 3.0 :: Filereference To Save File Locally?

Jun 30, 2011

This code:

ActionScript Code:
import flash.events.Event;
var file:FileReference = new FileReference();
 saveBtn.addEventListener(MouseEvent.CLICK, onClick);[code]....

will save a text file to a location I choose, containing the text I wrote in the text field. But it prompts me for the location. Is there a way to save the text just locally next to the swf without the prompt?

View 3 Replies

Flash :: IDE - File Works Locally But Not On Other Computers

Jul 16, 2009

I don't know if anyone else has had this problem, but I've created a flash project that works fine on my computer locally. When I take it to another computer(I've tried 3-4), my keyboard events are not working. I used Actionscript 3 to create the file. I've checked to see that the other computers had the latest version of Flash player, but it's still not working on those computers. Does anyone know why my file may not be working? Is there a specific plugin/download I need to have to make my files work?

View 1 Replies

Professional :: SWF File Plays Fine Locally, But Not Online?

May 3, 2010

I have a very rudimentary Flash movie that I have created. Link here to a copy of the SWF file on my company's website:The movie appears to work all right in IE, but not in Firefox or Google Chrome.Here are the details:It's a leaderboard ad, and like I said, it's pretty basic. I have a simple motion tween, and then an incredibly looooooong series of nested movie clips that create the effect of a counter (like a rapidly rising jackpot).I'm not really hip with the intricacies of ActionScript, so I couldn't code something more elegant. The "counter" is supposed to represent an increasing amount of money that not using our services might cost a company.

Ones, tens, hundreds, thousands, and ten thousands use a simple repeating movie clip. hundred thousands use one that is 10x as long, and so on. I had to stop at 1 millions, as the # of frames in between numbers was prohibitively long.i.e. there are 10 frames in between numbers for the hundred thousands place in the movie, 100 frames for millions, and 1,000 frames for millions.but, like I said, I'm a beginner at ActionScript.Thinking the problem might be due to the incredibly long movie clips, I removed the animations from some of the higher numbers from my movie, and this did not appear to affect whether it plays in Firefox or Chrome.

View 10 Replies

ActionScript 2.0 :: Writing Form Data To A File Locally?

Aug 23, 2006

I've to make a form that's going to work on a local machine without internet during an event. I have a form i'm using for our website, but this one just sends emails.The data needs to be written to a file (Excel / XML ?) which we, after the event, tranfer to another computer and add the list of subscriptions in our company network.

View 1 Replies

ActionScript 3.0 :: Can't Load File From Server With URLrequest, But Works Locally

Dec 22, 2008

I have made a XMLloader with URLrequest, and it works locally by calling the file directly by its name ie. "myFile.swf". var presLoader:Loader = new Loader(); presLoader.load(new URLRequest("myFile.swf")); addChild(presLoader);

But when I uploaded the loader to the server, I have no file, only "URL not found"-error. So I found out that I should change to URL to "/Files/Images/subloader/myFile.swf" then it will load. But thats a real problem, because I have several loaders.

View 1 Replies

ActionScript 2.0 :: Opening And Saving A Text File In Flash Locally?

Aug 1, 2009

I'm simply trying to get Flash to display the first ten characters in a trace, but the results always come back undefined. Here is my code:

var lin = "";
var testfile = new File("test.txt");
testfile.open("text","read");
lin = testfile.read(10);
trace(lin);

The flash file is in the same directory as the text file.

View 1 Replies

ActionScript 3.0 :: Save A File Locally For Automated Code Generation?

Jan 19, 2011

It works by reading an existing Class file, parses it, generates an Interface-like .as file for it, and saves it locally, all from within FlexBuilder. It works perfectly but I'd like to improve it by having it automatically open, modify and save the files with only a few user clicks required.Currently I'm using FileFilter, but this requires that the programmer manualy select each file to parse, and then manually select where to save the output - it's tedious.Normally I'd simply use AIR, but because of my company's security policies I am not allowed to create my own AIR applications.

View 5 Replies

Php :: Multiple HTTP File Uploads?

Jan 6, 2012

I'm looking for a tool to facilitate mulitple webpage file uploads from a single file browse dialogue. I know this has been asked previously, but I can't find anything current.I'd like to check file size prior to upload, and I gather Flash is still the only way to do that cross-browser? Ideally, I'd like an upload progress metre.I'll be using Linux and Apache servers, but don't have access to install add-ons such as PHP APC. Again, I assume something flash-based is the only option there?

I've looked at SWFUpload, but that appears to be another of these projects where the developers have become quite zealous and turned a simple concept into a full suite of tools for the masses.It seems quite cumbersome and I don't think I want to use it for my purpose.I'd prefer not to have to write something from scratch for this.suggest a non-Flash alternative if there is one? I do need full cross-browser compatibility without too many layers of degradation, so anything HTML 5 probably isn't what I want.

View 1 Replies

Professional :: 6rounds: Developers API Launched?

Jun 23, 2010

We just launched our developers API and I'd like to give the official Flash community a small update about the API because it's hopefully interesting for you as professional Flash developers
 
6rounds is a flash based social entertainment platform which mixes webcam chats and interactive features with fun multi-player games and applications.  At the moment we are running the destination site 6rounds.com and providing the only Google Wave video chat extension. Furthermore, you will soon have the opportunity to embed your apps in a stand-alone widget, anywhere across the web, which will allow even faster distribution of your application. Besides that, we are going to release a Facebook application really soon!
 
Using our API, you can quickly and easily transform your existing applications into the video chat experience, or create new applications, both of which can leverage the platform's inherent ability to deploy gifts, effects, and background themes into the video chat environment.

[Code]...

View 2 Replies

Flex :: Center A Launched Window?

Jul 3, 2009

I am trying to center a launched window in flex, there is a NativeWindow.x and NativeWindow.y but flex uses the Window class which does not have these properties, so does anyone know how to center a window?

View 2 Replies







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