[flexcoders] Are you will me.

2010-05-19 Thread Shabir Gilkar
*Hi Human !*

I have created a group on Facebook *"I Feel The Pain"* as you might be
all known to the fact about the situation in* Kashmir* and therefore due
to the conflict lots of unemployment had increased and lots of
talented youth are out of job. Via this group I am inviting all the
resident and overseas Kashmiris and the friends of Kashmir (From All
over the World) to join this group and become *soldiers of peace* for
Kashmir. Please join this group and do post the *job openings* you find
near you or in the offices you are working. At least if we can do
nothing, we can even post 1 job posting we find on our newspapers. So
let us join together and help Kashmir and make our other friends aware
about this group and do convince them to join. I also request you to
forward this mail across your friend list who you think are caring and
eager to help Kashmir. This is just a small beginning and I hope we
will togetherly make this big enough to fit the needs.
I humbly invite all my friends and good human beings who want to help
those who are in need. *I don’t ask money* but few minutes of your
precious life for good cause.
Let us say, *"I Feel The Pain"* and write on our email signatures a line
Join *"I Feel The Pain"* on *Facebook*, I am doing the same are you with
me. The Kashmir is calling you.
Note: If you don’t want to directly post on facebook do send me the
Job details available at you. Details should be brief info regarding
company, Post available, Eligibility, Experience needed, Contact
details etc. and I will post on behalf of you on Facebook.

-- 
With Regards

Shabir Ahmad Gilkar

Srinagar Kashmir J&K

Voice: +91 9419942501
email: shabirgil...@gmail.com
URL:   http://shabirgilkar.wordpress.com
Skype: shabirgilkar
Join *"I Feel The Pain"* on Facebook


RE: [flexcoders] textInput - Flex 4 vs. Flex 3

2010-05-19 Thread Gordon Smith
It should work. Exactly what problem are you having?

Gordon Smith
Adobe Flex SDK Team

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of tex_learning_flex
Sent: Wednesday, May 19, 2010 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textInput - Flex 4 vs. Flex 3



In Flex 3 you could set an initial value for a textInput field like so:



I haven't been able to do this in Flex 4 -- does anyone know a way to achieve 
the same result?

thanks in advance,

Tex



RE: [flexcoders] init, creationcomplete and other events

2010-05-19 Thread Gordon Smith
From the ASDoc for these events:

preinitialize: "Dispatched at the beginning of the component initialization 
sequence. The component is in a very raw state when this event is dispatched. 
Many components, such as the Button control, create internal child components 
to implement functionality; for example, the Button control creates an internal 
UITextField component to represent its label text. When Flex dispatches the 
preinitialize event, the children, including the internal children, of a 
component have not yet been created."

initialize: "Dispatched when the component has finished its construction and 
has all initialization properties set. After the initialization phase, 
properties are processed, the component is measured, laid out, and drawn, after 
which the creationComplete event is dispatched."

creationComplete: "Dispatched when the component has finished its construction, 
property processing, measuring, layout, and drawing. At this point, depending 
on its visible property, the component is not visible even though it has been 
drawn."

applicationComplete: "Dispatched after the Application has been initialized, 
processed by the LayoutManager, and attached to the display list."
If you think we need better explanations, please file a documentation bug. (The 
second sentence about creationComplete is confusing, but the rest doesn't seem 
too bad.)
- Gordon






From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Angelo Anolin
Sent: Wednesday, May 19, 2010 6:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] init, creationcomplete and other events



Thanks Alex and Gordon.

Is there some sort of documentation for this?

Thanks.


From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Tue, 18 May, 2010 18:20:36
Subject: Re: [flexcoders] init, creationcomplete and other events



Preinitialize, initialize, creationComplete, applicationComplete .

Objects do not have a stage until applicationComplete .


On 5/18/10 3:22 PM, "Angelo Anolin"  wrote:





Hi FlexCoders,

Does anyone have a link on which event fires up first?  For example, in an 
application container, which event fires up and any other pointers which I have 
to be aware of.

Thanks.

Angelo






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs. adobe.com/ aharui




Re: [flexcoders] Re: Errors from generated MXML code from module

2010-05-19 Thread Alex Harui
I wish I had a good answer.  Right now we have to trust the publishers to make 
their version dependencies clear.  It might be worth filing an enhancement 
request.  I think there may be some hard to get data in the SWC that will hint 
to us about version dependencies.


On 5/19/10 12:33 PM, "jmbo...@bellsouth.net"  wrote:








This was the problem Alex!!!  When I used an older version of a swc, everything 
worked fine.  Thank you for your time and knowledge!!!

So now I wonder, how can you determine what SDK version any particular swc is 
created with?  If I am stuck in a 3.2 world, and grab a 4.x swc but don't know 
what version it was compiled with, the compiler won't help me out by telling me 
it is potentially incompatible.  Argg

--- In flexcoders@yahoogroups.com  , Alex 
Harui  wrote:
>
> Try a brand new project w/o any third-party libraries.
>
> It may not help to just recompile third-party libraries if those libraries 
> reference Flex 4 versions of classes and interfaces.  You have to make sure 
> there aren't any references to Flex 4 (or even 3.3 and later) in the 
> libraries you are using.
>
>
> On 5/18/10 7:08 PM, "jmbo...@..."  wrote:
>
>
>
>
>
>
>
>
> Good point. With Flex 4 out and us still using Flex 3.2,we will need to be on 
> the lookout for inconsistencies.  I recompiled several swfs locally using 3.2 
> to ensure this wasn't the problem.
>
> I probably omitted important information. I was compiling a swf file that 
> inherited from Application.  Because we are really treating them as Modules, 
> I changed the base class to Module from Application.  When I change it back 
> to Application, everything compiles.  So, it apparently has to do with trying 
> to compile stand-alone Modules using FB3 and Maven.  I tried hard to get the 
> org.sonatype.flexmojos to compile my code when I inherited from Module, but 
> no luck.
>
> --- In flexcoders@yahoogroups.com   
>  , Alex Harui  wrote:
> >
> > If you have a library/swc in the library-path that is based on code newer 
> > than 3.2, that would cause this problem.
> >
> >
> > On 5/18/10 2:23 PM, "jmboone@"  wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> > Hummm,
> >
> > I don't know how that would be.  This happens within Eclipse, and when I 
> > compile using Maven from the command line using version 3.2 of the 
> > compiler.  I have verified that the compiler version is the same across all 
> > my projects.
> >
> > I get the same error if I add a Module to my project that does nothing.  I 
> > don't get the error in any of my other similar projectsI hate software 
> > some days.
> >
> > --- In flexcoders@yahoogroups.com   
> >   
> >  , Alex Harui  wrote:
> > >
> > > Sounds like the compiler is not compatible with the SWCs you are 
> > > compiling against.
> > >
> > >
> > > On 5/18/10 12:42 PM, "jmboone@"  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I have am trying to compile one of my modules but I am getting the errors 
> > > shown below.  This is in generated code and I am not certain what it is 
> > > trying to tell me.  Has anyone see this before?
> > >
> > > Thanks!
> > >
> > > -- Jim
> > >
> > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface 
> > > method get preloadedRSLs in
> > >  namespace mx.core:IFlexModuleFactory not implemented by class 
> > > _PharmacySpendApp_mx_core_FlexModuleF
> > > actory.public class _PharmacySpendApp_mx_core_FlexModuleFactory
> > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface 
> > > method allowInsecureDomain
> > > in namespace mx.core:IFlexModuleFactory not implemented by class 
> > > _PharmacySpendApp_mx_core_FlexModul
> > > eFactory.public class _PharmacySpendApp_mx_core_FlexModuleFactory
> > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface 
> > > method allowDomain in names
> > > pace mx.core:IFlexModuleFactory not implemented by class 
> > > _PharmacySpendApp_mx_core_FlexModuleFactory
> > > .public class _PharmacySpendApp_mx_core_FlexModuleFactory
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Alex Harui
> > > Flex SDK Team
> > > Adobe System, Inc.
> > > http://blogs.adobe.com/aharui
> > >
> >
> >
> >
> >
> >
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe System, Inc.
> > http://blogs.adobe.com/aharui
> >
>
>
>
>
>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] textInput - Flex 4 vs. Flex 3

