A Flash Developer Resource Site

Search:

Type: Posts; User: dmonkey

Page 1 of 20 1 2 3 4

Search: Search took 0.14 seconds.

  1. Replies
    9
    Views
    696

    Hi, I did as you suggested (just changed x to...

    Hi,

    I did as you suggested (just changed x to y and vice versa) and its working fine! The only problem was to change the code to create the mask. Here is the altered version.

    Unfortunately...
  2. Hi, You could further streamline this code by...

    Hi,

    You could further streamline this code by using the variable "currentPage" to point directly to the clip:


    this[currentPage + "Loader_mc"].extAnimMask_mc.gotoAndPlay("_out");


    For...
  3. Thread: Image Help

    by dmonkey
    Replies
    3
    Views
    680

    Hi, Again, this just isn't possible without...

    Hi,

    Again, this just isn't possible without some other sort of technology. Sorry.
  4. Hi, I don't really understand what you mean....

    Hi,

    I don't really understand what you mean. You can communicate quite easily between classes in this way by passing instances as arguments into methods of another class.

    Can you maybe post...
  5. Thread: Image Help

    by dmonkey
    Replies
    3
    Views
    680

    Hi, The first thing that you can't do here...

    Hi,

    The first thing that you can't do here with Flash is allow a user to upload an image. This will require some sort of server-side scripting. After that, the rest isn't probably too hard, except...
  6. Replies
    2
    Views
    431

    Hi, Are you talking about the effect where you...

    Hi,

    Are you talking about the effect where you can click to get different views of the same shoe? Or to load a different shoe entirely?
  7. Replies
    1
    Views
    497

    Hi, There ceratainly is. When you use...

    Hi,

    There ceratainly is. When you use 'attachMovie', Flash returns a reference to the clip so that you can assign things to it:


    var newClip:MovieClip =...
  8. Replies
    1
    Views
    412

    Hi, This is simply not how it works. You will...

    Hi,

    This is simply not how it works. You will have to have it so that the two movieclips are separated, or find some other solution (such as getting the coordinates of the mouse and doing some...
  9. Replies
    1
    Views
    373

    Hi, Your syntax is wrong, and I think you've...

    Hi,

    Your syntax is wrong, and I think you've gone about this the wrong way. Here's the easier way to do it.


    awrRate.onRelease = function() {

    //First of all, we divide by 143 then...
  10. Replies
    11
    Views
    645

    Hi, Lol, I think I see the problem: Y =...

    Hi,

    Lol, I think I see the problem:


    Y = _y - _root.ball._y;
    X = _x - _root.ball._x;


    Hope this helps.
  11. Replies
    4
    Views
    373

    Hi, The problem is that you've placed the...

    Hi,

    The problem is that you've placed the actionscript on the movieclip itself. You want to attach the code to a frame on the timeline. You should place the code on the first frame that the clip...
  12. Replies
    11
    Views
    645

    Hi, I've never heard of Math 'screwing up'....

    Hi,

    I've never heard of Math 'screwing up'. Have you tried tracing Y and X?


    trace("Y: " + Y + "; X: " + X);
  13. Replies
    2
    Views
    530

    PM sent.

    PM sent.
  14. Replies
    4
    Views
    569

    Yeah sorry, I posted at the same time almost.

    Yeah sorry, I posted at the same time almost.
  15. Replies
    11
    Views
    645

    Hi, Try tracing root as well: root =...

    Hi,

    Try tracing root as well:


    root = Math.atan2(Y, X);
    trace(root);


    Still a problem? If so, try tracing Y and X until you find the root of the problem.
  16. Replies
    4
    Views
    569

    Hi, You can't do this from within Flash; you...

    Hi,

    You can't do this from within Flash; you would have to use a server-side script and pass the info to Flash.
  17. Replies
    11
    Views
    645

    Hi, The statement 'degrees -= degreesF' is...

    Hi,

    The statement 'degrees -= degreesF' is perfectly valid---I don't think EBeaver recognises the '-=' operator.

    You should insert trace statements to find out when exactly degrees becomes NaN:...
  18. Hi, Yes. Create your array: var...

    Hi,

    Yes. Create your array:


    var array1:Array = [imagecode, option1, option2, option3, amount, size];


    Then add it to the other array like this:
  19. Replies
    5
    Views
    681

    Hi, Did you look here? ...

    Hi,

    Did you look here?

    http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
  20. Replies
    2
    Views
    588

    Hi, It's node in a few stages. Essentially...

    Hi,

    It's node in a few stages. Essentially there is a wipe transition which can be achieved by growing a box across the stage and using it as a mask.

    The second part is then just a white bar...
  21. Hi, You can access child clips of a movieclip...

    Hi,

    You can access child clips of a movieclip in much the same way as you would with an array. Use the for ... in statement.


    for (child in myClip) {
    //Check that it is a movieClip
    if...
  22. Replies
    2
    Views
    663

    Hi, As far as I can see, the neoarchaic...

    Hi,

    As far as I can see, the neoarchaic tooltip class has this feature.


    Tooltip.setOption("width", 500);


    Is this what you need?
  23. Hi, A simple idea might be to set the values...

    Hi,

    A simple idea might be to set the values of the array to "null" when there is nothing inside:


    var array:Array = [null, null, null, null, null, null];

    trace(array.length);
  24. Replies
    2
    Views
    518

    Hi, Look at the moviecliploader class for...

    Hi,

    Look at the moviecliploader class for images. As for movie files, you need to have them in a streaming flv format. There are tons of tutorials on how to insert flv into flash.
    ...
  25. Hi, Just a coding error (see italics) ...

    Hi,

    Just a coding error (see italics)


    for (var j:Number=0;j<triangles.length;j++)
    {
    shadowTriangles[j] = {a:triangles[j].a, b:triangles[j].b, c:triangles[j].c, col:0x000000,...
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