A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Please need help

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    8
    As a novice I need a lot of help for sure !!!
    The
    A dummy test of the project I started is at :
    http://www.webspace.com.kg/flashtest/
    If you click on the squares they change from blank to 4.
    What I would like to achieve:
    1. To be able to rotate the individual squares ( preferably with double click. I asked a few days ago and was told to use timing but I was not able to implement it )
    ( I could put additional invisible buttons in the corners, but I do not like the idea and this is as fas as my brain goes )
    2. To be able to change the color of the numbers.
    3. To be able to change the color of the background keeping the grid the same.
    Pleeeeese help if you can, I would be so happy if I am able to finish this project.
    Thanks for taking time and reading my post.
    S.
    [Edited by Sasaka on 06-10-2001 at 07:09 PM]

  2. #2
    I'm Buff
    Join Date
    Nov 2000
    Location
    Melbourne
    Posts
    433
    ok to rotate the indivudual squares, i'm not sure how to implement the timing, but it would have to do with rotation.
    Code:
    on (release) {
    setProperty ("/number", _rotation, getProperty ("/ads", _rotation) +90);
    }
    and that wasn't bad for a novice! as for changing colours, would something like this be what u r looking for? caus i would be glad to send u the .fla http://hobbidesigns.tripod.com/colouring.htm

    give me your email if you would like a copy

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Posts
    8
    Thanks hobbi.
    I will try to change the background the way you make it happen
    my email sasaka@altavista.com
    The problem is that I am demanding 2 separate actions.
    1.Changing the appearance of an individual suare. That was easy - mc-invisible buttons). It changes on press.
    2.I am in the same square and I can not use an action like
    on release. The only think that I am thinking is double click that will triger a different movie clip and again invisible buttons.
    3. I REALY like to be able to change the colot of the number.
    I am thinking if I press and hold for more then 2 secons as an example to have a color pallete similar to one you use to change the color of the backgroung.
    Can I triger an action by holding the mouse for a predifined time ???
    Regards
    S. Sasaka

  4. #4
    I'm Buff
    Join Date
    Nov 2000
    Location
    Melbourne
    Posts
    433
    yes, you can trigger an action by holding it for a specific period of time...
    Code:
    on (press){
    tellTarget ("/movieclip") {
    play;
    }
    on (release) {
    tellTarget ("/movieclip") {
    gotoAndStop (1);
    }
    and on the final frame of /movieclip you can have the action you want to be triggered. the larger amount of frames, the longer it will take for the action to be triggered.

    the email's on the way

  5. #5
    Junior Member
    Join Date
    Jun 2001
    Posts
    8
    Thanks but I am kind of confused.
    I could not see the timing and can not make a difference between a simple onMouse evennt and the coding you suggest ???
    Regards
    S

  6. #6
    I'm Buff
    Join Date
    Nov 2000
    Location
    Melbourne
    Posts
    433
    ok, the coding i suggested will only trigger an event IF the button has been held down for a specific amount of time. if you take the mouse off the button before the time is up, nothing happens

  7. #7
    Junior Member
    Join Date
    Jun 2001
    Posts
    8
    Thanks a lot for your help patience.
    I better start working on it now and see what happens
    TS

  8. #8
    I'm Buff
    Join Date
    Nov 2000
    Location
    Melbourne
    Posts
    433
    you're welcome, and feel free to ICQ me with any q's 112179007

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