2010-05-19 Thread Alex Harui
You can use binding, but there is no data property on a TextInput anymore, so 
if you are creating a renderer, use MXItemRenderer or one of its subclasses.


On 5/19/10 7:21 PM, "tex_learning_flex"  wrote:






In Flex 3 you could set an initial value for a textInput field like so:



I haven't been able to do this in Flex 4 -- does anyone know a way to achieve 
the same result?

thanks in advance,

Tex






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] flash 4 and flex 3

2010-05-19 Thread cholid cholid
no, i mean flash builder4 and flex builder 3
flash builder 4 is new different name of flex builder 






From: Mark Lapasa 
To: flexcoders@yahoogroups.com
Sent: Thu, May 20, 2010 3:00:59 AM
Subject: Re: [flexcoders] flash 4 and flex 3

  
You are wasting your time with Flash 4

Flash 5 > Flash 4

Flash 5 FTW!



On Wed, May 19, 2010 at 10:39 AM, Kerry Thompson  
wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>  >
>
>>
> 
>>  
> 
>cholid_ridwan wrote:
>
>
>What advantages of flash 4 compare with flex 4?
>>
> 
>Lots of advantages.
> 
>- You can do timeline animations
>- Components are lighter
>- You can get by with less advanced AS3 knowledge than in Flex
>- You can do things from scratch, like Flex's data grid, and bill your clients 
>more
>- For a substantial code-heavy project, you can bill more hours
>- You can get to meet more clients as your other clients hire Flex developers
>- You don't have to deal with the far superior debugger in Flex 4 (or, more 
>accurately, FlashBuilder 4) 
>- You don't have to deal with FlashBuilder's superior dev environment
> 
>Cordially,
> 
>Kerry Thompson

 


  

Re: [flexcoders] errror when compile at sdk 4

2010-05-19 Thread cholid cholid
sory, i mean flash4 and flex3






From: Oleg Sivokon 
To: flexcoders@yahoogroups.com
Sent: Wed, May 19, 2010 3:50:03 PM
Subject: Re: [flexcoders] errror when compile at sdk 4

  
Hi.
Are you sure it's not a typo:
Application. FlexGlobals
I don't remember such property on Application class, and it's very unlikely 
there will be one as if that was a property, it would start with lowercase.

Best.

Oleg
 


  

[flexcoders] textInput - Flex 4 vs. Flex 3

2010-05-19 Thread tex_learning_flex
In Flex 3 you could set an initial value for a textInput field like so:



I haven't been able to do this in Flex 4 -- does anyone know a way to achieve 
the same result?

thanks in advance,

Tex






[flexcoders] Flash builder skins

2010-05-19 Thread Scott
Does anyone have a unique skin for Flash builder 4 available for
download?  Or know of a site that has Flash Builder 4 skins for
download?

 

 Thanks much.



Re: [flexcoders] How to align label text to the left in Spark Button (no "textAlign" style)?

2010-05-19 Thread Andriy Panas
Hi Judah,

We also use custom skins a lot along Flex 4 components, but when
particular style is marked on base class as "excluded" with meta-tag
[Exclude] there is no way to re-include this style back in base class
descendant.

Mxmlc compiler will continue to complain about style "being excluded"
for the component.

Luckily, in this case we can extend LinkButton from ButtonBase, and
voila, "textAlign" style is back for the Spark LinkButton.


--
Best regards,
Andriy Panas



On 18 May 2010 22:41, dorkie dork from dorktown
 wrote:
>
>
>
> Thanks Andriys, I see what you mean. I didn't look at the actual button skin. 
> I assumed the textAlign and top left right bottom constraints were hardcoded 
> in the default button skin's label.
>
> My example was mainly for illustrative purposes on how to pull in and set a 
> style in your skin from CSS. In my experience so far I've had to extend 
> almost all the controls to get the look and feel we want. This would have 
> been a lot of work in Flex 3 but with skinning in FDK 4 (yeah i said it - 
> coined!) and FC it's turning out to be a lot less work and lot more fun (is 
> it ok to say work is fun?). ;)
>
> JP
>
> On Tue, May 18, 2010 at 8:04 AM, Andriy Panas  wrote:
>>
>>
>>
>> Hi Judah,
>>
>> I really do not get the Adobe folks reasoning why "textAlign" style was 
>> excluded from Spark Buttton.
>> BTW, the binding of "textAlign" style property in your custom skin via 
>> {getStyle('textAlign')} is redundant.
>> The  inside Button's skin would inherit the value set 
>> from "textAlign" style from , because   will have no 
>> explicit value set to "textAlign" in our custom skin
>> e.g
>>
>> 
>> ...
>> >              verticalAlign="middle"
>>              maxDisplayedLines="1"
>>              horizontalCenter="0" verticalCenter="1"
>>              left="10" right="10" top="2" bottom="2">
>>     
>> 
>> --
>> Best regards,
>> Andriy Panas
>>
>>
>>
>> On 18 May 2010 07:53, dorkie dork from dorktown 
>>  wrote:
>>>
>>>
>>>
>>> Hi Andriy,
>>>
>>> Yes. You will need to create a custom skin. You can base it on the Button 
>>> skin. In the skin you can use the following code:
>>>
>>> >> id="labelDisplay"
>>> textAlign="getStyle('textAlign')"
>>>
>>> left="2" right="2" top="2" bottom="2"/>
>>> 
>>>
>>> And you must set the style in CSS. The other way to set it is to extend 
>>> Button and add a property for text alignment. Then you can set it in MXML.
>>>
>>> JP
>>>
>>> On Mon, May 17, 2010 at 3:25 AM, Andriy Panas  wrote:



 Hi all,

 "textAlign" style is excluded for Spark Button, and probably for a good 
 reason.

 [Exclude(name="textAlign", kind="style")]

 If I want to align Spark Button text label to the left, should I
 create custom skin to accomplish that?

 Something e.g:

 
 http://ns.adobe.com/mxml/2009";
 xmlns:s="library://ns.adobe.com/flex/spark"
 xmlns:mx="library://ns.adobe.com/flex/mx"
 minWidth="21" minHeight="21"
 alpha.disabled="0.5">
 ...

 >>> id="labelDisplay"
 textAlign="left"
 left="2" right="2" top="2" bottom="2"/>
 

 --
 Best regards,
 Andriy Panas
