Tag Archives: open source

Calling actionscript functions through HTML text | asfunction Tutorial

Add this to the list of things I should have already known! Story I’ve got an html enabled text box and was trying to devise a way that I could have a hyperlink anchor tag not link to a webpage but actually do something flash. It didn’t seem possible, and I looked through all the different html [...]
Posted in tutorial | Also tagged , , , , , , | 10 Comments

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 [...]
Posted in tutorial | Also tagged , , , , , | 15 Comments

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 [...]
Posted in tutorial | Also tagged , , , , | Leave a comment

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 , , , , , , | 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 [...]
Posted in tutorial | Also tagged , , , , , | 13 Comments

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 , , , , , , , , , | 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 , , , , , , , , , , | 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 [...]
Posted in tutorial | Also tagged , , , , , | 17 Comments