ActionScript 3.0 :: AMF Connection Working On Browser Not In Stand Alone Player?
Mar 11, 2011
I'm trying to communicate my SWF file with PHP using Zend_Amf. I compile the flash side using Flex SDK 4.Whenever I try to run the swf using the stand alone player (the projector), I always get a NetConnection.Call.BadVersion event. However, when running exactly the same file thorught the player of the browser (even not thoguht a server, just using the file:// kind of address), everything works OK, so I know my code is not completely wrong. However, I added the folder where my swf file is to the global trusted folder; and actually made sure that Security.sandboxType returns "localTrusted".
View 1 Replies
Similar Posts:
Jul 23, 2009
I am making a flash site and there is a main SWF which loads and unloads all other SWFs into and from it. For example, there are links to pages Home, Biography, Gallery, etc. When you click the Gallery link, gallery.swf loads and it is added to the main SWF.
So here's my problem: when I test my movie, everything works perfectly, but when I open the SWF that was created by testing movie in a stand-alone Flash Player or a browser, those SWF's sometimes don't load. If I click Biography link, for example, it usually doesn't load biography.swf but if I click Gallery link, which may or may not load gallery.swf, and then Biography link, there's a greater chance that biography.swf will be loaded.
View 2 Replies
Feb 2, 2010
Can a SWF file, viewed locally in a folder on my PC, make a call to a function in a JavaScript file?I am facing a project where the technical architect is prescribing that all content exist in an all-in-one, giant JavaScript file. With my usual external content experience working with XML, I have always been able to load in XML into the SWF directly (for example, while viewing the SWF in the Flash authoring environment - a very speedy way to view your SWF), as well as when the SWF is actually viewed in the website. However, with the JavaScript approach, my only experience tells me that the SWF has to be embedded in HTML before it has access to the JS functions.
View 7 Replies
Jan 13, 2008
Does Adobe offer a flash stand-alone player that does not require a browser to play swf files ?
View 1 Replies
Apr 15, 2007
anyone know where i can get the release stand-alone flash player 9?
I am running Windows, and have the debug stand-alon flash player 9, but I want the release version to be used for this as it is faster at rendering and calculations. I just wanted it so I could replace my release stand-alone flash player 8 with it, so flash will then use this for me. I looked all over the internetz, and i only found the debug player.
View 4 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
Mar 27, 2012
After hitting next on this animation you can see there appears to be blank areas on the animation. If you mouse over them you will see buttons appear which is their "over state." When I publish the animation and preview it in Adobe Flash CS5.5 all the buttons are visible and work correctly. It is only in the brower (chrome, firefox, safari) with up to date Flash Player that is is not working. This is happening in a number of animations I created originally in CS4 last year, and am updating them as CS5.5 using AS3.
View 5 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
Sep 20, 2010
I am developing a touch screen application in flash right now. There is a video and when I try to play it, it will take up the whole screen on the stand alone player, but what I want is the video to play on its exact size not taking up the full screen.
View 8 Replies
May 26, 2010
I would like to open a separate swf file from with in flash, but by default, it opens the swf in a browser. I would like this file to open in a stand alone player not in the browser.How can I achive this? Right now I'm using the getURL() action. Is there a separate function for opening a file at a specified filepath?
View 1 Replies
Aug 9, 2011
I am using flash socket to connect to ftp and upload files. Its working fine in flash IDE but it give security error in browser. I have loaded policy file by ecurity.loadpolicyFile() also i have specified Security.allowDomain("*") but still it doesnt work. I have placed my crossdomain.xml at root level on ftp.My crossdomain.xml looks like this..
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
[code].....
View 9 Replies
Aug 9, 2011
I am using flash socket to connect to ftp and upload files. Its working fine in flash IDE but it give security error in browser. I have loaded policy file by Security.loadpolicyFile() also i have specified Security.allowDomain("*") but still it doesnt work. I have placed my crossdomain.xml at root level on ftp.
My crossdomain.xml looks like this..
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
[code]...
Yet there is security error...
View 2 Replies
Nov 8, 2011
I've read about WebSockets but they don't seem to be pure "sockets", because there is an application layer protocol over them. "ws:"Is there any way of doing a pure socket connection from a web browser, to enliven webpages?Here are my random stabs in the darkApplets sockets provided by Java (need java installed)Flash sockets provided by Flash (need flash installed)But about HTML5, Why are they called WebSockets if they aren't Sockets?
View 3 Replies
Mar 22, 2010
I have an mp3 player(AS3) loads in external mp3. I am trying to attach the flash local connection script to the mp3 script so that I can have the mp3 pop up in a smaller browser and it be controlled by the main homepage.
here is an example, [URL] select track 4, you will see it starts playing but also another small window pops up but its behind the main browser. this is then controlled with a 'Stop' and 'Play' function on the main home page.
thats what I am trying to create:
ok;
I have an example working for the flash local connection where you can drag a ball and it also moves in the smaller pop up window, see here: [URL]
So I have that working and I have the mp3 working, but I need to put both togther and cross over the flash local connection script and incorporate into the mp3 script.
What is the best way for me to send script information, I don't want to flood the thread with AS. You can download the flash lconnection files and the mp3 player from here!
[URL]
View 7 Replies
Mar 2, 2012
Flash cS 5.5 / Win 7. Inserting video into movieclip both with 'import video' wizard and via component. FLV that plays fine on a number of different servers. On opening (after gathering metadata) the message 'The video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found.' Firstly I am treating this as a progressive download, not streaming. Second this plays fine locally, it's only when I upload to a server it fails.
The FLV is in a folder directly below the SWF. Result is same with FLV in same location as SWF. MIME type set to vide/x-flv although I've also set it to application/octet-stream. This is a very basic requirement to call the video directly from Flash, the default parameters of the component are adequate and work locally. However the video does not play. Is it fair to assume this functionality simply does not work correctly within Flash CS5.5? I'm unclear as to what >less< I could be doing with this file.
View 27 Replies
Feb 1, 2007
Anybody have (or know a source for) an actionscript that will do all of the following:
1. Detect the broadband connection speed of a site visitor.
2. Detect the version of Flash Player they have.
3. Use above information to steer the visitor (seamlessly and unbeknownst to them) to the one of several versions (on a streaming server) of an flv'd video that is the most appropriate for their connection speed/player version combo?
Also, what range of kbps versions would cover *most* situations (e.g., 100, 300, & 450?)
View 2 Replies
Mar 22, 2010
I need to put togther regarding flash local connection? I have an mp3 player(AS3) loads in external mp3. I am trying to attach the flash local connection script to the mp3 script so that I can have the mp3 pop up in a smaller browser and it be controlled by the main homepage.
[Code]...
View 1 Replies
Mar 15, 2010
Code:
var theXML:XML = new XML();
theXML.ignoreWhite = true;
theXML.onLoad = function() {
[Code].....
theList is a listBox. So it should show up in the list box. Instead, it's just coming up blank and loading nothing.
View 10 Replies
Oct 14, 2010
I have developed a player in AS3. It is working if i provide the IP of the website. But, it is not working when i provide the full domain name. Even, i provide the crossdomain.xml for global access.
View 1 Replies
Sep 13, 2011
Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.
Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";
[code]....
Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.
View 1 Replies
Dec 24, 2011
I am trying to and I have the following message error:"the video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found."
View 1 Replies
Mar 16, 2010
we have a two way webcam + mic connection set up using FMIS. we use to add a function that kills the connection?
View 2 Replies
Feb 22, 2011
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to
the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
View 3 Replies
Sep 24, 2010
I need to be able to indentify if my swf external app is Flash Player or HTML document. My script is something like this:
if (running on html)
link = "photo1.jpg?n="+rnd; // no cache
else
link = "photo1.jpg";
View 1 Replies
Nov 8, 2011
Can I create a flash file which will be used as web-browser. So basically, Flash will behave like Internet Explorer or Firefox, perhaps like loading a page inside iframe.
View 2 Replies
Apr 5, 2011
I've created a Flash file that reads from several different xml files and displays them when requested. When I run the Flash player, (by pressing Command-Space within Flash), it all works flawlessly. But when I open it within a browser, only one of the xml files loads, the other two just spin away on the preloader.I have another Flash file that is doing the same thing. A click on a scrolling new list should take you to another web page. In Flash Player it works fine, but from a Browser nothing happens
View 3 Replies
Apr 8, 2011
So I recently got a new laptop. It came installed with Windows 7 64-bit and Internet Explorer 8. However, after installing the current Flash Player update, IE started freezing. I would open certain pages, and the browser would become unresponsive, leading me to end the program. I would try it again, and still the same result. The culprits were always the same, hotmail and tvshowsondvd, among others. Internet Explorer 9 was released a few days later, so I uninstalled IE8 and installed IE9.
The browser worked fine for a few days, but then it started to do it all over again, with the same web pages! Then I noticed something, all these pages were heavy in flash objects. So I tried uninstalling Flash Player 10 and guess what, it started working! No more problems loading pages. I can no longer view flash objects, especially on YouTube. I haven't had the problem since, but I need Flash Player installed.
View 1 Replies
Feb 14, 2012
which way to go to produce a swf that would function like a video player but with pictures?I would like to be able to load images and then use its sliders to 1) browse through images sequentially (similar to browsing through individual video frames on a timeline) and 2) beable to zoom without losing the ability to drag the picture in the view pane (ScrollPane doesn't work as when I change the size of its contents through myscrollpane.content.width, I can't drag it).
View 1 Replies
Jun 9, 2011
I have a swf file which loads the YouTube API player at 640px by 400px:
function onPlayerReady(event:Event):void {
trace("player ready:", Object(event).data);
player = loader.content;
player.cueVideoById( t***Path , "0" , "medium");
player.setSize(640 , 360 );
[Code]...
View 1 Replies
Sep 15, 2010
For some reason, I can get this file to play in the web browser, but I can not get it to play in my flash player.
File:
http:[url]......
The file is a file that uses cURL, to load the song from the saved url. I am thinking that it is a cURL thing, because when displayed in my google browser, the load bar doesn't load on my page, but on the link below it does display.I use other songs in the same flash player by just linking to a different id number and those songs play fine in the player. Why does this song do this, and others don't?
File on the web: http:[url].....
View 0 Replies