Tag Archives: open source

Get current url to Flash swf using an External Interface call

Overview: Many have struggled with the task of getting you swf to read or get the current url showing in the browser, the html page the browser is at which has the swf embedded. Not to be confused with the _root._url which returns the path of the swf file. This would be helpful to know if [...]
Posted in tutorial | Also tagged , , , , , , | 25 Comments

PHP Menu Include function to reuse an html block on multiple pages

Overview: When making websites frequently we want a navigation bar or menu to show on every page. Rather than repeating the code on every single page, which is virtually impossible to update and maintain, or worse, using frames, use PHP to automate this and build each page dynamically. PHP will just paste in the navigation or [...]
Posted in tutorial | Also tagged , , , , | 1 Comment

NavBar Menu List with CSS

The Overview: An interactive navigation bar using CSS with rounded corners. Just put the html as an unordered list and your navigation links as list items and the CSS will do the rest! As shown here! The css will tell the browser to display this special unordered list as the menu. This utilizes a technique [...]
Posted in tutorial | Also tagged , , , , , , | 1 Comment

Dynamic Flash Vertical Scrolling Link List with XML

As seen at
Posted in portfolio | Also tagged , , , , , , , , | 12 Comments

Rollover elastic bounce rezise

Flash experiment that could be used for navigation. Rollover each area and watch them all resize themself to accomodate the growing box. It’s pretty fun to play with. Example
I’m sure there is a way to simplify the code, but this worked so there was no need. Actionscript 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130import mx.transitions.easing.*; import mx.transitions.Tween; var normWidth:Number = [...]
Posted in portfolio | Also tagged , , , , , , , | 4 Comments

Dynamic Scrolling Buttons

Here’s an example. A dynamic scroll, that changes speed according to your mouse. Here is the code for it as well, I tried to keep it pretty generic, just put this onto a movie clip I named “scroll.” And change the variables to fit your needs. Enjoy, and let [...]
Posted in portfolio, tutorial | Also tagged , , , , , , | 13 Comments

Gravity

A variation of the gravity with throwable ball experiment. It has optional gravity. Click the ball to drag and release to drop or throw it. Press the space bar to add more balls (up to 30). Press the down arrow to turn gravity off, and pres the up arrow to turn it back on. You can make some [...]
Posted in portfolio | Also tagged , , , , | Leave a comment

Drag Line

Actionscript exercise with a line connecting movable movieClips. Flash Example
actionscript 1234567891011121314151617// get x and y coordinates of the circles var ax = _root.point1._x; var ay = _root.point1._y; var bx = _root.point2._x; var by = _root.point2._y; var cx = _root.point3._x; var cy = _root.point3._y; // draw line between them _root.createEmptyMovieClip ("line", 0); with (_root.line){   lineStyle (1, 0x999999, 100);   moveTo (ax, ay);   [...]
Posted in portfolio | Also tagged , , , , | Leave a comment