| | |
Can some experts tell me whats wrong with my code ?
Please support our Graphics and Multimedia advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I am currently learning flash from a tutorial which teach step by step i did step by step but somehow it cant work as i m a newbie i dunno how to fix it
tutorial link = http://www.oman3d.com/tutorials/flash/simple_website/
*************************************************************************
**Error** Scene=Scene 1, layer=Action, frame=1:Line 5: The class or interface 'Event' could not be loaded.
function loading(e:Event):void {
**Error** Scene=Scene 1, layer=Action, frame=2:Line 3: The class or interface 'MouseEvent' could not be loaded.
function goHome (e:MouseEvent):void{
**Error** Scene=Scene 1, layer=Action, frame=2:Line 8: The class or interface 'MouseEvent' could not be loaded.
function goAbout (e:MouseEvent):void{
**Error** Scene=Scene 1, layer=Action, frame=2:Line 13: The class or interface 'MouseEvent' could not be loaded.
function goLinks (e:MouseEvent):void{
**Error** Scene=Scene 1, layer=Action, frame=2:Line 18: The class or interface 'MouseEvent' could not be loaded.
function goContact (e:MouseEvent):void{
Total ActionScript Errors: 5 Reported Errors: 5
******************************************************************
i ll paste out my codes too
******************************************************************
*****************************************************
tutorial link = http://www.oman3d.com/tutorials/flash/simple_website/
*************************************************************************
**Error** Scene=Scene 1, layer=Action, frame=1:Line 5: The class or interface 'Event' could not be loaded.
function loading(e:Event):void {
**Error** Scene=Scene 1, layer=Action, frame=2:Line 3: The class or interface 'MouseEvent' could not be loaded.
function goHome (e:MouseEvent):void{
**Error** Scene=Scene 1, layer=Action, frame=2:Line 8: The class or interface 'MouseEvent' could not be loaded.
function goAbout (e:MouseEvent):void{
**Error** Scene=Scene 1, layer=Action, frame=2:Line 13: The class or interface 'MouseEvent' could not be loaded.
function goLinks (e:MouseEvent):void{
**Error** Scene=Scene 1, layer=Action, frame=2:Line 18: The class or interface 'MouseEvent' could not be loaded.
function goContact (e:MouseEvent):void{
Total ActionScript Errors: 5 Reported Errors: 5
******************************************************************
i ll paste out my codes too
******************************************************************
ActionScript Syntax (Toggle Plain Text)
stop(); this.addEventListener(Event.ENTER_FRAME, loading); function loading(e:Event):void { var total:Number = this.stage.loaderInfo.bytesTotal; var loaded:Number = this.stage.loaderInfo.bytesLoaded; if (total == loaded) { play(); this.removeEventListener(Event.ENTER_FRAME, loading); } }
*****************************************************
ActionScript Syntax (Toggle Plain Text)
stop(); function goHome (e:MouseEvent):void{ gotoAndStop("Home"); } home_btn.addEventListener(MouseEvent.CLICK, goHome); function goAbout (e:MouseEvent):void{ gotoAndStop("About"); } about_btn.addEventListener(MouseEvent.CLICK, goAbout); function goLinks (e:MouseEvent):void{ gotoAndStop("Links"); } links_btn.addEventListener(MouseEvent.CLICK, goLinks); function goContact (e:MouseEvent):void{ gotoAndStop("Contact"); } contact_btn.addEventListener(MouseEvent.CLICK, goContact);
Last edited by peter_budo; Sep 18th, 2008 at 1:53 pm. Reason: Keep It Organized - please use [code] tags
![]() |
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: working with spry horizontal menu in dreamweaver
- Next Thread: Anyone familiar with how to create a color fade
| Thread Tools | Search this Thread |
3d 10 actionscript3 adobe adobeacrobat adobereader air ajax amazon amf apple button cart childprotection cloud dashboard dell design dojofoundation dreamweaver ebay eclipse ecommerce elasticcomputecloud embed endorsement extra family flash flash-develop flashlite flex free harddrive iamthwee ibm illustrator imflash intel interactivemap javafx javascript laptop legal map micron microsoft mobile monitoringsoftware moonlight multimedia myspace nand news novell panorama pdf pedophiles photoshop photosynth php safety sandisk security shopping silverlight solidstatedrive sproutcore ssd streaming swf table ukmap unload unwanted video vulnerability web white.space xml zend zephyr zeroday





