home of peter robert moore
life
Create a URL button in flash AS3
Jul 5th
If you need a banner to have a button that when clicked takes you to another webpage when you click the flash button this is how you do it. You need to create a button (in this case a transparent rectangle on top of a web banner animation), add an event listener(a mouse event/click) and create a function (in this case the function is to request a URL and navigate to it).
1/ Press F8 to convert a rectangle into a symbol, create button and name it myButton.
2/ Click on the button in the main timeline and press F9 to open the actions window.
3/ Use this code to create an event listener and a function for after the click event.
You can use…
“_blank” or “top” to open in a new tab
“_parent” or “_self” open in the same tab
myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event: MouseEvent) {
var request:URLRequest = new URLRequest("http://www.pmlmedia.co.uk");
navigateToURL(request, "_self");
}
List-o-matic! & htmldog
Jun 6th
If (like me) you need a crash course in CSS and HTML styles then this list-o-matic site is a good place for the beginner to start training in building a css navigation or even a whole standards-compliant website.
Found this HTML Dog Website good as well with information about all of the valid tags belonging to the latest version of strict XHTML. boooyaaaa
Matt Cutts: Gadgets, Google, and SEO
Apr 29th
I want one of these…
Mar 31st

