A Flash Developer Resource Site

Search:

Type: Posts; User: pauline m

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    533

    So your button could have an onRelease event...

    So your button could have an onRelease event handler that calls loadMovie(), sounds like. One way would be to load the images into a placeholder movie clip. If you're attaching code directly to the...
  2. Replies
    8
    Views
    533

    Hi Chill, are you familiar with loadMovie() or...

    Hi Chill, are you familiar with loadMovie() or loadMovieNum()? Might be just what you need.

    hth
    Pauline

    p.s What version are you using?
  3. Replies
    3
    Views
    410

    PHP and Flash get along really well, sounds...

    PHP and Flash get along really well, sounds possible to me. You probably don't need to do *everything* server-side, you could set up Flash to deal with incoming text and images.

    If it's really...
  4. Replies
    5
    Views
    428

    Interesting. Just tried that, entering 01, 02,...

    Interesting. Just tried that, entering 01, 02, 08, 09 (no quotes). The getSelectedItem.data returned 1, 2, 8, and 9, and the data type is shown as number. So somewhere in there flash is recognizing...
  5. Replies
    5
    Views
    428

    If "20040101" is a string, maybe you could use...

    If "20040101" is a string, maybe you could use "01", "08" and "09", etc. as string values, that seemed to work fine. If you need to do it with ActionScript, that is.



    Do you mean that you...
  6. Replies
    3
    Views
    618

    Looks like it's possible with sortOn(), but you'd...

    Looks like it's possible with sortOn(), but you'd have to enter the array elements as objects instead of arrays.

    From the help files on sortOn() method of arrays:

    This following example creates...
  7. Replies
    3
    Views
    396

    How about this? It uses more current syntax,...

    How about this? It uses more current syntax, don't know if that's a problem with older players.



    total = monthArray.length
    for ( var i = 0 ; i < total ; i++ ){
    mcName = monthArray[i] +...
  8. Replies
    5
    Views
    428

    Looks like it's not specific to combo boxes. Same...

    Looks like it's not specific to combo boxes. Same thing with this code:


    myArray = new Array( );
    myArray[0] = 01 ;
    myArray[1] = 02 ;
    myArray[2] = 03 ;
    myArray[3] = 08 ;
    myArray[4] = 09 ;...
  9. Replies
    3
    Views
    360

    Not sure about this, but I thought we need to use...

    Not sure about this, but I thought we need to use fscommand() to access javascript stuff from Flash?
  10. Replies
    3
    Views
    410

    hi datguy Flash recognizes only a few html...

    hi datguy

    Flash recognizes only a few html tags, I'm pretty sure that img isn't one of them.

    If your images are jpegs, you can use loadMovie or loadMovieNum to load images dynamically. You'd...
  11. Thread: randomizer

    by pauline m
    Replies
    5
    Views
    501

    for ( var i = 0 ; i < 10 ; i++ ) is called a for...

    for ( var i = 0 ; i < 10 ; i++ ) is called a for loop. It's basic scripting that you can find out about in a lot of places. There might even be a tutorial here at flashkit.

    You don't...
  12. Thread: randomizer

    by pauline m
    Replies
    5
    Views
    501

    That's the basic idea. How you use it depends on...

    That's the basic idea. How you use it depends on how your movie is set up. What have you tried so far?
  13. Replies
    6
    Views
    536

    :-)

    :-)
  14. Replies
    7
    Views
    596

    Open the library, then open the button symbol. If...

    Open the library, then open the button symbol. If you're seeing a border in your movie, there's probably still some graphic content in the button's up, over and/or down states. Just delete anything...
  15. Replies
    7
    Views
    596

    What do you have so far?

    What do you have so far?
  16. Tickles? Cool. :) I just got through the book...

    Tickles? Cool. :)

    I just got through the book OOP with ActionScript by Hall and Wan. It's name isnt' really accurate, it should be called Advanced ActionScripting: OOP, Components, plus some Tips,...
  17. Yikes. If you'd rather avoid the deepest darkest...

    Yikes. If you'd rather avoid the deepest darkest tunnels of the Library basement, you could add a little code above ground (on the timeline).

    As a simple example, if you have components named...
  18. Thread: randomizer

    by pauline m
    Replies
    5
    Views
    501

    Are you familiar with Math.random? You can use it...

    Are you familiar with Math.random? You can use it to get random numbers within a certain range, then you can use those to access things in your movie randomly.

    Wanna try?


    for ( var i = 0 ; i...
  19. Replies
    6
    Views
    536

    Yeah, if you've stored the path to the movie clip...

    Yeah, if you've stored the path to the movie clip in the variable. In the first example above, the path to the movie clip is stored as a variable. Flash recognizes it as that and can use it directly....
  20. Replies
    5
    Views
    505

    OK, let's back up a little, then take a running...

    OK, let's back up a little, then take a running start. :)

    How did you fill your scroll pane with text and buttons?
  21. Replies
    5
    Views
    505

    There's a way to make the text itself behave like...

    There's a way to make the text itself behave like a link. The text field would have to be enabled for html text (I assume that's possible with the scroll pane, but don't really know.)

    I made a...
  22. Replies
    1
    Views
    464

    Hi Clint, Hmm. When I click on button 2 it...

    Hi Clint,



    Hmm. When I click on button 2 it plays section 1 and then section 2. What's not working?

    Have you tried adding in some trace actions like

    trace( "_root.nowPlaying is " +...
  23. Replies
    5
    Views
    505

    Hi she, It's a little hard to understand your...

    Hi she,

    It's a little hard to understand your question, but after looking at the site, it seems that you have some button kind of things that don't line up with the text.

    What do you mean by...
  24. Replies
    2
    Views
    584

    Hi magentaplacenta, The only part of your post...

    Hi magentaplacenta,

    The only part of your post that I can understand is your first question, "Is there a maximum flash canvas width?". (The rest, I suspect, can only make sense to someone who's...
  25. Replies
    6
    Views
    536

    On second thought... "I want to run hittest on...

    On second thought...

    "I want to run hittest on a movie clip whose name is stored inside a variable whose name is stored inside a variable."

    Do you mean that the name is stored as a String? Like...
Results 1 to 25 of 37
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center