dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: StuartW

Page 1 of 20 1 2 3 4

Search: Search took 0.93 seconds.

  1. Replies
    4
    Views
    360

    Guess so!?!?!?!? :D No seriously -...

    Guess so!?!?!?!? :D

    <Groan>

    No seriously - it's a great book, I was sent two by mistake by a certain big on-line book company who have far too much money anyway and it's been over six months...
  2. Replies
    4
    Views
    360

    Cheap Friends of Ed Book MX book

    Hi People,

    Just though you might like to know I'm selling a rare Friends of Ed book on eBay.co.uk

    http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=3589442889

    It was only 4 when I posted...
  3. Replies
    1
    Views
    334

    It is pretty awesome - still can't program my...

    It is pretty awesome - still can't program my head around this 3D to 2D thing.

    It's because it's duplicating that one instance of 'Vertex' you need to ammend the code so it doesn't - maybe use...
  4. Thread: 3D objects

    by StuartW
    Replies
    1
    Views
    287

    I'm no expert, but 3D is quite hard in Flash if...

    I'm no expert, but 3D is quite hard in Flash if you want to view from different angles, as you literally have to program you're own 3D engine from scratch. However, if the kitchens were to be viewed...
  5. Here's a very rough demo I knocked up with two...

    Here's a very rough demo I knocked up with two panels and one button. There's code on each MC and the button.

    Hope it helps.

    If you want me to look at your fla - that's no problem just ask. :)...
  6. Replies
    3
    Views
    414

    You're right - it does the same thing. I've just...

    You're right - it does the same thing. I've just learned it that way .

    According to what I've just read in Rob Penner's book 'Programming Macromedia Flash MX' you're __proto__ code is best. MX...
  7. Replies
    3
    Views
    301

    No worries :D

    No worries :D
  8. Replies
    3
    Views
    485

    Hold on a second - what is 'i', have you said...

    Hold on a second - what is 'i', have you said something like:


    for (i=1;i<=2;i++) {
    duplicateMovieClip (_root.my_movie, "my_movie"+i, i);
    }

    Where we use i to give each instance of the...
  9. Replies
    3
    Views
    485

    You should use (in F5 / MX) _root["my_movie"...

    You should use (in F5 / MX)


    _root["my_movie" + i]

    // so if we want to get _y, we'd write
    y = _root["my_movie" + i]._y


    Hope that helps,
  10. Replies
    3
    Views
    414

    //make an empty shell and set any variables...

    //make an empty shell and set any variables
    pkghost = function() {
    this.surname = "Penner";
    }

    //tell it it's MC you're making
    pkghost.prototype = new MovieClip();

    // define any on events...
  11. Replies
    2
    Views
    640

    onClipEvent(mouseDown) Doesn't have to be...

    onClipEvent(mouseDown)

    Doesn't have to be inside the MC. In fact if you think about it - it's just saying everytime the mouse is down, regardless of where it is, then do this.

    The eaiest way...
  12. Thread: variables?

    by StuartW
    Replies
    1
    Views
    312

    The first time elan is declared actionScript...

    The first time elan is declared actionScript recognises it as an empty variable with value 0 or null. Therefore if elan is 0 then...


    if (elan>-5) //is true

    Strange if you coming from anothe...
  13. Replies
    3
    Views
    301

    On your button have _root.play(); instead of...

    On your button have _root.play(); instead of play();

    Here you go...

    Stu
  14. Replies
    4
    Views
    253

    Slightly more complex than I thought. If you...

    Slightly more complex than I thought. If you want I can show you an easier way to do it in MX (well less code anyway). But here's your file working.

    Cheers,

    Stu
  15. Replies
    8
    Views
    401

    Sorry popped out to get a component. Yep...

    Sorry popped out to get a component.

    Yep working now on Safari

    I've tested it on iMac running OS X 10.2.6 and Flash Player build 7,0,14,0 on these browsers:

    Safari 1.0 (v85) - working
    ...
  16. Replies
    8
    Views
    401

    Tested with Safari 1.0(v85) on an iMac running OS...

    Tested with Safari 1.0(v85) on an iMac running OS X (10.2.6) with Flash 7.

    ...there'll be a wheel preloader and then a sign saying "loading" while 193k loads but does the comic appear?

    No...
  17. Replies
    4
    Views
    431

    No worries :mrpimp:

    No worries
    :mrpimp:
  18. Replies
    4
    Views
    431

    What's the variable name of the text box? ...

    What's the variable name of the text box?

    Let's assume it's 'bob' for this and you're using Flash 5 or above (if you're using 4 give us a shout and I'll rewrite it for that):


    if (bob == 0) {...
  19. Replies
    2
    Views
    324

    Thanks Musicman all valuable advice unfortunately...

    Thanks Musicman all valuable advice unfortunately for me Flash Amp puts out the files in that format and at present there's no way of changing it. So in the end I wrote a little piece of PHP that...
  20. Replies
    3
    Views
    383

    That what I thought. Cheers for that. I'm off...

    That what I thought. Cheers for that. I'm off to write a bit of PHP that converts the txt file that Flash amp puts out into the corret format for Flash to read. Bit ironic really having to convert...
  21. Replies
    2
    Views
    324

    Loading Arrays from a txt file

    Hello,

    I've had plenty of experience loading variables from files using the old


    loadVariablesNum("text.txt",0);

    Is it possible for the text file to contain an array? i.e.
    ...
  22. Replies
    3
    Views
    383

    Loading Arrays from a txt file

    Hello,

    I've had plenty of experience loading variables from files using the old


    loadVariablesNum("text.txt",0);

    Is it possible for the text file to contain an array? i.e.
    ...
  23. No worries :D Glad to be of help. Stu...

    No worries :D

    Glad to be of help.

    Stu
    :mrpimp:
  24. Thread: OOP Pointers

    by StuartW
    Replies
    1
    Views
    337

    Here's what I did: MainBaddie = function()...

    Here's what I did:


    MainBaddie = function() {}
    MainBaddie.prototype = new MovieClip();
    MainBaddie.prototype.onEnterFrame = function() {
    if ((this.energy <= 0) && (this.played == 0)) {...
  25. If you're using F5 or MX are far better way to...

    If you're using F5 or MX are far better way to syntax it would be:


    _root.Button1._x = _root.xpos1;
    _root.Button1._x = _root.xpos1;

    If F4 try edding _root to you button target. It may not be...
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