A Flash Developer Resource Site

Search:

Type: Posts; User: fania

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. AS 2 Nice find ;-)

    Nice find ;-)
  2. Replies
    6
    Views
    2,672

    AS 2 Awesome thanks for the correction! Best

    Awesome thanks for the correction!

    Best
  3. Replies
    6
    Views
    2,672

    AS 2 Hey no problem glad I was of some help. The...

    Hey no problem glad I was of some help.

    The Math.floor()... kind of like rounds out the random number... so if the number is like 15.7... it will make it 15, or sometimes even 16.
    UPDATED:...
  4. Replies
    24
    Views
    115,602

    Agnus, I've done this on my page seems to work...

    Agnus,

    I've done this on my page seems to work on all browsers I've tested

    Try adding the folowing html code after the </head> line and before the <body> tag


    <style type="text/css"...
  5. Well an easy way is to place the following line...

    Well an easy way is to place the following line at the end of the intro, last frame

    getURL("templatesite.html");

    templatesite.html being the file that has your main site. Make sense?

    Best
  6. Replies
    5
    Views
    2,685

    I attached a sample FLA... I use CS5... this is...

    I attached a sample FLA... I use CS5... this is in CS4 cant save it to a lower version. So if you can't open it try the following, read the comments below:


    // Create a dynamic text field and...
  7. Replies
    5
    Views
    2,685

    If you can send the FLA... I just did it myself...

    If you can send the FLA... I just did it myself it works fine. Something is def not right on your FLA.

    Best
  8. Replies
    6
    Views
    2,672

    AS 2 The code below will duplicate any movieclip and...

    The code below will duplicate any movieclip and place it randomly throught the stage.


    // You'll need to create a MovieClip and name it "sourceMovieClip" for this to work

    var sw:Number =...
  9. Replies
    5
    Views
    2,685

    It might be because you can't add a Number...

    It might be because you can't add a Number variable to a string, so you sometimes get weird results.

    Don't need to use 2 text files Static and Dynamic... just use one text field to display the...
  10. Replies
    5
    Views
    2,230

    AS 2 Hope that helps Best

    Hope that helps

    Best
  11. Replies
    5
    Views
    2,230

    AS 2 I'm sorry no that doesn't rotate both ways, use...

    I'm sorry no that doesn't rotate both ways, use this


    ball.nRotation = Math.floor(Math.random()*(1+5-(-5)))+(-5); // Rotation


    the "5" and "(-5)" is High and Low so it randomly picks a number...
  12. Replies
    5
    Views
    2,230

    AS 2 Change the plus to negative and it will rotate...

    Change the plus to negative and it will rotate both ways randomly 1+5 change to 1-5

    ball.nRotation = Math.floor(Math.random()*(1-5-1))+1; // Rotation
  13. Replies
    5
    Views
    2,230

    AS 2 You will see my added code under // FANIA EDITS...

    You will see my added code under // FANIA EDITS ///////////////////////////////////

    You can play around with the Rotation numbers... seems to work fine


    var left:Number = 0;
    var right:Number...
  14. AS 2 This might be because when you CTRL+enter the...

    This might be because when you CTRL+enter the Flash size is fixed at whatever you have under your properties of your stage... so you will always have it in one fixed size.

    However, in your...
  15. Replies
    5
    Views
    2,144

    Just remember the very first thing that runs is...

    Just remember the very first thing that runs is the first line that reads
    onEnterFrame = function () {

    In there it checks if there is a player on stage. If its not null, null means 0, false......
  16. Replies
    5
    Views
    2,144

    Hey there, glad I was of help... don't hesitate...

    Hey there, glad I was of help... don't hesitate to ask regarding the code. Have fun man!
  17. Replies
    3
    Views
    2,520

    I used the sh*t out of that command back then ;-)...

    I used the sh*t out of that command back then ;-) Whispers is right though you shouldn't be using that anymore. Will just bring problems now
  18. Replies
    3
    Views
    2,520

    Wow I thought I would never see tellTarget again,...

    Wow I thought I would never see tellTarget again, jaja Flash 5 days? Awesome
  19. Replies
    6
    Views
    2,305

    The eeeasiest and old school way, you place this...

    The eeeasiest and old school way, you place this script in the first frame of the timeline


    onEnterFrame = function() {

    if (_framesloaded >= _totalframes) {
    trace("Loading...
  20. Replies
    8
    Views
    11,256

    I started as a self-taught coder using GW-Basic...

    I started as a self-taught coder using GW-Basic hehe (remember that ;P)

    But I wanted to learn how to create graphics and what not. So I went to a tech school to learn it. Partially because my...
  21. Replies
    6
    Views
    2,305

    Are you preloading the flash before it plays? ...

    Are you preloading the flash before it plays? That could be the culprit
  22. Replies
    5
    Views
    2,144

    Of course there is many ways of doing this, so if...

    Of course there is many ways of doing this, so if someone thinks its sloppy or whatever feedback is appreciated ... let us know ;)
  23. Replies
    5
    Views
    2,144

    Ok I attached an updated version of the game.fla...

    Ok I attached an updated version of the game.fla you have.

    A few things, I'm not sure where you had that onClipEvent(mouseMove) event at but that clearly wasn't working for ya.

    A few things,...
  24. Replies
    6
    Views
    2,305

    Were you able to resolve the tweening issue? ...

    Were you able to resolve the tweening issue? Checked the site, doesn't seem to studder at the beginning of the slide

    Best
  25. Replies
    1
    Views
    278

    Manipulating a flash movie from another

    Hi there, I have a navigation bar and a header, both individuall flash movies in a html file... I have done this so long ago, but how can I call from one movie and change the other movie... I...
Results 1 to 25 of 43
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center