Debug jsfl in ExtendScript for Flash CS5 - flash-cs5

This is a total noob question, but I'm trying to figure out how I can debug some JSFL that I created, stepping through it as the code runs on a Flash CS5 file. The DEBUG menu dropdown in ExtendScript has "run" grayed out...
If I double click the file, it runs in Flash and the output shows in the Output tab. But I want to step through my code in debug mode and watch the values of variables as it executes against the currently open Flash file.
Is this possible? Is there an alternative way of doing this?
Thanks in advance!

If u wanna edit JSFL file by Flash, u need open it by File > Open, not by dbl click.
For "debuging" i suggest to use fl.trace("some text in quotes " + orScriptVars)

Related

how i can change the default icon in the left of the window in Mac OS?

Now I want to design a simple game by using python, the step I want to do is to add an icon on the left of the window.
However, when I type
game_window.iconbitmap('favicon.ico')
game_window.mainloop()
the system just tell me Document Drag Error.
I am sure I save favicon and the both in the desktop and both of the path is correct.
I search this question in the internet but all of them are using window os.
If your icon is in the same folder as your file, the script will surely work...
I think that you're getting the error because you didn't save the file you're working on for the first time.
Try the following:
Save your file in the same folder another time (if you've already done it).
If it doesn't work, then write the full path of the icon

Cannot open an excel file for which I clicked view > hide on mac. All the other files open just fine

I cannot open my excel file, for which I clicked view > checked "hide" when I had the file open previously.
As soon i did that, the file stopped displaying. Every time I click the file, Excel software starts running, so I don't think there is anything wrong with the software itself, just a problem with this specific file. All the other excel files would open when I click them, except this one.
I am using a macboook pro.
Could anyone please help me how to undo the action I did? Thank you.
The view-hide literally hides the file from being seen when opened and I didn't know that....

Double clicking .txt files causes CMD to startup

I think I accidentally set .txt files to open with command prompt when double clicking them.
However I cannot revert this and cause .txt files to open with Notepad++ or notepad using conventional methods do you have any tips on how to fix this?
Right clicking the text file, and choosing notepad++ from the default program menu only leads to noticing that the Always use this program check-box being disabled (grayed out).

Sublime Text Side Bar issue

first time using Sublime Text 2 and I dont have the side bar where you can upload the files that you plan on working with... is there something I need to do to access it? Do I absolutley need that bar to make a website? I want to use it because that is how I was taught and I don't really know any other way. Thanks in advance!
You can open the sidebar using command+k, and then command-b on a mac, or ctrl+k then ctrl+b on a pc.
"unofficial sublimetext docs"

Shortcut for reload jscript file

I am using notepad++ for jscript file editing and TestComplete for automation testing which uses the JScript files, but every time i exit and start the TestComplete whenever i change anything in Jscript file.
is there any short-cut-Key to reload without closing the TestComplete.
So, you are creating a script extension. Thank you for clarification. I have checked the Tools | Customize Keyboard... dialog and there is no a possibility to assign a shortcut to the Reload Script Extensions action. So, you can do this only by manually clicking the Reload button in the Script Extensions dialog. The Alt-F-E shortcut just opens this dialog (File | Install Script Extensions...).
http://www.philnicholas.com/2009/05/11/reloading-your-javascript-without-reloading-your-page/
This page explains what you're looking for, I think. All you need to do is change the event to when ur shortcut key is pressed.

Resources