Flash CS3 w/ AS3 - Arrow key navagation help!

First, I'll appologize in advance for my lack of experience
in Flash. I've used the product for about 2 weeks now to put a
presentation together so my knowledge is still pretty thin.
Here's my problem:
I've created a Flash presentation that I hope to be able to
navigate using only the arrow keys and enter -- no other keys. The
reason being that this will be run using a remote control. The
navigation works fine, but I seem to need to hit the "tab" key in
order to first set keyboard focus on the first item on the stage. I
have to do this every time I jump to a new menu (new keyframe in
the timeline) and new button objects are displayed onscreen.
How can I set the keyboard focus on an item on the stage
without having to hit "tab"? I've tried stage.focus(),
button.setFocus(). I've tried playing with the FocusManager. So far
I've had no luck (I wish I had tracked everything I had tried so I
can list it).
I also tried creating a blank stage with three button
components. In that example, I simply could not use the keyboard at
all.
Any thoughts or help would be appreciated.

try stage.focus = mc
(where mc is the instance name of the first menu item)
Do you ever actually click on those item you are trying to
set focus too? If your nav is really all just arrows and enter then
I would think you should take a differnt approach...lots of ways
you could do it, such as setting up an array of values and having
the arrow keys move you through the array and enter would perform
it's action based on the current selection.

