Results 1 to 4 of 4

Thread: two problems

  1. #1
    Join Date
    Jan 2007
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default two problems

    hi,

    i have two problems in flash actionscripting:

    - first: i have a dynamic textfield formatted in multiline. Each line represents a different item. I need to retrieve each item no an array. How can i do that? Is it possible to do something like: myDynamicText.line[1] for refering to the firs line?

    - second: when i push a button, a movieclip opens, just like a window. However, below the movieclip, the scripts keep working. Can i deactivate al the scripts from a certain level? For example, deactivate all movieclips in the root. Is there a way to prevent this?

    Can anyone help me in these problems?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Which version of Flash are you using for this?

    I will have to research the first problem, but the second is done very easily. It just depends on version.

    I may be away for a while as I transport home, and do the research, but I will be back ASAP
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2007
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    To the second problem, i'm using the last version of flash.

    To the first problem, thanks but no need to research. I'll find out. If you already knew a way, it could be a good help for me. If not, you shouldn't have all the work. I'll do it.
    I have an idea to this problem.
    I can include in the end of each line some sign like a |. And use some function than when detects this symbol, counts one line.

    What do you think?

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    For your second problem a rootStop() should work...

    Code:
    on(release){
       _root.stop();
    }
    Added to your button code for your pop up MC.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •