Blog

  • AtlMMUG 1.13.2004 featuring Director MX 2004

    Happy New Year to you all.

    I am very excited to announce that, as part of the announced new
    version of Director, Macromedia Director MX 2004, we will be having a
    Breeze demonstration of the new version by the Macromedia product team.

    Frankly, I am shocked by some of the new features! Shocked!

    To find out more about Macromedia Director MX 2004 click on
    <a href=”http://www.macromedia.com/software/director/”>http://www.macromedia.com/software/director/</a>

    Hope to see you NEXT TUESDAY for this big event!

    Leif

    =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

    WHAT: The Atlanta Macromedia User Group November Meeting
    WHEN: Tuesday, January 13, 2004 — 6:30 – Social, 7:00 PM – Meeting
    WHERE: The Global Learning Center at Technology Square
    DIRECTIONS: <a href=”http://www.glcc.gatech.edu/pages/directions.htm”>http://www.glcc.gatech.edu/pages/directions.htm</a>
    WHO: Macromedia Director Product Team
    TOPIC: Macromedia Director MX 2004
    RSVP: leifwells@mac.com

    This Meeting’s Topic:
    Announcing Macromedia MX 2004

    Cross-platform compilation of projectors?
    JavaScript?
    Flash MX 2004 compatible?

    Yes, see these features and more as the Macromedia Director product
    team shows off the latest release of Director, Macromedia Director MX
    2004.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Leif Wells
    Atlanta Macromedia User Group Manager
    leifwells@mac.com
    <a href=”http://www.atlmmug.org”>http://www.atlmmug.org</a>

  • Win a kid for a quarter!

    <a href=”http://www.chippewa.com/articles/2004/01/04/news/news3.txt”>7-year-old gets stuck in stuffed animal game machine</a>

    <a href=”http://www.chippewa.com/articles/2004/01/04/news/news3.txt”><img src=”http://www.chippewa.com/content/articles/2004/01/04/news/news3.jpg” border=”0″ /></a>

  • MovieClip._grandpa

    And to think, all you have to do nowadays to obtain Kudos from peeps is whip code out ye arse… rock on!

    Derived from <a href=”http://www.darronschall.com/weblog/archives/000081.cfm”>Darron’s _location</a>. Prototype ain’t dead, just under-used.

    Can you eat Kudos?

    Read on for code…

  • attachMovie doesn’t return a value… in the Twilight Zone

    Ok, it must be because I’m down to the wire on this project, but after the 2nd time of having attachMovie not return a value in one of my functions, I just couldn’t take it anymore, and had to solve it.

    And I did, MOFO!

    …I just don’t understand the results.

    My problem:
    – attachMovie was not returning a value
    – tracing the function call printed the movie clip path in the Output Window
    – tracing it with a string in the trace statement printed a NaN in the Output Window; trace(“ref_mc: ” + attachMovie(“MyComponent”, “my_mc”, 0));
    – utilizing typeof and instanceof showed undefined in the Output window
    – any return value showed undefined

    …uh, no, that’s not how attachMovie works. It doesn’t attach a component and then have that component magically work, but not return a value. If I accessed the movie clip, however, it worked. Now, a RAD type of developer would of moved on, simply replacing ref_mc with a pointer to the movie clip’s real name.

    Personally, I don’t like shiot breaking and not knowing why. So, after investigation, it turns out that placing a “stop();” in an AS2 constructor/init function will cause the return value to fail. this.stop, using a stop in AS1, or this.stop in AS1 are all fine.

    Uh, yeah…ok… sure, that makes tons of sense. :: dar dar dar :: * hits right wrist on chest heavily *

    This is important in designing AS2 components because you now place your component’s assets on frame 2 on a non-guided frame. You now have to add a stop to prevent your component from ever reaching that frame since it’s merely there to ensure your component includes all it needs in either travelling to another FLA’s library, or transforming into an SWC. You can place a “stop” command on the timeline on frame 1 if you wish, but most purists don’t believe in any timeline code if possible. Putting it on the constructor/init function is best.