Category Archives: code

Cloning a MouseEvent

I’ve seen the question of how to dispatch a MouseEvent through code, but i’ve never seen it answered. I figured it out so i’ll share it with your here. Let’s say you have a BallSprite class and a RectSprite class (BallSprite being a graphic of a ball…..etc). And i want a MouseEvent.Click on an instance [...]

Also posted in Professional | Tagged , | Leave a comment

Random Tile class

An Actionscript 3 class I wrote the places tiles on a grid – either randomly or in order, with no overlap, and allows for a tile free zone.

Also posted in Professional | Tagged , | 1 Comment

Frustrating FireFox bug with ExtnernalInterface – resolved

Looks like I had a problem with my JavaScript. I need to add: var swfDiv = document.getElementById(‘swfDiv’); Checks out now in FireFox 3.5 mac, FireFox PC (version?), IE 8 on the pc. <script type="text/javascript">         function putFlashOnTop() {                 var swfDiv = document.getElementById(’swfDiv’);     [...]

Posted in code | Tagged , , , | Leave a comment

Frustrating FireFox bug with ExtnernalInterface

I have a swf with some html copy below it. It should (seemingly) expand when clicking the button and contract when clicked again. see example I need to swap the z-Index of the divs containing the SWF and the html copy. The swf is embeded using SWFObject. I have two simple javascript methods for re-assigning [...]

Also posted in Professional | Tagged | 2 Comments
  • Rocket Number 9

    Rocket 9 is the personal and professional online presence of Flash developer and citizen Mike Connor. Cloud Swing, Inc. is our software development shop.