Re: [flexcoders] Dotted Separator Lines for HRULE

2009-06-25 Thread Igor Costa
Ramesh

This going to save you

http://blog.dclick.com.br/2008/08/26/dottedspacer-component/pt/


Next time, try to search a little bit at google you will find it.


Best
Igor Costa

On Thu, Jun 25, 2009 at 7:04 PM, ram ramesh  wrote:

>
>
>  Hi ,
>
> I am really sturggling with the below small implementation
>
>
>
> Dotted Separator Lines  for HRULE
>
> Please send me the sample Code .
>
> Need to draw one dotted line to separate two text boxes in MXML.
>
>
>
> Thanks in Advance
>
> Ramesh
>
>  
>



-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


[flexcoders] Dotted Separator Lines for HRULE

2009-06-25 Thread ram ramesh
Hi ,
I am really sturggling with the below small implementation
 
Dotted Separator Lines  for HRULE
Please send me the sample Code .
Need to draw one dotted line to separate two text boxes in MXML.
 
Thanks in Advance

Ramesh


  

Re: [flexcoders] Flex View Stack / Component Life Cycle Best practice

2009-06-25 Thread Jeffry Houser

 You probably want to run code when the viewStack changes.  Look at the 
ViewStack, I bet there is a change event. 

martinosaint wrote:
> Hi there,
>
> I have built a multiplage application in Flex with different user roles. I 
> use a View Stack with a Menu Bar to navigate between the different pages.
>
> However - each time a page gets opened, I need to do some database calls, 
> apply User Role settings, etc. in an init() function. This init function may 
> reference some UI elements of this page.
>
> I tried to load it with the "creationComplete" event, but this one gets only 
> triggered once (since the page is not rebuilt each them the view stack shows 
> it).
>
> Now I have put it on the "show" event, but this seems not to get triggered 
> consistently, or before the page is fully created the first time.
>
> Whats the best practice for this case?
>  * I have to pass in data
>  * Call init functions (database calls)
>  * Manipulate components
>
> Ideally I would need a way to call init each time the page is loaded and 
> after all components are created.
>
> Thanks for your help,
> Martin
>
>
>
> 
>
> --
> 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
>
>
>
>
>   

-- 
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust




[flexcoders] Flex View Stack / Component Life Cycle Best practice

2009-06-25 Thread martinosaint
Hi there,

I have built a multiplage application in Flex with different user roles. I use 
a View Stack with a Menu Bar to navigate between the different pages.

However - each time a page gets opened, I need to do some database calls, apply 
User Role settings, etc. in an init() function. This init function may 
reference some UI elements of this page.

I tried to load it with the "creationComplete" event, but this one gets only 
triggered once (since the page is not rebuilt each them the view stack shows 
it).

Now I have put it on the "show" event, but this seems not to get triggered 
consistently, or before the page is fully created the first time.

Whats the best practice for this case?
 * I have to pass in data
 * Call init functions (database calls)
 * Manipulate components

Ideally I would need a way to call init each time the page is loaded and after 
all components are created.

Thanks for your help,
Martin



Re: [flexcoders] reg expression for Password

2009-06-25 Thread Manish Jethani
On Thu, Jun 25, 2009 at 2:39 AM, vin.flex wrote:
> can anybody help me with regexp for password with following specifications
>
> 1) It should contain atleast 8 characters
> 2) It should atleast has one uppercase letter and one digit
> 3) No special characters

if (s.search(/^[A-Za-z0-9]{8,}$/) == -1
|| s.search(/[A-Z]/) == -1
|| s.search(/[0-9]/) == -1)
throw new Error("Invalid password!");

Manish


RE: [flexcoders] [Shared Object] Save XML

2009-06-25 Thread Tracy Spratt
What happens when you try?

 

You can always save it as a string then re-parse it when you retrieve it.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of thelordsince1984
Sent: Tuesday, June 23, 2009 11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Shared Object] Save XML

 






Hi,

i would know if is possible to save xml format into SharedObjects..

thanks

Regard
Lord





[flexcoders] Re: RDS configuration to postgres, FB4 + modeling

2009-06-25 Thread Johannes Nel
stupid mistake.
the postgres jar must be in the tomcat/libs folder, project/web-inf/libs is
not enough
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html

On Thu, Jun 25, 2009 at 7:45 PM, Johannes Nel wrote:

> Hi
>
> in my project.xml file (for tomcat) I am trying to setup a RDS connection
> to a postgres  db.
> i get the following error:
>
> Data source not found: java:/comp/env/jdbc/dbName
>
> I have tried
>
>  driverClassName="org.postgresql.Driver"
> maxIdle="2" maxWait="5000"
> url="jdbc:postgresql://username:passw...@localhost/dbName"
> username="username" password="password" maxActive="4"
> />
>  driverClassName="org.postgresql.Driver"
> maxIdle="2" maxWait="5000"
> url="postgresql://username:passw...@localhost/dbName"
> username="username" password="password" maxActive="4"
> />
> and
>
>  driverClassName="org.postgresql.Driver"
> maxIdle="2" maxWait="5000"
> url="jdbc:postgresql://localhost/dbName" username="username"
> password="password" maxActive="4"
> />
>
>
> How would I achieve this.
>
> As a side note related to the licensing error i inquired about before:
>  if i uninstal my FB4  and reinstal  (plugin on 3.4 modeling edition), my
> Flash perpective works, once I close and reopen the eclipse instance, it
> stops working (giving me the same licensing error (code 6) as it did
> before). The modeling plugin continues working  once I reopen eclipse.
>
> thanks
> johan
> \\no comment
>



-- 
j:pn
\\no comment


[flexcoders] RDS configuration to postgres, FB4 + modeling

2009-06-25 Thread Johannes Nel
Hi

in my project.xml file (for tomcat) I am trying to setup a RDS connection to
a postgres  db.
i get the following error:

Data source not found: java:/comp/env/jdbc/dbName

I have tried



and




How would I achieve this.

As a side note related to the licensing error i inquired about before:
 if i uninstal my FB4  and reinstal  (plugin on 3.4 modeling edition), my
Flash perpective works, once I close and reopen the eclipse instance, it
stops working (giving me the same licensing error (code 6) as it did
before). The modeling plugin continues working  once I reopen eclipse.

thanks
johan
\\no comment


[flexcoders] 401 Response

2009-06-25 Thread wayne vetrone

Hello after lurkin for a while I have a question.

I have a .Net application that uses a HTTPRequest with credentials to connect 
to the server.  I pass in the credentials to avoid the 401 response.

Next I instantiate an AxWebBrowser and navigate to the flex application.  
Unfortunately, I receive another challenge.  I am trying to avoid the second 
challenge programmatically.  Any suggestions?

thanks
wayne

_
Hotmail® has ever-growing storage! Don’t worry about storage limits. 
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009

Re: [flexcoders] Bookmark no longer valid, please help

2009-06-25 Thread Mika Kiljunen
I'm having the same exact problem. In my ADG I have an object that contains
an arraycollection. Sometimes when I add or remove an item from that
collection I get the same exact error. There seems to be some problem within
the cursor since it eventually boils down to some index being -1 in deep
within the List classes...


[flexcoders] Re: Charting: Drilling down into a legend label

2009-06-25 Thread Tim Hoff

Not out of the box.  But, you could extend Legend and assign a custom
LegendItem to legendItemClass.  LegendItem is a UIComponent, so it would
be easy to extend and add mouse event listeners/handlers.  In the custom
LegendItem, you could use the legendData and/or element vars, to drive
the drill-down.  Haven't done this myself, but sounds like fun. :)

-TH

--- In flexcoders@yahoogroups.com, Brad Bueche  wrote:
>
> I was just going through an old Flex 2 charting app I did. And one of
the
> things I, and my prospective users, wanted to do was to drill down
into a
> legend label. (I got drill-down in the charts workingthanks to
> quietlyscheming --- that stuff was not documented anywhere then!)
>
> I'm thinking of resurrecting that... Even though it was my first flex
> application it still looks and operates better than anything I have
done in
> php, html, javscript, or C# asp.net since!! Now, seeing it again, I
don't
> know why I every let it die. It was a skunk works project. You know,
> outside the work your supposed to be doing! (Then you have to take the
time
> to sell it around on the quietbut I got busy)
>
> So, anyway, CAN you drill down into a legend item in FB3 or FB4?
>
> brad
>




Re: [flexcoders] wmode=opaque/transparent and linux

2009-06-25 Thread Igor Costa
Yes

I can confirm that as James said, before that only transparent works but
using a hack from polygeek did.



Regards
Igor Costa


On Wed, Jun 24, 2009 at 7:31 PM, hank williams  wrote:

>
>
> Thanks James.
>
>
> On Wed, Jun 24, 2009 at 6:05 PM, James 
> Ward>
> wrote:
> >
> >
> > This should work fine with a newer version of Firefox (minimum 3.1 I
> think)
> > and Flash Player 10.
> >
> > I have Firefox 3.5 RC and FP 10 and it works fine.
> >
> > -James
> >
> > 
> > From: flexcoders@yahoogroups.com 
> > To: flexcoders@yahoogroups.com 
> > Sent: Wed Jun 24 13:03:40 2009
> > Subject: [flexcoders] wmode=opaque/transparent and linux
> >
> > Does this work? One of my developers is telling me that flash on linux
> > doesnt allow divs to overlap flash material. Is this true or is there
> > something wrong with his setup.
> >
> > Thanks
> > Hank
> >
> > --
> > blog: whydoeseverythingsuck.com
> >
> >
>
> --
> blog: whydoeseverythingsuck.com
>  
>



-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


Re: [flexcoders] PDF - Text Display

2009-06-25 Thread Igor Costa
I did a blog post about this field a while back

Check out and see if fits on your own needs http://www.igorcosta.org/?p=231


Regards
Igor Costa


On Wed, Jun 24, 2009 at 6:13 PM, Avinash  wrote:

>
>
> Larson,
>
> Please take a look at my blog, and you will know how to load PDF in Flex
> (well in html through iFrame like Gordon Smith suggested)
>
> http://flexpdfair.blogspot.com/
>
> Avinash
>
> On Wed, Jun 24, 2009 at 2:22 PM, lrlarsonny  wrote:
>
>>
>>
>> Hello --
>>
>> Am I correct is gleaning from my google searches that there is no way to
>> display a pdf in Flex? (Not Air). And that flashpaper is no more?
>>
>> Given that, how do developers show formatted text?
>>
>> We are building an app that will show documents within the published flex
>> swf, and I just assumed that there was a way to do this.
>> Thanks
>>
>> lrlarson
>> nyc
>>
>>
>  
>



-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


[flexcoders] Charting: Drilling down into a legend label

2009-06-25 Thread Brad Bueche
I was just going through an old Flex 2 charting app I did.  And one of the
things I, and my prospective users, wanted to do was to drill down into a
legend label.  (I got drill-down in the charts workingthanks to
quietlyscheming   --- that stuff was not documented anywhere then!)

I'm thinking of resurrecting that... Even though it was my first flex
application it still looks and operates better than anything I have done in
php, html, javscript, or C# asp.net since!!  Now, seeing it again,  I don't
know why I every let it die.  It was a skunk works project. You know,
outside the work your supposed to be doing!  (Then you have to take the time
to sell it around on the quietbut I got busy)

So, anyway,  CAN you drill down into a legend item in FB3 or FB4?

brad


[flexcoders] Re: Embed AIR app to MS Word

2009-06-25 Thread Amy
--- In flexcoders@yahoogroups.com, "lehaianh1986"  wrote:
>
> Hi all, I know some function of Adobe Reader is embed to MS Word. I wonder 
> that can AIR app have ability to embed to MS Word? And how to do it?
>

Look in the Word and VBA help for Add on or Add-on (I forget which it actually 
is).

HTH;

Amy



