A Flash Developer Resource Site

Search:

Type: Posts; User: Little Ben

Page 1 of 20 1 2 3 4

Search: Search took 0.68 seconds.

  1. LoadVariables from remote server - have tried all methods suggested

    The end goal is to load variables in a text file from a remote server into an swf file on a local computer.

    For the project I'm working on it MUST work in Flash 5 (doesn't matter about any other...
  2. Replies
    1
    Views
    3,007

    Try: if (shirt_size == unefined ||...

    Try:

    if (shirt_size == unefined || shirt_style == unefined) {
    this.error_movie.gotoAndPlay(2);
    } else {
    add_item();
    }
  3. Replies
    1
    Views
    385

    1. Create a Blank MovieClip and put it on your...

    1. Create a Blank MovieClip and put it on your Stage.

    2. Select the movieclip on the Stage and give it the following actions:




    onClipEvent (enterFrame) {
    if (count > 0) {
    var dx =...
  4. Replies
    8
    Views
    893

    Yes, the ringtones are dynamically loaded from...

    Yes, the ringtones are dynamically loaded from the BT Ringtones site.

    The Game queries the site to find out the top 20 ringtones and then pulls them in dynamically during the game.

    You can also...
  5. Replies
    8
    Views
    893

    Can you give me some details so I can try and bug...

    Can you give me some details so I can try and bug fix:

    - Flash Version
    - Browser
    - Operating System
    - Internet Connection

    If you refresh the page does is help?
    Does the loading staus bar...
  6. Replies
    8
    Views
    893

    Check out this game...

    Search for the ringtones...

    Dynamically brings in the latest ringtones and plays them throughout the game.

    http://play.btringtones.com

    Please post your feedback here:
  7. Replies
    4
    Views
    550

    If you are testing the movieclip, the centre of...

    If you are testing the movieclip, the centre of the movieclip (the x in the middle) will align to the top left corner of the swf that is created.

    I'm not sure of a way to get around this.
  8. Replies
    4
    Views
    550

    I thin kwhen you 'test scene' it actually...

    I thin kwhen you 'test scene' it actually previews the movieclip that you are currently editing. If you are in the main root it will test your scene.

    If you are in the movieclip, the top left...
  9. Replies
    2
    Views
    442

    When you load in variables, it assumes they are...

    When you load in variables, it assumes they are all text strings, so...

    When your variables are loaded you need to use numero as below to treat it as a number:

    numero = Number(numero);

    This...
  10. Replies
    1
    Views
    298

    Have a look at this FLA. I have put in a few...

    Have a look at this FLA.
    I have put in a few comments.
    Open it in Flash and 'Test Movie".
    The reults will come up in the 'outputs' window.

    Email me if you need anything in particular...
  11. Replies
    1
    Views
    365

    Using PNGs is best. Can't really help the...

    Using PNGs is best.
    Can't really help the filesize...
  12. Replies
    2
    Views
    457

    To return +1, 0 , -1, I use: n =...

    To return +1, 0 , -1, I use:

    n = Math.floor(Math.random() * 3) - 1;

    Generates randomly 0,1,2, then subtracts 1
  13. Replies
    1
    Views
    439

    The movieclip box_mc with rotate around its...

    The movieclip box_mc with rotate around its origin 0,0.

    Your script is working correctly.

    When you create a new movieclip in the root, its x,y location defaults to 0,0 which is the top left...
  14. Thread: thrusters

    by Little Ben
    Replies
    2
    Views
    363

    Create a movieclip that is your ship. Position...

    Create a movieclip that is your ship.

    Position the ship on the Stage.

    Click to select the ship.

    In the actions palette, paste the following actions:
  15. You should be able to target the main timeline in...

    You should be able to target the main timeline in the same way:

    _root.gotoAndPlay(10);

    Alternatively, aif you're in a movieclip on the main timeline you may use:

    _parent.gotoAndPlay(10);
    ...
  16. Replies
    3
    Views
    469

    Can't say I do, but thanks anyway...

    Can't say I do, but thanks anyway...
  17. Replies
    3
    Views
    469

    +(random(6)+1)+"1" Because the final '1' is in...

    +(random(6)+1)+"1"

    Because the final '1' is in quotes, it think it is load into levels:

    11
    21
    31
    41
    51
    61
  18. Replies
    1
    Views
    386

    I think that it will just be animated frmae by...

    I think that it will just be animated frmae by frame.

    The simplest way is to drawn the signature, make a new keyframe and erase a little of the signature (from the end), then create a new keyframe...
  19. Replies
    4
    Views
    602

    Sorry, this FLA uses Flash 6 Drawing API so...

    Sorry, this FLA uses Flash 6 Drawing API so cannot be converted to Flash 5.
  20. Replies
    4
    Views
    602

    I create this for someone asking a similar...

    I create this for someone asking a similar question on Flash Kit a while ago. You may file it useful.
  21. ("javascript:Openwindow('window.htm');"); Try...

    ("javascript:Openwindow('window.htm');");

    Try deleting the space between 'java' and 'script'
  22. Replies
    10
    Views
    602

    Make the sqaure inside Symbol1 into a moviclip...

    Make the sqaure inside Symbol1 into a moviclip and call it square.

    Then replace your actions on Symbol 1 (mov) with this:

    onClipEvent (enterFrame) {
    _root.mov._rotation -= 1;...
  23. No problem. Here is the basic formula x = x...

    No problem.

    Here is the basic formula

    x = x + ((difference) * friction);

    Where:
    x = the movieclip's x position
    difference = the difference between the current movieclip position and the...
  24. Put your image in a movieclip and then place this...

    Put your image in a movieclip and then place this movieclip on the stage. Click to select the movieclip on the stage and add the following actions:

    First set the relevent sizes as variables so we...
  25. If you mean the current frame in the current...

    If you mean the current frame in the current movie clip try:

    if (_currentframe == 10)

    if you mean the current frame in the main timeline try:

    if (_root._currentframe == 10)
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center