Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Michael Schmalle

Hi,

Is it an SWC file?

If so, you need to go

CurrentProject - right click, Properties - Flex Build Path - Library Path
Tab;

Then either choose, Add SWC Folder or Add swc.


From there you should be good to go.


Peace, Mike

On 2/28/07, Bruce H. Johnson [EMAIL PROTECTED] wrote:


  I downloaded a neat-looking speedometer chart component in a zip file.
I can extract with the directory structure (GaugeComponent\Gauge... etc.)

Now, how do I get Builder 2 to recognize the sucker is there? I've
tried File  Import..., pointing a Source Path at it, etc. I've spent
a couple hours in Builder Help so I'm obviously asking the wrong question.

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Bruce Johnson
Did that. I can now see the two Gauge components in Custom Components. However, 
if I drag one onto the design panel, the code shows, ns1:Gauge x=53 
y=301/ Apparently not picking up the class definition.

There's a test mxml file and an SWF with the zip. When I copy over the style 
definitions, I get two errors on this style:
  .bitmapGauge {
   frameSkin:  Embed(source=/gauge/skins/graphic/BitmapFrame.png);
   coverSkin:  Embed(source=/gauge/skins/graphic/BitmapCover.png);
  }

Severity Description Resource In Folder Location Creation Time Id
2 Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = 
/gauge/skins/graphic/BitmapFrame.png)'. main.mxml RD line 28

So, apparently there's some more stuff gotta go on. Any ideas, anyone?

 
Bruce H. Johnson
Sylmar, California
[EMAIL PROTECTED]
#include std_disclaimer



- Original Message 
From: Nuno Morgadinho [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 28, 2007 7:43:29 AM
Subject: Re: [flexcoders] Getting a Third-Party Component into Builder 2?

Try adding the folder source path of the component under Project Properties  
ActionScript Build Path .




 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Bruce Johnson
No .swc. Bunch of .as and a couple bitmaps. The style statements barf on the 
Embed path to the bitmaps.
 
Bruce H. Johnson
Sylmar, California
[EMAIL PROTECTED]
#include std_disclaimer

- Original Message 
From: Michael Schmalle [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, February 28, 2007 7:55:27 AM
Subject: Re: [flexcoders] Getting a Third-Party Component into Builder 2?









  



Hi,

Is it an SWC file?

If so, you need to go

CurrentProject - right click, Properties - Flex Build Path - Library Path 
Tab;

Then either choose, Add SWC Folder or Add swc.

From there you should be good to go.


Peace, Mike


On 2/28/07, Bruce H. Johnson bhjohnson36@ yahoo.com wrote:













  



I downloaded a neat-looking speedometer chart component in a zip 
file.

I can extract with the directory structure (GaugeComponent\ Gauge... etc.)



Now, how do I get Builder 2 to recognize the sucker is there? I've

tried File  Import..., pointing a Source Path at it, etc. I've spent

a couple hours in Builder Help so I'm obviously asking the wrong question.






  



















-- 
Teoti Graphix
http://www.teotigra phix.com

Blog - Flex2Components
http://www.flex2com ponents.com


You can find more by solving the problem then by 'asking the question'.


  







!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
--








 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

[flexcoders] Getting a Third-Party Component into Builder 2?

2007-02-28 Thread Bruce H. Johnson
I downloaded a neat-looking speedometer chart component in a zip file.
I can extract with the directory structure (GaugeComponent\Gauge... etc.)

Now, how do I get Builder 2 to recognize the sucker is there? I've
tried File  Import..., pointing a Source Path at it, etc. I've spent
a couple hours in Builder Help so I'm obviously asking the wrong question.




Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-02-28 Thread Nuno Morgadinho

Try adding the folder source path of the component under Project Properties

ActionScript Build Path .