[flexcoders] amfphp, flex sending custom class trouble

2007-03-07 Thread Kun Janos
Hi all
I made a custom class: ExtendedArrayCollection extends
ArrayCollection{...i written a few functions here...}.
If I make a ProductVO that has a member
mediaList:ExtendedArrayCollection and name:String for example I am
unable to send the ProductVO to amfphp.
Flex doesn't give me any error, but the data isn't sent. I'm using
Charles and it seams the data doesn't leave flex at all.
If I remove mediaList:ExtendedArrayCollection from ProductVO then the
data is sent. 
Is this a bug in flex? Or a bug in amfphp? Why can't I send objects
like ExtendedArrayCollection ???
On amfphp I have  ProductVO.php that corresponds to ProductVO.as and
class mapping is correct. I'm using amfphp 1.9 beta 2, but this
problem appears in amfphp 1.2 also.

Janos



Re: [flexcoders] FDS and single items

2007-03-07 Thread Carlos Rovira

Hi Dimitros,

Why don't use those methods directly from the DataService? I mean,
DataService.mergeRequired
and Dataservice.merge()...could be different?

06 Mar 2007 18:06:42 -0800, Dimitrios Gianninas 
[EMAIL PROTECTED]:



And then use the DataService.dataStore.mergeRequired property to know when
another client has had changes to the current data entity and then call
DataService.dataStore.merge() to take in the changes if u want.

Dimitrios Gianninas
Optimal Payments Inc.

-Original Message-
From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com on behalf
of Peter Farland
Sent: Tue 3/6/2007 5:50 PM
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Subject: RE: [flexcoders] FDS and single items

I think you want to look for FDS documentation about a Single Managed
Object. I believe instead of using the DataService.fill() API, you use
DataService.getItem()/DataService.createItem() APIs.

http://livedocs.adobe.com/flex/2/langref/mx/data/DataService.html

Also, Lin Lin mentioned SMOs on her blog:

http://weblogs.macromedia.com/lin/archives/2007/02/how_to_get_sing.cfm

Pete



From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
Behalf Of Darren Houle
Sent: Tuesday, March 06, 2007 3:09 PM
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Subject: [flexcoders] FDS and single items

I am developing my first FDS application. It's small, and basically just
a
big form comprised of about 75 fields; radio groups, comboboxes, text
inputs, etc.

Each time a new form is submitted it creates one row in a large table.
The
form can be retreived and edited later, which just updates the values in

that existing row.

Since two or three people can have the same form (record) open at the
same
time, I would like to use FDS to manage the data and stop them from
overwriting each other when they click save but... the FDS
documentation
and tutorials state in several places that you can only manage
ArrayCollections of objects. Problem is that in my case I couldn't
possibly
pull over 3000 records into an ArrayCollection, it would be too big and
slow.

Is there a way to retreive and manage a single custom object containing
a
single form/record instead of an entire ArrayCollection of objects? Any
examples or tutorials out there showing how to do this? Could I possibly

use some function to identify  select a single record, and then pull
that
one record over into an ArrayCollection that FDS would manage? That
seems a
little cumbersome.

Darren

--
WARNING
---
This electronic message and its attachments may contain confidential,
proprietary or legally privileged information, which is solely for the use
of the intended recipient. No privilege or other rights are waived by any
unintended transmission or unauthorized retransmission of this message. If
you are not the intended recipient of this message, or if you have received
it in error, you should immediately stop reading this message and delete it
and all attachments from your system. The reading, distribution, copying or
other use of this message or its attachments by unintended recipients is
unauthorized and may be unlawful. If you have received this e-mail in error,
please notify the sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des
renseignements confidentiels, exclusifs ou légalement privilégiés destinés
au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
privilège ou à aucun autre droit si le présent message a été transmis
involontairement ou s'il est retransmis sans son autorisation. Si vous
n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
que toutes ses pièces jointes, de votre système. La lecture, la
distribution, la copie ou tout autre usage du présent message ou de ses
pièces jointes par des personnes autres que le destinataire visé ne sont pas
autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
électronique par erreur, veuillez en aviser l'expéditeur.

 






--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Jason Hawryluk
+5 fro Sqlite absolutely. Why MySQL? It's a server product not a embedded
db.

jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Muzak
  Envoye : mercredi 7 mars 2007 00:12
  A : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] DB access in Apollo


  SQLite ;-)
  http://www.sqlite.org/

  - Original Message -
  From: Russell Sprague [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Monday, March 05, 2007 5:09 PM
  Subject: Re: [flexcoders] DB access in Apollo

  I vote for MySQL.
  



  


RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Jason Hawryluk
My bad, there is an embedded version of MySQL.

Still think SQLLite is the best contender here.

jason


  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Jason Hawryluk
  Envoye : mercredi 7 mars 2007 09:31
  A : flexcoders@yahoogroups.com
  Objet : RE: [flexcoders] DB access in Apollo



  +5 fro Sqlite absolutely. Why MySQL? It's a server product not a embedded
db.

  jason



-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Muzak
Envoye : mercredi 7 mars 2007 00:12
A : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] DB access in Apollo


SQLite ;-)
http://www.sqlite.org/

- Original Message -
From: Russell Sprague [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, March 05, 2007 5:09 PM
Subject: Re: [flexcoders] DB access in Apollo

I vote for MySQL.





  


[flexcoders] Automatic Getter / Setter Generation

2007-03-07 Thread Giles Roadnight
I was teaching a college to use Flex yesterday (he's a java man and Flex was
a breath of fresh air for him after struggling with Flash for weeks!) and he
asked if Flex Builder 2 can automatically generate Getters / Setters for a
class.

 

Apparently Sprint can do this and FB2 is based on sprint isn't it?

 

Is it possible to do this?

 

Many Thanks

 

Giles Roadnight 



Re: [flexcoders] CF flex2gateway vs JavaAdapter

2007-03-07 Thread Tom Chiverton
On Tuesday 06 Mar 2007, João Fernandes wrote:
 Rich, unfortunately if you work with Arrays of VO's you'll see that CF
 is lacking of performance comparing with Java. This is related with the
 overhead of creating CFCs.

CreateObject() calls in particular.

 Adobe is aware of the current low performance of CF when dealing with
 thousands of VO records.

But this is 'low relative performance' (compaired to Railo or BD) , as opposed 
to being so slow as to be unusable given a reasonably spec'ed server.
Mark Drew's blog has some graphs on it.

-- 
Tom Chiverton
Helping to authoritatively pursue professional architectures
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Re: httpservice; ie and 2032 error

2007-03-07 Thread Tom Chiverton
On Tuesday 06 Mar 2007, dantmcgowan wrote:
 Tom,
Yes I am running under ssl. I did get a response back suggesting I
 take a look at the response headers, particularly for pragma: no
 cache or expires. I was also given this link for reference:

And cache-control.
The Adobe tech note is:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=viewid=KC.fdc7b5cextid=fdc7b5cdialogID=5708881iterationID=1sessionID=48302006ea9e3b171831stateID=0+0+5714280mode=simple

We used an SSL proxy on the client computer to intercept the request and show 
us exactly what headers IE was seeing, and adjusted the web server and SSL 
accelerator (you may not have one) settings so as not to send the headers in 
question.

-- 
Tom Chiverton
Helping to widespreadedly generate dynamic information
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


[flexcoders] Component Constructors

2007-03-07 Thread Giles Roadnight
When I make an MXML component that extends for example the panel class how
do I get to the constructor?

I want to pass parameters when I create a new login box but can't seem to
get a constructor to work.

Thanks

Giles Roadnight




RE: [flexcoders] Component Constructors

2007-03-07 Thread Soenke Rohde
MXML components can't have a constructor with parameters.

You should set parameters with setters implemented within the component.

 

Cheers,

Sönke

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles 
Roadnight
Sent: Mittwoch, 7. März 2007 11:08
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component Constructors

 

When I make an MXML component that extends for example the panel class how
do I get to the constructor?

I want to pass parameters when I create a new login box but can't seem to
get a constructor to work.

Thanks

Giles Roadnight

 



[flexcoders] Mike nimmer Debug component !!

2007-03-07 Thread bobrene07
hello,

did anyone tried to work with Mike nimmer debug component
(http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel) ??

I always add an error (can't work with null obeject) when i do
Debug.show(myObject).

hope one can help.

thx

bob





Re: [flexcoders] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?

2007-03-07 Thread iiley

Hi,

Mask works buggy with filters too:

If your sprite is masked and filtered, and moved, then the event trigger
will not works.

You can see a test demo here:
http://www.rgenerat.org/iileyblog/?p=64

Sadly, the only hope that Rakos tiped me is destroied, where is my future
.

Regards~~

--
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com


RE: [flexcoders] Component Constructors

2007-03-07 Thread Giles Roadnight
Ok, that’s what I thought might be the case.

 

Thanks

 

Giles Roadnight

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Soenke Rohde
Sent: 07 March 2007 10:36
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Component Constructors

 

MXML components can’t have a constructor with parameters.

You should set parameters with setters implemented within the component.

 

Cheers,

Sönke

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giles Roadnight
Sent: Mittwoch, 7. März 2007 11:08
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Component Constructors

 

When I make an MXML component that extends for example the panel class how
do I get to the constructor?

I want to pass parameters when I create a new login box but can't seem to
get a constructor to work.

Thanks

Giles Roadnight

 

attachment: image001.jpg
attachment: image002.jpg


[flexcoders] convert result from webservice to use in bytearray en uncompress

2007-03-07 Thread amigo_fd
Hello,

I'm testing some compression systems to make my webservice results
smaller.

Now I have a webservice with the following action:

input = test
output = base64BinaryK0ktLgEA/base64Binary

How can I uncompress this result in Flex ?
This code gives the error: Parameter bytes must be non-null.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
private function LoadWebservices():void {
WsTest.WsTestZippedString.arguments = 
{doString: tiText.text };
WsTest.WsTestZippedString.send();
}

private function FillResult(): void {
var x:XML = new 
XML(WsTest.WsTestZippedString.lastResult);

//CommonFunctions.showErrorDialog(x.children());

tiResult.text = x.toString();

var byteArr:ByteArray = new ByteArray();
byteArr.writeBytes(x.toString() as ByteArray);
byteArr.uncompress();
tiUnzipped.text = byteArr.toString();
}
]]
/mx:Script

mx:WebService id=WsTest destination=WsTest
wsdl=http://xxx.yyy.zzz/ws_test.asmx?wsdl;
useProxy=false
showBusyCursor=true 

mx:operation name=WsTestZippedString result=FillResult(); 
/
/mx:WebService
mx:TextInput x=45 y=41 id=tiText/
mx:Button x=228 y=41 label=Send click=LoadWebservices(); /

mx:TextInput x=45 y=71 id=tiResult/
mx:TextInput x=45 y=101 id=tiUnzipped/

/mx:Application




Re: [flexcoders] Overlaping tabs - is it possible ?

2007-03-07 Thread Tom Chiverton
On Tuesday 06 Mar 2007, pitziilu wrote:
 Can this be done?

Sure, just extend the tab navigator and override the bits that draw the 
buttons.

-- 
Tom Chiverton
Helping to proactively lead bleeding-edge functionalities
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Drawing in Flex

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, schmaltsyman wrote:
 exception of drawing shapes. While I know how I might do this in Flash, how
 might you allow a user to draw a shape in Flex past addChild()? Thanks for
 the help.

Take a look at the LiveDocs for Graphic.

-- 
Tom Chiverton
Helping to globally industrialize attention-grabbing services
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


[flexcoders] UIComponent: keyUpHandler - what's it for anyway?

2007-03-07 Thread Danko Kozar
The livedocs suggest that every UIComponent has automatically set 
event listeners for keyUp (adn keyDown) events: 
http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html#key
UpHandler()

So, I expected that it's enough to override this method to make some 
action on key-click. But that isn't the case.. Instead - nothing 
happens.

Here's my code:

override protected function keyUpHandler(event:KeyboardEvent):void {
  super.keyUpHandler(event);
  if (event.keyCode == Keyboard.DELETE){
mx.controls.Alert.show(Key DELETE clicked.);
  }
}

(ps. I prefer not to register key listeners by myself 
(using addEventListener), rather use this default behaviour if 
possible)



[flexcoders] ASX to mp3

2007-03-07 Thread Cato Paus
Hi all!

do anyone know how to pass a asx stream into flash ?

Cato



Re: [flexcoders] Automatic Getter / Setter Generation

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, Giles Roadnight wrote:
 Apparently Sprint can do this and FB2 is based on sprint isn't it?

Never heard of Sprint.
FB is a packaged version the Eclipse IDE.

-- 
Tom Chiverton
Helping to synergistically supply principle-centered web-readiness
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Re: DataGridColumn headerText Runtime Exception , a Flex bug ?

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, jmorpher03 wrote:
 I did not see any documentation mentioning this anywhere, nor is there
 an indication about the settings for headerWordWrap.

The LiveDocs for DataGridColumn.headerWordWrap, though giving it type '*', do 
also refer to DataGrid.wordWrap which is a Boolean.

-- 
Tom Chiverton
Helping to ambassadorially introduce enterprise-class information
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Re: cairngorm strategy question

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, Russell Munro wrote:
 I access the methods on the Controller singleton inline like this as the
 article does:
 Controller.instance.registerInfoTip(data) As opposed to setting a
 'var model'  like we do with ModelLocator.

We have instances of static classes (like FormatItOurWay, method 
asDate(s:String) etc.) loaded into the Model, so they're 'just there' when 
you use the model locator.

-- 
Tom Chiverton
Helping to continuously leverage value-added e-markets
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


[flexcoders] FileReference.download and Web Service

2007-03-07 Thread Battershall, Jeff
Is it possible to combine FileReference.download() with a web service
call? So that you're invoking a download dialog in containing content
returned from a web service?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)


Re: [flexcoders] Re: cairngorm strategy question

2007-03-07 Thread hank williams

Russel,

This is very interesting. I am going to look at the article more  closely.
It sounds like this is exactly the right concept.

Thanks,
Hank

On 3/6/07, Russell Munro [EMAIL PROTECTED] wrote:


I ran into this similar problem with a mapping application I am creating.
There was allot of calculations require to render the map image that were:
 - nothing to with services
 - were too small to pass through the cairngorm micro-architecture
 - were definitely not part of the view

I umm  arrghh about it for ages then found my solution, in part in this  great
article on Adobehttp://www.adobe.com/devnet/flex/articles/blueprint.html.
It speaks of a means of creating RIA's without cairngorm (heaven forbid! ;)
)  The part that help me the most was the Controller mechanisms (page 7) A
Controller in the traditional MVC sence in that it has nothing to do
directly with services, unlike cairngorm.

I still am using a cairngorm based structure, it is too late to change
that if I wanted to. But now I have a Controller singleton (like the
modelLocator) that gives me access to all the key processing methods of the
app, basically a library of important methods.  It has been a great
addition, making things so much easier to access.

I access the methods on the Controller singleton inline like this as the
article does:
Controller.instance.registerInfoTip(data) As opposed to setting a 'var
model'  like we do with ModelLocator.

I found it so useful that I now access my Cairngorm services through the
Controller. It may seem a bit long-winded but serveral of my modules need
access to the same services so it make access reuse a breeze and really
keeps the code out of the view. Plus team member use of each services is now
a bit more seamless.

I hope that is helpful to you? It is working fantastically for me and
fixed my problem.  If you want more info or some sample code please ask.

Russell Munro
Corbell Web





Re: [flexcoders] Overlaping tabs - is it possible ?

2007-03-07 Thread Michael Schmalle

Have fun,

One thing I think Tom is forgetting is that those tabs are arranged by
index. This also means that you have to accept that the order they appear is
the order of z index also.

The only way is to maintain a proxy array and completely re implement the
layout part of the tab bar.

This means ditching the box layout and doing it yourself.

Peace, Mike

On 3/7/07, Tom Chiverton [EMAIL PROTECTED] wrote:


On Tuesday 06 Mar 2007, pitziilu wrote:
 Can this be done?

Sure, just extend the tab navigator and override the bits that draw the
buttons.

--
Tom Chiverton
Helping to proactively lead bleeding-edge functionalities
On: http://thefalken.livejournal.com



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 St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

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 8008.

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




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







--
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'.


[flexcoders] Re: DB access in Apollo

2007-03-07 Thread Paul Whitelock
I'm working on Flex app that would be great for Apollo but it too
requires DB access and I don't see how the app would ever work unless
Apollo includes an integrated DB (I vote for MySQL too).

I think that Apollo would generate a lot more interest if an
integrated DB was included sooner rather than later.

Paul

---
Paul Whitelock
Denver, Colorado

--- In flexcoders@yahoogroups.com, steve_benfield
[EMAIL PROTECTED] wrote:

 So if we install our own DB with Apollo, how does Apollo communicate
 with that DB? From what I've heard there is no native DLL access in
 Apollo, so how is this going to work? Will I also have to install an
 app server as well to recieve web service calls?
 
 Our app requires a complex data set and occasionally connected
 clients--Apollo seems a great way to do this but the DB access on the
 client is an unknown to us. 
 
 Anyone have insight into this?
 
 Thanks.
 
 --Steve



[flexcoders] Set Button Icon at Runtime !!

2007-03-07 Thread bobrene07
Hello,

i don't want to embed my image in my SWF, I want to set my button Icon
image at Runtime.

Do you know how i could possibly do that ??

Thx for ur help

Bob



[flexcoders] flex main-debug.html won't build...

2007-03-07 Thread jamiebadman
Hi,

Wonder if someone can help! My project's stopped working with Debug - 
I have no idea why! It no longer builds flex main-debug.html at all - 
though it does create a debug SWF. If I run in debug it complains of 
no flex main-debug.html and if I run the debug SWF directly, 
FlexBuilder can't see it - so I guess they're trying to communicate on 
different ports.

I can't see any debug options or anything like that in the 'project 
config'... can anyone help me to get the project debuggable again 
please ?!

Thanks,

Jamie.



Re: [flexcoders] Overlaping tabs - is it possible ?

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, Michael Schmalle wrote:
 The only way is to maintain a proxy array and completely re implement the
 layout part of the tab bar.

Yes, that's what I meant.

-- 
Tom Chiverton
Helping to interactively synthesize out-of-the-box services
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


RE: [flexcoders] flex main-debug.html won't build...

2007-03-07 Thread Soenke Rohde
Did you try Project-clean?

 

Cheers,

Sönke

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
jamiebadman
Sent: Mittwoch, 7. März 2007 14:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex main-debug.html won't build...

 

Hi,

Wonder if someone can help! My project's stopped working with Debug - 
I have no idea why! It no longer builds flex main-debug.html at all - 
though it does create a debug SWF. If I run in debug it complains of 
no flex main-debug.html and if I run the debug SWF directly, 
FlexBuilder can't see it - so I guess they're trying to communicate on 
different ports.

I can't see any debug options or anything like that in the 'project 
config'... can anyone help me to get the project debuggable again 
please ?!

Thanks,

Jamie.

 



Re: [flexcoders] Set Button Icon at Runtime !!

2007-03-07 Thread Michael Schmalle

Hi,

You could use setStyle() at runtime and load a module that holds your assets
library.

Peace, Mike

On 3/7/07, bobrene07 [EMAIL PROTECTED] wrote:


  Hello,

i don't want to embed my image in my SWF, I want to set my button Icon
image at Runtime.

Do you know how i could possibly do that ??

Thx for ur help

Bob

 





--
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] Mike nimmer Debug component !!

2007-03-07 Thread Jeffry Houser


 I was never able to get it to work myself.  On paper it looks 
great, though.


At 05:42 AM 3/7/2007, you wrote:


hello,

did anyone tried to work with Mike nimmer debug component
(http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanelhttp://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel) 
??


I always add an error (can't work with null obeject) when i do
Debug.show(myObject).

hope one can help.

thx

bob




--
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com
Connecticut Macromedia User Group: http://www.ctmug.com


[flexcoders] Apollo and where do we start.

2007-03-07 Thread nboulet
Hi guys :)
I've been reading this mailing list since quite a bit and I have a
question. Where can I start with Apollo development? And, please,
don't send me to the Adobe Labs, there is no place to download the SDK
and no tutorials or infos. And yes, I ordered my Apollo Pocket Guide
on Amazon hehe!
Thanks.
Nicolas



[flexcoders] Modules

2007-03-07 Thread darvon4u
I try to create modules by using mx:Module
xmlns:mx=http://www.adobe.com/2006/mxml; and flexbuilder 2.0.143459
doesn't know anything about it. 
From the dropdown suggestions there is no Module keyword, and when i
compile it fb gives me Could not resolve mx:Module to a component
implementation

Am i not referencing something? What am i doing wrong? How do i get
flexbuilder to see my modules?
Also, I've read in the docs that modules should be now a suggestion in
a wizard when you try to create a new component, but it is not there
either. why?

Thanks in advance!




RE: [flexcoders] Apollo and where do we start.

2007-03-07 Thread David Mendels
Hi,
 
You need to be patient for a bit more to get the Apollo early releases.
 
But for now, start by using Flex.  Everything in Flex will move to
Apollo seamlessly.
David



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nboulet
Sent: Wednesday, March 07, 2007 8:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Apollo and where do we start.



Hi guys :)
I've been reading this mailing list since quite a bit and I have a
question. Where can I start with Apollo development? And, please,
don't send me to the Adobe Labs, there is no place to download the SDK
and no tutorials or infos. And yes, I ordered my Apollo Pocket Guide
on Amazon hehe!
Thanks.
Nicolas



 


Re: [flexcoders] Apollo and where do we start.

2007-03-07 Thread hank williams
On 3/7/07, nboulet [EMAIL PROTECTED] wrote:
 Hi guys :)
 I've been reading this mailing list since quite a bit and I have a
 question. Where can I start with Apollo development?

Hmm... I guess you missed the part about it not being released yet ;)

Sorry for being snarky, I just couldnt resist!

Regards,
Hank


[flexcoders] List based components, FDS and UID bug

2007-03-07 Thread Carlos Rovira

Hi,

There's a problem in list based components (List, Tree, Datagrid,..). When
we retrieve the same managed object from FDS and have more than one row, FDS
set the same UID for those diferent rows, so a list based component shows a
bad behaviour.

For example, in a Tree if we open a node, other nodes representing the same
node open and childrens shows a lot of problems (like rollOver errors,...).
That's due to the same object sharing the same UID.

As this is a problem with UIDs open since early betas in Flex 2, maybe this
could be due to some known workaround that allows retrieve the same object
with diferents UIDsAnyone knows some workaround to solve this bug in
list components?

I try to insert a random number in the server, but this is not the
solution...maybe if I assign the UID in the server could solve the problem?

Thanks in advance.



--
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://www.madeinflex.com


RE: [flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-07 Thread Roger Gonzalez
Er, this isn't strictly correct.
 
The module (the SWF and the class factory it contains) are only ever
loaded/instantiated once, ever, no matter how many times you call
load.
 
ModuleLoader, on the other hand, creates -instances- using the module's
class factory, and adds them as a child.  These instances don't always
get fully cleaned up for GC (there certainly is no guarantee that
they'll get recycled immediately, but there are also occasionally some
references in the frameworks that don't always get unhooked correctly..
this is an active area of cleanup in the frameworks code).
 
I suggest that you play with the low-level ModuleManager/IModuleInfo API
to get a feel for the memory behavior of modules outside of the context
of modules that use the frameworks, and then work your way back to using
ModuleLoader to load frameworks components.
 
Cheers,
 
-rg




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Fabio Terracini
Sent: Tuesday, March 06, 2007 7:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Player 9's (Flex 2) Memory Usage
- What's Normal?



Speaking on Modules, I might suggest you an hybrid approach.

If you load ModuleA, then load ModuleB and load ModuleA again
(either
by ModuleLoader or by SWFLoader), you'll end with two ModuleA
loaded
up into memory - you can confirm this by placing a Timer to
output a
trace (it's really hard to really remove a displayObject from
memory).
If you use ViewStack instead, you'll only have that ModuleA
loaded
once - but ViewStack implies on downloading all the Module at
the same
time - no progressive download at all.

So, the hybrid approach is something that I call
StackedModules.
I've blogged about

(http://blog.dclick.com.br/2007/01/23/gerenciamento-de-memoria-e-tamanho
-dos-arquivos-em-grandes-aplicativos-utilizando-o-modules-do-flex-201/
http://blog.dclick.com.br/2007/01/23/gerenciamento-de-memoria-e-tamanho
-dos-arquivos-em-grandes-aplicativos-utilizando-o-modules-do-flex-201/
)
but it's in Portuguese so you might just check the performance
charts
(or Google Translate it ;-)). At first sight it's simples as:

mx:ViewStack
mx:ModuleLoader /
mx:ModuleLoader /
/mx:ViewStack

You might improve by using ModuleManager.getModule() to check if
the
Module is loaded, then load if necessary, or just change the
selectedIndex, and so on. And build it using dynamic linking
(either
external or RSLs).

[]s
Fabio Terracini

On 3/5/07, jeofmoyster [EMAIL PROTECTED] mailto:jeof%40jeof.net 
wrote:
 So I'm developing what will be a good-sized application, but
I'll be
 carefully planning for download speed and runtime efficiency
through
 ModuleLoader, SWFLoader, etc.

 Right now I've barely begun but have finished the ground level
for the
 Data Retrieval, Normalization and Management (no FDS). The
memory
 monitor object shows about 40 megabytes of memory being used
when the
 data comes in, and drops to 24 MB if I leave the app still for
a a
 couple minutes afterward (I assume that's garbage collection
kicking
 after the data normalization).

 Flex is one my first forays into needing to worry about things
like
 memory management, so I'm looking for best practice and a
baseline of
 what's expected and acceptable.

 1) What's average memory load for a Flex application? When
do I
 start freaking out about using too much memory?

 2) How do I optimize memory management during run time? What's
the
 best way to encourage good garbage collection?

 Ideally this app will cache the data it receives over the
course of
 its runtime so switching back to older sets is faster than
reloading
 it from the server, but if this seriously chokes memory, I
need to
 come up with a new strategy.

 Any help is appreciated!





 --
 Flexcoders Mailing List
 FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links






 



RE: [flexcoders] Question about Flex WebService

2007-03-07 Thread Shibli Zaman
You may wish to specify that this is an SAP related question in the
future as it will help those familiar with this subject identify the
problem and offer solutions.

You don't need FDS when consuming a Web Service.

The error is saying that your WSDL is malformed. So I have some
questions for you:

1) What version of R/3 are you using?

2) Are you sure ZGET_ALERT_NUMBER exists by that name?

3) Are you sure 8200 is your port?

I would suggest you form your WSDL like this and give it a try:

http://[SERVER]:[PORT]/sap/bc/soap/wsdl11?services=ZGET_ALERT_NUMBER

Thanks --Shibli

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of snowedice
Sent: Tuesday, March 06, 2007 12:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question about Flex WebService

 

Hi,

Experts, please help me to see what is wrong here, thanks a lot!!

I've created a simple programe to test the flex WebService. But it 
always pop out 

[RPC Fault faultString=[MessagingError message='Unknown 
destination 'defaultWSDL'.'] faultCode=InvokeFailed 
faultDetail=Unable to load WSDL. If currently online, please verify 
the URI and/or format of the WSDL (null)] ..

I've add the Destination in the ..\fds\jrun4
\servers\default\samples\WEB-INF\flex\proxy-config.xml

destination id=defaultWSDL
adapter ref=soap-proxy/
properties

wsdlMailScanner warning: numerical links are often malicious:
http://192.168.0.200:8200/sap/bc/srt/rfc/sap/zGet_Alert_Number?
http://192.168.0.200:8200/sap/bc/srt/rfc/sap/zGet_Alert_Number? 
sap-client=800amp;wsdl=1.1/wsdl
soapMailScanner warning: numerical links are often malicious:
http://192.168.0.200:8200/sap/bc/srt/rfc/sap/zGet_Alert_Number?
http://192.168.0.200:8200/sap/bc/srt/rfc/sap/zGet_Alert_Number? 
sap-client=800/soap

/properties
/destination

Code is:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml  
layout=absolute

mx:Script
![CDATA[ 
import mx.rpc.soap.WebService;
import mx.collections.ArrayCollection;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.controls.Alert;

]]
/mx:Script

mx:WebService id=wsGetAlertNumber 
destination=defaultWSDL
mx:operation name=ZGET_ALERT_NUMBER
mx:request
IV_CATEGORY1/IV_CATEGORY 
/mx:request
/mx:operation
/mx:WebService
..

The FDS is started before running the program. Anything wrong here?

 



[flexcoders] Flex Configuration to use remote object on Websphere

2007-03-07 Thread aspid760

Hello,

I am newbie in flex and I am trying to make an application that use
remote object onwebsphere. And I have some trouble.

I followedstep by step this link :

 
http://weblogs.macromedia.com/pmartin/archives/2006/11/deploying_flex.c\
fm
http://weblogs.macromedia.com/pmartin/archives/2006/11/deploying_flex.cf\
m
http://weblogs.macromedia.com/pmartin/archives/2006/11/deploying_flex.c\
fm

I have un-comment the 2 parts in the flex configuration, the
resource-ref and the websphere-workmanager-jndi-nameand I have create
the MessagingWorkManager in websphere but when the project is loaded by
websphere this exception is throws by websphere :

[07/03/0708:59:10:035 CET] 0015 ServletWrappe E   SRVE0100E:
Exceptioninit() non intercept?e par le servlet MessageBrokerServlet :
flex.messaging.endpoints.rtmp.RTMPException:WebSphere RTMP Server failed
to find WorkManager atjava:comp/env/wm/MessagingWorkManager.

atflex.messaging.endpoints.rtmp.WebSphereNIORTMPServer.init(WebSphereN\
IORTMPServer.java:69)

atsun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo\
rAccessorImpl.java:67)

atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo\
nstructorAccessorImpl.java:45)

atjava.lang.reflect.Constructor.newInstance(Constructor.java:521)

atflex.messaging.endpoints.RTMPEndpoint.createServer(RTMPEndpoint.java:1\
19)

atflex.messaging.endpoints.RTMPEndpoint.properties(RTMPEndpoint.java:87)

atflex.messaging.endpoints.AbstractEndpoint.init(AbstractEndpoint.java\
:96)

atflex.messaging.endpoints.RTMPEndpoint.init(RTMPEndpoint.java:62)

atflex.messaging.endpoints.RTMPEndpoint.init(RTMPEndpoint.java:57)

atsun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo\
rAccessorImpl.java:67)

atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo\
nstructorAccessorImpl.java:45)

atjava.lang.reflect.Constructor.newInstance(Constructor.java:521)

atflex.messaging.config.MessagingConfiguration.createEndpoints(Messaging\
Configuration.java:128)

atflex.messaging.config.MessagingConfiguration.configureBroker(Messaging\
Configuration.java:82)

atflex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105\
)

atcom.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.jav\
a:185)

atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.j\
ava:316)

atcom.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapp\
er.java:1119)

atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWra\
pper.java:149)

atcom.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServl\
etWrapper(WebExtensionProcessor.java:99)

atcom.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:74\
2)

atcom.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.\
java:422)

atcom.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebAp\
p.java:275)

atcom.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:272)

atcom.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.j\
ava:88)

atcom.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.ja\
va:157)

atcom.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655\
)

atcom.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.\
java:608)

atcom.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContaine\
rImpl.java:333)

atcom.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerI\
mpl.java:549)

atcom.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrIm\
pl.java:1295)

atcom.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjec\
tStart(DeployedApplicationImpl.java:1129)

atcom.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleIm\
pl.java:567)

atcom.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApp\
licationImpl.java:814)

atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Appli\
cationMgrImpl.java:948)

atcom.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(App\
licationMgrImpl.java:2114)

atcom.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run\
(WsComponentImpl.java:340)

atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)



Someone could explain me what I forget.

Thanks.



[flexcoders] Asigning customized scrollbar to containers

2007-03-07 Thread ajayflash
Hi all,

I'm want to customize Scrollbar, e.g. change the position of the top
arrow button next to bottom arrow button. I tried a few things but its
not working. I know it cant be done with style or programmatic skins.
I will create custom Scrollbar, but the problem is the attach that
scrollbar to the containers.  I tried to change verticalScrollBar
property of VBox but it doesn't work because I saw the implementation
of verticalScrollBar setter in Container class which does nothing
except to change the variable.
I thought about creating a customized VBox component and set the
verticalScrollBar there but that also wont work because in Container
class, verticalScrollBar gets created and deleted through functions
createScrollbarsIfNeeded, createOrDestroyScrollbars. and these
functions are private so I cant override them :( . 
can anyone suggest how can I achieve this?



[flexcoders] debug AMFPHP/flex -- beginner question

2007-03-07 Thread Rico Leuthold

Hi there,

I do my first steps in programming flex and using amfphp. I have a  
simple program that loads data from mysql into a flex table. When I  
tried to extend the example into an adress book app, it didn't work  
any longer. The mysql data is not shown in the flex table. So I tried  
to debug this, but can't find any error.


I set the amfphp gateway to the debuggateway.php, checked the apache  
and mysql logfiles, but cannot find any error.


Thegateway.call( adress.getPersons, new Responder(onResult,  
onFault));  has a Fault and calls the onFault function, where I tried  
to get information in debug mode with trace(fault) - nothing.


What can I do to figure out what is going on ? Thanx.

[flexcoders] Re: DB access in Apollo

2007-03-07 Thread helix206

Hi all,

If i remember corectly, Mike Chambers sad in his Flex presentation 
that its possible to write drivers is AS3 for direct DB 
communication. Anyone tryed that?

Also, Apollo direct DB comm would be a great addition to the package.


--- In flexcoders@yahoogroups.com, David Mendels [EMAIL PROTECTED] 
wrote:

 Hi,
  
 Some version of this will happen.  The question is when.  It 
certainly
 will not be in the first public developer betas of Apollo.  And I 
can't
 guarantee when it will be in Apollo (later beta? 1.0? 1.X?), but we 
all
 agree it should and will happen. 
  
 :)
  
 -David
 Apollo
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Rich Tretola
 Sent: Friday, March 02, 2007 9:03 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] DB access in Apollo
 
 
 
 This is what I am hoping for.
 
 Rich
 
 
 On 3/2/07, Gordon Smith [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote: 
 
   
 
   The Apollo team is considering integrating a SQL database into
 the Apollo runtime.

   - Gordon
 
 
 
   From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com http://yahoogroups.com ] On 
Behalf
 Of Shannon Hicks
   Sent: Friday, March 02, 2007 7:00 AM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] DB access in Apollo
   
   
   
 
   
 
   Don't forget that Apollo will let us use our own installers...
 There's no reason you couldn't install your own database in 
addition to
 the Apollo application.
 
   
 
   Shan
 
   
 
   From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com http://yahoogroups.com ] On 
Behalf
 Of Abdul Qabiz
   Sent: Thursday, March 01, 2007 12:20 PM
   To: flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] DB access in Apollo
 
   
 
   I can imagine of doing that with Apollo. I would post soon .
   
   On 3/1/07, Russell Sprague [EMAIL PROTECTED]
 mailto:rsprague%40infusion-studios.com  wrote:
I noticed a while back that there wasn't any kind of local
 database
access in Apollos feature list. Is this something that
 will/has
changed, or are the devs thinking this will be a community
contribution? It seems to me that DB access is a big part of
 desktop
apps, I have built a couple using Flash, Zinc, and MySQL. It
 would be a
shame to not be able to use Apollo for some projects because
 of this
issue. Hopefully someone can tell me that I just missed it
 when Adobe
added this to the feature list.
   
Russ
   
   
 
   
 
   
 
   
 
   
 
   
 
 
 
 
 -- 
 Rich Tretola
 mx:EverythingFlex/
 http://www.EverythingFlex.com http://www.EverythingFlex.com





[flexcoders] Excellent job opportunities in Bangalore

2007-03-07 Thread gjn_2001
Hi,

Presently we are looking for candidates with below mentioned skills:

Role: Developer 

Skill Set: Flash,MAcromedia Flex,XML,HTML,Java

Bit development exp is added advantage

Exp: 3-5yrs

Qualification: Any Degree

Location: Bangalore

Kindly send me your updated profile at the earliest.

Regards
Nataraj G J
Sr.Resource Executive
Bangalore



[flexcoders] Re: Set Button Icon at Runtime !!

2007-03-07 Thread bobrene07
It's not possible to creat a class object at runtime with an image in it ?

anyone ??

thx 4 ur help

bor

--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:

 Hi,
 
 You could use setStyle() at runtime and load a module that holds
your assets
 library.
 
 Peace, Mike
 
 On 3/7/07, bobrene07 [EMAIL PROTECTED] wrote:
 
Hello,
 
  i don't want to embed my image in my SWF, I want to set my button Icon
  image at Runtime.
 
  Do you know how i could possibly do that ??
 
  Thx for ur help
 
  Bob
 
   
 
 
 
 
 -- 
 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'.





[flexcoders] Re: Mike nimmer Debug component !!

2007-03-07 Thread bobrene07
Yep it looked great, maybe it's only working with coldfusion

i use Xpanel ( http://flexblog.faratasystems.com/?p=5 ) it is quit
good too


bob

--- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote:

 
   I was never able to get it to work myself.  On paper it looks 
 great, though.
 
 At 05:42 AM 3/7/2007, you wrote:
 
 hello,
 
 did anyone tried to work with Mike nimmer debug component

(http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanelhttp://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel)

 ??
 
 I always add an error (can't work with null obeject) when i do
 Debug.show(myObject).
 
 hope one can help.
 
 thx
 
 bob
 
 
 
 --
 Jeffry Houser, Software Developer, Writer, Songwriter, Recording
Engineer
 AIM: Reboog711  | Phone: 1-203-379-0773
 --
 My Company: http://www.dot-com-it.com
 My Podcast: http://www.theflexshow.com
 My Blog: http://www.jeffryhouser.com
 Connecticut Macromedia User Group: http://www.ctmug.com





[flexcoders] Re: Overlaping tabs - is it possible ?

2007-03-07 Thread nathanpdaniel
You could try reskinning the tabs to where it looks like they're 
overlapping... I've actually done this before.
-Nathan

--- In flexcoders@yahoogroups.com, pitziilu [EMAIL PROTECTED] wrote:

 Hello.
 I am trying to make some tabs that are overlaping..
 I extended the TabBar flex's default component, put a 
horizontalGap of
 -10. 
 The problem is that the tabs overlap in a different order.
 I want the first tab on the last level of the display list, so it's
 not overlaped by the the second tab... and so on.
 
 check this out:
 http://www.flickr.com/photos/[EMAIL PROTECTED]/412718564/
 
 I want to extend the TabBar so I keep all the other good stuff that
 comes with it.
 
 Can this be done?
 
 thank you for your time!





RE: [flexcoders] Apollo and where do we start.

2007-03-07 Thread Steve Cox
There is no public SDK as of yet. 
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nboulet
Sent: 07 March 2007 13:23
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Apollo and where do we start.
 
Hi guys :)
I've been reading this mailing list since quite a bit and I have a
question. Where can I start with Apollo development? And, please,
don't send me to the Adobe Labs, there is no place to download the SDK
and no tutorials or infos. And yes, I ordered my Apollo Pocket Guide
on Amazon hehe!
Thanks.
Nicolas
 


[flexcoders] Re: flex main-debug.html won't build...

2007-03-07 Thread jamiebadman
I wasn't aware of that option - but I just tried it and it still 
doesn't work. Thanks for the suggestion though.

Regards,

Jamie.

--- In flexcoders@yahoogroups.com, Soenke Rohde [EMAIL PROTECTED] wrote:

 Did you try Project-clean?
 
  
 
 Cheers,
 
 Sönke
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of jamiebadman
 Sent: Mittwoch, 7. März 2007 14:01
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex main-debug.html won't build...
 
  
 
 Hi,
 
 Wonder if someone can help! My project's stopped working with 
Debug - 
 I have no idea why! It no longer builds flex main-debug.html at 
all - 
 though it does create a debug SWF. If I run in debug it complains 
of 
 no flex main-debug.html and if I run the debug SWF directly, 
 FlexBuilder can't see it - so I guess they're trying to 
communicate on 
 different ports.
 
 I can't see any debug options or anything like that in 
the 'project 
 config'... can anyone help me to get the project debuggable again 
 please ?!
 
 Thanks,
 
 Jamie.





Re: [flexcoders] Modules

2007-03-07 Thread Dave Carabetta

That would be because Modules weren't introduced until Flex 2.0.1. You'll
need to update your Flex Builder/SDK to the 2.0.1 release in order to use
Modules.

Regards,
Dave.
Cynergy Systems, Inc.


On 07 Mar 2007 05:29:28 -0800, darvon4u [EMAIL PROTECTED] wrote:


  I try to create modules by using mx:Module
xmlns:mx=http://www.adobe.com/2006/mxml; and flexbuilder 2.0.143459
doesn't know anything about it.
From the dropdown suggestions there is no Module keyword, and when i
compile it fb gives me Could not resolve mx:Module to a component
implementation

Am i not referencing something? What am i doing wrong? How do i get
flexbuilder to see my modules?
Also, I've read in the docs that modules should be now a suggestion in
a wizard when you try to create a new component, but it is not there
either. why?

Thanks in advance!

 



[flexcoders] Re: Apollo and where do we start.

2007-03-07 Thread nboulet
Thank you all.

This is what I'm doing now, I'm learning as much Flex ans I can. By
the way, anyone uses the Total Training DVD on Flex also? I've almost
finished the 1 DVD (Adobe® Flex 2 Rich Internet Applications) and I'll
start the second (Adobe® Flex 2 Advanced Visual Programming) today.

Nicolas

--- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote:

 There is no public SDK as of yet. 
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of nboulet
 Sent: 07 March 2007 13:23
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Apollo and where do we start.
  
 Hi guys :)
 I've been reading this mailing list since quite a bit and I have a
 question. Where can I start with Apollo development? And, please,
 don't send me to the Adobe Labs, there is no place to download the SDK
 and no tutorials or infos. And yes, I ordered my Apollo Pocket Guide
 on Amazon hehe!
 Thanks.
 Nicolas





Re: [flexcoders] Re: flex main-debug.html won't build...

2007-03-07 Thread Troy Gilbert

I've run into the same issue before -- I usually chalk it up to the project
settings getting confused when syncing to SVN. To fix it, I usually have to
revert the project settings manually from outside of Flex Builder.

Try these steps:

1) Remove your project from Flex Builder (close it, delete it -- but not its
contents on disk, obviously!).

2) Close Flex Builder.

3) Go to your project's folder and delete the bin folder.

4) Reopen Flex Builder.

5) Import your project back into Flex Builder.

That should clear out any caching that Flex Builder may be doing related to
timestamps, etc. Really, Project -- Clean should do that, but my
experience with clean operations is that they often aren't as clean as
they should be, usually because they don't do it brute force, rather they
simply follow their dependencies in reverse so to speak. As a result, once
it gets confused by timestamps it can't get unconfused.

Troy.



On 3/7/07, jamiebadman [EMAIL PROTECTED] wrote:


  I wasn't aware of that option - but I just tried it and it still
doesn't work. Thanks for the suggestion though.

Regards,

Jamie.


--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Soenke
Rohde [EMAIL PROTECTED] wrote:

 Did you try Project-clean?



 Cheers,

 Sönke



 

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
Behalf Of jamiebadman
 Sent: Mittwoch, 7. März 2007 14:01
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: [flexcoders] flex main-debug.html won't build...



 Hi,

 Wonder if someone can help! My project's stopped working with
Debug -
 I have no idea why! It no longer builds flex main-debug.html at
all -
 though it does create a debug SWF. If I run in debug it complains
of
 no flex main-debug.html and if I run the debug SWF directly,
 FlexBuilder can't see it - so I guess they're trying to
communicate on
 different ports.

 I can't see any debug options or anything like that in
the 'project
 config'... can anyone help me to get the project debuggable again
 please ?!

 Thanks,

 Jamie.


 



[flexcoders] AMF Serialization hooks?

2007-03-07 Thread Samuel R. Neff

Is there any way to run custom code related to AMF serialization without
writing everything from scratch using IExternalizable?  From the docs it
seems like the only option is to do it all yourself or do nothing
yourself--no middle ground.

I'd like to primarily use the built-in AMF serialization but run some extra
code after deserialization is complete.

Thanks,

Sam


---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 



[flexcoders] is it possible a ErrorToolTip can work with Flex2's effect?

2007-03-07 Thread garylee0709
eg:i want a error tooltip showing with a fade in effect.then i found 
some solutions about how to apply effects with tooltip in the help 
document as below:

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=600 
height=600 initialize=app_init();
mx:Script![CDATA[
import mx.managers.ToolTipManager;
public function app_init():void {
ToolTipManager.showEffect = fadeIn;
}
]]/mx:Script
mx:Fade id=fadeIn alphaFrom=0 alphaTo=1 duration=1000/
mx:Button id=b1 label=Click me toolTip=This is a ToolTip./
/mx:Application

it works for sure,then i try the error tooltip which just show up 
without the fade in effect,the below lines show how i create a error 
tooltip,are they relevent to the failure of the fade in effect?
 
tt=ToolTipManager.createToolTip
('hello',ti.x,ti.y+ti.height,'errorTipBelow');
tt.setStyle('styleName','errorTip');

those lines execute in a button's click handler event function;
and there 's another problem with a normal tooltip effect,the strings 
in a tooltip often show before the effect ended,is there a solution 
to this problem?
thank u for ur precious time and any replies will be greatly 
appreciated.



[flexcoders] Is it a proxy setting?

2007-03-07 Thread smccran
Hi all!

First post, so go easy on me

I'm using this code


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* 
layout=absolute creationComplete=userRequest.send()

!-- Set the url for the cfm template --
   mx:HTTPService id=userRequest 
url=http://192.168.50.254/mcd/test.cfm; useProxy=false method=POST
  mx:request xmlns=
 username{username.text}/username
 emailaddress{emailaddress.text}/emailaddress
  /mx:request
   /mx:HTTPService

and I get an error.

If I change the url to:

url=http://www.website.com/test.cfm;

then it works. I'm guessing that this is a proxy issue, as it doesn't 
seem to resolve on my internal network?

Thanks
Shaun







[flexcoders] Re: alternating row color in bar chart

2007-03-07 Thread Mark
I was able to get the alternating row color but now I also get an 
extra line right in the middle of the last bar item.  It falls 
behind the bar but right down the middle of that area.  Has anyone 
else seen this happen?  I also tried using the ActionScript methond 
of adding the color and got the same result.

Here's how I'm doing the color --

mx:Array id=bge
 mx:GridLines direction=horizontal
mx:horizontalStroke
mx:Stroke weight=1 color=#C2D1E1/
/mx:horizontalStroke
mx:horizontalFill
mx:SolidColor color=#EEF3F7 alpha=1/
/mx:horizontalFill
 /mx:GridLines
/mx:Array
!-- --
mx:BarChart id=barchart1 width=100% height=100% 
dataProvider={chartData} showDataTips=true 
dataTipFunction=formatDataTip backgroundElements={bge} 
itemClick=getInfo(event.hitData.item)

...

/mx:BarChart






--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] 
wrote:

  
  
 Mark -- the gridlines class, which defines the background 
gridlines for
 the chart, supports alternating row colors.  Look at the 
documentation
 for GridLines for more information.
  
 off the top of my head, it would look something like:
  
 BarChart
   backgroundElements
  GridLines horizontalFill=#FF
 horizontalAlternateFill=#00FF00 horizontalChangeCount=1 /
   /backgorundElements
 /BarChart
  
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Mark
 Sent: Thursday, February 22, 2007 8:12 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] alternating row color in bar chart
 
 
 
 I'm using a bar chart that can get pretty long so I'd like to 
 alternate the background row color. Is this something I can do, 
and 
 if so, is there an example or maybe point me in the right 
direction on 
 how to go about doing it?





Re: [flexcoders] Re: Set Button Icon at Runtime !!

2007-03-07 Thread Michael Schmalle

No,

You missed what I said..

A module library that has embedded images in the class library.

That is as close as you will get.

I have done this before.

Peace, Mike

On 07 Mar 2007 06:00:21 -0800, bobrene07 [EMAIL PROTECTED] wrote:


  It's not possible to creat a class object at runtime with an image in it
?

anyone ??

thx 4 ur help

bor

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael
Schmalle
[EMAIL PROTECTED] wrote:

 Hi,

 You could use setStyle() at runtime and load a module that holds
your assets
 library.

 Peace, Mike

 On 3/7/07, bobrene07 [EMAIL PROTECTED] wrote:
 
  Hello,
 
  i don't want to embed my image in my SWF, I want to set my button Icon
  image at Runtime.
 
  Do you know how i could possibly do that ??
 
  Thx for ur help
 
  Bob
 
 
 



 --
 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'.


 





--
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] DB access in Apollo

2007-03-07 Thread Samuel R. Neff

Definitely +1 to SQLite.  It makes the most sense as it's the smallest
footprint and requires zero administration.

Sam



---
We're Hiring! Seeking a passionate developer to join our team building Flex
based products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Muzak
Sent: Tuesday, March 06, 2007 6:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DB access in Apollo

SQLite ;-)
http://www.sqlite.org/


- Original Message - 
From: Russell Sprague [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, March 05, 2007 5:09 PM
Subject: Re: [flexcoders] DB access in Apollo


I vote for MySQL.




[flexcoders] small problem with Bar Chart showing days

2007-03-07 Thread Mark
I'm using a bar chart to show the start and end of a product roll-out. 
I'm using the xField as the start date and the minField as the end 
date, it works and looks real nice.  The one problem I've run into 
though is the product(s) that roll out in one day.  So if the start 
and end dates are the same I don't get a rendering of a bar... not 
even a little.

Does anyone one have any advice on how to force those bars to render?  
Maybe there's a way to set a min width to it that I can't find?  Or 
maybe someone else has run into this kind of thing?


Thanks, Mark --



[flexcoders] Re: image hotspots

2007-03-07 Thread Paul DeCoursey
Rectangle has contains(x:Number, y:Number):Boolean 

All you need to do is create an array of Rectangles and iterate
through them until one matches.

Here is an example of where I do this kind of thing:

private function whereMouse(x:int, y:int):void {
this._hoveredItemIndex = 0;
this._hoveredItemLimit = 0;
for(var 
index:int=0;indexthis._pathPartsRects.length;index++) {
var rect:Rectangle = this._pathPartsRects[index] as 
Rectangle;
if(rect.contains(x, y)) {
// Do your linking here.
return;
}
}
}


_pathPartsRects is an Array of rectangles that represent the image map
data.

Paul

--- In flexcoders@yahoogroups.com, Mrinmoyee Sanyal
[EMAIL PROTECTED] wrote:

 Ok, will try out Matt's workaround while waiting for Doug's component :)
 
 Thank you
 -MS
 
 
 
 On 06 Mar 2007 08:35:01 -0800, Doug McCune [EMAIL PROTECTED] wrote:
 
I was just talking to someone here at 360Flex last night about this.
  Basically he wanted a component that was the same as an image map
in HTML,
  so you could specify different areas with points, and a specific
URL for
  each one.
 
  I'm going to work on trying to build this component, hopefully it
will get
  rolled into FlexLib in not too long...
 
  Doug
 
  On 3/6/07, Matt Horn [EMAIL PROTECTED] wrote:
  
 I think what you'll want to do is use the local x and y
properties of
   the mouse in the mouse's click event handler.
  
   let's say you have a box with coordinates 0,0 to 10,10 doing one
thing
   and 10,0 to 20,10 doing something else; you would do something like:
  
   image click=onClickHandler(event)/
  
   public function onClickHandler(e:MouseEvent):void {
   if (e.localX = 0  e.localY = 0  e.localX = 10  e.localY
   = 10) {
   ...
   }
   }
  
   hth,
   matt horn
   flex docs
  
-Original Message-
From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com] On
   Behalf Of Mrinmoyee Sanyal
Sent: Tuesday, March 06, 2007 2:16 AM
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
Subject: [flexcoders] image hotspots
   
How do we create hotspots (linkable areas) in an image?
   
-MS
   
   
   
   
  
 
   
 





Re: [flexcoders] Re: Mike nimmer Debug component !!

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, bobrene07 wrote:
 i use Xpanel ( http://flexblog.faratasystems.com/?p=5 ) it is quit
 good too

I just use the debugger.

-- 
Tom Chiverton
Helping to appropriately pursue interdependent channels
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Modules

2007-03-07 Thread Andrey

But i have 2.0.143459, doesn't that mean 2.0.1?


On 3/7/07, Dave Carabetta [EMAIL PROTECTED] wrote:


  That would be because Modules weren't introduced until Flex 2.0.1.
You'll need to update your Flex Builder/SDK to the 2.0.1 release in order
to use Modules.

Regards,
Dave.
Cynergy Systems, Inc.


On 07 Mar 2007 05:29:28 -0800, darvon4u [EMAIL PROTECTED] wrote:

   I try to create modules by using mx:Module
 xmlns:mx=http://www.adobe.com/2006/mxml; and flexbuilder 2.0.143459
 doesn't know anything about it.
 From the dropdown suggestions there is no Module keyword, and when i
 compile it fb gives me Could not resolve mx:Module to a component
 implementation

 Am i not referencing something? What am i doing wrong? How do i get
 flexbuilder to see my modules?
 Also, I've read in the docs that modules should be now a suggestion in
 a wizard when you try to create a new component, but it is not there
 either. why?

 Thanks in advance!


 



Re: [flexcoders] Modules

2007-03-07 Thread Andrey

Never mind, you're right :)

On 3/7/07, Andrey [EMAIL PROTECTED] wrote:


But i have 2.0.143459, doesn't that mean 2.0.1?


On 3/7/07, Dave Carabetta [EMAIL PROTECTED]  wrote:

   That would be because Modules weren't introduced until Flex 2.0.1.
 You'll need to update your Flex Builder/SDK to the 2.0.1 release in
 order to use Modules.

 Regards,
 Dave.
 Cynergy Systems, Inc.


 On 07 Mar 2007 05:29:28 -0800, darvon4u [EMAIL PROTECTED]  wrote:
 
I try to create modules by using mx:Module
  xmlns:mx=http://www.adobe.com/2006/mxml; and flexbuilder 2.0.143459
  doesn't know anything about it.
  From the dropdown suggestions there is no Module keyword, and when i
  compile it fb gives me Could not resolve mx:Module to a component
  implementation
 
  Am i not referencing something? What am i doing wrong? How do i get
  flexbuilder to see my modules?
  Also, I've read in the docs that modules should be now a suggestion in
  a wizard when you try to create a new component, but it is not there
  either. why?
 
  Thanks in advance!
 
 
  






[flexcoders] where are flex bug reports?

2007-03-07 Thread lrhazi
Hello,

Is there a place to browse and/or report bugs for flex and flex builder?

Thank you.




Re: [flexcoders] Slideshow problem: Preloading a hidden image resets its visible property

2007-03-07 Thread Tom Chiverton
On Tuesday 06 Mar 2007, Tony Wu wrote:
 How can I keep the image hidden? Or is there a better approach with
 doing fade in/out in picture slideshow?

Firstly I'd try setting includeInLayout as well as visible, closely followed y 
a visit to the various Image components on FlexBox.


-- 
Tom Chiverton
Helping to continually administrate end-to-end products
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


[flexcoders] Re:debug AMFPHP/flex -- beginner question

2007-03-07 Thread Hasan Otuome
amfphp returns an object to your onFault handler. so, you can either  
use something like mx.utils.ObjectUtil.toString(fault) for your trace  
to see all the properties of the fault object. or, i think  
description is the user-friendly prop so, you could just trace 
(fault.description)


if that's not the problem, you post the code in question for further  
help...=)


P E A C E

Hasan




[flexcoders] Apollo External API

2007-03-07 Thread bruce1976
Hi,

Currently, Flex has an External API that allows a Flex app to call
javascript or an ActiveX control within the browser. Will Apollo be
bundled with a JVM and use an External API to call Java methods?

Thanks,

Bruce



Re: [flexcoders] Apollo External API

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, bruce1976 wrote:
 Will Apollo be
 bundled with a JVM 

I'd say that's gonna be a no :-)

-- 
Tom Chiverton
Helping to quickly improve impactful systems
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] DB access in Apollo

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, hank williams wrote:
 +1 sqlite. MySQL is impractical to put on everyones computer in the
 country.

Depends how it works.
Maybe there's an 
apollo:Database /
tag, with a 'type' parameter :-)

-- 
Tom Chiverton
Helping to proactively lead leading-edge supply-chains
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Apollo External API

2007-03-07 Thread Mike Chambers
No.

mike chambers

[EMAIL PROTECTED]

bruce1976 wrote:
 
 
 Hi,
 
 Currently, Flex has an External API that allows a Flex app to call
 javascript or an ActiveX control within the browser. Will Apollo be
 bundled with a JVM and use an External API to call Java methods?
 
 Thanks,
 
 Bruce


[flexcoders] Strange List behaviour

2007-03-07 Thread g_odds
I am attempting to populate a List from Model filled by the result of
an HTTPService.  However, the list only shows one entry as [object
Object], [object Object],...  As far as I am aware that is the result
of a toString() on a collection.  But why is the List not using that
collection to populate itself properly (as I want it to, hehe).

Thanks in advance for any help.

Graham


The code:

...
mx:HTTPService 
id=listService
url=...
/
mx:Model id=listData
   {listService.lastResult.things.thing}
/mx:Model
mx:List
id=list
dataProvider={listData}
labelField=name
/
...


and the XML that results from the HTTPService send:

things
  thing
nameMyName/name
valueMyValue/value
  thing
  ...
things



Re: [flexcoders] Re: Set Button Icon at Runtime !!

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, bobrene07 wrote:
 It's not possible to creat a class object at runtime with an image in it ?

If you want, you could create a new Button from AS, use a Loader to load an 
image, assign the style and then addChild(), maybe.

-- 
Tom Chiverton
Helping to proactively facilitate second-generation functionalities
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Strange List behaviour

2007-03-07 Thread Tom Chiverton
On Wednesday 07 Mar 2007, g_odds wrote:
 I am attempting to populate a List from Model filled by the result of
 an HTTPService.  However, the list only shows one entry as [object
 Object], [object Object],...  As far as I am aware that is the result

Firstly, you don't need the Model tag:
mx:List
id=list
dataProvider={listService.lastResult.things.things}
labelField=name
/

Maybe you need to tell List what properties it should be using for labels. It 
also looks like you maybe need one extra level of properties in the service 
results.

-- 
Tom Chiverton
Helping to enormously embrace ubiquitous experiences
On: http://thefalken.livejournal.com



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 St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

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 8008.

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



 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


RE: [flexcoders] DB access in Apollo

2007-03-07 Thread Jason Hawryluk
I think that if we could talk to a dll (Mac equivalent, Linux equivalent)
like via a local remote call type thing, then that would be the ultimate. I
don't think distributing the dll (etc..) would be a big deal. With that you'
d basically use any DB you like. Plus allot of other crazy stuff you could
do.

Anyway, guess we'll have to wait and see :°

jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Tom Chiverton
Envoyé : mercredi 7 mars 2007 17:18
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] DB access in Apollo


On Wednesday 07 Mar 2007, hank williams wrote:
 +1 sqlite. MySQL is impractical to put on everyones computer in the
 country.

Depends how it works.
Maybe there's an
apollo:Database /
tag, with a 'type' parameter :-)

--
Tom Chiverton
Helping to proactively lead leading-edge supply-chains
On: http://thefalken.livejournal.com



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
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

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 8008.

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



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links









 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! 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:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

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


Re: [flexcoders] Reposition label inside button component

2007-03-07 Thread Roman Protsiuk

Haven't tried anything like this myself but afaik my colleagues play around
with UITextField inside of a Button to get rid of some unpleasant
behavior.
Better late than never? ;)

R.

On 1/24/07, evert_dennis [EMAIL PROTECTED] wrote:


  I'm trying to create an Actionscript class that extends Button.
Everything works great except for when a different font is embedded
the label moves up a few pixels. How can I reposition the label
inside the button so that it is centered again?

 



Re: [flexcoders] Mouse events in non-drawn areas?

2007-03-07 Thread Roman Protsiuk

You can pass along this events to your component from the application
itself.
E.g.
// in application:
private function onMouseClick(event : MouseEvent) : void {
   yourComponent.onMouseClick(event);
}

R.

On 1/2/07, Reid Priedhorsky [EMAIL PROTECTED] wrote:


  Hi folks,

I have a component which is a subclass of UIComponent. I would like it
to receive mouse events (MouseDown, MouseUp, and MouseMove,
specifically) even in areas where there are no children and I have not
drawn using this.graphics.

Is this possible? Do any of you have ideas on how to do it or where to
find more info?

(I could work around it by drawing the background manually, but that
seems awkward. I was hoping for some kind of switch or setting. This is
Flex 2.)

Thanks for any help,

Reid
 



Re: [flexcoders] small problem with Bar Chart showing days

2007-03-07 Thread Ely Greenfield

I don't think there's any way to do this theokgh configuration alone. But you 
could override the bar series update function to always layout an item with a 
min width. Easier would be to provide a custom item renderer that, below some 
minimum width, ignored what the chart was telling it and adjusted its own 
rendering size and location accordingly. 

(note that I wouldn't bother having your renderer mess with its actual x y 
width height- just adjust how it actually renders itself.)


- Original Message -
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wed Mar 07 07:06:22 2007
Subject: [flexcoders] small problem with Bar Chart showing days

I'm using a bar chart to show the start and end of a product roll-out. 
I'm using the xField as the start date and the minField as the end 
date, it works and looks real nice. The one problem I've run into 
though is the product(s) that roll out in one day. So if the start 
and end dates are the same I don't get a rendering of a bar... not 
even a little.

Does anyone one have any advice on how to force those bars to render? 
Maybe there's a way to set a min width to it that I can't find? Or 
maybe someone else has run into this kind of thing?

Thanks, Mark --



 


Re: [flexcoders] Mouse events in non-drawn areas?

2007-03-07 Thread Daniel Freiman

draw transparent pixels using the graphics object of the UIComponent:

componentInstance.graphics.beginFill(0,0);
componentInstance.graphics.drawRect(0,0,componentInstance.width,
componentInstance.height);

- Dan

On 07 Mar 2007 08:49:59 -0800, Roman Protsiuk [EMAIL PROTECTED]
wrote:


  You can pass along this events to your component from the application
itself.
E.g.
// in application:
private function onMouseClick(event : MouseEvent) : void {
yourComponent.onMouseClick(event);
}

R.

On 1/2/07, Reid Priedhorsky [EMAIL PROTECTED] wrote:

   Hi folks,

 I have a component which is a subclass of UIComponent. I would like it
 to receive mouse events (MouseDown, MouseUp, and MouseMove,
 specifically) even in areas where there are no children and I have not
 drawn using this.graphics.

 Is this possible? Do any of you have ideas on how to do it or where to
 find more info?

 (I could work around it by drawing the background manually, but that
 seems awkward. I was hoping for some kind of switch or setting. This is
 Flex 2.)

 Thanks for any help,

 Reid


 



[flexcoders] Re: Strange List behaviour

2007-03-07 Thread g_odds
I need the model because I use the data elsewhere as well.  I thought
the labelField property of List told it which property to use for
labels (hence my setting it to name).  I also don't think I need
another layer of properties in the List result because I should be
able to use Objects (so I can get the value property of the Object
from the List without having to do lots of silly stuff).

Graham


--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Wednesday 07 Mar 2007, g_odds wrote:
  I am attempting to populate a List from Model filled by the result of
  an HTTPService.  However, the list only shows one entry as [object
  Object], [object Object],...  As far as I am aware that is the result
 
 Firstly, you don't need the Model tag:
 mx:List
 id=list
 dataProvider={listService.lastResult.things.things}
 labelField=name
 /
 
 Maybe you need to tell List what properties it should be using for
labels. It 
 also looks like you maybe need one extra level of properties in the
service 
 results.
 
 -- 
 Tom Chiverton
 Helping to enormously embrace ubiquitous experiences
 On: http://thefalken.livejournal.com
 
 
 
 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 St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.





Re: [flexcoders] create a column chart that also goes below the x-axis?

2007-03-07 Thread Brendan Meutzner

Have a look at Ely's charting sampler for examples...

www.quietlyscheming.com


Brendan

On 06 Mar 2007 23:46:29 -0800, arpan srivastava [EMAIL PROTECTED]
wrote:


  Hi All,

I want to create a column chart that also goes below the x-axis, such
that the columns can be seen above and below the x-axis.I tried by
increasing the minimum value of vertical axis but didn't worked.

Thanks,
arpan

--
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo!
Games. http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca


Re: [flexcoders] DB access in Apollo

2007-03-07 Thread hank williams
Apollo is not supporting any DLL stuff at this time for security reasons.

Hank

On 3/7/07, Jason Hawryluk [EMAIL PROTECTED] wrote:
 I think that if we could talk to a dll (Mac equivalent, Linux equivalent)
 like via a local remote call type thing, then that would be the ultimate. I
 don't think distributing the dll (etc..) would be a big deal. With that you'
 d basically use any DB you like. Plus allot of other crazy stuff you could
 do.

 Anyway, guess we'll have to wait and see :°

 jason

 -Message d'origine-
 De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
 part de Tom Chiverton
 Envoyé : mercredi 7 mars 2007 17:18
 À : flexcoders@yahoogroups.com
 Objet : Re: [flexcoders] DB access in Apollo


 On Wednesday 07 Mar 2007, hank williams wrote:
  +1 sqlite. MySQL is impractical to put on everyones computer in the
  country.

 Depends how it works.
 Maybe there's an
 apollo:Database /
 tag, with a 'type' parameter :-)

 --
 Tom Chiverton
 Helping to proactively lead leading-edge supply-chains
 On: http://thefalken.livejournal.com

 

 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
 St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 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 8008.

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



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links










 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






[flexcoders] Databinding of a read only property

2007-03-07 Thread durnelln
Hi all,

How do I make a read-only property bindable for users of my class?  
It sounds so simple but has me stumped at the moment.  I'm sure there 
must be a simple solution but for the life of me I can't figure it 
out...

E.g. say I have a property testProp which is maintained by my class 
and must not be publicly set-able from outside.  I do however want 
outside users to be able to bind to testProp so that they receive 
notifications when it changes.

An example of a read-only bindable property would be 
ArrayCollection.length.  You can bind to this but cannot change it.  
How do I do the same thing with testProp?

I tried...

  protected var _testVar:uint = 10;
  [Bindable]
  public function get testVar():uint
  {
return _testVar + 1;
  }
  protected function set testVar(value:uint):void
  {
_testVar = value;
  }

...hoping to hide the setter from the outside world but outside users 
CAN still change testProp with myClassInstance.testProp=10!!

Thanks for your help,

Nick.




[flexcoders] Skin Button with Sprite from Flash 9 library

2007-03-07 Thread franto

Hi list

we have deadline and we have stuck on this:

We need mx:Button skin with Sprite from Flash 9 library...
I can skin it with mx:Style just add states upSkin, overSkin and so on...


but we need e.g overSkin animated on timeline, just on
MouseEvent.MOUSE_OVERstart
skin.gotoAndPlay(over);

is it possible??

2nd question, when I wantto programatically change skin (not with style)
e.g
but.setStyle(upSkin, class)  and this Class is linkage from Flash 9
LIbrary and it extends MovieClip there is error, that my class can convert
to IFlexDisplayObject...

Can this be done somehow?

Really thanks for your advices, I need response ASAP please

Franto


[flexcoders] Convert MySQL result to VO?

2007-03-07 Thread Kevin
I am trying to explore strategic solutions to convert my MySQL  
results into VOs for a Cairngorm App. I am using PHP5, MySQL 5   
AMFPHP 1.9.

My original thought was to:

1) Use arrays to map the MySQL field names to the VO properties and  
then call a fetch_array loop to convert the MySQL result to a PHP  
VO.  Then, obviously, use $_explicitType to map that VO to the Flex VO.

However, since PHP is not typed, I wonder if there is any benefit to  
returning PHP VO's at all. In that case I would choose option B:

2) Return the MySQL result to Flex and then convert the  
ArrayCollection in Flex to the proper Flex VO.

I can see advantages  disadvantages to both ways.  It seems like  
there is one less 'layer' by sending the ArrayCollection directly to  
PHP, however, there also is a benefit to only sending VO's back to  
Flex should I ever decide to integrate Java/FDS in the mix.   I could  
then replace the PHP backend with Java by just returning Java objects  
instead of PHP.

I am also wondering how all this deserialization affects performance  
on large datasets.

I would to hear of any solutions/conclusions that others have arrived  
at in converting relational data into VO objects.

Thanks, Kevin




[flexcoders] Re: Set Button Icon at Runtime !!

2007-03-07 Thread bobrene07
Thx but i tried that, i did not get the wanted result.

if i extend the button element and try to add an image with a loader,
it do not display properly (the position is not right, and the image
seems shady, like if it has not been on the top of the button ) and it
disapear when the buttton is pushed.

Did anyone ever created a custom icon component, and load the image at
runtime ??

thx

bob



--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Wednesday 07 Mar 2007, bobrene07 wrote:
  It's not possible to creat a class object at runtime with an image
in it ?
 
 If you want, you could create a new Button from AS, use a Loader to
load an 
 image, assign the style and then addChild(), maybe.
 
 -- 
 Tom Chiverton
 Helping to proactively facilitate second-generation functionalities
 On: http://thefalken.livejournal.com
 
 
 
 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 St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.





RE: [flexcoders] Re: Strange List behaviour

2007-03-07 Thread Tracy Spratt
I have never been comfortable with predicting how Model would convert my
xml, so I never use it.  Instead, use an instance variable, either typed
XML, or XMLListCollection, set resultFormat=e4x.

 

Also, I never bind directly to last result because, as you have seen, it
is difficult to debug.  Instead, use a result handler function:

