Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RollOver in Flash with Actionscript 3.0

New Here ,
Feb 01, 2008 Feb 01, 2008
Ok... I have a map in Flash and each individual country is it's own movie. When I rollOver the country I expect the name of the country to display near the bottom of the map. It works in AS 2.0 but not in AS 3.0. I have been pulling my hair out, and since I don't have any, my scalp is really hurting.


Any help someone can give me would be greatly appreciated.
TOPICS
ActionScript
657
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 01, 2008 Feb 01, 2008
You're probable used to AS 2. In AS 3 you cannot attach code directly to objects, you can only attach code to the time line. Look at the code to see what you need to do. AS 3 is a little more complicated but gives you a lot more control and flexibility.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008
LATEST
Ok... you said that I can only attach code to the timeline and not to objects... where exactly in the timeline do I attach the code? I am a little confused with the differences in AS 2.0 and AS 3.0...

Thanks again
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 01, 2008 Feb 01, 2008
You're probable used to AS 2. In AS 3 you cannot attach code directly to objects, you can only attach code to the time line. Look at the code to see what you need to do. AS 3 is a little more complicated but gives you a lot more control and flexibility.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 01, 2008 Feb 01, 2008
oops, posted twice, whateverrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008
Ok... I put that code in my flash project and verified that there are no errors in the code itself. However, when I try to test the movie I get the following error:

Warning: Action on button or MovieClip instances are not supported in Action Script 3.0. All scripts on object instances will be ignored.

Thus, when I do a mouse over on that particular country on the map, nothing happens.

Any ideas?

Thanks again
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2008 Feb 04, 2008
Twinbird24... Thanks for this... I am going to try it today and I'll let you know how it works out.

Thanks again
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines