Flash CS3 debugger - how to use?
I'm used to the AS2 debugger... the CS3 one is not working
for me... when i choose Debug Movie, I see a "Debug Console" and a
"Variables" window, and the movie loads in the external Flash
Player... but nothing shows up in the windows and the only button
that works is the End Debug Session button (red X). What am I doing
wrong here?
Thanks,
SB
if you're wanting to look at the contents of variables,
unlike the AS2 debugger, the movie needs to be paused, for example
at a breakpoint. Once the movie's paused variables will appear in
the 'Variables' window.
Similar Messages
-
Flash CS3 Debugger works only sometimes
I have an ActionScript 3.0 Flash file (.FLA) that simply does
not seem to want to stop at any breakpoints or otherwise show up in
the debugger.
If I take the code on its one single layer of script, copy it
into a new AS3 Flash file, and debug it, the debugger works
correctly. However, even if I strip every single symbol and object
from the original file, and leave it with just trivial placeholder
code (attached), the file will not stop at a breakpoint or run any
of the other Flash CS3 debugger functions. Instead, I see the code
in the debugger, and the program running as if the debugger weren't
even present. Sometimes I get an X button on the debug console that
allows me to terminate the program, sometimes not even that.
The Output window shows the standard lines:
Attemping to launch and connect to Player using URL <path
to my SWF>
[SWF] <my SWF's location> - 792 bytes after
decompression
15 [ <--- result of the attached placeholder code ]
The Publish settings for the faulty document are - as far as
I can tell - identical to the new file:
Flash is the only format being exported
Version is set to Flash Player 9
Load order is Bottom up
AS version is 3.0 with all items checked, no export class,
and frame 1 export
Compress movie is checked
At some point I also checked Permit debugging, but it doesn't
seem to make any difference
All other options are default
I manually downloaded and installed the Debug version of
Flash Player 9.0.124.0 earlier, but since the "clean" file debugs
correctly, I don't think this is the problem.
I've also tried a number of other steps, including Save and
Compact and just about everything else I could think of.
I have several files like this in my project. Are they doomed
never to work with the debugger? Is something wrong with my Flash
installation?
Cheesy placeholder code attached below:if you're wanting to look at the contents of variables,
unlike the AS2 debugger, the movie needs to be paused, for example
at a breakpoint. Once the movie's paused variables will appear in
the 'Variables' window. -
Flash CS3 debugger window background color
Is there any way to get Flash CS3 to use the same background
color from your actionscript settings in the debugger? It's always
light gray--I like to use a black background for my actionscript,
but now I'm probably going to have to change to gray since it
appears the debugger ALWAYS uses a gray background regardless of
your settings? (My text is white and I can't see it against the
debugger background)
Is there any way to change this?if you're wanting to look at the contents of variables,
unlike the AS2 debugger, the movie needs to be paused, for example
at a breakpoint. Once the movie's paused variables will appear in
the 'Variables' window. -
Debugger - How to use it ?
I'm lost ...
I would know how to use the debugger in Oracle Forms 6i ...
Tx in advance for your help,
Xav.En fait, ce qui se passe, c'est que j'utilise un When Mouse click trigger pour ouvrir un nouveau formulaire. Dans ce nouveau formulaire, j'entre un numiro de dossier que je veux ricupirer dans mon form appelant.
Mon trigger ressemble a ca :
Open_form('D:\Forms\creer_dossier.fmx');
Go_block('dossier');
:dossier.ouverture := sysdate;
:dossier.num_dossier := :global.num_dossier;
La variable globale est celle que j'ai ricupirie ` la cloture de mon formulaire appeli.
Et donc, apparement, une fois que le formulaire a iti ouvert, il quite le trigger, sans effectuer les autres actions. Cela expliqerait pourquoi, lorsque je met mon break point sur l'affectation de ma variale, il ne s'arrete pas ..
Qu'en penses-tu ?
Xav.
As-tu une adresse email ou je peux te contacter ?
null -
Hi,
I try to debug some ITS transaction, I placed HTTP breakpoint, debugger shows in browser, but F5 and other debugger keys are not working, so how to use this web debugger?
Many thanks for answer!Hi Mahesh,
Just put a break point in your code, may be in the Wddoinit or you can put a break point at a place where you want to check for a specific variable or value, the same way as you do in General ABAP.
When you run the WD application and control comes to the break point you can automatically see the Debugger.
Regards,
Ismail. -
Flash CS3 Debugger not recognizing keyboard input
I am trying to debug a piece of code involving a keystroke.
While debugging, when I hit the key the first time, the breakpoint
is triggered. But after the breakpoint, the debugger simply ignores
any other keystrokes. I'm trying to see what happens when the key
is pressed a second time so you can see why this is frustrating me.
I'm running Flash CS3 on an intel iMac. The program is
written in AS3.
Is this a known issue? Are there any workarounds?
Thanks in advance!
Jeremybump
-
Flash CS4/AS3 - How to use a preloader with FLVs?
Somehow I've had a really hard time finding a straightforward forum answer or tutorial for this--maybe someone can help?
I have an SWF file that references/loads an external FLV file (www.44designs.com/promo_video.php), but since the FLV file is about 9MB and can take time to load on a slower connection, I think a preloader (something simple like "LOADING...100%") would be a good idea as the FLV loads.
Anyone have a simple way to do this?? I've had no success in finding what I need--just scripts for loading SWFs. You can see an example of this on www.44designs.com where a preloader script I've got seems to be referencing the SWF (thus loading almost immediately) instead of the much larger external FLV. Make sense? I'm not super AS3 savvy, but I can follow logic and cut and pasteGreat info, thanks for the post!
-
Can I use AS2 in Flash CS3 ?
Is it possible to use in Flash Cs3 the AS2 and not just AS3 ?
I am only trying to do a web link from a button to some web
site.....
I wrote
on (release) {
getURL ("
http://www.yahoo.com", "_blank");
and nothing happen....some women here asked same question a
month ago...people told her it is different from the AS2.....still
I cant used AS2 in falsh cs3 ?
or can I ?you can mix as1 and as2 in an swf created in flash cs3 or you
can use as3 in a swf created in flash cs3. but you cannot mix as3
with either of the other two languages.
use the publish settings to choose which language you want to
use in your swf. -
Flash CS3, Having Problems Creating Button Animation
I am relatively new to Flash CS3, and don't use action script... I am creating an animation with sound using the button graphic option so it is a clickable button. I have the animation finished, and the sound embeded, and everything is working great, except when I publish it, I have to click and hold over the graphic for the animation to happen... If I click and release, the animation and sound clips stop... What am I doing wrong and how on Earth can I fix it??? Thank you in advance for any suggestions!!
Yup, that is how it works. You can't control which state a button is in. So when you click on it, it will go to the down state and when you let go it will go back to over (or up if you release outside).
Not sure exactly what the "fix" is. It depends upon what you are trying to do. Generally you would need to use MovieClips instead of buttons with event handlers to tell you "button" what to do. Very few people I know actually use buttons. -
How to use virtual keyboard in flex application
hi..
i am using flash builder 4,
how to use virtual keyboard in flex?
if any one aware of this pls reply me.......
saran rhi,
how to code for these buttons "control,alt,delete,insert and spacebar".
can u help me how to program?
i have attached the mxml code with this,
virtualkeypad1.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
<fx:Script>
<![CDATA[
import flash.utils.getQualifiedSuperclassName;
import mx.events.FlexEvent;
private var inpText:String = 'inp1';
private var shiftState:Boolean = false;
private var capsState:Boolean = false;
protected function keyboard_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
if (shiftState == true) shift_clickHandler(null);
protected function caps_clickHandler(event:MouseEvent):void
capsState = !capsState;
if (capsState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function tab_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+" ";
protected function shift_clickHandler(event:MouseEvent):void
shiftState = !shiftState;
if (shiftState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function enter_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+"\n";
protected function backspace_clickHandler(event:MouseEvent):void
var tmpStr:String = this[inpText].text;
this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
protected function application1_creationCompleteHandler(event:FlexEvent):void
inp1.setFocus();
protected function focus_enterHandler(event:MouseEvent):void
inpText = event.currentTarget.id;
]]>
</fx:Script>
<s:states>
<s:State name="PRIMARY"/>
<s:State name="SHIFTED"/>
</s:states>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
<s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
<s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
<s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
<s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
<s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
<s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
<s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
<s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
<s:Button x="313" y="5" label="&" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
<s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
<s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
<s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
<s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
<s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
<s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
<s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
<s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
<s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
<s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
<s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
<s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
<s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
<s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
<s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
<s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
<s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
<s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
<s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
<s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
<s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
<s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
<s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
<s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
<s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
<s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
<s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
<s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
<s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
<s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
<s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
<s:Button x="525" y="91" label=""" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
<s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
<s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
<s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
<s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
<s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
<s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
<s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
<s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
<s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
<s:Button x="419" y="134" label="<" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
<s:Button x="463" y="134" label=">" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
<s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
<s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
</s:Group>
</s:Application>
thanks in advance,
saran r -
Trial download of Flash CS3 was not completed: does this mean I can't download it again?
A few weeks back I started to download the trial version of Flash CS3 (I am still using Flash 8, but have a CS3 file created elsewhere that I want to re-save as Flash 8). Unfortunately the internet link was broken when only about 80% had downloaded. Adobe has assumed I have the download - does this mean that I cannot try downloading it again? (When I attempt to do so there is a brief flurry of activity, then nothing happens.)
if you follow all 7 steps you can dl a trial here: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
and activate with your serial.
if you have a problem dl'g, you didn't follow all 7 steps. the most common error involves failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). so, your browser must also accept cookies to enable these downloads. -
Why can't a button have 'actions applied to it' in Flash CS3?
Why can't a button have 'actions applied to it' in Flash CS3?
I'm used to working with buttons in Flash MX and Flash 8 but
after creating a button in Flash CS3, I'm getting text that reads
'Current Selection Cannot Have Actions Applied To It' and so the
actions menus are greyed out.
What's the problem?There is nothing stopping you from producing files in the old
ways. Go to the publish settings and select to publish as AS2. You
can then use the techniques you are familiar with.
However as dzedward points out, Actionscript has come a long
way. The technique of putting the code directly on instances really
went out with Flash MX in 2001 and for a long time now that wasn't
the best way to do it. See this article by the very excellent David
Stiller about it:
http://www.quip.net/blog/2006/flash/museum-pieces-on-and-onclipevent
So even if you aren't ready to take the plunge into AS3, I
would recommend learning this style for all your AS2/1
needs. -
Can anyone tell me where a good tutorial might be on flash
components and how to use them.....specifically the scroll pane
component? Ive scanned some flash tutorial sites but havent really
found any that explain how to use the components flash comes with.
Thank you.Try this tutorial.
http://www.cbtcafe.com/flash/scrollpane/index.html -
How do I use a Flex swc in Flash CS3?
My engineering team has used Flex to create a nice little swc
for me to use inside of Flash CS3, but now I'm having trouble
finding any documentation on how to actually import it. Placing it
in the Components folder doesn't work, as it's not recognized by
the Components window (either as an AS2 or AS3 swc). Is it even
possible to use swcs from Flex in Flash? Thank you very much for
the help.
-- JeremyUse these links
Modular Applications
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f22.html
Creating Flex Libraries
http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d2 1-7fe6.html
-Pramod
http://www.flexmycode.com -
How to use Text Layout Framework in Flash CS3?
Hi,
I perferctly now how to get TLF to work in CS4.
As far as I know, the the base code is in AS3 so I should be able to locate the classes in CS3 and use it in Flash CS3.
I appreciate if there is anyone who can help me with this?I'm not that knowledgeable about Flash Pro, however, I'd be quite surprised if you could make this work. CS4 added Flash Player 10 support. That includes a compiler update for Vector - a new AS3 feature. Minimally you'll have to get Flash CS3 to generate FP10 level content and compile with the playerglobals.swc from FP10. If you can get that far than adding textLayout.swc to your project should be straightforward.
Maybe someone else has an idea.
Hope that helps,
Richard
Maybe you are looking for
-
Help please!! my itunes (windows) wont open when I click on the short cut or go into start and programs. it simply wont open. Someone recommended delelting and re downloading...but will I loose all my music????? Someone please help me!!! THANKS!
-
Slide Titles not showing up in TOC
Hello, I am building a project template and have placed a text placeholder in the spot where my slide titles would go. I then selected the system variable $$cpInfoCurrentSlideLabel$$ as the text thinking that it would then populate the "Label" for th
-
Time out functionality in Portal
Hi All, If my portal is inactive for some fixed time, the user should be logged off automatically and an information message should be displayed on the login page. How to achieve this ? Regards, Nikhil
-
Hello, I have running an ACE4710 with round 10 differnet Services what al needs stickyness because of the Apllication what is balanced. There are also different Sticky settings setup. Now in the last days I see the Sitcky Table much more growing tha
-
Upgrade line transfer question
My hubby and I have been using each others upgrades, last year I used his to get a Blackberry Curve (8330), he recently used mine to get himself a Rogue. His line now has the 1 yr upgrade and I want to get the Incredible. If I order it on his line wi