Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32
  1. #1

    Default Trying to make a .swf for my mom's birthday.

    Hi,
    What i am trying to do is rather simple, but I can't seem to do 1 key part.
    I am trying to make an swf that every time my mom presses the button, it goes to a random text of about 50, which all say things that i love about her. I can't get the random part in. It would also be helpful if there was another button for display all. o if anyone could supply some code that would really help! Her birthday is the 26th, two days from now, so please try and help!
    Last edited by dzifzar; 08-25-2011 at 04:40 AM.

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    Jun 2009
    Location
    Houston, Tx
    Posts
    581

    Default

    Hello,
    I can help you out with a couple of things. But first, I would like to know which version of Flash you have, and which version of ActionScript you plan to use (I suggest ActionScript 3.0).
    Next, there are two ways to use the random number generator. One would be unlimited random choices: a random thing pops up every time (it is possible to have the same thing pop up x amount of times in a row, and it is also possible for some things to never pop up). Two would be tracked random choices: a random thing pops up every time, but is then removed from the list of random things so that every thing will eventually be viewed by the end of 50 clicks. Any variation to either method is up to you. Unless you want her to click 1000+ times to view them all, I suggest a variation of method two.

  4. #3

    Default

    Hey, thanks for replying!
    Well, first off, I use ActionScript 3.0, and I use Flash CS5. I like method two, what could happen is to have them all be restored at the end or she can just reload the swf, unless there is a way to make a "loop". Thank you!

    P.S is there anything for Display all?

  5. #4
    Join Date
    Jun 2009
    Location
    Houston, Tx
    Posts
    581

    Default

    Whoah, nice response time.
    There is always code for anything. And luckily for you, I can almost do anything you could want. I just need definite answers.
    I can whip up some code for you quickly, but do you already have a file started?

  6. #5

    Default

    ***, same to you with replying.
    I don't have an official file started, so anything you suggest or whip up will be implemented into a new file. So what want, if thats what you're asking, is when my mother presses the button, one of a max of around 50 things i love about her pop up in a text box that is already on the stage. Anything you can do is fine, i am grateful for even a snippet. I was trying to do this myself, but i can't learn in time and i have a lot of things going on, so help is great! Thanks!




    P.S. W -o w is starred out? ...

  7. #6
    Join Date
    Jun 2009
    Location
    Houston, Tx
    Posts
    581

    Default

    Alright, I'll do it right now since it's midnight here and I already slept. Give me like 10 minutes to half an hour.

  8. #7
    Join Date
    Jun 2009
    Location
    Houston, Tx
    Posts
    581

    Default

    Lol I have no clue why..

  9. #8

    Default

    Perfect! Thank you so much!

  10. #9

    Default

    Wait... you already slept??

  11. #10

    Default

    Perfect! So I will stay up and wait! Thank you!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

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
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial