Solved

XML-driven flash image loader (CS4 AS3.0)

Posted on 2009-06-29
7
653 Views
Last Modified: 2013-11-11
Hello, I have an issue with my xml-driven image gallery loader, please see the file attached.  The "Design" and "Animation" buttons work perfectly however, the Development button works only some of the time and seems to load the animation images instead occasionally.  Not only this but the "Music" button sometimes loads the animation images, and that doesn't even have an event listener!  I'm so confused, please help!
0
Comment
  • 4
  • 2
7 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 24743350
either upload yoru file as stated, change .fla extension to .txt or supply code you're using on the button that's causing the problem
0
 

Author Comment

by:wheelsfalloffbandwagons
ID: 24743383
Hi, I did upload the file but it hasn't shown here for some reason... It's a ZIP file?  I've uploaded it here: http://www.abstractx.co.uk/flash.zip - Many thanks.
0
 
LVL 8

Accepted Solution

by:
ccarey earned 500 total points
ID: 24744011
the reason the music button appears to be performing phantom actions is that the mouse is actually catching the edge of the development button. Looks like a whacky Adobe display bug to me. It's creating an invisible hot area to the right of the development button. If you open the button and change the display props of the element within from "movieclip" to "graphic" it becomes more evident.

see this screen grab:
http://imagebin.ca/view/XYNfo42.html

I messed around with it a little and what appears to fix it is re-registering the text movieclips in those buttons so they align top-left (instead of center registration).

see here (note registration point at top left of development button)
http://imagebin.ca/view/LuYXrGfd.html


0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:wheelsfalloffbandwagons
ID: 24744198
Ccarey, I thought I was going mad, thank you so much!!!  Now all I have to do is try to figure-out how to re-register without having to re-create the movieclip anew!  Many thanks once again!
0
 

Author Closing Comment

by:wheelsfalloffbandwagons
ID: 31598027
I knew it wasn't something silly, thought I was going mad!
0
 
LVL 8

Expert Comment

by:ccarey
ID: 24744378
No probs.
To re-register, open the movieclip, unlock all the layers
CTRL+A to select all
go to the info palette and zero the X and Y coords while everything is selected
0
 

Author Comment

by:wheelsfalloffbandwagons
ID: 24744599
Brilliant, many thanks once again! :D
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now