dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: ArcticX

Page 1 of 18 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    483

    To call an actionscript function from HTML, you...

    To call an actionscript function from HTML, you need put use a friendly anchor tag with a lil twist. Note that flash can sometimes be a bit unreliable with this, but it's better than...
  2. Thread: Questionare

    by ArcticX
    Replies
    1
    Views
    374

    In the most simple terms, you'd simply have a...

    In the most simple terms, you'd simply have a variable, score. You'd initialize it as
    score = 0;

    When someone submits the correct answer, you'd add +1 to score:

    score++;

    When they get it...
  3. Replies
    5
    Views
    458

    Wouldn't simple meta tags make more sense?

    Wouldn't simple meta tags make more sense?
  4. Thread: hidden timer

    by ArcticX
    Replies
    1
    Views
    443

    When you get to your directions page, you'll need...

    When you get to your directions page, you'll need to use
    startDirections = startTest = getTimer()
    At the end of directions,

    endDirections = startQs = getTimer()
    directions = (endDirections -...
  5. Replies
    8
    Views
    678

    I hope you're well-versed in conics, because this...

    I hope you're well-versed in conics, because this requires a fair amount of algebraic geometry. Theoretically you could use the equation of an ellipse,

    x^2/a^2 + y^2/b^2 = 1

    to make a binding...
  6. Replies
    2
    Views
    448

    In frame 1: sayings = new Array() sayings[0] =...

    In frame 1:
    sayings = new Array()
    sayings[0] = "blah"
    sayings[1] = "blahblah"
    sayings[2] = "blahblahblah"

    ..etc

    function randSaying() {
    index = random(_root.sayings.length)
  7. Replies
    4
    Views
    496

    I usually use [ i ] myself, but when I know I'm...

    I usually use [ i ] myself, but when I know I'm going to have to seek help, I go the lazy route and select "replace all: [ i ] with: [n]" in the lil actionscript menu.

    Lazy is good.

    As far as...
  8. Replies
    1
    Views
    427

    Here's the quick version... The graph of a sine...

    Here's the quick version...
    The graph of a sine function looks like a "wave" -- it goes up, then down, up, then down..



    y-axis
    | __ __
    __|/__\____/__\________ x-axis
    | \__/ ...
  9. Replies
    4
    Views
    496

    I'm not positive if this will solve the problem,...

    I'm not positive if this will solve the problem, but I'd guess flash is reading "item" as an object and not evaluating it as a parameter. To force flash to evaluate it, instead of using...
  10. Replies
    9
    Views
    692

    degrees = radians*(180/Math.PI) ...?

    degrees = radians*(180/Math.PI)
    ...?
  11. Thread: WHYYYY????

    by ArcticX
    Replies
    7
    Views
    625

    After you add your values together, you'll need...

    After you add your values together, you'll need to reformat the number as a string so you can make it "look the way you want". Use this, or something similar:

    decimalPoints = 2
    total =...
  12. Replies
    2
    Views
    498

    A possible alternative is to duplicate your...

    A possible alternative is to duplicate your movieclip around the stage, duplicating it at any point you need a block. Either way works, and it's hard to tell which is more effective in your case, but...
  13. Replies
    2
    Views
    529

    Gah..flash 4 scripting killing me.. brain...

    Gah..flash 4 scripting killing me.. brain melting..vision blurring..

    I'm not sure exactly what the problem is, but if I understand correctly, the reason it's not working is that listnum is being...
  14. Replies
    2
    Views
    472

    parseInt(yourNumber) Arctic

    parseInt(yourNumber)

    Arctic
  15. Replies
    2
    Views
    428

    myTotal = Number(inputBox1) + Number(inputBox2)

    myTotal = Number(inputBox1) + Number(inputBox2)
  16. Thread: setRGB

    by ArcticX
    Replies
    5
    Views
    452

    What code do you use to A) inititially set the...

    What code do you use to
    A) inititially set the color of the bar
    B) change the color of the bar
    C) close the tool box

    When posting, please include details that people will need to know to answer...
  17. Place some code like this on the...

    Place some code like this on the projectile...Assuming you name your targets target0, target1, target2, etc.. it should work

    Define totalTargets as the total number of targets (clever, eh?), so if...
  18. Replies
    4
    Views
    472

    Place your function in frame 1 of the main...

    Place your function in frame 1 of the main timeline. Then call it from loaded movies as _level0.myFunction()

    Do you need an idea of how to make your function? or is this all you needed?

    Arctic
  19. Thread: Haunted Links!

    by ArcticX
    Replies
    3
    Views
    515

    _level0.myMC.gotoAndPlay(something)

    _level0.myMC.gotoAndPlay(something)
  20. Thread: Duplicating

    by ArcticX
    Replies
    7
    Views
    596

    This code placed in the main timeline in frame 1...

    This code placed in the main timeline in frame 1 (in a 1 frame movie) with a movieclip with Instance Name CLIP will work. Are you sure it doesn't?

    //We don't want our original to be used except...
  21. Replies
    11
    Views
    662

    Oh dear >_< it won't do that right now.. For now,...

    Oh dear >_< it won't do that right now.. For now, it just fades quite instantly. In order to have it fade through the day, there's more coding to be done!

    I can see if I can adapt it to your...
  22. Thread: Duplicating

    by ArcticX
    Replies
    7
    Views
    596

    //We don't want our original to be used except...

    //We don't want our original to be used except for duplication.
    clip._visible = false
    //This will instead be whatever you load
    loadedVarArray = new Array("one", "two", "three")
    //We run through...
  23. Thread: Duplicating

    by ArcticX
    Replies
    7
    Views
    596

    Here's a quick example. Let's say your variables...

    Here's a quick example. Let's say your variables are loaded into array loadedVarArray (clever name, yes?). In this example, I'm not loading them, but assuming you've been able to load them, there...
  24. Replies
    11
    Views
    662

    If you cut and paste this EXACT code onto a...

    If you cut and paste this EXACT code onto a movieclip, it will work. It won't do exactly what you want yet, but it will work without errors.
    You need not put anything else before the code. Just...
  25. Replies
    4
    Views
    424

    I hope you're comfortable with actionscript.....

    I hope you're comfortable with actionscript..
    Here's a non-user-friendly, non-optimized version that I just wrote up..



    //place the keywords you want to search through here
    //or load a text...
Results 1 to 25 of 433
Page 1 of 18 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center