dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: d4rkst0n3

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,036

    Sorry for the month late reply, haven't logged on...

    Sorry for the month late reply, haven't logged on here in a while!

    Well your problem is actually relatively simple to fix. When it finds that (k+numOffset >= linkageID_array.length-1) is true, it...
  2. Replies
    3
    Views
    990

    You should be fine loading an external swf into a...

    You should be fine loading an external swf into a placeholder movieclip. What's your code?
  3. function fadeIn() { this._alpha += 10; if...

    function fadeIn() {
    this._alpha += 10;
    if (this._alpha>=100) {
    this._alpha = 100;
    delete onEnterFrame;
    }
    }

    function fadeOut() {
    this._alpha -= 10;
  4. Replies
    8
    Views
    1,036

    Okay well first off I'd start by creating two...

    Okay well first off I'd start by creating two functions, one to build the page, the other to clear it:
    function createPage() {
    for(var k:Number = 0; k < numOnPage; k++) {
    var mc:MovieClip =...
  5. Replies
    8
    Views
    1,036

    Sorry mate, I forgot one thing. When you're...

    Sorry mate, I forgot one thing. When you're outputing the thumbnails you only need to know how many columns you need, and how many you want on the page at a time. Use the code:

    mc._x =...
  6. Replies
    3
    Views
    578

    Sometimes with movieclips and buttons depending...

    Sometimes with movieclips and buttons depending on what you do to them in code they can appear in frames they weren't originally created on. From what I can gather your photothumb movieclip is set to...
  7. I assume getting the JPG as a string would be...

    I assume getting the JPG as a string would be listing each pixel as a hex colour? I'm not entirely sure.
    But to do that you would have to load the JPG in, copy it to a BitmapData object, loop...
  8. Replies
    3
    Views
    578

    Your roll over code is fine, but there is...

    Your roll over code is fine, but there is something wrong with your depths of your buttons. I'm not sure what exactly is causing the problem without looking at your .fla but the reason your rollovers...
  9. Replies
    4
    Views
    2,094

    Loading images into Flash with AS2 is a pain in...

    Loading images into Flash with AS2 is a pain in the ass.
    Your code may be correct (it looks correct from a glance), but it won't centre because your holder_mc widths and heights will trace 0. Check...
  10. Replies
    8
    Views
    1,036

    First, you'll need to know how many pages your...

    First, you'll need to know how many pages your movieclips will span over. You can solve that by:

    var numOnPage:Number = 18;
    var numPages:Number = Math.ceil(linkageID_array.length/numOnPage);
    var...
  11. Replies
    8
    Views
    23,343

    // Usage: replaceChar("Hello World", "o", "k");...

    // Usage: replaceChar("Hello World", "o", "k");
    // Return: Hellk Wkrld
    function replaceChar(s:String, a:String, b:String):String {
    var ar:Array = s.split(a);
    s = "";
    for(var i:Number = 0; i <...
  12. Replies
    2
    Views
    381

    Thanks for the reply, but I actually got it...

    Thanks for the reply, but I actually got it working by putting the entire mask into a separate movieclip. Still, nice to know that it was a depths problem ;)
  13. Replies
    2
    Views
    381

    MoveClip As Mask Stupid Problem

    I'm not new to Flash, been using it for about 5 or 6 years now, but I've come across this weird problem. I have a two movieclips right, and each of them mask a seperate image. I'm not using the...
  14. Replies
    3
    Views
    345

    Thanks, got it working! I just made the variable...

    Thanks, got it working! I just made the variable in Flash:
    var scrollNum:String;
    As a string, then parsed it as an interger when I came to use it. But I don't understand why I had to do that, and...
  15. Replies
    3
    Views
    345

    What in the world is going on?!

    Well, I've been building this playlist with XML intergration. I am also taking variables from the url. I'm no stranger to either of these, but I am getting a totally unrelated, related problem (if...
  16. Replies
    2
    Views
    372

    Oh sorry, I was going to but I couldn't find the...

    Oh sorry, I was going to but I couldn't find the upload attachment thing. I'm used to IPB, not vB.

    Anyway, thanks for the solution! It work's perfectly. I didn't think it would be so simple. I was...
  17. Replies
    2
    Views
    372

    swapDepths In For Loops!

    Hopefully someone here can answer me this question... I am making a 3D rotating menu that rotates according to the mouse. I check for links by running them through a for loop. So far I have the...
  18. Replies
    1
    Views
    386

    Bump...I thought this would be a fairly easy...

    Bump...I thought this would be a fairly easy thing to solve to the pros here.
  19. Replies
    1
    Views
    386

    Large For Loops

    Well I'm building a game like that game LineRider. Everything has been going smoothly, much better than I expected. But this is something I usually come across. A large for loop slowing down the...
  20. If the job is still open, I am interested. I have...

    If the job is still open, I am interested. I have made many of these things before. Email me at d4rkst0n3[at]msn.com or PM me.

    Ben.
  21. Replies
    1
    Views
    467

    Bump...can anyone help me?

    Bump...can anyone help me?
  22. You can't duplicate movies into different levels,...

    You can't duplicate movies into different levels, they have to stay within the clip that its placed in. However, you can always use the attachMovie method.
  23. Replies
    1
    Views
    467

    Simple XMLSocket Connection Failing

    mySock = new XMLSocket();
    mySock.connect("61.14.187.197", 5555);
    mySock.onConnect = function(success:Boolean) {
    if(success) {
    output = "Connected";
    } else {
    output = "Failed";
    }
    }...
  24. Replies
    1
    Views
    903

    stop(); var volNum:Number = 0; //declare sound,...

    stop();
    var volNum:Number = 0;
    //declare sound, set volume at 0, start sound and loop
    var mySound = new Sound("track1");
    mySound.setVolume == 0;
    mySound.start(true);

    //create an event that...
  25. Replies
    1
    Views
    441

    Bump. Sorry, I really need to know how to do...

    Bump. Sorry, I really need to know how to do this..

    EDIT: Alright, it doesnt matter now, I've figured it out :)
Results 1 to 25 of 60
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center