Tag Archives: open source
Intro to Flashvars | Passing variables to actionscript from the html embed | Tutorial
I’ve had a couple special requests to explain flashvars and how to use it and show it in action.
Overview
The property “FlashVars” can be used to import root level variables to the flash movie or swf. The flashvars propery is used in codes for embedding flash in the html page. The string of variables passed in [...]
Using CSS Attribute Selectors to Stylize HTML | Style outbound links | Tutorial
Intro to CSS
We use css to apply styles to certain elements on the page, we can target any div like this:
HTML
1<div>Text</div>
CSS
123div {
css-property: value;
}
Any class selector <div class=”divClass”> like this:
HTML
1<div class="divClass">Text</div>
with this:
CSS
1234567div.divClass {
css-property: value;
}
<!-- or simply -->
.divClass {
css-property: value;
}
or any id selector, <div id=”divID”> like this:
HTML
1<div id="divID">Text</div>
with this:
CSS
1234567div#divID {
css-property: value;
}
<!-- or simply -->
#divID {
css-property: value;
}
These are [...]
Shared Object – utilizing the Flash cookie
Overview
The Shared Object is like a cookie for flash. It lets flash store some data on the local machine, so between sessions it can remember things. Learn more from wikipedia.
Shared Objects are used to store data on the client machine in much the same way that data is stored in a cookie created through a [...]
Posted in tutorial Also tagged actionscript, as2, download, experiment, flash, interactive, tutorial 1 Comment
XML and Flash Actionscript made Easy | Parse XML to Object | Tutorial
XML and flash is something that always seemed to be more complicated than it needed to be. Then I had an idea to parse the xml nodes into actionscript as objects, that would make working with xml tons easier for me, I could just parse it once and then forget about the xml, I could [...]
Dynamic Flash Scrolling Link List XML driven Component on FlashDen
Go get the file at Dynamic Scrolling Link List XML driven Auto wrapping
Circlecube Items at FlashDen
Posted in portfolio Also tagged abstract, actionscript, animation, as2, download, experiment, flash, flashDen, interactive, xml 3 Comments
Interactive Spin Actionscript Tutorial
I have been thinking of different interactions that are possible with objects. If you’ve read this blog at all you’ll know that I’ve played with physics and gravity and throwing balls and bouncing balls and all sorts. But I hadn’t wrapped my head around an interactive spinner. I know it’d be easy to make a [...]
Posted in portfolio, tutorial Also tagged abstract, actionscript, animation, as2, circle cube, download, experiment, flash, game, interactive, tutorial 9 Comments
Local Connection Actionscript – Communicate between seperate Flash files | Tutorial
Overview:
Local Connection
Communication between two separate flash files placed on the same page (or even running simultaneously on one machine) is a nice way to spread a project out. You can send variable, call functions, pretty much do anything in one swf from another. Easiest case use would be a navigation menu set up in one [...]























Calling actionscript functions through HTML text | asfunction Tutorial