Similar Messages

  • Customizing DataGrid component in Flash CS3 using AS3

    Can anyone please explain how to customize the DataGrid
    component in Flash CS3 using AS3???
    How do you remove/change the grid lines for the rows and
    colums?
    How do you remove/change the border?
    My day has been lost searching for this answer. Flash
    Documentation is worthless and Google finds nothing with regards to
    AS3. ASDGRH.
    Thanks in advance,
    TedWeb

    I hope you've found a resolution to this by now, but I just noticed the discussion title when posting a captioning issue.
    In a nutshell, create a listener on your FLVPlayback module with a VideoEvent.SKIN_LOADED event. You'll also need to set the showCaptions in your FLVPlaybackCaptioning object to true. Apparently, if the captions are set to false when the player object loads the skin, the captions aren't recognized and your captions toggle will require an extra click to activate the captions.
    Here's the link to another discussion on the same topic with all of the details:
    http://kb2.adobe.com/cps/402/kb402452.html
    Also, have you had any issues with the caption button in the FLVPlayback skin not showing up? That's my current issue. Here's the discussion for it:
    http://forums.adobe.com/thread/796423?tstart=0

  • Setting the Down Arrow Key. Help Needed.

    Folks
    I am having a problem.
    I have a custom cell renderer which displays a list.
    I am setting the focus of this list to the 1st element.
    Now,when I press the down Arrow key,this doesnt seem to
    go down nor the focus is coming downwards.
    Have I overlooked anything? Can someone please help?
    class MyListCellRenderer extends JPanel implements ListCellRenderer{
       private JLabel indexLabel;
       private JLabel imageAndText;      
       public MyListCellRenderer(){
       indexLabel = new JLabel();
       imageAndText = new JLabel();
       setLayout(new FlowLayout(FlowLayout.LEFT,3,0));
       add(indexLabel);
       add(imageAndText);
       setOpaque(true);
    public Component getListCellRendererComponent(
           JList list, Object value,int index,
           boolean isSelected, boolean cellHasFocus) {
    // ** Get the Focus on the first Element.
    list.setSelectedIndex(0);
    list.grabFocus();
    setBackground(isSelected ? Color.red : Color.blue);
    final JList fJList = list;
    // ** Now press the Down Arrow
    final Action downAction = actionMap.get("selectNextRow");
         actionMap.put("selectNextRow", new AbstractAction() {
         public void actionPerformed(ActionEvent e) {
          if (fJList.getSelectedIndex() < fJList.getModel().getSize() - 1)
            downAction.actionPerformed(e);
         else{
            fJList.setSelectedIndex(0);
            fJList.ensureIndexIsVisible(0);

    see
    http://www.replacementlaptopkeys.com/macbook-key.html
    or similar  ebay etc
    Be a bit wary of Glue for obvious reasons

  • Flash CS3/CS4 (AS3) Components

    On the gskinner blog (
    http://www.gskinner.com/blog/archives/2007/05/variable_scroll.html)
    there is a posting about an update to the new components for Flash
    CS3/CS4 which would allow the components to be skinned easier (I
    think). Can from Adobe comment on why this update has not bee
    rolled into the Flash IDE itself?
    Thanks,
    Sean

    Problem is not in your windows 7 OS, since i was working CS4 and now i m working with CS5 in windows 7 only. And i feel more comfort with this new OS. May be you hardware configuration might not be support to new technology like windows 7 and Flash CS5. Beca it is need high hardward configuration

  • Flash CS3 running slow...please help

    Flash CS3 is running very poorly under leopard. I can't even scrub the timeline without having it lag. Is anyone else having the same issue? I'm worried because its one of my main apps that I use. Adobe says that it is fully compatible with Leopard but it doesn't appear that way to me. I haven't tried running it in Tiger yet. Do you think it would run better in Tiger? Does anyone have a solution?

    Go to adobe's web page and download and install the latest update.

  • How to consume Web  Services in flash CS3 in AS3?

    flash without WebServiceConnector in AS3, how this can be
    possible? Some Third Part component? or I will have to resign to me
    to use Microsoft ATLAS?
    returns
    Macromedia please!!!!!

    These might be good places for you to start.
    [User|http://help.sap.com/saphelp_nw04s/helpdata/en/80/45da9619d24b61bb869c31ef3b780a/frameset.htm]
    [Protecting Access to the Web Dynpro Application Using UME Permissions|http://help.sap.com/saphelp_nw04s/helpdata/en/f3/a64d401be96913e10000000a1550b0/frameset.htm]
    -Michael
    Edited by: Michael Shea on Sep 2, 2008 8:24 AM
    Edited by: Michael Shea on Sep 2, 2008 8:25 AM
    Fix link

  • How do you build an image gallery in Flash CS3 actionscript3?

    I am building my entire website in flash cs3, actionscript3
    but I really need help building an image gallery. What I need is a
    horizontal scroll bar that contains thumbs within it and then loads
    the full size image right above the scroll bar. Anyone has any
    suggestions for books, tutorials or even safe places to purchase
    the fla that I can customize it?

    if you want help understanding as3 check:
    http://www.senocular.com/flash/tutorials/as3withflashcs3/
    if you want to purchase a custom fla that does exactly what
    you want send me an email via my website.

  • Pdf in Flash CS3

    Hi everyone,
    Is there a posibility to open an external PDF in Flash CS3
    using AS3?
    I would very much appreciate some help.
    Thanks,
    Dan

    Please help
    What is a pdfpath? How can make it work?
    navigateToURL(new URLRequest(file.pdf), "_blank"); does not
    do anything

  • Arabic project in CS3 with AS3

    dear friends,
    i need to create an arabic project in flash CS3 with AS3 coading. i am using normal version of flash. i need your advice,
    1) do i need middle east version to type and get arabic text?
    2) if i can use the same software and show the arabic text or enter the arabic text in run time what should i do? pls advice me.
    tell me how can i manage with the existing software and do the arabic project. i typed arabic text in this CS3, al the text is coming as broken, output also broken.  pls help me..
    Thanks in Advance,
    Syed Abdul Rahim

    Hi Syed,
    You need to install Adobe Illustrator ME (Middle East Version), otherwise the arabic text will appear as detached letters.
    Adding arabic fonts will not do the trick by itself.
    As far as i know, there is no other way, and i am not sure if there is Flash ME.
    And in case you cannot get this version you could always try typing it in MS Word and tracing it in Illustrator or Flash.
    Regards,
    Marc

  • Flash CS3 and Javascript

    A couple of weeks ago, I wrote in another thread about how
    Flash CS3 (using AS3) can directly handle javascript. I must tell
    you that this direct handling is limited. You cannot call custom
    javascript functions from html this way. If you need to call
    function in your html, you must still use ExternalInterface.
    Flash CS3 has a new function called navigateToURL().
    navigateToURL() is part of the flash.net package and is
    asynchronous (does not return any kind of value).
    Let's say you want to throw a simple javascript alert message
    to a user. You need to first make a call to the URLRequest
    constructor and pass it a string value that uses javascript
    protocol. In the alert example, you'll be calling the string
    "javascript:alert('Your first AS3 javascript call');" To those
    familiar with HTML, this will look very very familiar. All put
    together, it looks something like the code below....
    This idea can be expanded on and added to custom event
    handlers in classes for buttons and other things in your projects.
    Remember though that you must call the javascript code as it
    appears in the javascript protocol. So to open a popup window,
    you'd need to use window.open( blah, blah, blah ). Personally, I
    still use ExternalInterface to call my Javascript functions (if I
    need them at all). The only reason I use navigateToURL is when the
    browser I'm using does not support ExternalInterface.
    Anyhow, the code for the above example is down below. If you
    have questions, post them here.

    k,
    my post 2+ weeks ago was adrenaline driven and premature. the
    example I just gave was the code I was talking about. Why I ever
    posted that URLLoader was capable of javascript interaction is
    beyond me. I know better. The purpose of my post was simply to
    answer questions I've been getting in my e-mail and to clarify my
    original post 2 weeks ago.
    As I stated, navigateToURL is meant for specific scenarios
    just as getURL was in AS1 and 2 which was replaced by navigateToURL
    in AS3. This would be more for the Linux users and the a-typical
    O/S users where ExternalInterface is not supported by the browsers
    on those operating systems. I do not condone using navigateToURL or
    getURL. I will always recommend external javascript files and
    ExternalInterface. My apologies for leading anyone on with my
    premature run-off of the typing finger.

  • Adobe Flash CS3 Professional with Windows8

    Can't download Adobe Flash CS3 Professional using Windows 8. Help!!
    Adobe Flash CS3 Professional

    if you follow all 7 steps you can directly download a trial here:  http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
    and activate with your serial number.
    if you have a problem downloading, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by 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). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com

  • FLVplayback component mod help (Flash CS3, as3)

    can anyone help me with the actionscript needed to
    dynamically call a flv video into cs3's default
    flvplaybackcomponent with a variable?
    i have it working on as2 but the scripting must be different
    in as3 cause it dosnt work there.
    my as2 code is as follows:
    stop();
    var passed:String = video;
    player.contentPath= video;
    this allows me to use videoplayer.swf?video=[video].flv
    but i need this to work in cs3 flash9 player with the
    fullscreen support
    any help would be greatly appreciated.

    which version of flash cs3 do you have?

  • PLEASE HELP ASAP! Button in Flash CS3 not working

    I need help desperately. As soon as possible. I only know the
    VERY basic's of flash, so I need it to be simple!! I am using Flash
    CS3, but the only coding I know is from Flash 8.
    1.I simply want to just be able to type out text that will be
    my button. (I clearly know how to do this)
    2.Convert that text to a button. (I know how to do this as
    well)
    3. Apply an action to the button. (I keep getting the error
    "actions cannot be applied to the current selection")
    4. Have that button go to a specific place in the timeline
    that I have named (It has the red flag next so I know where to send
    the button to)
    5. This is the ONLY code I know is even close to what I need
    to have it be at:
    on (release) {
    //Movieclip GotoAndStop Behavior
    this.gotoAndStop("graphic");
    //End Behavior
    Is there a way to upload the flash files? If so I will
    upload, because I know this sounds simple enough, but it wont work.
    Thanks
    Ashlee

    You are trying to use AS1 in your movie, and the movie's
    Publish settings are set to use AS3. You can use your current code
    by opening the Publish Settings, going to the Flash tab and then
    selecting AS1-AS2 in the Actionscript option.
    A better, long term solution, would be to read through the
    tutorials that come with Flash CS3 to learn the proper coding
    techniques to use with AS3.

  • Flash CS3 Component Help?

    I have a menu component I've created in Flash CS3. I'm
    running into a small problem. Currently, in Flash, I create an
    array in the first frame of the movie and then assign a
    "menu_items" property (an array) on my menu object as that array.
    The array is an array of specialized menu item objects that is
    defined in a separate class. In Flex, I would like to do this:
    <mxml:macMenu>
    <mxml:macMenuItem image="btn1.png" click="{clickHandler}"
    />
    <mxml:macMenuItem image="btn2.png" click="{clickHandler}"
    />
    .....etc
    </mxml:macMenu>
    I'm not quite sure how I can get my object to realize the
    children should be part of the array inside of macMenu called
    "menu_item" and at the same time make sure they are an instance of
    my menu item class.
    I have posted the full AS3/Flash CS3 source of my menu at
    http://www.adambergman.com/as3/macMenu.html
    Any help or ideas are appreciated!!!

    Hi Rajesh,
    I've seen your query all over the internet, so I should warn you I don't believe it's possible to disable a List Item.
    For that you should use Josh Tynjala's open source Advanced List (http://code.google.com/p/flextoolbox/downloads/list).
    Best Regards,
    Filipe.

  • Can't move an object with arrow keys - CS3

    In Fash CS3, suddenly, in certain files, I can't move an object left using arrow keys - but I can move the same object right, or if I hold down Shift + left arrow, it works correctly
    Also - I can move the object down with arrow keys, but not up
    Workaround - move an object on a different layer, then return to the problem object and it moves correctly. But this doesn't last long, the problem resurfaces.
    Does anyone have a solution for this? (I've tried rebooting; tried copying all the layers into a new file - no help.)

    Now, working in the same file, I just clicked on a stroke and it changed the stroke from a smooth curve to angular lines.
    I suspect this file is corrupt. Any thoughts on how to salvage the weeks of work that have gone into it? Every version of this file has the same issues.
    Thanks for any help.

Maybe you are looking for

  • Help Error (193) After Effects CS5

    Hi dear friendsI just installed After effects cs5 and sends me this error and I opened, I was looking for a long time and can not find the solution, but it says the message I give here more info on my pc, and hopefully I can help solve this I do not

  • Regarding Procedures and functions

    can we pass a cursor,table or ref cursor to a procedure and functions and can a function return cursor,table or ref cursor to a procedure and functions?please if possible give some examples with explanations thanks in advance..

  • How-to find all songs with exclamation mark?

    Hi, Is it possible to have iTunes show all songs for which it can't find the file? The external hard disk with all the songs failed and I want to verify that I have restored all of the library. Regards, Al Malin iMac 17 Flat Panel w/Super Dr   Mac OS

  • Using a SS and FF Constraint to set duration

    I am trying to create a task that is of uncertian duration. The variable lenght task starts (SS 0d lag) with the begining of a second task and ends (FF 0d lag) when a third task is completed. The task's length is dependant on the start and finsh of t

  • Captivate 5 SWF Flickering

    I'm trying to convert some project from Captivate 4 to Captivate 5 and I noticed this error occuring, specifically in IE. When playing a captivate project from an LMS (Moodle and Others) on Microsoft XP in IE (v6 and v7...haven't tried ie8 because ou