Actionscript :: Determine If SWF File Is Been Played In The Standalone Flash Player Or Using A Browser Plugin?
Jun 7, 2010
Working with ActionScript 3.0, is there a way to determine if my SWF file is been played in the standalone Flash Player or using a browser plugin?
View 1 Replies
Similar Posts:
Mar 18, 2012
I have two swf's. One "show" of some sort, and one "menu" that acts as a loader for "shows". The "show" swf can run in its own respect, or by being loaded via the "menu".
Is there a way to determine, if the "show" is run stand-alone or as loaded into the "menu"?
One solution is to have the "menu's" Loader object set a variable on the loaded "show", like myLoader.content.thisIsFromMenu = true; and then checking in the "show", if such a variable exists and is true. BUT I was wondering, if there is any more generic way, that would not require for the "show" to know anything about the "menu" to determine, if it is loaded into a swf or played by itself?
View 2 Replies
Apr 9, 2008
[code]I open IMAGEURL.txt, which contains a variable named "img" with a value in it. I call that value and set it to myurl. Then, I load myurl's image into img_container.This works when I test the swf while flash open, but not while I test in the standalone swf thats exported on my computer, or on a browser. Something about internet settings came up as well, til I published to "allow network only".
View 3 Replies
May 8, 2006
How can I install flash player plugin (version 8) in browser without downloading setup or redirecting to macromedia site if flash plugin is not available in browser.
View 1 Replies
Mar 24, 2011
I am trying to publish the video of a webcam to a Flash Media Server 2.My code is working in the Flash standalone player (tested with 10.0 and 10.2), but not in the browser plugin (tested with 10.2, both in IE and Opera.The connection to my FMS is working successfully, but after the publish, nothing happens, I never get the NetStream.Publish.Start Event. On the server I can see the connection in the management console, even the stream in the streams tab. But I cannot connect to that strea.[code]
View 1 Replies
Jun 25, 2006
I'm trying to figure out how to get the name of the current file being played using a flash 8 video player (custom). Here's the code im using :
[Code].....
How does flash know which video is currently being played? Basically I want to set it up so that there is a 'activeVideo' varible that updates based on what video is currently being played.
View 1 Replies
Nov 4, 2011
Flash Player 11 project doesn't run in standalone player, is it posible to do this?
View 1 Replies
Dec 18, 2009
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
View 1 Replies
Apr 2, 2009
What should I use to test my swf movies on another (not my development machine) ?When I open them with IE or firefox the Flash active x player doesnt have the zoom 100% option so I end up with distorted (resized to window) swf is there a standalone flash player for that kind of purposes or something?
View 1 Replies
Dec 14, 2010
I have made a swf file that requires Flash Player 10.1 to play back properly. I have successfully updated to Flash Player 10.1 in my browsers, and if I open this swf file in a browser it functions correctly.
However, I want to be able to play it back in the standalone Flash Player that came with Flash CS4 Professional, and it was not updated from 10.0 to 10.1 when I updated to 10.1 for my browsers. How can I update this software to a newer version?
View 2 Replies
Jun 23, 2010
var request:URLRequest = new URLRequest("[URL]");
navigateToURL(request, "_blank");
This works fine on web based swfs, it fails on flash player.
View 1 Replies
Oct 31, 2010
Is it possible to pass flashvars to standalone flash player via the commandline? Among other reasons, I want to run some unit tests from the command line.
View 2 Replies
May 11, 2009
I have a problem with the standalone Linux Flash player. The thing is that when I have a video playing in background and over it I make some tweens, it flickers all the time and it is an annoying flicker. It happens only on Linux Flash Player (it works on Windows Flash Player). The flicker appears when I have a video on background, only when the tween is made and on the portion of the screen where the tween is made. I have Ubuntu 9.04 installed and the latest version of standalone Flash Player (from 2/24/09). I've tried this on several LCD and on all it does the same. My video card has the Intel G31 Express Chipset (the drivers for the video card are the one from Ubuntu).
View 1 Replies
May 20, 2011
Is it possible to be sure that the swf is being shown to the user? That is, it's not in a different tab of the browser or the user hasn't scrolled the window yet to see the swf.Recently, I was using the commonly-used script checking out the current fps of the swf. I was listening to the ENTER_FRAME event and counting them, so every second I was able to get the fps. And it turned out, that when the swf was hidden in a non-active tab, the fps was like 1 or 2 in some browsers (e.g. Firefox). Now this is some way to determine the "activity", but is there a simpler solution, like a dedicated variable?
View 7 Replies
Jan 10, 2008
we are developing a small application wih Flash CS3 which will be released as a standalone Flash Projector.exe.
We want to have a link to our website in the flash application that should open our webpage in the Default Browser of the System.
We tried:
PHP Code:
navigateToURL(new URLRequest("http://www.google.com"),"_blank");
But when I click on that link in our standalone.exe, on my system "ultraedit" gets opened and it tries to open a path on the local system and the webpage adress after that. "C:ProjectsInflationhttp:\www.google.de".
View 6 Replies
May 11, 2009
I have a problem with the standalone Linux Flash player. The thing is that when I have a video playing in background and over it I make some tweens, it flickers all the time and it is an annoying flicker. It happens only on Linux Flash Player (it works on Windows Flash Player). The flicker appears when I have a video on background, only when the tween is made and on the portion of the screen where the tween is made. I have Ubuntu 9.04 installed and the latest version of standalone Flash Player (from 2/24/09). I've tried this on several LCD and on all it does the same. My video card has the Intel G31 Express Chipset (the drivers for the video card are the one from Ubuntu).
View 2 Replies
Apr 27, 2009
I'm trying to run a Flex AS project, without the HTML wrapper, so just in the standalone player but I'm getting an error:
Flex Builder cannot locate the required version of Flash Player
It's looking for it in the 'Flex Builder 3 plug in' directory - which I've uninstalled in preference to the stand alone Flex Builder - how do I change the path to the player?
View 2 Replies
Jun 30, 2010
How to show internet explorer in flash standalone player?
View 4 Replies
Oct 8, 2010
How can i design a 3D carousel for video/images to run on standalone Flash Player on my Desktop? I am using Flash Builder 4 to develop this as a mxml application, but found that it doesn't allow access to local filesystem. My specific requirement is that I want it running on the local computer and in SWF files viewed in a user's browser. Is there a sample code to do what I am trying to do? This application has states and transition, like one state for a video gallery and one state for a image gallery
View 1 Replies
Aug 31, 2010
I'm trying to find a way to have a standalone debug player on Ubuntu Lucid 64 bit. It seems that Adobe doesn't distribute such thing, however, it may be possible to rung 32 bit version, or is it?
View 0 Replies
Oct 23, 2011
I have recently installed FP 11.However I contsanly get message to install FP 11 when oppening one of my swf files emebeded in a html page.
It is ridiculous, I installed FP 11 and still get message to install it
View 1 Replies
Mar 22, 2010
I want to create a plugin like Flash. What programming language do I need??
View 1 Replies
Mar 2, 2009
I am using a flash website template (basically stripped of 95% of the code they provided, and just using their graphics) from [URL] I needed to add streaming video, and I elected to use PHP streaming found on www.flashcomguru.com; as modified by lance of courierwebcasts [URL].
The problem I have is that when I use the scrubber.swf to play a video, updating variables and addresses as appropriate, it works fine. However when I take it and recreate every element of the player in a movie on the timeline of my template site, everything but the time counter works fine. It plays fine, it scrubs fine, etc.; it just always displays 00:00/00:00. I am guessing it has to do with variable definition or somethingbut it is beyond me... any help?
Here is just the bit that I am pretty sure is the issue;
code: ns["onMetaData"] = function (obj) {
duration = obj.duration;
durationMinute = Math.floor(duration/60);
[code].....
View 3 Replies
Apr 16, 2011
Flash Player 10.2.153.1and Flash Player 10.2.159.1 are crashing my standalone application. Later with version 10.1 the application run ok, never crashes but was taking more than 90% CPU. The new Flash Player solve the problem of resources, and drop down CPU to 30%, but the application crashes always after a while, unespectly, or if I open the window of other application.
In the other hand when I disable the harware acceleration at the swf settings, the application goes crazy and start to make rapid flashes, and frame rate goes down to 8. [URL]. Right click on the Flash logo, Settings,then UNcheck the hardware acceleration in Display Settings.)
I'm on a Mac Mini Core 2 Duo with Mac OS X 10.6.7 (the last Snow Leopard these days). The graphical card is Nvidia GeForce 9400M.
I did test the application at a Mac Book Pro core i5, Mac OS X 10.6.7, graphica card Nvidia GeForce GT 330M and the application is more stable but finally crashes too.
Finally if I export my application with GPU Hardware acceleration at Publish Settings, my application crashes almost inmediatly after I open it in each of the computers.
My guess is that the new Flash Version is using my graphical proccesor in a corrupted way.
View 6 Replies
Oct 12, 2011
What is the mp3 playing engine does flash player web plugin is using ?
View 1 Replies
Mar 30, 2011
I wasn't able to add all the code before. Essentially after a movie plays I want the swf to reset to it's first original loading frame.
function stopVideo() {
showPlayBtn(true);
Tweener.addTween(videocontrols.stopBtn, {
_alpha: 100, time: 4.000000E-001, transition: "easeOutCubic"});
myStream.stop();
[Code] .....
View 1 Replies
Nov 25, 2011
When I am debugging broken code, after a while the browser announces that the Flash plugin has crashed, and I can't continue debugging my code. Can I prevent the browser from killing Flash?
View 3 Replies
Sep 30, 2010
i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need of browser) or any other way that i can embed my Silverlight application inside Flash.
View 1 Replies
Jan 12, 2011
i have my project developed in Flex3, http:[url]....i am facing is, copying(Ctrl + C) the content from screen textarea when the swf is running in chrome browser.suppose, i have to add some text on the stage, so the text area which is opened on the left side, i can't copy the text written in text area, although by right clicking in text area, and selcting the copy option, thats working, but my client has asked for copying the content by using Ctrl + c, although it's working very fine with other browsers,
only chrome is not supporting copying(Ctrl + c), although selecting all(Ctrl + A ) is working.
View 2 Replies
Jun 9, 2010
I recently started using Mac OS X for a flex/actionscript project and having a problem with flash player debugger plugin for the browsers:
OSX: 10.6.3 Browsers I tried: firefox, safari and chrome Flashplayer debug "Flash Player 10 Plugin content debugger (Intel-based Macs)
Whenever I open a page containing a flash content, my browser crashes due to flash player plugin's crash.
I checked the version of my flash player debug plugin with [URL]
and as the version checker is written in flash, my browser crashes a few seconds later.
I am using version 10,0,42,2 (debug edition: yes)
This is what I see in the crash log:
Process: WebKitPluginHost [338]
Path: /System/Library/Frameworks/WebKit.framework/WebKitPluginHost.app/Contents/MacOS/WebKitPluginHost
[Code].....
View 1 Replies