I have a reproducible error: I am being forced to fix corrupted flash files that give the "Flash can not parse this document" error. But shortly after I fix the problem, the files are re-corrupted.
Here is how the problem is reproduced: when I update a custom component that is used in other symbols in the library. When a new version of a custom component symbol added to the library, replacing an older version, the symbols that contained the old symbol are corrupted in the XML. This is tedious and time consuming to work around.
I have an FLA which CS5 has apparently corrupted on a save... (When you load up the FLA in CS5, it now fails and sends "Flash can not parse this document" to the output window.Unfortunately I only found the corrupted nature of this file AFTER I had conducted my regular routine of backing up my files - which means the backed up file is ALSO corrupt. I'm shooting in the dark here, but is there any way that the FLA can be recovered? Desperate as this is a project I have worked the last month on.
I saved my work and a backup. This morning I got the dreadful message "failed to open document" followed by the path to the file. The output panel gave me this message: The following JavaScript error(s) occurred:
In file "/Users/lucilarios/Library/Application Support/Adobe/Flash CS5.5/en_US/Configuration/Javascript/ObjectFindAndSelect.jsfl": Cannot find file /Users/lucilarios/Desktop/Trabajo_Macondo3/ProjectAlgebra09/Tutorials Algebra/Integers/LawsOfAddition/NewProject/AssocLawAdd.fla.
The info on the file size shows 0 bites. Both the file and its backup were corrupted.Are there compatibility issues betweenAdobe CS5.5 Programs and Mac OX Lion? Lion has crashed my computer several times and other programs like Photoshop and Adobe Bridge have also misbehaved.
I am trying to return results from my SQL database, using PHP to convert it into JSON, which is then read by Flex. Here is the parse error I receive -
JSONParseError: Unexpected < encountered at com.adobe.serialization.json::JSONTokenizer/parseError()[/Users/mesh/src/as3corelib/src/com/adobe/serialization/json/JSONTokenizer.as:579] at com.adobe.serialization.json::JSONTokenizer/getNextToken()[/Users/mesh/src/as3corelib/src/com/adobe/serialization/json/JSONTokenizer.as:168] at com.adobe.serialization.json::JSONDecoder/nextToken()[/Users/mesh/src/as3corelib/src/com/adobe/serialization/json/JSONDecoder.as:83] [Code] .....
I got a little class and all works fine. Then I add it in Document Class and puff, Error 1034 happens.
Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@2be9dba1 to fl.text.TCMText. at flash.display::Sprite/constructChildren() at flash.display::Sprite() at flash.display::MovieClip()
Recently, whenever I open up the program I get an XML parse error in the output window that reads: *** XML Parsing Errors ***Line 4157: The name attribute was not found on the string element <string playername="" tiptext="Specifies that the gradient use the reflect sprea... Line 4164: The tipText attribute was not found on the string element <string playername="" ti`text="Lets the user drag the specified sprite." This is not specific to any .fla file, but seems to be related to Flash itself. The program seems to work fine otherwise. Can anyone shed some light on this?
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.
I recently made a flash document with animations and some AS at 1600 pixels wide. It turns out that my web developer is having trouble using the file and would like it cut down to 1200 pixels wide. I can make the document 1200 wide, but then everything is off-center. Is there any way that I can crop it to 1200 my taking 200 pixels off of each side instead of just 400 off of one side? If not is there an easier way to just select every layer and tween at one and move them over
question 1:I know I can use:var string = FLfile.read( fileURL);to get the content of a text file, but is there a way to read this text file line by linesuch as:var string1=fileReadLine( fileURL);var string2=fileReadLine( fileURL);question 2:Is there a way to parser(or tokenize) the above string?
I am running flash cs5.5 and attempting to use the JSON calls that are in flash player 11. I patched my install so that I could select flash 11 as the target. When I run in a browser, everything is fine. When I publish to a macos projector, the JSON pieces do not work.
Is there any way to make it work?
Here is my code:
private static function on_complete(e : Event):void { trace ("Http on_complete!");
[Code]....
This works as expected in the browser, however in the projector it never gets beyond the ob=JSON.parse call. I can tell where it gets by uncommenting the amount=xxx lines
I cant tell what it is doing because as far as I know the debugger in cs5.5 is flash 10, so it doesnt work for debugging. I am wondering if whatever it uses to cram into a projector file is running flash player 10 as well?
i'm making an "EBook" for my GCE in applied ICT and i want to use a Flash handler to view a PDF document. So far i've converted the PDF file to images and Imported them (on the fly encorperating XML). while this was an alright way to work the images become pixelated when zoomed in/out so i was wondering if anyone has done something like this before and if so how they went about it?
I have a question about a library one would create inside a Flash document. I have a bunch of pieces of graphics objects inside a library for a FLA file. I then drag these pieces onto stage to build a more complex object. I then select all those pieces and group them and convert this new object into a movie clip. From there I move it into the library for that FLA file. I notice there is both a graphic for this object plus the movie clip for that object. To me these are 2 separate objects. So when I delete the graphic of the object, it also deletes the movie clip I created of the object.
1. I am creating a Flash banner to go at the top of my website that is going to animate the name for the site one letter at a time. I have this part of the banner completed as a movie symbol that I have added to my main timeline. What I was wonder is if it is possible to set a timer or some type of pause for how long I want it to wait before looping again? I dont want to stop the looping all together but would like to maybe make it pause for 5 minutes or so before starting animation again. Keep in mind it has to be done within the movie symbol becuase I have other animation going on the main timeline that will just continuously loop.
2. Is it possible to set a flash swf to the background of a html document? The reason I ask is again with my banner I am creating I have a menu bar that is about 3/4 of the ways down the height of banner. I want me primary animation to be able to move behind this menu bar. I realise I can make the menu straight in flash adding my links directly to it, but I would perfer to handle that in straight html or whatever if possible.
I have upgraded my CS4 to CS5 on MAC OSX and i'm having problems saving new and existing fla files. It doesnt always do it but it's very anoying when you have done some work and are unable to save it.
I get this message:
unable to save document as (file name)
please try saving to a different filename or location.
even if i try to save as to a different location i get the same message, this ONLY happens in flash CS5 and does not do it on any other application or even flash CS4. To put it bluntly i am absolutely furious with this and when you pay this amount of money should not get this hassle for such a simple action.
I have tried phoneing the adobe support line and it's a joke, you can't even understand the operator to even get anywhere and i just gave up having to repeat myself and asking them to repeat themselves.
I would be grateful if someone out there knows an answer to this or have a contact email for adobe support that i can email them direct. As a flash developer it's critical i can get on with my work without worrying if my work will even save.
UPDATE: I can save files in CS5 as CS4 documents but not as CS5, this is so annoying.
Is there a simple way to scale my entire movie? I've tried doing it with the "modify -> scale" and dragging, but that only scales the selected symbol. I also tried going to the last frame, selecting all and scaling again, but then I have stuff in the middle of the movie that doesn't seem to scale correctly.
Here is my idea:Create a new document with 4 keyframes in the main timeline.The first one will accommodate the title and two "play" buttons (each allowing to play a game). The second one will contain the first game. The third one will contain the second game. The last keyframe will contain the scoresEach game contains a movieclip that is being controlled by a main class that I wrote using as3.0. For example imagine that one of the games is a simple rectangle that the user moves with the arrow keys. The motion code is inside the main document class. The second game is something similar
I have been working on a flash website inside flash CS5 here at school. I have been working for almost 3 hours with no problems and I have made sure to save from time to time. I have saved with no problems. My problem came when I clicked on test movie. As the movie was loading to test the SWF of the website flash crashed and closed out on me. I had just saved before testing so I could have the latest saved. I double click on my flash document to re-open flash and I get a message that says "Failed to open document."
Right after the message it lists the folder where my file is located. I still cannot get past this message and my file is a website I have been working on for over 3 hours now. I needed this for school and I guess if I can't fix it I will have to start from scratch although I had so much work completed. I even tried to open flash first and then go to file open but that did nothing except give me the same error message. Then I looked under recent documents and clicked on the file document and got the same thing.
I'm bringing in production art into Flash, and it's shifting getting lighter. I've read all about the issue, how it's photoshop's color profiles, etc. Problem is, converting the images to working RGB isn't helping. I've tried converting them (originally they were in Adobe 1998 RGB) , creating a new document with the correct profile, but nothing works. I'm saving them out as PNG files. They look great in a browser even. Just washed out in Flash. Anything else I can try?
how to increase the work area of a flash document? Not the stage but the empty space around the stage. [URL] It seems to be limited to about 4,000 pixels wide regardless of the zoom level. This is a big problem for me as I'm working with a movie clip with a width of 8000 pixels and if I want to add text to part of the clip that's at 6,000 pixels in, I can't see it because its outside the work area. I can't shift the clip to the left to access the part on the right because if I do, the text area doesn't move with it. Is there any way to link objects together? When I select multiple items on the stage and Right Click, there's an option called "Break Apart" but I don't see one to join them or link them.
have doing my project in flash cs5.5. But then suddenly my file cannot open it.It appear like this "an error occurred opening file C:....menu.fla" and also "Flash cannot parse this document." "The following JavaScript error(s) occurred:".
I am not an expert in flash, but i do work with AS and tweak Flash projects , though not having deep expertise in it. Currently i need to revamp a flash website done by one another guy, and the code base given to me, upon execution is throwing the following error."--- TypeError: Error #1009: Cannot access a property or method of a null objectreference.atNewSite_fla::MainTimeline/__setProp_ContactOutP1_ContactOut_Contents_ 0() at NewSite_fla::MainTimeline/frame1() --"The structure of the project is like, it has theifferent sections split into different movie clips. There is no single main timeline, but click actions on different areas of seperate movie clips will take them between oneanother.All the AS logic of event handling are written inline in FLA , no seperate Document class exists.
Preloader Movie clip is the first one getting loaded. As i understood the error is getting thrown initially itself, and it is not happening due to any Action script logic written inline, because it is throwing error even before hitting the first inline AS code.I am not able to figure Out what exactly it causing the problem, or where to resolve it. I setup the stuff online, for reference if anybody want to take a look at it, and here is the link.You need to have flash debugger turned ON in your browser, if need to see the exception getting triggered.
Is there a way of getting the current active document path from the flash application by AppleScript? The only command available in the Adobe Flash dictionary for applescript is "do script", can I call a script to get the path of active document?