troubleshooting Question

Flex canvas background position

Avatar of addmarketing
addmarketing asked on
Adobe Flash
1 Comment1 Solution6404 ViewsLast Modified:
I cant seem the get the background of the image to match up to top left, its down like 10 pixels and the the right like 20 pixels. I have a canvas component inside a hbox and thats inside the app I am going to put them all in order of hi-archy below
<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
	xmlns:mx="http://www.adobe.com/2006/mxml" 
	xmlns:v="views.*" 
	xmlns:vp="views.player.*" 
	backgroundColor="#FFFFFF"
	layout="absolute" height="100" width="397"
	creationComplete="init()" horizontalAlign="left" verticalAlign="top"
	verticalScrollPolicy="off" horizontalScrollPolicy="off"
	backgroundGradientColors="[#FFFFFF, #FFFFFF]"  x="0" y="0">
 
###################
 
	<mx:HBox showEffect="WipeLeft" hideEffect="WipeRight" verticalAlign="top" horizontalAlign="left"  height="98"  x="0" y="0">
	<vp:ControlsSmall  backgroundColor="#000000" height="102" width="418"/>
		</mx:HBox>
#####################
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" 
	xmlns:v="views.*" 
	xmlns:vp="views.player.*" 
	borderStyle="solid" borderThickness="0"  
	borderColor="#000000" cornerRadius="0"
	backgroundColor="#000000" alpha="1.0"
	 x="0" y="0"
	backgroundImage="views/player/mp3bg.png" height="84" width="383"  xmlns:ns1="com.slacker.*" creationComplete="volevents()">
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros