Gary Rosenzweig's

Developer Dispatch

News and Notes For Developers Using Flash, ActionScript, Director, PHP and JavaScript.


MY BLOGS
Developer Dispatch Blog
Flash Game U
iPhone Dispatch Blog
INFO & FEEDBACK
About Developer Dispatch
About Gary Rosenzweig
Gary Rosenzweig's Books
Feedback
Contact Gary Rosenzweig
SHARING
Add to Technorati Favorites
Add to Del.icio.us
Stumble Upon
LINKS TO MY SITES
CleverMedia
Free Online Games at GameScene.com
MacMost
Director Online
LINKS TO MY FRIENDS
Tech Support from Ask Dave Taylor
Ask Leo
Amy Gahran
Custom Stickers
Dean's Director Tutorials
Flash Website Templates
Time 4 Learning
RSS FEEDS
Raw RSS
Add RSS to your My Yahoo


02/26/04

Greek Game Ban Update

Saw that there is a news story today on the 2-year-old Greek ban on video games. If you haven’t heard before, Greece has a law banning ALL video games. It was created to stop illegal gambling, but the law was too broad and is now used by police to shut down normal Internet cafes and such. Scary and true.
http://story.news.yahoo.com/news?tmpl=story&u=/afp/20040226/tc_afp/greece_internet_gaming


Post a Comment



02/16/04

Cataloging New Lingo

I’m trying to put together a list of all the new Lingo commands in DMX04. So far, it seems like a lot was added. You can see my efforts at http://director-online.com/lingo.php
I’ve yet to cover some of the large areas like DVD playback. Not sure if I will cover Real Media or Windows Media playback at all.


Post a Comment



02/15/04

Thoughts about Lingo vs JavaScript

So, the big new feature in Director MX 2004 is the addition of JavaScript next to Lingo as a programming language. As a writer, sometimes teacher, and otherwise so-called expert on Director, I thought it would be good for me to try to write something in JavaScript so I could get the hang of it if anyone asked me about it.
I didn’t get very far. JavaScript seems like a much slower and more complex programming process and not worth the attention of a Lingo expert, or even a Lingo novice.
My approach was to basically duplicate a simple game in JavaScript, knowing exactly how I would do it in Lingo. But to replicate simple things, like changing the location of a sprite, in JavaScript, the lines of code were much longer and less readable. So for the time being, I’ll stick with Lingo.


Post a Comment



First Use of DMX 2004

So now that DMX 2004 has been released, I can start talking about it here. One of the first things I did when I got the final release was to try updating a DMX project to it. I immediately ran into 2 problems. The first was that the .windowType property created errors. MIAW functionality has been majorly upgraded and this old property is now obsolete. I guess there is no need for backward compatibility because it is a Projector-only property, so it never has to deal with older players like in Shockwave.
The second problem was much more disturbing. I got a crash when a certain sprite’s visible property was set to TRUE. It was related to the member that was previously in that sprite channel, because when I moved the previous’ frame member in that channel to another channel, it was the new sprite channel that created the error. Hard to explain, I know. But by moving the member in the sprite in the previous frame to an unused sprite channel, the problem went away. So no harm done, but things like this make me worry. For now, I will chalk it up to an old file corruption error, as this movie has been updated many times, starting with Director 8.


Post a Comment



02/05/04

Shockwave 3D Multiple Sprites Bug

Here’s one that only happens on Mac OS X, in Shockwave. I’ve got four 3D sprites on the stage. The idea is that each shows a model and the user selects a model by clicking on it. But on the Mac, it crashes after the click.

I narrowed it down to the fact that Shockwave needs to clear off 4 3D sprites at once. The crash happens when the “go to frame” command is executed, but I can recreate it by setting all 4 sprite memberNums to 0 as well.

So to fix, I write quick behavior that gets rid of one sprite per frame, and then does the “go to frame”. So the button click puts into action a 5-frame sequence. Interesting.


Post a Comment