Professional Web Applications Themes

Finding the name of a frame - Macromedia Flash Actionscript

HI, I have got a movie clip that has many frames (all named). I want to find out the code to find the name of that frame when the user clicks on a button. I've been trying to use _currentFrame, but keep getting the numbers back and not the names. Please help! Andy...

  1. #1

    Default Finding the name of a frame

    HI, I have got a movie clip that has many frames (all named).

    I want to find out the code to find the name of that frame when the user clicks on a button.

    I've been trying to use _currentFrame, but keep getting the numbers back and not the names.

    Please help! Andy


    Nocky35 webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Finding the name of a frame

    "Nocky35" [email]webforumsusermacromedia.com[/email] wrote:
    > HI, I have got a movie clip that has many frames (all named).
    >
    > I want to find out the code to find the name of that frame when the user clicks on a button.
    >
    > I've been trying to use _currentFrame, but keep getting the numbers back and not the names.
    >
    > Please help! Andy
    >
    >
    >
    sadly - you can't!! well, not in Flash MX anyway, I guess you might be
    able to in MX 2004.

    Bit annoying isn't it?

    --
    MOLOKO
    ------------------------------------------------
    ::remove _underwear_ to reply::
    'God saves but Buddha makes incremental backups'
    ------------------------------------------------
    GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+ w+++$ !O M+
    VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e h-- r+ y++
    see [url]www.geekcode.com[/url] to translate the above!
    MOLOKO Guest

  3. #3

    Default Re: Finding the name of a frame

    You can get the name of a frame with timeline.getFrameProperty("name");

    For additional informations go [url]http://livedocs.macromedia.com/flash/mx2004/jsapi/timeli15.htm#wp118182[/url]


    darignac webforumsuser@macromedia.com Guest

  4. #4

    Default Re: Finding the name of a frame

    nice one, i started doing it with just using the frame numbers, but was too messy! Will check this out now - cheers!


    Nocky35 webforumsuser@macromedia.com Guest

  5. #5

    Default Re: Finding the name of a frame

    "darignac" [email]webforumsusermacromedia.com[/email] wrote:
    > You can get the name of a frame with timeline.getFrameProperty("name");
    >
    > For additional informations go [url]http://livedocs.macromedia.com/flash/mx2004/jsapi/timeli15.htm#wp118182[/url]
    >
    >
    >
    excellent! wish you could do that in flash MX....

    --
    MOLOKO
    ------------------------------------------------
    ::remove _underwear_ to reply::
    'God saves but Buddha makes incremental backups'
    ------------------------------------------------
    GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+ w+++$ !O M+
    VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e h-- r+ y++
    see [url]www.geekcode.com[/url] to translate the above!
    MOLOKO Guest

Similar Threads

  1. Finding the last frame
    By Dave in forum Macromedia Director 3D
    Replies: 5
    Last Post: June 12th, 12:10 PM
  2. linking on non frame page to a frame in a frame p
    By libman in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: May 12th, 05:23 PM
  3. newbie: jumping from 3d sprite frame to flash frame
    By CDR in forum Macromedia Director Basics
    Replies: 0
    Last Post: January 31st, 07:37 PM
  4. Frame Set Problem: Cannot Resize Frame Rows with Mouse
    By JeffTronics webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 26th, 05:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139