dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Chuckles8421

Page 1 of 8 1 2 3 4

Search: Search took 0.22 seconds.

  1. Replies
    6
    Views
    479

    No, getVersion() gets the Version of the Flash...

    No, getVersion() gets the Version of the Flash Player that your user has, not the version that the .swf was made. You don't have to change the name of the .swf, just check the version and make sure...
  2. Hey, Try this: for (i=2; i

    Hey,
    Try this:



    for (i=2; i<=100; i++) {
    mc = duplicateMovieClip(square, "square"+i, i);
    mc._x = Math.random()*Stage.width;
    mc._y = Math.random()*Stage.height;
    }
  3. Hi, The caching is a problem from the browser...

    Hi,
    The caching is a problem from the browser end, so you can't change that for every user. There is, however, a way to get around that, like this:



    url = "mytext.txt?rnd=" +...
  4. Hi, Just put this on the first frame of your...

    Hi,
    Just put this on the first frame of your movie:



    FSCommand("allowscale", "false");


    Hope this helps, Chuckles8421
  5. Yeah, turning it into a component was basically...

    Yeah, turning it into a component was basically what I was describing.
  6. That's great work, the only suggestion I have is...

    That's great work, the only suggestion I have is to make all of the prototypes be part of a subclass of movie clip so that you don't overload all of your movie clips with so much code. Then after...
  7. Hi, The reason the onload function isn't working...

    Hi,
    The reason the onload function isn't working is because by the time you are assigning it to the movie clip, the movie clip has already loaded. The onLoad is called immediately when the movie...
  8. Replies
    18
    Views
    483

    Actually, the link you posted is dead. Scroll up...

    Actually, the link you posted is dead. Scroll up a bit and click it, you'll see. I don't know what variable is used, although I am assuming you are using the http://www.microbians.com chromeless...
  9. Hi, I would do it without using the startDrag...

    Hi,
    I would do it without using the startDrag function, as it makes it easier to control the snapping. Here is my example code:



    this.onMouseDown = function() {
    if...
  10. Replies
    4
    Views
    369

    Hi, I noticed a few things that just needed...

    Hi,
    I noticed a few things that just needed cleaning up in your code, and this could be part of your problem. Here is a revision of the code you posted:



    on (release) {
    messages.action =...
  11. Thread: Icon.ico

    by Chuckles8421
    Replies
    2
    Views
    446

    Hi, In the autorun.inf, put this: ...

    Hi,
    In the autorun.inf, put this:



    [autorun]
    icon=icon.ico
    open=projector.exe
  12. Replies
    2
    Views
    381

    Hi, Try This: onClipEvent (mouseDown) { ...

    Hi,
    Try This:



    onClipEvent (mouseDown) {
    mousepressed = true;
    }
    onClipEvent (mouseUp) {
    mousepressed = false;
  13. Replies
    5
    Views
    340

    Hi, The way you have it set up right now, all it...

    Hi,
    The way you have it set up right now, all it does is create an empty object that listens to the Keys. It does not have a .Feedback property. I am assuming that Feedback is the instance name of...
  14. Replies
    4
    Views
    383

    Hi, In the properties panel for the Textbox,...

    Hi,
    In the properties panel for the Textbox, make sure that the "Selectable" option is not set to true. Hope this helps, Chuckles8421
  15. Replies
    2
    Views
    336

    Hi, I've had this same problem before. What you...

    Hi,
    I've had this same problem before. What you need to do is add these attributes to the body tag in the html for the published page:

    leftmargin=0 topmargin=0 marginwidth=0 marginheight=0
    ...
  16. Replies
    3
    Views
    358

    Hi, While what pkghost said was correct, it...

    Hi,
    While what pkghost said was correct, it probably won't completely solve your problem. The issue is that you use the name of the movie clip within the movie clip itself, so it tries to find...
  17. Replies
    6
    Views
    462

    Hi, Just put [*code] at the beginning and...

    Hi,
    Just put [*code] at the beginning and [*/code] at the end. (You must remove the *'s).
  18. Replies
    6
    Views
    462

    Hi, First off, if you are going to use...

    Hi,
    First off, if you are going to use tellTarget, then it should be this:



    on (release) {
    tellTarget("arrow") {
    play();
    }
    }
  19. Replies
    17
    Views
    499

    Hi, Part of the problem is that the more things...

    Hi,
    Part of the problem is that the more things you have drawn at a time, the slower it goes, even if they are just sitting there. Are you drawing them all into separate MC's or are you just using...
  20. Replies
    6
    Views
    442

    Hi, What I would suggest to fix the problem is...

    Hi,
    What I would suggest to fix the problem is to make new layer called "actions" and make it only have one keyframe..at the very beginning. There should however be blank frames all the way out to...
  21. Replies
    17
    Views
    499

    Hi, The reason it is going slower is because not...

    Hi,
    The reason it is going slower is because not only does flash have to deal with all of the visual components, it also now has to deal with the creation of them at run-time. That is quite a bit...
  22. Hi, If you are going to separate out the clip...

    Hi,
    If you are going to separate out the clip events like that, you can do this:



    onClipEvent(load){
    speed = 2;
    }

    onClipEvent (enterFrame) {
  23. Hi, Yes that is essentially what you would want...

    Hi,
    Yes that is essentially what you would want to do, but you shouldn't use tellTarget, because it's deprecated and will not be around for much longer. Instead, use this:



    onClipEvent(load){ ...
  24. Replies
    2
    Views
    344

    Hi, First off, don't use tellTarget, it's...

    Hi,
    First off, don't use tellTarget, it's deprecated, so it will be going away eventually. It's better to use the dot syntax or with(). Anyway, your problem is with scope. If I read your post right,...
  25. Replies
    4
    Views
    418

    Hi, You could just make a two dimensional array,...

    Hi,
    You could just make a two dimensional array, like this:



    myMatrix = [new Array(3,1,2), new Array(3,2,1), new Array(1,1,2)];
    trace (myMatrix[0][2]);


    The trace will return 2, the last...
Results 1 to 25 of 178
Page 1 of 8 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center