>>>
>>
>
> 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] flash 4 and flex 3

2010-05-19 Thread Mark Lapasa
You are wasting your time with Flash 4

Flash 5 > Flash 4

Flash 5 FTW!


On Wed, May 19, 2010 at 10:39 AM, Kerry Thompson wrote:

>
>
> cholid_ridwan wrote:
>
>   What advantages of flash 4 compare with flex 4?
>>
>
> Lots of advantages.
>
> - You can do timeline animations
> - Components are lighter
> - You can get by with less advanced AS3 knowledge than in Flex
> - You can do things from scratch, like Flex's data grid, and bill your
> clients more
> - For a substantial code-heavy project, you can bill more hours
> - You can get to meet more clients as your other clients hire Flex
> developers
> - You don't have to deal with the far superior debugger in Flex 4 (or, more
> accurately, FlashBuilder 4)
> - You don't have to deal with FlashBuilder's superior dev environment
>
> Cordially,
>
> Kerry Thompson
>  
>


Re: [flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-19 Thread Angelo Anolin
Actually, the dpID is different for each xmllistcollection being passed.

For example, for an xmllistcollection consisting of Orders, I might have to 
need the OrderID, which I am accessing, and it goes on for another 
xmllistcollection of States, where on that collection, I might have to access 
StatesID.

To give further clarification,

say I have two combo boxes, cmbTeams and cmbCoach.  the dataprovider for 
cmbTeams is xmllcTeams and for cmbCoach is xmllcCoach.

I want a generic function such that I would be able to set the selectedItem for 
each Combo Box instead of writing two.

private function SetComboBoxSelectedItem(itemToSelect:String, 
xmlLC:XMLListCollection, cmb:ComboBox, collectionID:String)

Since the collectionID for the xmllcTeams is TeamID, then that is the value 
which I pass as collectionID in the function.  For the xmllcCoach, it would be 
the CoachID.


so what comes now is that when I want to call the function, the collectionID is 
represented by the actual ID which to match in the data provider.

For the xmllcTeams
var item:String = xmlLC.getItemAt(i).TeamID

For the xmllcCoach
var item:String = xmlLC.getItemAt(i).CoachID


Generic form>>
var item:String = xmlLC.getItemAt(i).collectionID; ??

Thanks.




From: gareth_arch 
To: flexcoders@yahoogroups.com
Sent: Wed, 19 May, 2010 10:34:35
Subject: [flexcoders] Re: Generic Function To Set ComboBox Item

  
Don't you access properties in an XMLListCollection differently than in an 
ArrayCollection?

So rather than...
var item:String = dataProv.getItemAt(i).dpID;
it would be
var item:String = dataProv.getItemAt(i)@dpid;

Try doing a debug of your code and see what is being returned also.

--- In flexcoders@yahoogroups.com, Angelo Anolin  wrote:
>
> Hi FlexCoders,
> 
> I would want to create a generic function to be able to set a ComboBox item.
> 
> The function I have goes like this:
> 
> private function selectComboItem(itemID:String, dataProv:XMLListCollection, 
> cmb:ComboBox, dpID:String) :void
> {
>   for (var i:int = 0; i< dataProv.length; i++)
>   {
> var item:String = dataProv.getItemAt(i).dpID;
> 
> if(itemID == item)
> {
>   cmb.selectedIndex = i;
>   break;
> }
>   }
> }
> 
> dpID is the data item in the XML List collection which should match the 
> passed itemID.  But I can't seem to get properly the item.
> 
> Any suggestions highly appreciated. Thanks.
>


 


  

Re: [flexcoders] Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread Angelo Anolin
Hi Kerry,

I actually need the control's signature which to pass to its own event but 
being called from another control's event.

Thanks.

Angelo




From: Kerry Jordan 
To: flexcoders@yahoogroups.com
Sent: Wed, 19 May, 2010 10:37:18
Subject: Re: [flexcoders] Calling a ComboBox Change Event from TextInput  
TextChanged event

  
On Wed, May 19, 2010 at 10:01 AM, Angelo Anolin  wrote:
> What I mean is that the change event would be dispatched (or executed) by the 
> textinput change event.

Instead of attempting to conform to an existing function's signature,
have you considered simply adding another function to process the
event? For example, would the following psuedo-code address your
needs?

private function processChange( /* relevant parameters such as text go
here */ ):void
{
// process change
}

private function comboBoxChangeHandler( event:Event ):void
{
// extract needed data from event

// call processChange to handle the "work"
processChange( /* extracted data */ );
}

private function textInputChangeHandler( event:Event ):void
{
// extract needed data from event

// call processChange to handle the "work"
processChange( /* extracted data */ );
}

 


  

[flexcoders] Weird DateField Behavior in Title Window

2010-05-19 Thread Angelo Anolin
Dear FlexCoders,

I have a title window where I have a datefield and button control declared as 
follows:





and the function(s):

private function dateFieldTest_Change(dateSel:Date) :void
{
Alert.show(String(dateSel));
}

private function btnTest_Click(evt:Event) :void
{
Alert.show(String(dateFieldTest.selectedDate));
}

The odd thing about it is that the function dateFieldTest_Change event, when 
triggered displays two alert boxes, the date which was selected and null. I 
think the first message that is displayed is the date value and then the null 
(since the null alert box is on top of the date value alert box).

When the function btnTest_Click is triggered, the alert displays null as well, 
eventhough on the dateFieldTest control, the date is displayed and has been 
selected.

Am I missing something here?

Angelo


  

[flexcoders] Re: Errors from generated MXML code from module

2010-05-19 Thread jmbo...@bellsouth.net


This was the problem Alex!!!  When I used an older version of a swc, everything 
worked fine.  Thank you for your time and knowledge!!!

So now I wonder, how can you determine what SDK version any particular swc is 
created with?  If I am stuck in a 3.2 world, and grab a 4.x swc but don't know 
what version it was compiled with, the compiler won't help me out by telling me 
it is potentially incompatible.  Argg


--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Try a brand new project w/o any third-party libraries.
> 
> It may not help to just recompile third-party libraries if those libraries 
> reference Flex 4 versions of classes and interfaces.  You have to make sure 
> there aren't any references to Flex 4 (or even 3.3 and later) in the 
> libraries you are using.
> 
> 
> On 5/18/10 7:08 PM, "jmbo...@..."  wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> Good point. With Flex 4 out and us still using Flex 3.2,we will need to be on 
> the lookout for inconsistencies.  I recompiled several swfs locally using 3.2 
> to ensure this wasn't the problem.
> 
> I probably omitted important information. I was compiling a swf file that 
> inherited from Application.  Because we are really treating them as Modules, 
> I changed the base class to Module from Application.  When I change it back 
> to Application, everything compiles.  So, it apparently has to do with trying 
> to compile stand-alone Modules using FB3 and Maven.  I tried hard to get the 
> org.sonatype.flexmojos to compile my code when I inherited from Module, but 
> no luck.
> 
> --- In flexcoders@yahoogroups.com  , 
> Alex Harui  wrote:
> >
> > If you have a library/swc in the library-path that is based on code newer 
> > than 3.2, that would cause this problem.
> >
> >
> > On 5/18/10 2:23 PM, "jmboone@"  wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> > Hummm,
> >
> > I don't know how that would be.  This happens within Eclipse, and when I 
> > compile using Maven from the command line using version 3.2 of the 
> > compiler.  I have verified that the compiler version is the same across all 
> > my projects.
> >
> > I get the same error if I add a Module to my project that does nothing.  I 
> > don't get the error in any of my other similar projectsI hate software 
> > some days.
> >
> > --- In flexcoders@yahoogroups.com   
> >  , Alex Harui  wrote:
> > >
> > > Sounds like the compiler is not compatible with the SWCs you are 
> > > compiling against.
> > >
> > >
> > > On 5/18/10 12:42 PM, "jmboone@"  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I have am trying to compile one of my modules but I am getting the errors 
> > > shown below.  This is in generated code and I am not certain what it is 
> > > trying to tell me.  Has anyone see this before?
> > >
> > > Thanks!
> > >
> > > -- Jim
> > >
> > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface 
> > > method get preloadedRSLs in
> > >  namespace mx.core:IFlexModuleFactory not implemented by class 
> > > _PharmacySpendApp_mx_core_FlexModuleF
> > > actory.public class _PharmacySpendApp_mx_core_FlexModuleFactory
> > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface 
> > > method allowInsecureDomain
> > > in namespace mx.core:IFlexModuleFactory not implemented by class 
> > > _PharmacySpendApp_mx_core_FlexModul
> > > eFactory.public class _PharmacySpendApp_mx_core_FlexModuleFactory
> > > [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface 
> > > method allowDomain in names
> > > pace mx.core:IFlexModuleFactory not implemented by class 
> > > _PharmacySpendApp_mx_core_FlexModuleFactory
> > > .public class _PharmacySpendApp_mx_core_FlexModuleFactory
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Alex Harui
> > > Flex SDK Team
> > > Adobe System, Inc.
> > > http://blogs.adobe.com/aharui
> > >
> >
> >
> >
> >
> >
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe System, Inc.
> > http://blogs.adobe.com/aharui
> >
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>



[flexcoders] Is it possible to disable automatic re-positioning of viewports when associated with a Scroller?

2010-05-19 Thread Baz
If you implement the Scroller (or VScroller) in a non-standard way as a
separate entity (i.e. NOT surrounding the object you want to scroll) then
manually assign it's viewport to the object that needs to be scrolled. The
scroller automatically changes the size and position of it's target object.
Is there a way to disable this?

Some non-tested example code:


   
   


In this example, the top="500" of the Group is not respected and instead
automatically shifted to fit into the positioning of the Scroller (top="0").
I would like for the Scroller to ONLY provide scrolling capabilities
regardless of where I decide to place the viewport, without having to extend
it - something like disableAutoPositioning=true - is this possible?

Thanks,
Baz


Re: [flexcoders] init, creationcomplete and other events

2010-05-19 Thread Alex Harui
I don't think we’ve written documentation that makes the order obvious because 
the first 3 are component lifecycle events and the last is an application 
event.  But they are individually documented and should have reasonable 
descriptions.

There have been lots of presentations on the component lifecycle so maybe some 
book or other media has it.


On 5/19/10 6:40 AM, "Angelo Anolin"  wrote:







Thanks Alex and Gordon.

Is there some sort of documentation for this?

Thanks.


From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Tue, 18 May, 2010 18:20:36
Subject: Re: [flexcoders] init, creationcomplete and other events




Preinitialize, initialize, creationComplete, applicationComplete .

Objects do not have a stage until applicationComplete .


On 5/18/10 3:22 PM, "Angelo Anolin"  wrote:






Hi FlexCoders,

Does anyone have a link on which event fires up first?  For example, in an 
application container, which event fires up and any other pointers which I have 
to be aware of.

Thanks.

Angelo







--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Issue with truncateToFit behavior of Label while scaling

2010-05-19 Thread Alex Harui
Try setting maxDisplayedLines to a non-zero value.


On 5/19/10 6:52 AM, "tex_learning_flex"  wrote:






All:

fwiw, you _can_ specify the length of the label text as follows:

text="{data.name.substr(0,35)}"

where 35, in this case, is the sting length (obviously!).

... but, you don't get the ellipsis (...) as you did in TruncateToFit (Flex 3?)

that's what I want to do!?

Tex

--- In flexcoders@yahoogroups.com  , 
"tex_learning_flex"  wrote:
>
>
>
>
>
>
> Alex,
>
> truncation may work for SimpleText but when adding truncate to Label it 
> appears that it is NOT supported, and the following error is generated:
>
> Cannot resolve attribute 'truncation' for component type 
> spark.components.Label. TEST_ItemRenderer.mxml /TestProject/src/ line 70 Flex 
> Problem
>
>
> any idea of how to truncate LABEL text?
>
> many thanks,
>
> Tex
>
>
> --- In flexcoders@yahoogroups.com  , 
> Alex Harui  wrote:
> >
> > There are examples in the doc and on FlexExamples.com
> >
> >
> > On 4/27/10 11:36 PM, "msrilatha_reddy"  wrote:
> >
> >
> >
> >
> >
> >
> > Hello Alex,
> >
> > Thanks for the reply!
> > We didnt use embedded fonts anywhere in our application.
> > Could you please give an example of using embedded fonts for a Label??
> > It would be great if you could modify the example which i have given to 
> > work with embedded fonts.
> >
> > Thanks,
> > Srilatha M
> >
> > --- In flexcoders@yahoogroups.com   
> >  , Alex Harui  wrote:
> > >
> > > Yes.
> > >
> > >
> > > On 4/23/10 5:06 AM, "msrilatha_reddy"  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Alex,
> > >
> > > I didnt use any embedded fonts. Do i need to use embedded fonts here to 
> > > solve the issue?
> > >
> > > Thanks,
> > > Srilatha
> > >
> > > --- In flexcoders@yahoogroups.com   
> > >   
> > >  , Alex Harui  wrote:
> > > >
> > > > I don't see any embedded fonts.
> > > >
> > > >
> > > > On 4/22/10 1:54 AM, "msrilatha_reddy"  wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I am facing an issue while scaling a Label with truncateToFit property 
> > > > as true. While zooming in/out, sometimes the text which is truncated is 
> > > > displayed without ellipses or 1 or 2 ellipses sometimes. I tried 
> > > > setting fontAntiAliasType="animation" thinking that it might solve the 
> > > > issue.
> > > > But it didnt :-(
> > > >
> > > > Please find the code below:
> > > > http://www.adobe.com/2006/mxml"; 
> > > > layout="absolute" xmlns:local="*">
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >  > > > minimum = "5″
> > > > maximum = "200″
> > > > value = "100″
> > > > snapInterval = ".001″
> > > > liveDragging = "true"
> > > > change = "zoom()"/>
> > > > 
> > > >
> > > > Could anyone of you help me finding whats going wrong here?
> > > >
> > > > Thanks in Advance,
> > > > Srilatha
> > > >
>






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] Data grid vary column sizes

2010-05-19 Thread Alex Harui
The column has to be the same size for every row, but each column can have 
different widths.  It would be rare to set it from the itemrenderer, usually 
some other code accesses datagrid.column[i].width.


On 5/19/10 11:02 AM, "method_air"  wrote:






How do you vary the data grid column widths? Setting the width property inside 
the item renderers to different values is not working.

Thanks,

Philip






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Re: How to know when a popup component is visible?

2010-05-19 Thread sk_acura
Could some one please post the "create.php" file.

I downloaded the latest version and it's not in the zip file.

thanks
mars



[flexcoders] Data grid vary column sizes

2010-05-19 Thread method_air
How do you vary the data grid column widths? Setting the width property inside 
the item renderers to different values is not working.

Thanks,

Philip 



RE: [flexcoders] init, creationcomplete and other events

2010-05-19 Thread Stephen Gilson
You can find more info in the doc here: 
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf63825-7fff.html

Stephen

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Angelo Anolin
Sent: Wednesday, May 19, 2010 9:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] init, creationcomplete and other events



Thanks Alex and Gordon.

Is there some sort of documentation for this?

Thanks.


From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Tue, 18 May, 2010 18:20:36
Subject: Re: [flexcoders] init, creationcomplete and other events



Preinitialize, initialize, creationComplete, applicationComplete .

Objects do not have a stage until applicationComplete .


On 5/18/10 3:22 PM, "Angelo Anolin"  wrote:





Hi FlexCoders,

Does anyone have a link on which event fires up first?  For example, in an 
application container, which event fires up and any other pointers which I have 
to be aware of.

Thanks.

Angelo






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs. adobe.com/ aharui


<><>

Re: [flexcoders] Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread Kerry Jordan
On Wed, May 19, 2010 at 10:01 AM, Angelo Anolin  wrote:
> What I mean is that the change event would be dispatched (or executed) by the 
> textinput change event.

Instead of attempting to conform to an existing function's signature,
have you considered simply adding another function to process the
event? For example, would the following psuedo-code address your
needs?

private function processChange( /* relevant parameters such as text go
here */ ):void
{
// process change
}

private function comboBoxChangeHandler( event:Event ):void
{
// extract needed data from event

// call processChange to handle the "work"
processChange( /* extracted data */ );
}

private function textInputChangeHandler( event:Event ):void
{
// extract needed data from event

// call processChange to handle the "work"
processChange( /* extracted data */ );
}


[flexcoders] Re: Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread valdhor
If you just want to run the code in the comboChanged function, you can
just change the default value for the evt parameter...

private function comboChanged(evt:Event = null) :void

and then call the function with no parameters in your myTextChanged
function...

private function myTextChanged(evt:Event)
{
 // Code here
 comboChanged();
}

or you could create a new event and dispatch it...

private function myTextChanged(evt:Event)
{
 // Code here
 this.dispatchEvent(new ListEvent(ListEvent.CHANGE));
}


--- In flexcoders@yahoogroups.com, Angelo Anolin 
wrote:
>
> Kerry,
>
> What I mean is that the change event would be dispatched (or executed)
by the textinput change event.
>
> For example, I have a changed event function declared for my comboBox:
>
> private function comboChanged(evt:Event) :void
> {
>   // Some codes here...
> }
>
> then on my textinput, i also have a textchanged event:
>
> private function myTextChanged(evt:Event)
> {
>   // I want to call the comboChanged event here.
>   // But how do I pass the parameter Event which the combo box uses?
> }
>
> I hope this clears further the question.
>
> Thanks.
>
>
>
>
> 
> From: Kerry Jordan kerry.d.jor...@...
> To: flexcoders@yahoogroups.com
> Sent: Wed, 19 May, 2010 8:53:43
> Subject: Re: [flexcoders] Calling a ComboBox Change Event from
TextInput  TextChanged event
>
>
> On Wed, May 19, 2010 at 8:38 AM, Angelo Anolin angelo_ano...@...
wrote:
> > I have a ComboBox change event which I want to call from a
textchanged event of a text input.
>
> What exactly do you mean by "call"? Do you wish to dispatch a change
> event or do you want to change the value of a specific ComboBox based
> on the value of a TextInput control? Must the change event be
> dispatched by the ComboBox control?
>
> Kerry
>




[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-19 Thread gareth_arch
Don't you access properties in an XMLListCollection differently than in an 
ArrayCollection?

So rather than...
var item:String = dataProv.getItemAt(i).dpID;
it would be
var item:String = dataProv.getItemAt(i)@dpid;

Try doing a debug of your code and see what is being returned also.

--- In flexcoders@yahoogroups.com, Angelo Anolin  wrote:
>
> Hi FlexCoders,
> 
> I would want to create a generic function to be able to set a ComboBox item.
> 
> The function I have goes like this:
> 
> private function selectComboItem(itemID:String, dataProv:XMLListCollection, 
> cmb:ComboBox, dpID:String) :void
> {
>   for (var i:int = 0; i< dataProv.length; i++)
>   {
> var item:String = dataProv.getItemAt(i).dpID;
> 
> if(itemID == item)
> {
>   cmb.selectedIndex = i;
>   break;
> }
>   }
> }
> 
> dpID is the data item in the XML List collection which should match the 
> passed itemID.  But I can't seem to get properly the item.
> 
> Any suggestions highly appreciated. Thanks.
>




Re: [flexcoders] Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread Angelo Anolin
Kerry,

What I mean is that the change event would be dispatched (or executed) by the 
textinput change event.

For example, I have a changed event function declared for my comboBox:

private function comboChanged(evt:Event) :void
{
  // Some codes here...
}

then on my textinput, i also have a textchanged event:

private function myTextChanged(evt:Event)
{
  // I want to call the comboChanged event here.
  // But how do I pass the parameter Event which the combo box uses?
}

I hope this clears further the question.

Thanks.





From: Kerry Jordan 
To: flexcoders@yahoogroups.com
Sent: Wed, 19 May, 2010 8:53:43
Subject: Re: [flexcoders] Calling a ComboBox Change Event from TextInput  
TextChanged event

  
On Wed, May 19, 2010 at 8:38 AM, Angelo Anolin  wrote:
> I have a ComboBox change event which I want to call from a textchanged event 
> of a text input.

What exactly do you mean by "call"? Do you wish to dispatch a change
event or do you want to change the value of a specific ComboBox based
on the value of a TextInput control? Must the change event be
dispatched by the ComboBox control?

Kerry

 


  

Re: [flexcoders] flash 4 and flex 3

2010-05-19 Thread Kerry Thompson
cholid_ridwan wrote:

  What advantages of flash 4 compare with flex 4?
>

Lots of advantages.

- You can do timeline animations
- Components are lighter
- You can get by with less advanced AS3 knowledge than in Flex
- You can do things from scratch, like Flex's data grid, and bill your
clients more
- For a substantial code-heavy project, you can bill more hours
- You can get to meet more clients as your other clients hire Flex
developers
- You don't have to deal with the far superior debugger in Flex 4 (or, more
accurately, FlashBuilder 4)
- You don't have to deal with FlashBuilder's superior dev environment

Cordially,

Kerry Thompson


Re: [flexcoders] Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread Kerry Jordan
On Wed, May 19, 2010 at 8:38 AM, Angelo Anolin  wrote:
> I have a ComboBox change event which I want to call from a textchanged event 
> of a text input.

What exactly do you mean by "call"? Do you wish to dispatch a change
event or do you want to change the value of a specific ComboBox based
on the value of a TextInput control? Must the change event be
dispatched by the ComboBox control?

Kerry


[flexcoders] Issue with truncateToFit behavior of Label while scaling

2010-05-19 Thread tex_learning_flex
All:

fwiw, you _can_ specify the length of the label text as follows:

text="{data.name.substr(0,35)}"

where 35, in this case, is the sting length (obviously!).

... but, you don't get the ellipsis (...) as you did in TruncateToFit (Flex 3?)

that's what I want to do!?

Tex

--- In flexcoders@yahoogroups.com, "tex_learning_flex"  
wrote:
>
> 
> 
> 
> 
> 
> Alex,
> 
> truncation may work for SimpleText but when adding truncate to Label it 
> appears that it is NOT supported, and the following error is generated:
> 
> Cannot resolve attribute 'truncation' for component type 
> spark.components.Label.  TEST_ItemRenderer.mxml  /TestProject/src/   
> line 70 Flex Problem
> 
> 
> any idea of how to truncate LABEL text?
> 
> many thanks,
> 
> Tex
> 
> 
> --- In flexcoders@yahoogroups.com, Alex Harui  wrote:
> >
> > There are examples in the doc and on FlexExamples.com
> > 
> > 
> > On 4/27/10 11:36 PM, "msrilatha_reddy"  wrote:
> > 
> > 
> > 
> > 
> > 
> > 
> > Hello Alex,
> > 
> > Thanks for the reply!
> > We didnt use embedded fonts anywhere in our application.
> > Could you please give an example of using embedded fonts for a Label??
> > It would be great if you could modify the example which i have given to 
> > work with embedded fonts.
> > 
> > Thanks,
> > Srilatha M
> > 
> > --- In flexcoders@yahoogroups.com  , 
> > Alex Harui  wrote:
> > >
> > > Yes.
> > >
> > >
> > > On 4/23/10 5:06 AM, "msrilatha_reddy"  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Alex,
> > >
> > > I didnt use any embedded fonts. Do i need to use embedded fonts here to 
> > > solve the issue?
> > >
> > > Thanks,
> > > Srilatha
> > >
> > > --- In flexcoders@yahoogroups.com   
> > >  , Alex Harui  wrote:
> > > >
> > > > I don't see any embedded fonts.
> > > >
> > > >
> > > > On 4/22/10 1:54 AM, "msrilatha_reddy"  wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I am facing an issue while scaling a Label with truncateToFit property 
> > > > as true. While zooming in/out, sometimes the text which is truncated is 
> > > > displayed without ellipses or 1 or 2 ellipses sometimes. I tried 
> > > > setting fontAntiAliasType="animation" thinking that it might solve the 
> > > > issue.
> > > > But it didnt :-(
> > > >
> > > > Please find the code below:
> > > > http://www.adobe.com/2006/mxml"; 
> > > > layout="absolute" xmlns:local="*">
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > >  > > > minimum = "5″
> > > > maximum = "200″
> > > > value = "100″
> > > > snapInterval = ".001″
> > > > liveDragging = "true"
> > > > change = "zoom()"/>
> > > > 
> > > >
> > > > Could anyone of you help me finding whats going wrong here?
> > > >
> > > > Thanks in Advance,
> > > > Srilatha
> > > >
>




Re: [flexcoders] init, creationcomplete and other events

2010-05-19 Thread Angelo Anolin


Thanks Alex and Gordon.

Is there some sort of documentation for this?

Thanks.




From: Alex Harui 
To: "flexcoders@yahoogroups.com" 
Sent: Tue, 18 May, 2010 18:20:36
Subject: Re: [flexcoders] init, creationcomplete and other events

  
Preinitialize, initialize, creationComplete, applicationComplete .

Objects do not have a stage until applicationComplete .


On 5/18/10 3:22 PM, "Angelo Anolin"  wrote:



>> 
>> 
>>   
>
>Hi FlexCoders,
>
>>Does anyone have a link on which event fires up first?  For example, in an 
>>application container, which event fires up and any other pointers which I 
>>have to be aware of.
>
>>Thanks.
>
>>Angelo
>
>> 
>> 
>>   
>
>
>
-- 
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs. adobe.com/ aharui
 
 


  

[flexcoders] Re: Generic Function To Set ComboBox Item

2010-05-19 Thread angelo_anolin
Any take on this?

Thanks.

--- In flexcoders@yahoogroups.com, Angelo Anolin  wrote:
>
> Hi FlexCoders,
> 
> I would want to create a generic function to be able to set a ComboBox item.
> 
> The function I have goes like this:
> 
> private function selectComboItem(itemID:String, dataProv:XMLListCollection, 
> cmb:ComboBox, dpID:String) :void
> {
>   for (var i:int = 0; i< dataProv.length; i++)
>   {
> var item:String = dataProv.getItemAt(i).dpID;
> 
> if(itemID == item)
> {
>   cmb.selectedIndex = i;
>   break;
> }
>   }
> }
> 
> dpID is the data item in the XML List collection which should match the 
> passed itemID.  But I can't seem to get properly the item.
> 
> Any suggestions highly appreciated. Thanks.
>




[flexcoders] Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread Angelo Anolin
Hi FlexCoders,

I am a bit stumped on this.

I have a ComboBox change event which I want to call from a textchanged event of 
a text input.

The ComboBox has an event parameter which I have no idea how to declare from 
the textchanged event of the text input.

So how do I call the changed event of the combo box from the textinput 
textchanged event?

Thanks.


  

RE: [flexcoders] Re: How to automatise Unit test with Maven ???---Thank you One question please marcello

2010-05-19 Thread Nini7016 Nini7016

Thank you for your help

do you know what should i put in the : flashPlayer.command


  

${flashPlayer.command}
  


i don't know what should i define in :

   

   
 
To: flexcoders@yahoogroups.com
From: marcello.teod...@gmail.com
Date: Wed, 19 May 2010 10:39:59 +
Subject: [flexcoders] Re: How to automatise Unit test with Maven ???


















 



  



  
  
  specifically, you can find some information along with examples on this 
flexmojos wiki page:

  https://docs.sonatype.org/display/FLEXMOJOS/Unit+test+frameworks+GAV

I use it all the time successfully on developers' machines and also on an 
Hudson continuos integration server running on a headless Linux server 
configured as explained here, at least as long as Adobe does not produce an 
headless Flash player for running unit tests!

  
https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests?focusedCommentId=1998934#Runningunittests-linux



--m



--- In flexcoders@yahoogroups.com, Evan Klein  wrote:

>

> You should be able to find documentation or examples available at

> flex-mojos http://flexmojos.sonatype.org/.

> 

> Evan

> 

> On Tue, May 18, 2010 at 9:56 AM, Nini7016 Nini7016 <

> nahloulaha...@...> wrote:

> 

> >

> >

> > Hello

> >

> > I would like to automatise Unit tests but i didn't find the best plugin

> > which does this ?

> >

> > does anyone did this before 

> >

> >

> > Thanks







 









  
_
Vous voulez regarder la TV directement depuis votre PC ? C'est très simple avec 
Windows 7
http://clk.atdmt.com/FRM/go/229960614/direct/01/

[flexcoders] Re: "type was not found or was not a compile-time constant" Error

2010-05-19 Thread valdhor


http://www.coderanch.com/t/419415/vc/eclipse-active-editor-does-not

--- In flexcoders@yahoogroups.com, "heygapdol"  wrote:
>
> 
> I tried that, and now eclipse is giving me "editor does not contain a main 
> type" error on java codes(it acutally does have a main class in the class) 
> and when i try to run the flex side, it only shows me options to run as java 
> application or applet.
> --- In flexcoders@yahoogroups.com, "valdhor"  wrote:
> >
> > Have you tried checking out the examples from 
> > http://code.google.com/p/merapi-examples/source/checkout
> > 
> > --- In flexcoders@yahoogroups.com, "heygapdol"  wrote:
> > >
> > > Hello, I'm new to the Flex scene and I'm trying out an open source
> > > project called "Merapi" ( http://merapiproject.net/index.php ), which is
> > > essentially a bridge between java and AIR.I've been building a Flex app
> > > to use this package and I keep getting "type was not found or was not a
> > > compile-time constant:BridgeInstance" error.
> > > This code is pretty much taken straight from their hello world video
> > > which can be found here
> > >  > > 1&Itemid=84> .
> > > 
> > > Here's my code:
> > > 
> > > http://ns.adobe.com/mxml/2009";
> > > xmlns:s="library://ns.adobe.com/flex/spark"
> > > xmlns:mx="library://ns.adobe.com/flex/mx"
> > > xmlns:merapi="merapi.*">
> > > 
> > >   > > result="handleResult(event)"/>
> > > 
> > >  
> > >  
> > >  
> > > 
> > > 
> > > 
> > > My understanding is that this have something to do importing the swc
> > > file - I tried putting the argument -include-libraries
> > > "merapi/merapi-core.swc" in the flex compiler and
> > >   I've put the merapi-core.swc file in everywhere in desperate attempt:
> > > now it's in src, libs and the main project folder.
> > > Still I get "type was not found or was not a compile-time constant" on
> > > the line   > > result="handleResult(event)"/>.
> > > Any ideas on this?
> > >
> >
>




[flexcoders] Re: Issue with truncateToFit behavior of Label while scaling

2010-05-19 Thread tex_learning_flex





Alex,

truncation may work for SimpleText but when adding truncate to Label it appears 
that it is NOT supported, and the following error is generated:

Cannot resolve attribute 'truncation' for component type 
spark.components.Label.TEST_ItemRenderer.mxml  /TestProject/src/   
line 70 Flex Problem


any idea of how to truncate LABEL text?

many thanks,

Tex


--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> There are examples in the doc and on FlexExamples.com
> 
> 
> On 4/27/10 11:36 PM, "msrilatha_reddy"  wrote:
> 
> 
> 
> 
> 
> 
> Hello Alex,
> 
> Thanks for the reply!
> We didnt use embedded fonts anywhere in our application.
> Could you please give an example of using embedded fonts for a Label??
> It would be great if you could modify the example which i have given to work 
> with embedded fonts.
> 
> Thanks,
> Srilatha M
> 
> --- In flexcoders@yahoogroups.com  , 
> Alex Harui  wrote:
> >
> > Yes.
> >
> >
> > On 4/23/10 5:06 AM, "msrilatha_reddy"  wrote:
> >
> >
> >
> >
> >
> >
> > Hi Alex,
> >
> > I didnt use any embedded fonts. Do i need to use embedded fonts here to 
> > solve the issue?
> >
> > Thanks,
> > Srilatha
> >
> > --- In flexcoders@yahoogroups.com   
> >  , Alex Harui  wrote:
> > >
> > > I don't see any embedded fonts.
> > >
> > >
> > > On 4/22/10 1:54 AM, "msrilatha_reddy"  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I am facing an issue while scaling a Label with truncateToFit property as 
> > > true. While zooming in/out, sometimes the text which is truncated is 
> > > displayed without ellipses or 1 or 2 ellipses sometimes. I tried setting 
> > > fontAntiAliasType="animation" thinking that it might solve the issue.
> > > But it didnt :-(
> > >
> > > Please find the code below:
> > > http://www.adobe.com/2006/mxml"; 
> > > layout="absolute" xmlns:local="*">
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  > > minimum = "5″
> > > maximum = "200″
> > > value = "100″
> > > snapInterval = ".001″
> > > liveDragging = "true"
> > > change = "zoom()"/>
> > > 
> > >
> > > Could anyone of you help me finding whats going wrong here?
> > >
> > > Thanks in Advance,
> > > Srilatha
> > >




Re: [flexcoders] Re: How to automatise Unit test with Maven ???

2010-05-19 Thread Marvin Froeder
Also you can reach project user list at
http://groups.google.com/group/flex-mojos


VELO

On Wed, May 19, 2010 at 7:39 AM, m_teodori wrote:

>
>
> specifically, you can find some information along with examples on this
> flexmojos wiki page:
> https://docs.sonatype.org/display/FLEXMOJOS/Unit+test+frameworks+GAV
> I use it all the time successfully on developers' machines and also on an
> Hudson continuos integration server running on a headless Linux server
> configured as explained here, at least as long as Adobe does not produce an
> headless Flash player for running unit tests!
>
> https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests?focusedCommentId=1998934#Runningunittests-linux
>
> --m
>
>
> --- In flexcoders@yahoogroups.com , Evan
> Klein  wrote:
> >
> > You should be able to find documentation or examples available at
> > flex-mojos http://flexmojos.sonatype.org/.
> >
> > Evan
> >
> > On Tue, May 18, 2010 at 9:56 AM, Nini7016 Nini7016 <
> > nahloulaha...@...> wrote:
> >
> > >
> > >
> > > Hello
> > >
> > > I would like to automatise Unit tests but i didn't find the best plugin
> > > which does this ?
> > >
> > > does anyone did this before 
> > >
> > >
> > > Thanks
>
>  
>


Re: [flexcoders] flash 4 and flex 3

2010-05-19 Thread Nick Collins
Flash 4 could net you some big money by selling it to the Smithsonian? j/k

On Wed, May 19, 2010 at 2:23 AM, cholid cholid wrote:

>
>
> Hi all
> What advantages of flash 4 compare with flex 4?
> thanks
> cholid_ridwan
>
>  
>


[flexcoders] Re: How to automatise Unit test with Maven ???

2010-05-19 Thread m_teodori
specifically, you can find some information along with examples on this 
flexmojos wiki page:
  https://docs.sonatype.org/display/FLEXMOJOS/Unit+test+frameworks+GAV
I use it all the time successfully on developers' machines and also on an 
Hudson continuos integration server running on a headless Linux server 
configured as explained here, at least as long as Adobe does not produce an 
headless Flash player for running unit tests!
  
https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests?focusedCommentId=1998934#Runningunittests-linux

--m

--- In flexcoders@yahoogroups.com, Evan Klein  wrote:
>
> You should be able to find documentation or examples available at
> flex-mojos http://flexmojos.sonatype.org/.
> 
> Evan
> 
> On Tue, May 18, 2010 at 9:56 AM, Nini7016 Nini7016 <
> nahloulaha...@...> wrote:
> 
> >
> >
> > Hello
> >
> > I would like to automatise Unit tests but i didn't find the best plugin
> > which does this ?
> >
> > does anyone did this before 
> >
> >
> > Thanks




[flexcoders] Air Error #2044: Unhandled missing appId:

2010-05-19 Thread Kerry Jordan
When executing my air application after an installation and adding the
empty debug file to META-INF/AIR (to force debug information), the
application reports an "Error #2044: Unhandled missing appId:" error.
This error is generated before my application window is even visible.
If I continue execution, the application appears to work normally.
Does anyone have any ideas why this error is generated or can point me
to relevant information about the error?

Thanks!
Kerry


Re: [flexcoders] How to automatise Unit test with Maven ???

2010-05-19 Thread Evan Klein
You should be able to find documentation or examples available at
flex-mojos http://flexmojos.sonatype.org/.

Evan

On Tue, May 18, 2010 at 9:56 AM, Nini7016 Nini7016 <
nahloulaha...@hotmail.com> wrote:

>
>
> Hello
>
> I would like to automatise Unit tests but i didn't find the best plugin
> which does this ?
>
> does anyone did this before 
>
>
> Thanks
>
> --
> Envie de plus d'originalité dans vos conversations ? Téléchargez
> gratuitement les Emoch'ticones 
> !
>
>  
>


[flexcoders] How to execute the unit tests of an application Flex with Maven and generates reports of tests----VERY BLOCKED :(

2010-05-19 Thread Nini7016 Nini7016

Hello everybody 

I would like to excute unit Tests (developed with FlexUnit4) using Maven . I 
would like also to generate a report of the results of the tests.

I used many plugin maven, but i didn't still suceed to that. I have used 
Maven Surefire Plugin , flex-plugin , flexMojo
use I would like to know if any one has done that before, I am really blocked 
:( AnyHelp please please please ? if it's the case, could you send me an 
example please :( 


Thank you very much much 

  
_
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx

[flexcoders] Re: "type was not found or was not a compile-time constant" Error

2010-05-19 Thread heygapdol

I tried that, and now eclipse is giving me "editor does not contain a main 
type" error on java codes(it acutally does have a main class in the class) and 
when i try to run the flex side, it only shows me options to run as java 
application or applet.
--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> Have you tried checking out the examples from 
> http://code.google.com/p/merapi-examples/source/checkout
> 
> --- In flexcoders@yahoogroups.com, "heygapdol"  wrote:
> >
> > Hello, I'm new to the Flex scene and I'm trying out an open source
> > project called "Merapi" ( http://merapiproject.net/index.php ), which is
> > essentially a bridge between java and AIR.I've been building a Flex app
> > to use this package and I keep getting "type was not found or was not a
> > compile-time constant:BridgeInstance" error.
> > This code is pretty much taken straight from their hello world video
> > which can be found here
> >  > 1&Itemid=84> .
> > 
> > Here's my code:
> > 
> > http://ns.adobe.com/mxml/2009";
> > xmlns:s="library://ns.adobe.com/flex/spark"
> > xmlns:mx="library://ns.adobe.com/flex/mx"
> > xmlns:merapi="merapi.*">
> > 
> >   > result="handleResult(event)"/>
> > 
> >  
> >  
> >  
> > 
> > 
> > 
> > My understanding is that this have something to do importing the swc
> > file - I tried putting the argument -include-libraries
> > "merapi/merapi-core.swc" in the flex compiler and
> >   I've put the merapi-core.swc file in everywhere in desperate attempt:
> > now it's in src, libs and the main project folder.
> > Still I get "type was not found or was not a compile-time constant" on
> > the line   > result="handleResult(event)"/>.
> > Any ideas on this?
> >
>




Re: [flexcoders] errror when compile at sdk 4

2010-05-19 Thread Oleg Sivokon
Hi.
Are you sure it's not a typo:
Application.FlexGlobals
I don't remember such property on Application class, and it's very unlikely
there will be one as if that was a property, it would start with lowercase.

Best.

Oleg


[flexcoders] errror when compile at sdk 4

2010-05-19 Thread cholid cholid
Hi all
im just compile my application that build on flex sdk 3 on sdk 4
has message error that's
Error: Access of possibly undefined property FlexGlobals through a reference 
with static type Class.

return 
Application.FlexGlobals.topLevelApplication as ZenNetMap;


anyone same trouble?
or anyones have trouble when compile on sdk 4 to but on different case?



  

[flexcoders] flash 4 and flex 3

2010-05-19 Thread cholid cholid
Hi all
What advantages of flash 4 compare with flex 4?
thanks
cholid_ridwan