Editing dynamic text in swf - actionscript-3

I have a task to edit text in an animation, I only got files from website with no codes. The animation is the same but is in 3 files - in .mov, .flv, and .swf. I was trying to decompile swf with various programmes, but there is only one field named text and is closed for editing (dynamic text read-only: 1). I changed that to 0 and exported into .fla, but cannot open in it in Adobe Flash.
Is there any way how to do it or am I doomed to failure?
Thanks for any help.

Related

Save all windows as session to resume later

When I do Project > Save Project As... ST writes a project and workspace file, but only for the active window. Attempting to restore from that project file will only restore that one window. How can I save a project with all windows?
Sublime Text 3 has workspaces. I believe 2 does as well, just click and drag your file onto the window and it should pop up.
So make a file you want to be your 'workspace' and click and drag it onto sublime text. When you done just save your work and exit. When you want to reopen it just drag that file onto the sublime text editor and it should all appear.
^ Is what i personally do and it works well.
Here is a link to sublime text 3 though in case you're interested. http://www.sublimetext.com/3

Flash - AS3 - TextInput - Slow

I am using Adobe Flash CS6 to create a form that the user fills out. There are 3 text input fields an a submit button. For the text input I am using the TextInput component (fl.controls.TextInput). When the flash first loads the background, labels, and button display and about a second later the 3 text input fields show up. Also when typing into the text fields there is a delay where I can type in something like "92683" and it seems to wait till I am done typing before the characters appear all at once. Any ideas on what could be causing these problems?
I have 2 layers. 1 layer has the button, textinput and labels. The other layer is the background that rotates between 3 background images every 10 seconds.
Try to use compressed bitmap images as background (don't use vectors).
You can compress here: File -> Publish Settings -> JPEG Quality.
If you are creating this in air for mobile phones then,
be sure you set render mode to GPU (Application Settings -> General -> Render Mode : GPU)
Hope this helps!

Losing focus on TLF Text

I have embedded my SWF file to an HTML. I am using a TLF text in my AS3 application for the chatbox, but the problem is that the application loses its focus on TLF text while I switch to other pages, and switch back on my application. Please note that I do not face this problem while I run the SWF file using flash player on my desktop.
I have tried to use following code to re-focus on the TLF text but it does not work on my case.
addEventListener(Event.ACTIVATE, infocus);
function infocus(e:Event):void {
myTLF.textFlow.interactionManager = new EditManager();
myTLF.textFlow.interactionManager.selectRange(myTLF.text.length, myTLF.text.length);
myTLF.textFlow.interactionManager.setFocus();
}
My question is how we can resolve this? because it really bothers people since they have to click on the chatbox every times that they switch to other pages.
There are few ways to do so. You can manually put focus on your desired objects either by:
listening to MouseEvent.ROLL_OVER on your stage make a handler that will return the focus to your text field
if you want to make it to return focus on switch back to the page, you'll need to write a JS script that will tell SWF via ExternalInterface to put focus on your text field.

html5 save edited content as image or pdf

(I'm new to this)
I want to create a html5 page/application with text boxes to be filled out.
My objective is that once the user has completed filling out the empty fields they can hit one button on the webpage to save the content (including all pictures, texts, and the fields they completed) all as either an image or even pdf for printing later.
Also note I'm doing this for mobile platforms, so I want the user to be able to store on their device after editing from their device. So options such html to pdf converter sites aren't usable.
Anyway this possible? Thanks.

youtube as3 api closed captioning error

I am importing youtube video into my flash project but when I click the CC button I get an error image like this one
I have not seen anything in the AS3 youtube api for any special parameters needed to use closed captioning. Also if I copy and paste the url it calls it works fine in a web browser.
any idea what I might be missing ?
This might help you: http://code.google.com/apis/youtube/player_parameters.html#cc_load_policy
cc_load_policy
Values: 1. Default is based on user preference. Setting to 1 will cause closed captions to be shown by default, even if the user has turned captions off.
I was building for flash 9 instead of flash 10