Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Creating a menu and manage the different sections with Flash CS3

This is a discussion on Creating a menu and manage the different sections with Flash CS3 within the Tutorials forums, part of the Flash English category; i still got error. i ignore this and try to load the swf file and it still have error private ...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 Flash CS4 > Flash English > Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 08-12-07, 08:38
Junior Member
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0
wen_jie is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

i still got error. i ignore this and try to load the swf file and it still have error

private function init(evt:Event):void
1046: Type was not found or was not a compile-time constant: Event.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 08-12-07, 08:41
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,535
Rep Power: 6
Flep is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

Cause you must :
import flash.events.Event;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 08-12-07, 09:06
Junior Member
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0
wen_jie is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

hmm.. after i add the import flash.events.Event; .
i load the swf but now it give me this error

ReferenceError: Error #1056: Cannot create property section1_mc on Main.
at flash.display::Sprite/flash.display:Sprite::constructChildren()
at flash.display::Sprite$iinit()
at flash.display::MovieClip$iinit()
at Main$iinit()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 08-12-07, 09:20
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,535
Rep Power: 6
Flep is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

Dunno ...

attach the files i will have a look
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 08-12-07, 09:48
Junior Member
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0
wen_jie is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

ok.. thanks
Attached Files
File Type: zip sito_tutorial.zip (901.1 KB, 11 views)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 08-12-07, 09:52
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,535
Rep Power: 6
Flep is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

I am not understanding.

Explane please, into your ZIP, which file do i have to open ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 08-12-07, 10:00
Junior Member
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0
wen_jie is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

sezione1 is the swf file i want to put in
u open the main.fla file then test movie after u click enter then click sezione 1, it will have the error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 08-12-07, 10:11
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,535
Rep Power: 6
Flep is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

Fixed,
have a look:
Attached Files
File Type: zip wen_jie.zip (611.8 KB, 12 views)


Last edited by Flep; 13-05-08 at 19:33..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 08-12-07, 10:27
Junior Member
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0
wen_jie is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

thanks! it works already.
what did u change then it worked ? did i type wrong any thing ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 08-12-07, 10:28
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,535
Rep Power: 6
Flep is on a distinguished road
Re: Creating a menu and manage the different sections with Flash CS3

I just renamed the Document Class of sezione1. I called it Sezione1.as and into Sezione1.as i changed public class Main with public class Sezione1 and public function Main with public function Sezione1.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Creating a Flex component using Flash CS3 Flep Flex builder 3 ENG 3 15-12-08 18:14
Creating HTML output with Flash CS3 Flep Tutorials 1 31-07-08 09:32
Photoshop CS3 Creating a navigation menu Flep PhotoShop ENG 1 23-06-08 09:12
Menu Calls sections, runs if/then script triggering an animation???? donteatyourfriends advanced Actionscript 3.0 0 04-04-08 01:22
creating a menu hendrix01 Flash English 0 21-02-08 05:29


All times are GMT. The time now is 18:25.

Powered by vBulletin version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap