Pass Flashvars To Standalone Flash Player?
Oct 31, 2010Is 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 RepliesIs 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 RepliesFlash Player 11 project doesn't run in standalone player, is it posible to do this?
View 1 RepliesWhat 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 RepliesI 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?
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 RepliesI 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 RepliesI'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?
I wrote a simple flash loader that loads external swf and then calls javascript function to show div containing flash. I need to pass flashvars to loaded swf. I have read that I just need to use query string when loading to pass variables: externalswf.swf?var1=val1&var2=val2
BUT there is a problem. External swf can be very big and I'd like it to be cached by flash engine. It seems it's impossible in case of url parameters ?var1=&var2=& because those vars often change.Is there other ways to pass vars into inner swf. (I cannot change inner swf and I know only one thing - it use vars passed via flashvars mechanism
How to show internet explorer in flash standalone player?
View 4 RepliesHow 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 RepliesI'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[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 RepliesI am trying to take a PHP variable and pass it along to Flash via Flash vars. My end goal is to pass a string formatted as XML to Flash, but because I'm struggling I've stripped everything down to the basics. I'm just trying to pass a simple PHP string variable to Flash via FlashVars with SWFObject but something isn't right. The page won't load when I try to pass the variable inside of php tags, but it will load if I just pass a hard coded string. The basic structure of my page is that I have some PHP declared at the top like so:[code]How do I pass a PHP variable using SWFObject and FlashVars?
View 2 RepliesI 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].....
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.
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 RepliesUnable to pass flashvars to flex generated swf
import com.rubenswieringa.interactivemindmap.*;
private var fullscreenListenerAdded:Boolean = false;
private function onCreationComplete ():void {
[code]......
I'm trying to do a Christmas Calendar in Flash. I'm using buttons for the 24 days, that I want to activate depending on the date. Since I can't count on clientcomputers having the correct date set I want to use the date from the server and pass it into Flash. Now I found out on the Macromedia website, that you can use FlashVars as a ActiveX Parameter to pass values into Flash. So far so good. How do i address the variable in Flash then? Using a syntax like this [code]...
View 8 RepliesI am asking this question as a complete Flash novice, so please do point out if I'm doing anything wrong here (I suspect I am). I have a Flash MPU size animation with a link in it which has been created by using a full sized transparent layer as a button (is that the correct way) with the following ActionScript:
[Code]...
I'm (slowly) creating a product configurator application and want to add in a mini application which can determine branding on a product (baseball caps).
What Im looking to be able to do is for the customer to be able to upload their own logo - and it be displayed within the application - which they can then print off and send to us as an order form for pricing etc.
Normally this would be fine - as I could load the image onto a server - however this application is going to be distributed via CD (part of a Product Launch Kit) and so will be completely standalone.
Is there any way that this can be achieved? I imagine that I wouldnt be able to get the application to save the image to a temp folder on the customers computer - but is there any other way?
I am loading a child swf inside a parent swf, and need to pass variables from the parent into the child. I don't have control over the source code of the child, so I can't have the child pull data from the parent; the data needs to be passed to the child swf in a standard fashion, so that the child works just as if it were embedded in a page using flashvars.I've tried passing variables to the child as parameters on the URL:
var ldr:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("http://mysite.com/child.swf?var1=aaa&var2=bbb"); ldr.load(urlReq); addChild(ldr);
This seems to work ok, but apparently Internet Explorer doesn't allow URLs longer than 2083 characters [URL]. I need to pass a fairly long string of parameters to the child which will likely exceed 2083 characters. So I'm trying to avoid passing the parameters directly on the URL, and wondering if there is any other way to populate the child swf with the variables that it will expect. Is there any other way of passing flashvars to a swf-in-swf?
I'm having problems with text fields in full screen. I'm aware of the security restriction but Adobe says text fields are disabled only when running in a browser, text fields should be OK when in standalone player or AIR. I'm exporting a .exe file and text fields become immediately disabled when I go to Full Screen. I can't develop the thing in AIR (to use FULL_SCREEN_INTERACTIVE ) due to company restrictions on installing software. So the standalone exe is the right solution to me, this should be working, but it isn't.
View 4 RepliesI am trying to use FlashVars to pass a parameter that will determine which graphic to load into my movie. The test actionscript code uses a dynamic text field called dText and is coded as follows (testing the FlashVars by passing them to a dynamic text field):
function loaderComplete(myEvent:Event){
var flashVars=this.loaderInfo.parameters;
dText.text=flashVars.userName; }
this.loaderInfo.addEventListener(Event.COMPLETE, loaderComplete);
In my html code I am adding:
<PARAM NAME=FlashVars VALUE="userName=SamG" />
FlashVars="userName=SamG" // added to the embed tag
I have a A.swf which loads B.swf onto a movieclip and needs to pass it some FlashVars. When loading B.swf with html, I can pass FlashVars fine. When passing from A.swf, it gets a
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:
The code in A.swf is
var request:URLRequest = new URLRequest ("B.swf");
var variables : URLVariables = new URLVariables();
variables.xml = "test.xml";
[code]...
In B.swf, it is checking the Flashvars like so. It works fine from html side
this.loaderInfo.parameters.xml
I am really new at Flash. So I am trying to make a flash container that display Vimeo videos. Here is my actionscript.
var videoContainer:Sprite = new Sprite();
var moogaloop:Sprite; // the video player
var moogaplayer:*; // reference to the moogaloop api
var player_width :int = stage.stageWidth;
var player_height:int = stage.stageHeight;
[Code] .....
And I want to set the vidId by URL. For example: [URL]. And it doesn't work. It works fine if I set the video id in open ()
I am trying to get the facebook username set to a flashvars and then pass it to a swf, like so:
var flashvars = {
AppID: "my_id",
Name: "" };
function init() {
[Code] .....
but the Name flashvars is showing up blank, is there another way to do this?
As a PHP junior encountering Flex for the first time this scratches my brain for days. The flashvar contains the source of the video I want to play in the Flex video component. The HTML of the player looks like:
function createPlayer(videoSource){
document.writeln("<div id="player">");
document.writeln("<object width="489" height="414" FlashVars=""+videoSource+"">");
document.writeln("<param name="player" value="bin-debug/FlexPlayer.swf">");
document.writeln("<embed src="bin-debug/FlexPlayer.swf" name="player" width="489" height="414" FlashVars=""+videoSource+"">");
document.writeln("</embed>");
document.writeln("</object>");
document.writeln("</div>");
}
I tried to call the FlashVars in the FlexPlayer.mxml but it's not working. What I have to apply in the source in the mxml to access the FlashVars.
<s:VideoPlayer id="Player" left="0" top="0" width="497" height="414" skinClass="MySkin" source="FlashVars"/></s:Group>
I'm having trouble getting flashvars to pass text to a swf through swfobject. Form code for user input and submit:
<form method="GET" action="man.html">
<p align="left">Please enter your First Name: <input type="text" name="FirstName" size="20" value="Guest User">
<br><br /><input type="submit" value="Submit">
<input type="reset" value="Reset"></p></form>
[Code] .....
I'm currently trying to modify The Piecemaker so that I can set the default css, image, and xml paths to full length URLs. Fixing this is a cinch if I just edit the actionscript in the provided FLA:
Code:
stage.scaleMode = StageScaleMode.NO_SCALE;
piecemaker.xmlSource = "piecemakerXML.xml";
[code].....
So i created a custom flash video player using some of lee's code, I'm having trouble figuring out how to pass in my video.flv using flashvars. [code]...
View 2 Replies