A Flash Developer Resource Site

Search:

Type: Posts; User: foowing1

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    5,893

    Thanks Inzzomnia for replying. Since I post...

    Thanks Inzzomnia for replying.

    Since I post may original question I managed to work it out for myself.
    The following is roughly how your .txt file should look like but with your own text after...
  2. I worked it out myself

    After a smoke and a beer I worked it out.
    Just had to read the Flash help files a bit more in detail.

    To get a specific digit or character from a variable you have to use charAt().



    //The...
  3. How to get a specific digit from a variable number

    I have a variable called (Temp);


    var Temp = 54321;

    I want to be able to get the 4th number of this variable which is 2.
    How would I do it?
  4. Replies
    214
    Views
    105,344

    This is what I wanted to do ...

    This is what I wanted to do

    http://www.flashstore.com/Flash-Components/Other/Complex-Collisions-324/

    http://flash-creations.com/notes/astb_bounceCollide.php

    My own solution that I have found...
  5. Replies
    214
    Views
    105,344

    This code is attached to one on my odd shaped...

    This code is attached to one on my odd shaped Instances that is why I used the THIS.

    How would changing the _x and _y work? This would set a specific collision detection sport and not the edge of...
  6. Replies
    214
    Views
    105,344

    I have tried the if(this.hitTest(_x, _y,...

    I have tried the


    if(this.hitTest(_x, _y, true)){
    //do something
    }


    but if dosen't work.
  7. Replies
    0
    Views
    700

    HitTest with odd shaped objects

    I need to make 2 odd shaped objects to hitTest with each other correctly with actionscript 2.

    Object1 is a semi-moon shape
    Object2 is a full-moon shape

    At the moment the 2 objects (object1_mc...
  8. HI Dan, Thanks for replying. I am not sure how...

    HI Dan,

    Thanks for replying. I am not sure how to load text into a variable t:string and how they work. But if you have a link to a good tutorial about variable t:string that would be much...
  9. How to load an external text.txt into a movieclip containing a dynamic text box?

    Hi Guys,

    I can load text into a dynamic text box when it is on the main timeline.

    But when I place the dynamic text box inside a movieclip, I can't get the text too load into the dynamic text...
  10. Replies
    5
    Views
    5,893

    Hi Guys, I can load text into dynamic text...

    Hi Guys,

    I can load text into dynamic text boxes when they are on the main timeline.
    But when the dynamic text box is inside a movieclip I can't get the text load into it.

    Can anyone explain...
  11. Thread: Stopwatch

    by foowing1
    Replies
    10
    Views
    1,352

    Timer

    Here is a great timer.

    I spent alot of time at college trying to find a timer that I understood the working of so that I could controll it with code instead of buttons.

    But this one should be...
  12. Replies
    0
    Views
    376

    Help needed Buttons in a nested swf file

    Ok this is a difficult one to explain.

    I have a main swf file called index.swf.
    In this I have a movie clip called main_mc.
    And in this I have a content_mc which is where I have extenal swf...
  13. Replies
    6
    Views
    520

    Hi, I had the same problem and found this...

    Hi,

    I had the same problem and found this solution.

    Add the following code to your button:


    on(release){
    getURL("javascript:Launch('http://www.domainname.com)");
    }
  14. Replies
    4
    Views
    386

    Calm down dude. What exactly are you wanting...

    Calm down dude.

    What exactly are you wanting to happen?
  15. Replies
    4
    Views
    386

    Hi, I had the same problem and found this...

    Hi,

    I had the same problem and found this solution.

    Add the following code to your button:


    on(release){
    getURL("javascript:Launch('http://www.domainname.com')");
    }
  16. Replies
    6
    Views
    520

    Hi, You probadly see tihs question alot. I...

    Hi,

    You probadly see tihs question alot.

    I have a client that wants links from his flash website to other websites.

    We put a logo on to the stage convert it to a button instance and give it...
  17. Thread: Stopwatch

    by foowing1
    Replies
    10
    Views
    1,352

    Ok thanks once again Osteel. I think I have...

    Ok thanks once again Osteel.

    I think I have sloved this problem myself.

    What I did was I added a new action layer to your timer swf file.
    Inserted 2 blank keyframes to the action layer. Added...
  18. Thread: Stopwatch

    by foowing1
    Replies
    10
    Views
    1,352

    Thanks I understand variables and how to display...

    Thanks I understand variables and how to display the time but I don't know alot about functions and loops...

    It looks like the actionscript you have written is in a onEnterFrame = funtion(){ which...
  19. Thread: Stopwatch

    by foowing1
    Replies
    10
    Views
    1,352

    Thanks Osteel, I'll take a look at that, it...

    Thanks Osteel,

    I'll take a look at that, it looks like what I need.

    I will also need to know how to stop the timer if you could?
    So that I can display the time it took the user on the end...
  20. Thread: Stopwatch

    by foowing1
    Replies
    10
    Views
    1,352

    Stopwatch

    Hi,

    I hope someone can help be build a stopwatch for my game?
    I need a timer that starts at 00:00 and records the players time when they complete the level or basically stops when they finish.
    ...
Results 1 to 20 of 20




Click Here to Expand Forum to Full Width

HTML5 Development Center