A Flash Developer Resource Site

Search:

Type: Posts; User: alpineedge3

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. perfect, thanks.

    perfect, thanks.
  2. [MX04] workaround to pass argument to onRollover function

    Hi,

    I have this loop:



    for (i=0; i<links; i++) {
    _root.ballSet["ball"+i].ball.onRollOver = function() {
    _root.angle=.5;
    _root.myLinkText.text = _root.myLinks[i];
  3. swf doesn't show rest of site in IE, but works in firefox

    I'm developing a website and use a flash navigation bar. In firefox, everything works fine. but in IE, if the swf is opened (that is, I click ok, run the ActiveX control) then the rest of the site...
  4. thanks for the reply. what do you suggest is a...

    thanks for the reply.

    what do you suggest is a better style? (without using _root) should I store variables on the main timeline, or keep them nested in movie clips? should i use _global more or...
  5. function called onPress doesn't stop onRelease

    I call a function (specifically: this.onMouseMove = _root.scaleVesicle that scales an mc relative to its dragged position (to create a 3d perspective effect). onPress of the mc, the function is...
  6. Replies
    2
    Views
    366

    yourJPGmc.onRelease = function(){...

    yourJPGmc.onRelease = function(){
    this.unloadMovie();
    // this takes away the contents of the mc, the mc remains
    }

    // or, to remove the mc itself:
    yourJPGmc.onRelease = function(){...
  7. search attributes of chemistry reactions

    I'm trying to make a flashcard-type application for learning/memorizing organic chemistry reactions. My concept is the following:

    -There will be over 200 reaction "flash cards"
    -2 main functions...
  8. Replies
    2
    Views
    490

    ahh perfect. thanks

    ahh perfect. thanks
  9. Replies
    2
    Views
    490

    crosshair is messed up

    Hi, I'm trying to make a crosshair made of two lines follow the mouse's _x and _y movements. The movement of the lines is very erratic and I'm dumbfounded. I have the file here

    any help would be...
  10. i had the same problem with firefox, and deleting...

    i had the same problem with firefox, and deleting the doctype line solved the problem immediately.

    thanks for figuring it out!
  11. Replies
    1
    Views
    464

    using variable as frame label

    i need an mc to go to the frame label designated by the variable _root.currentPage.

    i tried


    on(rollOut){
    _root.gmenu.bookheads.gotoAndStop(String(_root.currentPage));
    }
  12. ok the file is here:...

    ok the file is here:
  13. i didn't have it there originally, i tried it out...

    i didn't have it there originally, i tried it out to see if it would make the commands simpler, i.e. stopping the current animation to start a new one. but it really doesn't make a difference.
  14. animation stopping in movie clips question

    hi,

    I have two movie clips. let's call the first one mc1. it has a button within it. on release, mc1 plays and also triggers a function here:


    function booksPlay() {
    _root.clicks++;
    if...
  15. cool thanks

    cool thanks
  16. easy way to trigger MC twice in a row?

    i'm looking for an easy way to trigger a movie clip to play again after it finishes. i only need to do it once, so playing 2x in a row won't be a regular occurrence in the movie. thanks.
  17. great that's perfect. i want them to be random...

    great that's perfect. i want them to be random because the user drags them into groups, and they will overlap anyway.

    for my last question, i need to get a screen shot of this frame. is there...
  18. ok cool it works. thanks. the norepeats function...

    ok cool it works. thanks.
    the norepeats function is:



    _global.noRepeats = function(x, y) {
    //trace("x="+x);
    if (x == null) {
    x = random(y);
    } else {
  19. function critOrganize() { //scale=15% for...

    function critOrganize() {
    //scale=15%
    for (i=0; i<_root.critArray.length; i++) {
    a = noRepeats(a, 550)+50;
    b = noRepeats(b, 420)+30;
    attachMovie(_root.critArray[i], _root.critArray[i],...
  20. dragging dynamically created movie clips

    I have a bunch of movie clips that are attached dynamically at random positions. i want to be able to drag all of them around, one at a time. it seems really simple. but i don't know how to go about...
  21. note the first var i=0; line above the for loop...

    note the first var i=0; line above the for loop has been deleted
  22. for loop not working in if statement

    i don't understand why the for loop is not executing inside the if statement. the tracer "inside if(root.counter<2)" outpus, so I know the if statement is executing. but none of the tracers within...
  23. Replies
    1
    Views
    373

    randomize part of an array?

    I've been using this code to randomize arrays in my project:

    arrayName.sort(function (a, b) {return random(3)-1;}

    i have 11 arrays that have 4 items each. for each array I need to keep the last...
  24. Replies
    2
    Views
    440

    thanks. i didn't even think about arrays. i'll...

    thanks. i didn't even think about arrays. i'll try that.
  25. Replies
    2
    Views
    440

    random position function

    i'm trying to attach a mc and have it's position be 1 of 5 random locations. it seems like the first positions override any of the if statements. how do i get this to work? if p=0, i'd like the...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center