Private function onResult(oEvent:ResultEvent):void {

_xmlResult:XML = XML(oEvent.result);

 trace( xmlResult.toXMLString()); //this will show you exactly what the
xml is

 _xlcThings = new XMLListCollection(xmlResult.things.thing); //bind your
list to this collection

 

Actually, I may see the problem in your code:

{listService.lastResult.things.things}

Should be:

{listService.lastResult.things.thing}

 

But still, go with xml.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of g_odds
Sent: Wednesday, March 07, 2007 12:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Strange List behaviour

 

I need the model because I use the data elsewhere as well. I thought
the labelField property of List told it which property to use for
labels (hence my setting it to name). I also don't think I need
another layer of properties in the List result because I should be
able to use Objects (so I can get the value property of the Object
from the List without having to do lots of silly stuff).

Graham

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Wednesday 07 Mar 2007, g_odds wrote:
  I am attempting to populate a List from Model filled by the result
of
  an HTTPService. However, the list only shows one entry as [object
  Object], [object Object],... As far as I am aware that is the
result
 
 Firstly, you don't need the Model tag:
 mx:List
 id=list
 dataProvider={listService.lastResult.things.things}
 labelField=name
 /
 
 Maybe you need to tell List what properties it should be using for
labels. It 
 also looks like you maybe need one extra level of properties in the
service 
 results.
 
 -- 
 Tom Chiverton
 Helping to enormously embrace ubiquitous experiences
 On: http://thefalken.livejournal.com
http://thefalken.livejournal.com 
 
 
 
 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 St James's Court Brown Street Manchester M2 2JF.
A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 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 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.


 



RE: [flexcoders] Databinding of a read only property

2007-03-07 Thread Tracy Spratt
Don't implement the setter function?

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of durnelln
Sent: Wednesday, March 07, 2007 12:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Databinding of a read only property

 

Hi all,

How do I make a read-only property bindable for users of my class? 
It sounds so simple but has me stumped at the moment. I'm sure there 
must be a simple solution but for the life of me I can't figure it 
out...

E.g. say I have a property testProp which is maintained by my class 
and must not be publicly set-able from outside. I do however want 
outside users to be able to bind to testProp so that they receive 
notifications when it changes.

An example of a read-only bindable property would be 
ArrayCollection.length. You can bind to this but cannot change it. 
How do I do the same thing with testProp?

I tried...

protected var _testVar:uint = 10;
[Bindable]
public function get testVar():uint
{
return _testVar + 1;
}
protected function set testVar(value:uint):void
{
_testVar = value;
}

...hoping to hide the setter from the outside world but outside users 
CAN still change testProp with myClassInstance.testProp=10!!

Thanks for your help,

Nick.

 



[flexcoders] Is the Graphics class available in the SDK anywhere?

2007-03-07 Thread Rick Schmitty
I'd like to extend the functionality of lineStyle to allow for a shape option.

Drawing with the lineTo commands is ok, but that creates a circle by
default, which leaves the only option of using drawRect and
drawEllipse as methods for other strokes.   This doesnt work too hot,
if you run this example below you can see.  Fast mouse movement breaks
the line and after a while it becomes really laggy.

Is there perhapse another way of doing this with AS3?

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mouseUp=stopDraw(event)
mx:Script
![CDATA[
private var isDrawing:Boolean=false;
private var tool:Number=1;

private function startDraw(event:MouseEvent):void { 

pad.graphics.moveTo(event.localX,event.localY);
isDrawing=true;
}

private function onMouseMove(event:MouseEvent):void {
if (!isDrawing) return;
switch (tool) {
case 1:
pad.graphics.lineStyle(10,0xff,1);  


pad.graphics.lineTo(event.localX,event.localY); 
break;
case 2:
pad.graphics.lineStyle(1,0x00ff00,1);   

pad.graphics.beginFill(0x00ff00,1);

pad.graphics.drawEllipse(event.localX,event.localY,25,5);   
break;
case 3:
pad.graphics.lineStyle(1,0xff,1);   

pad.graphics.beginFill(0xff,1);

pad.graphics.drawRect(event.localX,event.localY,15,15); 
break;  
}
}

private function stopDraw(event:MouseEvent):void {
isDrawing=false;
}

private function clear():void { 
pad.graphics.clear();   
}   
]]
/mx:Script
mx:Panel title=Graphics Draw Test

mx:Canvas width=500 height=500 mouseDown=startDraw(event)
mouseMove=onMouseMove(event) id=pad

/mx:Canvas

mx:ControlBar
mx:Button label=Pencil click={tool=1}/
mx:Button label=Brush click={tool=2}/
mx:Button label=Square click={tool=3}/
mx:Button label=Clear click=clear()/
/mx:ControlBar
/mx:Panel

/mx:Application


[flexcoders] Re: DB access in Apollo

2007-03-07 Thread jason_williams_mm
I was looking for something more along the lines of: MySQL supports 
this particular SQL dialect, or has this feature which make development 
so much easier, etc...



[flexcoders] Error #1502 with Tree::mouseOutHandler()

2007-03-07 Thread Oscar_Tseng
Hi, I'm getting 1520 error very often when mousing in and out of a 
Tree. I'd appreciate your help.

Error: Error #1502: A script has executed for longer than the default 
timeout period of 15 seconds.
at mx.core::UIComponent/get parent()
at mx.core::UIComponent/get owner()
at mx.core::UIComponent/owns()
at mx.controls.listClasses::ListBase/itemRendererContains()
at 
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mou
seOutHandler()
at mx.controls::Tree/mx.controls:Tree::mouseOutHandler()



[flexcoders] Re: strange Could not resolve mx:Script to a component implementation. error

2007-03-07 Thread Erdem
Hi i have got same problem
my code is below 
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute 


mx:Script
![CDATA[
]]
/mx:Script



/mx:Application
--- In flexcoders@yahoogroups.com, simon [EMAIL PROTECTED] wrote:

 it looks like you don't have an opening mx:Application tag so 
your mxml is
 not well formed.
 
 On 2/24/07, Yiðit Boyar [EMAIL PROTECTED] wrote:
 
hi all;
  i've just formatted my computer 1st time since i started flex; 
and now i'm
  getting an error that i can not understand. do i miss sth with 
the install?
  here is the code:
  ?xml version=1.0 encoding=utf-8?
 
  mx:Text text=AA x=44 y=57/
  mx:Script
  ![CDATA[
  ]]
  /mx:Script
  /mx:Application
   and here is the error:
  Could not resolve mx:Script to a component implementation.
  Also my working projects started to not to work.
 
  where can be the problem ?
 
  --
  Need Mail bonding?
  Go to the Yahoo! Mail 
QAhttp://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5Nj
U0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?
link=asksid=396546091for great
  tips from Yahoo! 
Answershttp://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAz
M5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx
?link=asksid=396546091users.
 
   
 
 
 
 
 -- 
 www.hootandholler.co.uk





[flexcoders] Re: Strange List behaviour

2007-03-07 Thread Doug Lowder
It seems to me that you need to specify a property of the model as 
the list's dataprovider, instead of using the model itself.  I 
haven't tested this, but I'd be curious to see what happens if you 
try the following changes:

mx:Model id=listData
  things{listService.lastResult.things.thing}/things
/mx:Model

mx:List
id=list
dataProvider={listData.things}
labelField=name /


--- In flexcoders@yahoogroups.com, g_odds [EMAIL PROTECTED] wrote:

 I am attempting to populate a List from Model filled by the result 
of
 an HTTPService.  However, the list only shows one entry as [object
 Object], [object Object],...  As far as I am aware that is the 
result
 of a toString() on a collection.  But why is the List not using that
 collection to populate itself properly (as I want it to, hehe).
 
 Thanks in advance for any help.
 
 Graham
 
 
 The code:
 
 ...
 mx:HTTPService 
 id=listService
 url=...
 /
 mx:Model id=listData
{listService.lastResult.things.thing}
 /mx:Model
 mx:List
 id=list
 dataProvider={listData}
 labelField=name
 /
 ...
 
 
 and the XML that results from the HTTPService send:
 
 things
   thing
 nameMyName/name
 valueMyValue/value
   thing
   ...
 things





[flexcoders] Flex / Flash specific search engine

2007-03-07 Thread Steve Drucker
http://www.gotswf.com http://www.gotswf.com 
 
Feedback appreciated.
 
Regards,
Steve Drucker
CEO
Fig Leaf Software
www.figleaf.com http://www.figleaf.com 
 


[flexcoders] Loading image steals focus from DataGrid

2007-03-07 Thread Ralf Bokelberg
I have a DataGrid with some rows of data and an Image.
When i change the row of the datagrid i load a jpg into the Image.
The problem is, that the focus is stolen from the DataGrid.

The image has an attribute scaleContent=false.
when i remove this attribute, it works as expected.

Has anybody else seen this before?
Cheers
Ralf.

-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35


[flexcoders] I set VideoDisplay.source to a 404, but VideoDisplay simply says it's loading

2007-03-07 Thread Yair Flicker
Hello people,

I have a problem where I set the videoDisplay.source property to an
invalid URL - 404 - call the .play() method, and then the videoDisplay
simply says that it's loading. It doesn't give any indication of an
error, just sits there and says it's loading. It's the most annoying
thing in the worldhow the hell am I supposed to know when the
.source property points to an invalid URL?!?!?! I even have a timer in
there to output the state of the VideoDisplay every 2.5 seconds - all it
says is that it's loading. Am I crazy? Am I doing something wrong? Or is
this a blatant bug in Flex?

Try this MXML:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
http://www.adobe.com/2006/mxml  layout=absolute

mx:Script
![CDATA[
import mx.events.VideoEvent;
private function showInfo(event:VideoEvent):void {
trace('stateChange: ' + event.state + ' ' + event);
var foo:Timer = new Timer(2000, 100);
foo.addEventListener(TimerEvent.TIMER, timerComplete);
foo.start();
}
private function timerComplete(event:TimerEvent):void {
trace('timerComplete: ' + vid.state + ' ' + event);
}
]]
/mx:Script

mx:VideoDisplay id=vid
source=http://sjc-v90.sjc.you1234tube.com/get_video?video_id=BTh8no91g5\
4E http://sjc-v90.sjc.you1234tube.com/get_video?video_id=BTh8no91g54E
autoPlay=true width=450 height=338 stateChange=showInfo(event)
/

/mx:Application


The trace debug output is as follows:
stateChange: loading [Event type=stateChange bubbles=false
cancelable=false eventPhase=2]
timerComplete: loading [TimerEvent type=timer bubbles=false
cancelable=false eventPhase=2]
timerComplete: loading [TimerEvent type=timer bubbles=false
cancelable=false eventPhase=2]

timerComplete: loading [TimerEvent type=timer bubbles=false
cancelable=false eventPhase=2]
timerComplete: loading [TimerEvent type=timer bubbles=false
cancelable=false eventPhase=2]

And btw, if you set the source to
http://chi-v45.chi.youtube.com/get_video?video_id=n4Fwge2iqJ0
http://chi-v45.chi.youtube.com/get_video?video_id=n4Fwge2iqJ0 
(another 404), Flex detects it immediately and the trace output is what
you would expect/hope.

Anybody else experience this problems?  Can anybody think of any
fixes/workarounds?  Am I doing something wrong?  Thanks!


[flexcoders] VideoDisplay.complete event doesn't get called when a video ends

2007-03-07 Thread Yair Flicker
Hello again!

I'm having ANOTHER problem with the VideoDisplay control where I set it
to play a video, attach an event handler to its complete event, but the
complete event never gets triggered/fired! Note this happens
consistently with select FLV's - it doesn't happen all the time. To
rephrase that, on certain FLV's the VideoDisplay control operates
properly and fires the complete event on completion, on other certain
FLV's the VideoDisplay control completes but doesn't fire the complete
event!!! Am I crazy? Or is this another blatant bug?

Try this MXML (I'm using Flex 2.01):

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
http://www.adobe.com/2006/mxml%22  layout=absolute

mx:Script
![CDATA[
private function complete():void {
vid.visible = false;
txt.visible = true;
}
]]
/mx:Script

mx:VideoDisplay id=vid
source=http://ash-v14.ash.youtube.com/get_video?video_id=qP_3_NtG-lo;
http://ash-v14.ash.youtube.com/get_video?video_id=qP_3_NtG-lo%22
autoPlay=true width=450 height=338 complete=complete() /

mx:Text id=txt text=IF YOU SEE ME THE VIDEODISPLAY COMPLETED!!!
fontSize=16 color=0x00 visible=false /

/mx:Application

That's a 30 second clip btw. You will never see the IF YOU SEE ME THE
VIDEODISPLAY COMPLETED!!! text. Now, however, if you change the source
to http://www.mediacollege.com/video-gallery/testclips/barsandtone.flv
http://www.mediacollege.com/video-gallery/testclips/barsandtone.flv 
(6 second clip), the clip completes and you WILL see IF YOU SEE ME THE
VIDEODISPLAY COMPLETED!!!

Any suggestions as to what may be going on?  Thanks!


Re: [flexcoders] Re: DB access in Apollo

2007-03-07 Thread Andrew D. Goodfellow

+1 sqlite for me as well. An embedded SQL database would add tremendous
value in the B2B custom app realm where I live.

-Andy


Re: [flexcoders] Flex / Flash specific search engine

2007-03-07 Thread Andrew D. Goodfellow

Steve,

At first glance it seems like this will be very useful! I especially like
the LiveDocs search. I'll add it to my daily work flow and see how it goes.

-Andy

On 07 Mar 2007 10:21:40 -0800, Steve Drucker [EMAIL PROTECTED] wrote:


   http://www.gotswf.com

Feedback appreciated.

Regards,
Steve Drucker
CEO
Fig Leaf Software
www.figleaf.com


 



Re: [flexcoders] Modules

2007-03-07 Thread Dave Carabetta

No, that means 2.0. When you click Help - About Adobe Flex Builder 2 in the
IDE, you'll just see 2.0.1 displayed for the 2.0.1 release.

Regards,
Dave.
Cynergy Systems, Inc.

On 3/7/07, Andrey [EMAIL PROTECTED] wrote:


  But i have 2.0.143459, doesn't that mean 2.0.1?


On 3/7/07, Dave Carabetta [EMAIL PROTECTED]  wrote:

   That would be because Modules weren't introduced until Flex 2.0.1.
 You'll need to update your Flex Builder/SDK to the 2.0.1 release in
 order to use Modules.

 Regards,
 Dave.
 Cynergy Systems, Inc.


 On 07 Mar 2007 05:29:28 -0800, darvon4u [EMAIL PROTECTED]  wrote:
 
I try to create modules by using mx:Module
  xmlns:mx=http://www.adobe.com/2006/mxml; and flexbuilder 2.0.143459
  doesn't know anything about it.
  From the dropdown suggestions there is no Module keyword, and when i
  compile it fb gives me Could not resolve mx:Module to a component
  implementation
 
  Am i not referencing something? What am i doing wrong? How do i get
  flexbuilder to see my modules?
  Also, I've read in the docs that modules should be now a suggestion in
  a wizard when you try to create a new component, but it is not there
  either. why?
 
  Thanks in advance!
 
 

 



Re: [flexcoders] AMF Serialization hooks?

2007-03-07 Thread Jim Cheng
Samuel R. Neff wrote:
 Is there any way to run custom code related to AMF serialization without
 writing everything from scratch using IExternalizable?  From the docs it
 seems like the only option is to do it all yourself or do nothing
 yourself--no middle ground.

The ByteArray native class supports AMF serialization/deserialization of 
raw byte data via its readObject() and writeObject() methods.  You can 
also specify whether to use AMF0 or AMF3 as the serialization format.

I've used this previously to read/write to legacy raw AMF-encoded data 
files that I created previously using Flash 8 SWFs and a custom server 
back-end.

It's pretty low-level and I'm not sure if going this route is any better 
suited for what you're doing, but it's worked well for me in the past 
when I needed something in between basic AMF serialization and writing 
full-blown file format parser/emitters.

Jim Cheng
effectiveUI


[flexcoders] Re: Special characters after end tag of XML document (HTTPService issue)

2007-03-07 Thread klumikaze
Peter,

I have resolved the issue. It turns out that when I was adding a character set 
to our 
application (so users could enter French/Latin characters), I used the old 
System.useCodePage trick from my days as a Flash developer... when that 
property is set 
to true, the extra characters get appended to the end of the HTTPService 
results I suspect 
due to the servlets being UTF-8 (not Unicode) -- I could be wrong about the 
specifics.

Thank you very much for your help though.

Brian

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 
 I don't believe there is a maximum length (or at least the length you
 describe is surely not a problem in itself), however if you are using
 chunked encoding then the length of the document will change the way the
 data is sent (i.e. chunked or not).
  
 On reading that you were dealing with chunked data, it reminded me of a
 known issue (Bug 191814) with the Flash Player in MSIE. The issue occurs
 when a Cache-Control: no-cache header is sent but with chunked encoding
 and gzip'ed content.
 
 I believe a work around is to append must-revalidate to the
 Cache-Control no-cache header:
 
 Cache-Control: no-cache, must-revalidate
 
 This Microsoft KB article 
 http://support.microsoft.com/kb/871205 
 mentions the issue occurs with HTTPS, but we've seen reports with HTTP
 too.
 
 Pete
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of klumikaze
 Sent: Tuesday, March 06, 2007 12:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Special characters after end tag of XML
 document (HTTPService issue)
 
 
 
 Peter, 
 
 We've installed TamperData for Firefox and we've done some extensive
 testing with it to 
 see if the special characters exist in the HTTP responses. We have been
 unable to 
 reproduce the problem there. We have tried setting the content length
 header accurately 
 based on the data the servlet spits out. We have also checked the other
 items you 
 suggested and they appear to be fine... we are actually just generating
 a string of XML 
 manually, there is no XML document in the equation.
 
 At this point we are wondering what the possibility is that the
 HTTPService (or URLLoader) 
 has problems handling chunked data? Is there a maximum length that the
 HTTPService/
 URLLoader can handle for an XML document? Our average document is
 sitting at around 
 500 lines of XML.
 
 Thanks again for your assistance with this issue,
 
 Brian





[flexcoders] Drawing in a Scrollable Canvas

2007-03-07 Thread Mike Cantrell
I'm attempting to make an Organization Chart component for Flex. In short, I 
have a canvas which contains child panels These child panels represent a 
position in the organization.  I'm drawing lines (on the canvas) between the 
panels to represent their relationship to each other.

Everything works great until I scroll the canvas. The lines are not drawn in 
relationship to their position in the canvas, but stay were they are in 
relation to the screen. For example, if I scroll down, the panels move up as 
they should, but the lines stay where they are which breaks the connections. 
I'd like to have them scroll upwards like the panels do.

Due to my lack of experience with flash (and any graphics programming for that 
matter), I may be ramming a square peg in a round hole. Here's the panel code 
which recursively draws its lines to its child panels:

public function drawLinesToChildren(canvas:HierarchyCanvas):void {  
  
var startPoint:Point = new Point(x + (width / 2), y + height); 
//  adjust to bottom/center of the parent panel
for (var i:int = 0; i  children.length; i++) {
var child:HierarchyPanel = children[i];
var endPoint:Point = new Point(child.x, child.y);
endPoint = new Point(endPoint.x + (child.width / 2), 
endPoint.y); // adjust top/center of the child panel
canvas.graphics.moveTo(startPoint.x, startPoint.y);
canvas.graphics.lineTo(endPoint.x, endPoint.y);
child.drawLinesToChildren(canvas);
}
}

If anyone could offer any suggestions, I'd be very grateful.



  1   2   >