flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Ferreira <miguel.cd.ferre...@hotmail.com>
Subject RE: s|Alert{} in css
Date Thu, 03 Oct 2013 11:21:37 GMT
ALert is not in the namespace spark so you have to use this
For example:mx|Alert{       title-background-skin: 		Embed("assets/skin/alert_title.png");
background-image: 		Embed("assets/skin/alert.png");....}
> From: frank@dahmenia.de
> To: users@flex.apache.org
> Subject: s|Alert{} in css
> Date: Thu, 3 Oct 2013 13:16:58 +0200
> 
> throws
> 
> Warning: Cannot resolve namespace qualified type 'Alert' in CSS selector 
> 'Alert'
> 
> how can i set skinclass for spark alerts globally?
> 
> or how can i get  a new instance and show it?
> 
> var alert:Alert=new Alert();
> alert.skinClass="alertSkin";
> alert.show(.....);    <- does not work, static mehod
> 
> thanks 
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message