Solved

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

Posted on 2009-06-29
7
654 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JPA XML tag definition 2 64
Unable to resolve XML http request 4 74
Parsing the XML data to SQL Server 4 59
microsoft access - xml 10 58
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

929 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

11 Experts available now in Live!

Get 1:1 Help Now