ActionScript 3.0 :: F4v Has An Invalid File Structure On Firefox
Jun 1, 2011
i'm trying to play external videos using netStream.
My script work fine with .flv files, but with .f4v it doesn't work with Firefox (i've tried versions 3.6 and 4): I get NetStream.Play.FileStructureInvalid
F4v files was exported using Media Encoder from Premiere.
Here's a part of my code:
ncConnection = new NetConnection(); ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); ncConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
[Code].....
View 10 Replies
Similar Posts:
Aug 26, 2009
I got a problem with adobe flash cs4 : I can't launch it normaly and its says that a fatal error has occured.. I really don't know what I must do.. Please, help me.... I've just lost like 3 or 4 files of adobe by trying to reinstall it.
View 3 Replies
Sep 23, 2011
I am trying to run the following function where car is a movieclip:
[Code]....
View 1 Replies
Jan 23, 2011
I seem to run into compile issues in Flash Builder when I import 3rd-party libraries at the wrong level in the directory structure. For example, sometimes I'll import a library one level too deep into its directory tree, and the package explorer ends up excluding the prefix root-level package, usually "com." or "net.". Even though the content of the source itself doesn't change, this will cause compile errors.
Thus: Is it a 1) convention or 2) language requirement that a class's package structure (e.g., "foo.bar.Class") must match its path location (e.g., foo/bar/Class.as)?
If it's a language requirement, why is it a requirement? Wouldn't that overdetermine the package structure, since it is already specified in the source code and quite happily consuming the first three to eight columns of each line? If it's not a language requirement, are my compile errors just a result of Flash Builder enforcing the convention?
View 1 Replies
Dec 16, 2009
I am getting runtime error #2136 'The SWF file at %1 contains invalid data' (I know, %1 is a reference to the file producing the error) All I did was change some button graphics to movie clip types and have solved all the type mismatch and other syntax errors. This is a file I have been working on and posting about. This is getting annoying. What would be causing this type of error??
View 8 Replies
Apr 26, 2010
I have two classes. One is my Document Class, and another extends my Document Class. It doesn't work, and gives me this error "Error #2136: The SWF file MyGame.swf contains invalid data."
View 4 Replies
Nov 15, 2011
I am trying to user Ravis lib for data visualization and the structure of the XML file that Ravis uses is different that what we use in our company. These are as follows:Ravis XML structure:
<Family>
<Node id="1" name="Father" desc="Head of the family" class="HOF"/>
<Node id="2" name="Mother" desc="Wife of Father" class="firstLady"/>
[code].....
View 2 Replies
Nov 2, 2009
I have had to adjust the structure in a XML file and so am trying to adjust my AS accordingly so that it can read it.. but i'm having difficulty as my XML knowledge is only basic.
My new XML structure is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<music>
<song>
<thumbPath>thumbs/image1.jpg</thumbPath>
[Code].....
View 1 Replies
Nov 21, 2009
I have a large project, and I need to have a complex folder structure separating all my classes, shared libraries, main swf's etc... I understand how to navigate downwards into a file structure for example: Classes.Buttons.ButtonMain How do I navigate upwards though? My shared library is in a seperate folder, so it needs to navigate up one folder, and over to the Classes folder to reference all the classes.
View 0 Replies
Dec 19, 2011
I have an actionscript file,it has a package name,it locate C:demo directory,like follows:
package demo{
import flash.display.*;
public class ABC extends Sprite{[code]............
Then I compile above code like following command,but it raise following error:
C:>mxmlc demoABC.as
Loading configuration file C:sdkframeworksflex-config.xml
C:demoABC.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'demo'.Where is wrong above command?
View 1 Replies
Jan 4, 2011
I am trying to import a video in to flash. I have converted it to a flv and used the stream from flash media server option and selected a standard play and stop bar. I have imported it in and it works find when you just select the individual swf that it loads into. The problem im having is that when I go to it through the home page, all the page loads apart from the video. I've tried moving it around, moving where all the assets to the video are etc. I know the file structure is important to this working. I have a main folder called interactive / and in that have a FLA and a SWF folder and the swf and fla home page. Currently I have the the video swf in the swf folder with the flv and the play and stop swf.
View 7 Replies
Nov 18, 2011
im trying to write an array into a XML file/structure for saving. Using the create element function kept saying something like function is not a value, so im using the XML syntax for the nodes;
Array is 1 dimensional loadedlevelrows[5];
[levelnr,tiletype,tileX,tileY,tilenr];
like: 1,1,11,1,2
1,2,14,7,3
[Code]...
View 1 Replies
Mar 26, 2011
I received a Flex project but don't know how to open it in Flash builder. It doesn't contain a project.mxml or .actionScriptProperties, .flexProperties and .project files. the file structure looks like this:
(rootFolder)
-(com)
subfoldrestructure containing only folders and .as files
-(src)
-(_embed)
[Code]...
how do I make a compilable Flex project out of this?
View 1 Replies
Sep 16, 2008
I'm using the code below to allow a user to download a file.The problem I am having is that, if the file is located at/images/english/and I say I want to download it to myDocuments instead of having an images saved in MyDocuments /MyDocuments/1.gif.it creates the same folder structure as the file that was downloaded and saves it here:/MyDocuments/images/english/1.jpg.This isn't the whole code, but I think I included all the stuff relating to downloading files
View 1 Replies
Oct 26, 2004
I downloaded the Sothink SWF Decompiler, which allows you to open and view the structure of a .swf file. (the unregistered version limits the amount of actionscript you can view). It even can resave as a .fla file. Does it concern anyone that when you host your Flash code and applictions, it is basically open sourced, whether you want it to be or not?
View 7 Replies
Dec 22, 2010
I built a little game in the spare time.I've a DocumentClass and four other classes. Once I realized I could not restart the game when finished playing, I thought I should create a new instance of the main class (DocumentClass) to launch it again.The problem is that, by doing so, I get Error #2136,"The SWF file contains invalid data". What happens?
View 1 Replies
Sep 17, 2010
Firefox is shrinking my swf header. It works fine in ie, safari, chrome, but not in firefox.
Is it in the flash file or in the html?
View 3 Replies
Feb 23, 2010
have this flash xml menu that loads external swf files like this:
Code:
<item title="ABOUT"content_path="http://mysite.com/folder1/folder2/folder3/about.swf"target=""mouse_rollover_color="0xFFFFFF" mouse_rollout_color="0xDDDDDD" />
and I have this swf file with cms that I'd like for this menu to load. Currently the swf file load external text using this code:
Code:
if (contenturl1 ne "") {
loadVariablesNum(contenturl1 + "/" + userid + "/content.txt", 0);[code].....
but when the xml menu loads this swf file its structure loads but not its data.I tried using :
Code:
this._lockroot = true;
in the loading swf main time line but it did not work.I should also mention that the dynamic data that loads onto the swf that is to be loaded by the menu, resides not in it main time line but 4 movie clips deep .I don't know if that makes a difference or not.
View 1 Replies
Feb 8, 2011
On the homepage [URL] I had a previously installed .swf that works fine on IE, Firefox etc...I added a new .swf "testimonials" on the page on right hand side but it will only work in IE?
[Code]...
View 1 Replies
Jul 23, 2010
I have updated the flash file on my page.In IE its showing the latest one.But in firefox the previous file only reflecting...Any other plugins for java, flash should I download for firefox?
View 4 Replies
Feb 22, 2012
The player is meant to retrieve the mp3 file from the server through the path address that is stored in MySQL. It does this in Explorer but not in Firefox. By the way the swf file of the player and the database is stored on the same server so there should be no problem with that.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="165" height="37" id="niftyPlayer1" align="">
[Code].....
View 2 Replies
Feb 6, 2010
Firefox throws the flash file out of it's container? The page behaves correctly in IE8 (32bit). I posted in DW forums who suggested it was a flash issue and not DW. [URL]
View 10 Replies
May 11, 2011
I'm trying to perform a file upload using a FileReference from a Flex app running in Firefox 4. However when I attempt to call the upload() method, the Filereference throws an IOError with the following Error #2038: File I/O Error. URL: [URL] If I don't explicitly add a listener for the IOErrorEvent, then I get a Flash player popup stating SecurityError: Error #2000: No active security context.
The request doens't even hit my server (I can verify by placing breakpoints in the Java code and watching the HTTP Requests that go out using HTTPFox), so it seems to me that this is a client side issue (right?). I've done some searching for the problem on google and the suggestions included wrapping the upload() call in a timeout/callLater, and attempting to attach the sessionId to the request (since Firefox creates a new thread for the upload and doesn't attach the proper cookies). Neither of these approaches has worked for me. I don't experience this problem with Internet Explorer, only Firefox.
[Code]...
View 1 Replies
Aug 17, 2011
I'm attempting to bring a swf file down to Firefox to cache but not actually execute. The swf comes from a different domain.
The following approach works in Chrome but not Firefox:
new Image().src = "www.other.com/foo.swf";
Firefox uses a separate cache for images.
This approach works in IE, but not Firefox:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="www.other.com/foo.swf" declare="1"></object>
The "declare" tells the browser to cache but not execute it. However, Firefox complains that the request is cross-domain.
View 1 Replies
Jul 21, 2009
works perfect on my macbook pro (safari, firefox, and opera) but when I view the site on Vmare Fusion Windows XP and use IE and FireFox the pages don't load... I don't know what to make of this. Has anyone hear or seen anything like this happen before? BTW the website was created in Adobe Flash CS4/ AS 3.0 and published using Flash Player 10.
View 2 Replies
Jun 19, 2009
I have a flash that I took out of a template to customize. (I'm using CS4). Same size, hell mostly the same file with small changes. None of the changes were to the file height or width.I have looked all over the code, checked all my spacing/padding/etc, and went line by line through the code and it's identical...I preview it in IE and it's fine. Everything matches. I preview it in FF, and there is about a 10-15px gap b/t the header and the body. I am at the end of my rope! The rest of the site is just about ready to go live, and I can't do that until I figure this out.
View 3 Replies
Oct 11, 2009
I have create a simple button in flash and run the firefox browser using TAB Key selected the button yellow color.
View 2 Replies
Nov 16, 2009
I have a basic site for an old age home. Recently I decided to put a Flash Movie on the Homepage but even though all files are loaded and links correct it won't show in either IE or Firefox...
The movie should be loading here (...bellvilleseniorsentrum.com/engels/home.html)
There is a white space where the movie should be loading... But it doesn't...
I've done lots of sites with the same kind of movies and they all work fine... But this ons just doesn't work. It views fine when I test it on my computer but as soon as I load it - nothing...
View 1 Replies
Feb 5, 2010
I have a simple xml file that I'm using to load images.[code]I'm using the name of the base tag as the name of the nav to load the images. So from the xml above the nav button would be "travel & lifestyle".I know flash removes the whitespace but what if I want whitespace there.The xml won't load and I get an error loading the xml file into Firefox"XML Parsing Error: not well-formed"How can I format the xml to keep the space.
View 2 Replies
Nov 23, 2009
I have made a presentation with voice over, in which the images and audio files are loaded externelly from the folder where the swf was placed. the voice over files are in MP3 format, loaded with the script follows
mysound = new Sound();
mysound.loadSound("voice1.mp3");
mysound.start(0,0);
It works well in IE but not in Firefox.
View 1 Replies