Help with an error in some actionscript

  • nucleareskimo
  • Newbie
  • Newbie
  • nucleareskimo
  • Posts: 11

Post 3+ Months Ago

im pretty new to flash, and i am trying to make a video with a preloader first, the script should be fine as it came from a tutorial, but when i try to preview the movie it gives this error.

Code: [ Select ]
**Error** Symbol=preloader_mc, layer=text, frame=1:Line 1: The class 'Preloader' could not be loaded.

Total ActionScript Errors: 1      Reported Errors: 1
  1. **Error** Symbol=preloader_mc, layer=text, frame=1:Line 1: The class 'Preloader' could not be loaded.
  2. Total ActionScript Errors: 1      Reported Errors: 1


i was just wondering if anyone could help or would i have to link to the flash file also...
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

Looks like you are trying to load a class.

In Flash MX 2004 classes are defined in external .as files that exist in the same directory as the flash file.

What tutorial did you follow? Did you need to download a Preloader.as file for this (that would be the name of the file given the classname)
  • nucleareskimo
  • Newbie
  • Newbie
  • nucleareskimo
  • Posts: 11

Post 3+ Months Ago

i was just using the semi tutorial on macromedia.com. so i tried to pull the preloader from their example in, along with its code, and i thought i did it a close to good as i could but then this error came up
  • nucleareskimo
  • Newbie
  • Newbie
  • nucleareskimo
  • Posts: 11

Post 3+ Months Ago

nm, i got it now, i realized that i didnt have the as file in the directory of the movie i was making with that preloader, not its up and running as i had expected. and now i know

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 12 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.