RE: [flexcoders] ModuleLoader does not unload anything :(

2009-06-25 Thread Gregor Kiddie
I'd suggest reading up on how modules work.

Start with Alex Harui's blog...

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Fuzzo
Sent: 25 June 2009 14:19
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ModuleLoader does not unload anything :(

 







Do you suggest to invoke a timer.stop() before unloading? 
Shoud this solve the problem? I'm not sure but i'll try!

What event can I catch to invoke timer.stop()? 
It's an internal object of the module and the module doesn't know when
are
about to be unloaded!

Thanks!





RE: [flexcoders] ModuleLoader does not unload anything :(

2009-06-25 Thread Fuzzo

Do you suggest to invoke a timer.stop() before unloading? 
Shoud this solve the problem? I'm not sure but i'll try!

What event can I catch to invoke timer.stop()? 
It's an internal object of the module and the module doesn't know when are
about to be unloaded!

Thanks!


Gregor Kiddie wrote:
> 
> Well, you've answered your own question... the module is still alive
> because it's still alive. There is a Timer object still running and
> firing events. You need to make sure that anything of that nature is
> stopped before it can be unloaded.
> 
>  
> 
> Gk.
> 
> Gregor Kiddie
> Senior Developer
> INPS
> 
> Tel:   01382 564343
> 
> Registered address: The Bread Factory, 1a Broughton Street, London SW8
> 3QJ
> 
> Registered Number: 1788577
> 
> Registered in the UK
> 
> Visit our Internet Web site at www.inps.co.uk
> http://www.inps.co.uk/> 
> 
> The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it
> by anyone else is not authorised. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> INPS or any of its affiliates. If you are not the intended recipient
> please contact is.helpd...@inps.co.uk
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of Fuzzo
> Sent: 25 June 2009 08:38
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] ModuleLoader does not unload anything :(
> 
>  
> 
> 
> 
> 
> 
> 
> 
> Hi all!
> 
> I'm writing a modular application that loads a module. This module
> inside
> has a Timer that trace something every 5 seconds.
> When from application i "exit" (unload) the module, i have no error but
> i
> see the writing done by the module that should be unloaded!
> 
> It means that the module is alive? How can i "destory" the module and
> all
> it's children for sure?
> 
> Thanks a lot!
> 
> P.S.: I tried both ModuleLoader and ModuleManager with the same beaviour
> :(
> 
> -- 
> View this message in context:
> http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp241
> 86501p24186501.html
>  186501p24186501.html> 
> Sent from the FlexCoders mailing list archive at Nabble.com.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp24186501p24203118.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] ModuleLoader does not unload anything :(

2009-06-25 Thread Gregor Kiddie
Well, you've answered your own question... the module is still alive
because it's still alive. There is a Timer object still running and
firing events. You need to make sure that anything of that nature is
stopped before it can be unloaded.

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Fuzzo
Sent: 25 June 2009 08:38
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ModuleLoader does not unload anything :(

 







Hi all!

I'm writing a modular application that loads a module. This module
inside
has a Timer that trace something every 5 seconds.
When from application i "exit" (unload) the module, i have no error but
i
see the writing done by the module that should be unloaded!

It means that the module is alive? How can i "destory" the module and
all
it's children for sure?

Thanks a lot!

P.S.: I tried both ModuleLoader and ModuleManager with the same beaviour
:(

-- 
View this message in context:
http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp241
86501p24186501.html
 
Sent from the FlexCoders mailing list archive at Nabble.com.





Re: [flexcoders] ModuleLoader does not unload anything :(

2009-06-25 Thread Fuzzo



Fuzzo wrote:
> 
> Hi all!
> 
> I'm writing a modular application that loads a module. This module inside
> has a Timer that trace something every 5 seconds.
> When from application i "exit" (unload) the module, i have no error but i
> see the writing done by the module that should be unloaded!
> 
> It means that the module is alive? How can i "destory" the module and all
> it's children for sure?
> 
> Thanks a lot!
> 
> P.S.: I tried both ModuleLoader and ModuleManager with the same beaviour
> :(
> 
> 

I've build a simple exemple of this issue:

**


http://www.adobe.com/2006/mxml"; layout="absolute"
initialize="init()">












  





**


http://www.adobe.com/2006/mxml"; layout="absolute"
width="400" height="300"
initialize="init()">








**

If you launch it in debug mode, you'll see all the stuffs... :(
-- 
View this message in context: 
http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp24186501p24198697.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] ModuleLoader does not unload anything :(

2009-06-25 Thread Fuzzo

Hi all!

I'm writing a modular application that loads a module. This module inside
has a Timer that trace something every 5 seconds.
When from application i "exit" (unload) the module, i have no error but i
see the writing done by the module that should be unloaded!

It means that the module is alive? How can i "destory" the module and all
it's children for sure?

Thanks a lot!

P.S.: I tried both ModuleLoader and ModuleManager with the same beaviour :(

-- 
View this message in context: 
http://www.nabble.com/ModuleLoader-does-not-unload-anything-%3A%28-tp24186501p24186501.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re:valdhor [flexcoders] Re: domain problem in remoteobject application

2009-06-25 Thread valdhor
Wrong file (You are looking at amfphp/core/shared/app/Globals.php). The file 
should be in the root directory (amfphp/globals.php) along with the gateway.php 
file amongst others.


HTH



Steve

BTW. I would recommend changing to WebORB for a more robust, well tested and 
reliable remoting experience (www.themidnightcoders.com)



--- In flexcoders@yahoogroups.com, Vikram Singh  wrote:
>
> hello valdhor
> 
> in my amfphp directory there is only one globals.php file and it contains 
> these 
> 
>  /**
>  * Defines globals used throughout amfphp package for config options
>  * 
>  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
>  * @copyright (c) 2003 amfphp.org
>  * @package flashservices
>  * @subpackage app
>  */
> 
> global $amfphp;
> 
> $amfphp = array();
> $amfphp['errorLevel'] = E_ALL ^ E_NOTICE;
> $amfphp['instanceName'] = NULL;
> $amfphp['classPath'] = 'services/';
> $amfphp['customMappingsPath'] = 'services/';
> $amfphp['adapterMappings'] = array();
> $amfphp['incomingClassMappings'] = array();
> $amfphp['outgoingClassMappings'] = array();
> $amfphp['webServiceMethod'] = 'php5';
> $amfphp['disableDescribeService'] = false;
> $amfphp['disableTrace'] = false;
> $amfphp['disableDebug'] = false;
> $amfphp['lastMethodCall'] = '/1';
> $amfphp['isFlashComm'] = false;
> $amfphp['classInstances'] = array();
> $amfphp['regenerateMethodTable'] = false;
> $amfphp['amf3RecordSetFormat'] = "Array";
> $amfphp['encoding'] = "amf0";
> 
> ?>
> 
> so what should i do? I am confused.
> 
> 
> 
> 
> 
> From: valdhor 
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, 23 June, 2009 7:19:43 PM
> Subject: [flexcoders] Re: domain problem in remoteobject application
> 
> 
> 
> 
> 
> Inside your amfphp directory you will find a file globals.php.
> 
> Change the $servicesPath variable to the full path to your services directory.
> 
> HTH
> 
> Steve
> 
> --- In flexcod...@yahoogro ups.com, Vikram Singh  wrote:
> >
> > I am not getting excetly what you are trying to say me.
> > Can you please tell me in some detail which/how configure in amfphp?
> > I am little bit freshers for this stuff.
> > 
> > 
> > Thanks.
> > 
> > 
> >  _ _ __
> > From: Pedro Sena 
> > To: flexcod...@yahoogro ups.com
> > Sent: Monday, 22 June, 2009 5:55:51 PM
> > Subject: Re: [flexcoders] domain problem in remoteobject application
> > 
> > 
> > 
> > 
> > 
> > You can configure in amfphp where your 'services' would be.
> > 
> > Take a look at documentation, I think that your idea is to have just one 
> > amfphp directory for every project, if so, You can reference external 
> > directories in a way that amfphp would search for them.
> > 
> > HTH
> > 
> > 
> > On Mon, Jun 22, 2009 at 9:07 AM, Vikram Singh  
> > wrote:
> > 
> > 
> > 
> > 
> > Hello friends,
> > I have a query regarding domain problem.
> > My database is at primarydomain (www..primarydomain . com)
> > I also have subdomain and place all at subdomain directory. like this..
> > 
> > scenario 1:
> > Current file arrangement is:
> > 
> > Exported release build flex project at :www.subdomain. com/flexApplicat ion/
> > amfphp code placed at :www.subdomain. com/flexApplicat ion/amfphpcode/
> > 
> > this is perfectly working.
> > but now... 
> > 
> > scenario 2:
> > need to arrange like this
> > 
> > Exported release build flex project at :www.subdomain. com/flexApplicat ion/
> > amfphp code placed at :www.subdomain. com/amfphpcode/
> > 
> > amfphpcode is placed outside of flex application directory.
> > 
> > to run perfectly flex application in scenario-2, what changes I have to 
> > make with flex application code OR any other.
> > OR any other possible idea to implement it in scenario-2.
> > Please help me...
> > 
> > Regards,
> > Vikram. 
> > 
> >  _ _ __
> >  ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 
> > 
> > 
> > -- 
> > /**
> > * Pedro Sena
> > * Systems Architect
> > * Sun Certified Java Programmer 
> > * Sun Certified Web Component Developer
> > */
> > 
> > 
> > 
> > 
> >   ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 
> > http://cricket. yahoo.com
> >
> 
> 
>
> 
> 
>   Cricket on your mind? Visit the ultimate cricket website. Enter 
> http://cricket.yahoo.com
>




[flexcoders] Re: tilelist rowCount not working...

2009-06-25 Thread Amy
--- In flexcoders@yahoogroups.com, grimmwerks  wrote:
>
> Ugh. It appears it's something inherent with Flex 3, was abandoned and  
> fixed in F4.
> 
> http://bugs.adobe.com/jira/browse/SDK-15335

I don't think it's a bug, just counterintuitive:

http://tech.groups.yahoo.com/group/flexcoders/message/131292

(I had a similar problem, with columns instead of rows)



Re:[flexcoders] flex component into papervision - bad quality

2009-06-25 Thread duncmcm
Hi Folks

Has anyone tried to insert a flex component into pv3d? And come across this 
quality issue or ahs someone got a working example?

Thanks again

Duncan



--- In flexcoders@yahoogroups.com, j2me_soul  wrote:
>
> I got the same problem. Can anyone give some suggestion?
> 
> 
> ÔÚ2009-06-23£¬duncmcm  дµÀ£º
> 
> 
> 
> 
> 
> Hi
> 
> I have used the following code to add a flex component into a papervision 
> primitive in this case a plane. The flex component is added through the 
> papervision material then added to the plane and is interactive ok, IE I can 
> still click the button. But the quality of the flex button is very poor.
> 
> Does anyone have any idea how to improve this quality?, as I desperately want 
> to add flex components into PV3D in my portfolio.
> 
> Thanks
> 
> Duncan
> 
> Test.mxml
> =
> 
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml"; 
> layout="absolute" verticalScrollPolicy="off" horizontalScrollPolicy="off">
> 
> 
> 
> 
> 
> TestComp.mxml
> =
> 
> 
> http://www.adobe.com/2006/mxml"; 
> width="250" height="250" backgroundColor="#FFEA00">
> 
>  click="youClicked(`button');"/>
>  
>  change="youClicked(`checkbox');"/> 
>  change="youClicked(`radioButton');"/> 
> 
> 
> 
> 
>




Re: [flexcoders] reg expression for Password

2009-06-25 Thread thomas parquier
these
1) String.length>=8
2) /[A-Z]/ for uppercase and /[0-9]/ for digit
3) /[0-9a-zA-Z]/ for alphanum
should work.

thomas
---
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net 
téléphone portable : +33601 822 056


2009/6/24 vin.flex 

>
>
> can anybody help me with regexp for password with following specifications
>
> 1) It should contain atleast 8 characters
> 2) It should atleast has one uppercase letter and one digit
> 3) No special characters
>
> thank s
>
> vin
>
>  
>


[flexcoders] Re: I can't understand pureMVC

2009-06-25 Thread vladakg85
Ok, problem solved, my friend with more experience help :)

I made stupid mistake, I have wrong mapped User VO, instead this:
[RemoteClass(alias="BL.User")]
Now I have this:
[RemoteClass(alias="DemoFluorine.BL.User")]

Thats why service returned me ObjectProxy

--- In flexcoders@yahoogroups.com, Simon Bailey  wrote:
>
> Yeh I heard about Flex wrapping results from certain remote requests  
> using the ObjectProxy class, cant remember why this happens but try  
> this and see what happens:
> 
> var user:User = ObjectProxy( event.result ).object_proxy::object;
> 
> Cheers,
> 
> S
> 
> On 24 Jun 2009, at 13:23, vladakg85 wrote:
> 
> >
> >
> > I am trying whole morning, I try to cast it in everything :( From  
> > remote service I return object "User", same VO object like in flex  
> > application.
> > But is this image below ok, becuse I don't see User object anywhere,  
> > this is my evt.result.
> >
> > http://img31.imageshack.us/img31/9747/debug2.jpg
> >
> > --- In flexcoders@yahoogroups.com, Simon Bailey  wrote:
> > >
> > > Something is wrong with your assigning the remote result to the data
> > > in your Proxy. The 'data' object has not been cast to User() and is
> > > instead typed as ObjectProxy?
> > >
> > > On 23 Jun 2009, at 16:15, vladakg85 wrote:
> > >
> > > >
> > > >
> > > > http://img37.imageshack.us/i/debug1.jpg/
> > > >
> > > > this is debug from mediator.
> > > > loginUserData is always null :(
> > > >
> > > > --- In flexcoders@yahoogroups.com, Simon Bailey  wrote:
> > > > >
> > > > > Debug man, check the datatype of the object coming back from  
> > your
> > > > > remote request, maybe there is a problem with the cast. Is the
> > > > Object
> > > > > from your remote result datatyped?
> > > > >
> > > > > Try assigning it to a var first and then debug to see if the  
> > cast
> > > > > works. If on debug you cast the result successfully and can  
> > see the
> > > > > cast variable in debugger no problem there should be no reason  
> > why
> > > > you
> > > > > cannot then send that variable on a notification.
> > > > >
> > > > > What is showing in the debugger in your mediator?
> > > > >
> > > > > On 23 Jun 2009, at 15:50, vladakg85 wrote:
> > > > >
> > > > > >
> > > > > >
> > > > > > I tried this data = evt.result as User; and its not work.
> > > > > > I also tried to send User data with notification, same again.
> > > > > >
> > > > > > LoginCommand
> > > > > > [code]
> > > > > > override public function  
> > execute(notification:INotification):void
> > > > > > {
> > > > > > var myUser:User = notification.getBody() as User;
> > > > > > var loginProxy:LoginProxy;
> > > > > > loginProxy = facade.retrieveProxy(LoginProxy.NAME) as  
> > LoginProxy;
> > > > > > loginProxy.tryLogin(myUser.username, myUser.password);
> > > > > > }
> > > > > > [/code]
> > > > > >
> > > > > > Mediator
> > > > > > [code]
> > > > > > override public function
> > > > > > handleNotification(notification:INotification):void
> > > > > > {
> > > > > > switch (notification.getName())
> > > > > > {
> > > > > > case ApplicationFacade.LOGIN_SUCCESFUL:
> > > > > > var uProxy:LoginProxy;
> > > > > > uProxy = facade.retrieveProxy(LoginProxy.NAME) as LoginProxy;
> > > > > > var u:User = notification.getBody() as User;
> > > > > > Alert.show("welcome: " + u.realName+ ", " + u.City);
> > > > > > break;
> > > > > > case ApplicationFacade.LOGIN_FAILED:
> > > > > > Alert.show("sorry pal, wrong password");
> > > > > > break;
> > > > > > }   
> > > > > > }
> > > > > > [/code]
> > > > > > --- In flexcoders@yahoogroups.com, Simon Bailey   
> > wrote:
> > > > > > >
> > > > > > > In your onResult method try assigning the data like:
> > > > > > >
> > > > > > > data = evt.result as User; // cast result to a User Object  
> > and
> > > > > > assign
> > > > > > > to data
> > > > > > >
> > > > > > > Then you need to either:
> > > > > > >
> > > > > > > a) Have you mediator access the loginUserData directly (you
> > > > may need
> > > > > > > to set it up as Bindable and dispatch an updated event -  
> > see http://bit.ly/14Rlqd
> > > > > > > and look at my HandleLoginProxy).
> > > > > > > b) Easier to assign the loginUserData as the notification  
> > body
> > > > e.g.
> > > > > > > sendNotification( ApplicationFacade.LOGIN_SUCCESSFUL,
> > > > > > loginUserData );
> > > > > > > and in your Mediator register an interest in the
> > > > LOGIN_SUCCESSFUL
> > > > > > > notification and simply pull out the loginUserData object  
> > using
> > > > > > > note.getBody().
> > > > > > >
> > > > > > > I would go for option (b)!
> > > > > > >
> > > > > > > On 23 Jun 2009, at 14:59, vladakg85 wrote:
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi, thank you so much, I did something that I was trying  
> > for
> > > > whole
> > > > > > > > month :( ddd :) But now I have one more problem, this  
> > one is
> > > > > > small :)
> > > > > > > >
> > > > > > > > 1) I make remote call to .NET to login user, everything is
> > > > fine
> > > > >

Re: [flexcoders] need votes for adobe bugs

2009-06-25 Thread Tom Chiverton
On Tuesday 23 Jun 2009, claudiu ursica wrote:
> Probably to get them up in the fixing queue since many votes gain you
> attention ... :)

Oh, yes, that :-) I don't know why I hadn't thought of it before !

P.S. 160 days left to save Flex Builder on Linux : 
http://bugs.adobe.com/jira/secure/IssueNavigator.jspa?reset=true&&resolution=-1&sorter/field=priority&sorter/order=DESC&sorter/field=votes&sorter/order=DESC

-- 
Helping to enormously maintain deliverables as part of the IT team of the 
year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.