dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Swim'nSasquatch

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    682

    Problem opening local html page.

    Hello All,

    I have a project that needs to open a local (on the CD in the root directory) glossary file which is in html format. The code I used is

    on (release){
    ...
  2. Replies
    10
    Views
    734

    Try this. "Spotlight" MC set off of mouse...

    Try this.

    "Spotlight" MC set off of mouse position, rather than draggable.

    Plus any buttons on the Background can be clickable as the spotlight area is "Empty".
  3. Replies
    10
    Views
    734

    You could use a draggable MC, Like this.

    You could use a draggable MC, Like this.
  4. Replies
    1
    Views
    387

    Maybe I wasn't too clear in my previous post. ...

    Maybe I wasn't too clear in my previous post.

    For a sound object I can use the "mysound.onSoundComplete" to tell when a sound has finished playing.

    Is there any way to tell when a loaded MC has...
  5. Replies
    1
    Views
    387

    unloadMovie when done playing.

    Hello All,

    I have a presentation that loads movies into _root.instructionMC, which is a blank movie clip on the main stage.

    The loaded .swfs (Creatd in DemoBuilder, so adding AS to the end...
  6. I love the moveable buttons, very innovative, but...

    I love the moveable buttons, very innovative, but why disable the one that is selected? Being a math geek myself I enjoyed the symetrical layout with a touch of clutter. Kind of like my desk at home.
  7. Replies
    1
    Views
    514

    This code will change the alpha property of an...

    This code will change the alpha property of an object according to its distance from a boundary. At the beginning it will have 100% alpha and 0% at the end. The faster it goes through this section...
  8. Replies
    13
    Views
    753

    Smoke effect is great. I agree w/ J-Luc Needs...

    Smoke effect is great. I agree w/ J-Luc Needs sound. In your traditional gallery, your links open to new windows, and there you have a menu to switch pictures. Why not just incorporate that into the...
  9. Replies
    6
    Views
    547

    The intro is a bit long. What is the point of...

    The intro is a bit long. What is the point of showing the group of pictures if it's not a gallery of some kind? The cursor could use some contrast, maybe a thin black outline. I kept losing it during...
  10. Replies
    8
    Views
    688

    Apart from making the "launch " buttons more...

    Apart from making the "launch " buttons more apparent, (I missed them before reading the other reviews) is making the links open a new window. That way if your guest are just perusing your site they...
  11. Replies
    1
    Views
    593

    It works fine for me, given the inputs age=28;...

    It works fine for me, given the inputs
    age=28;
    rhb=60;
    intensity=.8;

    I get
    thr=166;

    In your code do you include semicolons after each line that doesn't end in a bracket? Even without them...
  12. Replies
    6
    Views
    1,193

    MC._xscale, MC._yscale I was mistaken before,...

    MC._xscale, MC._yscale

    I was mistaken before, an object that is at original size will have a value of 100, not 1.
  13. I created a script for your calculations. Just...

    I created a script for your calculations. Just change the initial variables, and run. altT is your final altitude. I hope this helps.


    //All entries are in metric units kg, m, N, sec
    //Enter...
  14. Replies
    6
    Views
    1,193

    In your 3D room, everything should have a scale...

    In your 3D room, everything should have a scale value associated with it. The smaller the scale the farther away in front of your character that object would be.

    Therefore, if the vertical and...
  15. Replies
    7
    Views
    1,536

    This gives the correct angles. I've tested it in...

    This gives the correct angles. I've tested it in Flash this time.


    //Find length between MC 1&2
    sideA=Math.sqrt(Math.pow(h2._y-h1._y,2)+Math.pow(h2._x-h1._x,2));
    //Find length between MC 2&3...
  16. Replies
    7
    Views
    1,536

    //Find Angle between side A&B...

    //Find Angle between side A&B
    thetaC=Math.acos((sideC*sideC-sideA*sideA-sideB*sideB)/(-2*sideA*sideB)*(Math.pi/180));
    //Find Angle between side B&C...
  17. Replies
    7
    Views
    1,536

    The above example does not find the length of the...

    The above example does not find the length of the sides in question, but the slope of those lines. The correct side lengths should be:

    //Find length between MC 1&2...
  18. Replies
    7
    Views
    1,536

    //Find length between MC 1&2...

    //Find length between MC 1&2
    sideA=(h2._y-h1._y)/(h2._x-h1._x);
    //Find length between MC 2&3
    sideB=(h3._y-h2._y)/(h3._x-h2._x);
    //Find length between MC 3&1
    sideC=(h1._y-h3._y)/(h1._x-h3._x);...
  19. Is the observer inside or outside the orbit?

    Is the observer inside or outside the orbit?
  20. Replies
    1
    Views
    813

    Here's a bit of code that should do the trick. ...

    Here's a bit of code that should do the trick.

    The body should already have defined speeds In this case body.xsp & body.ysp
    The point about which the gravity is acting has the properties...
  21. Replies
    4
    Views
    573

    I'm having trouble downloading the file. Try...

    I'm having trouble downloading the file. Try using the attach button at the bottom of the post submission screen.

    I looked at the other image. I'm assuming the round button is the rotating one...
  22. I think I've got it this time. I wrote...

    I think I've got it this time.

    I wrote comments in the 'squares' MC to explain the process.
  23. Sure it's possible What I did was find the...

    Sure it's possible

    What I did was find the distance from the MC to a point I defined as j. I then set the MC's x position to the halfway point. Try changing the easing factor to something greater...
  24. Here you go. Check inside the "squares" MC for...

    Here you go. Check inside the "squares" MC for the easing code. Dropped the function call in the button, but changed button 1 again.
  25. I have attached a wroking copy of what you gave....

    I have attached a wroking copy of what you gave. Look in the "actions" layer, and minor modifications to the 1st button.

    I hope this helps.
Results 1 to 25 of 79
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center