dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: How to change some values (loops, align etc)

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Posts
    4

    How to change some values (loops, align etc)

    OK, I've done the buttons I asked about in an earlier post (Thank you very much u who helped me).
    Now I have some new trouble ;

    1. Where is it decided if my flash object should be repeated or not ?
    Now, when I play it it starts over after being played, which is not so good, since there are buttons to click in the end. This can be stopped by unchecking repeat (or sling) when rightclicking in the browser, but I don't want this to happen at all. So is this something I can stop from within the flashmovie ? Like a stopAnimation or something to put in the last frame.

    2. I can't get my little animation to be in the middle of the page. I put align="CENTER" in the tags, but this doesn't help. What does ?

    3. My buttons don't get a good "hitting area". As I've understood this could be fixed in the Hit frame of the button, but how ?
    My button looks like this

    Welcome
    (an animation)
    In

    And only some areas are clickable, for example the text is mostly not.. How to fix this ?

    Stay tuned for more annoying newbie questions

    And TIA once again

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    1.
    in the last frame put a stop action:
    Code:
    stop();
    2.
    don't know much about html yet...
    usually I use a table, and put it in a cell


    3.
    the buttons have four frames by default
    in the last frame, the hit area, put a shape or a movieClip
    this defines the hit area, but never appears in the movie

  3. #3
    Junior Member
    Join Date
    Dec 2002
    Posts
    4
    Thanks !

    Only thing I don't understand is why I don't get a nice clickable area... I simply put a large rectangle in the hit frame, but still dont get a really good area.
    Can it have something with different layers in the buttons, or movieclips to do ?

  4. #4
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    look at the difference between these buttons
    Attached Files Attached Files

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center