[flexcoders] Browser detection script

2006-08-26 Thread lemuel_gulliver01
Hi 
Using the generate HTML file found within the flex project (inside the
bin folder) I can view my Flex app. Good.

now when i add a asp.net page directive on that very same html page,
the swf fails to display in full size (thought it does display
partially).I am trying to maintain a full 100% page-to-swif size and
use the flash player detection that is found within the generated html
files and scripts.

The asp.net page directive/tag is the simplest and at this stage there
is no serverside scripts present. I hope to add some basic serverside
scripting later.

Thank in advance.






--
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/

* 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-config.xml in Flexbuilder

2006-08-26 Thread Michael Schmalle



Or if you actually want the config file ;-)?xml version=1.0?flex-config xmlns=http://www.adobe.com/2006/flex-config
 compiler  keep-generated-actionscripttrue/keep-generated-actionscript  theme tags, etc /compiler/flex-config If you have the main app called,
MyLittleApp.mxml, name this file MyLittleApp-config.xml and place it in the same directory as the application.By doing this, Flex will automatically use it plus the other stuff.Peace, Mike
On 8/25/06, Carson Hager [EMAIL PROTECTED] wrote:













  






You now include this parameter in the project build 
options. There is a text input for command line parameters.

Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Louie 
PenaflorSent: Friday, August 25, 2006 1:38 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] flex-config.xml in 
Flexbuilder




Does anyone know where 
flex-config.xml is for the flex builder? I want to enable AS output 
when mxml compiles thanks.

Louie



  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] success: flex data services linking to coldfusion - both as instances in jrun

2006-08-26 Thread grae_hall
after a lot of stuffing about today, Patrick and I managed to get FDS 
running as an instance of jrun, configured apache, and got FDS talking 
to coldfusion's event gateway, which did ran logic on the 
consumer/producer messages, and supplied the result.

We couldn't find much in the way of specific documentation about how to 
get that done - but we worked it out.

I'll post some sample code at the end of next week - as the FDS stuff 
for Flex is the backbone of our Australian Flex Derby competition 
entry - which closes in a few days.

But hell yeah, pushing and pulling information between two separate 
people through the browser, while running logic on it through cfc's on 
the cf server.

We might finally be able to present a strong enough case for flex over 
ajax to the company we work for.






--
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/

* 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: Coldfusion Flex Beginner

2006-08-26 Thread Renaun Erickson
Have your ColdFusion WebService return an Array of Structs.
In you Flex code on the result event handler for the WebService
operation take the event.result and will a line like this create your
ArrayCollection.

myArrayCollection = event.result as ArrayCollection;

Then bind the myArrayCollection to the dataProvider of the DataGrid.

Roughly something like:
mx:WebService id=wsSomeService
wsdl=http://localhost:8500/com/renaun/SomeService.cfc?wsdl;
useProxy=false
showBusyCursor=true

mx:operation name=getItems
result=dpItems = event.result as ArrayCollection;/
/mx:WebService

mx:DataGrid dataProvider={ dpItems } /

Renaun

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

 Hi,
 
  
 
 I'm a real beginner, and know CF inside out. So I want to use Flex
2. I've
 read a bit online and got a webservice call working displaying the
current
 time from a cfc.
 
  
 
 Now I have a cfc generated using the wizard which is a database
related one,
 not sure what to do from here. I seems to generate an array of
objects, and
 each object defines a row in the table, this all makes sense.
 
  
 
 But how do get this into a flex data grid.
 
  
 
 I assume I need to loop over the array and populate the data grid
using an
 Action Script function. Conceptually simple, but I'm hoping people can
 explain the best way to do this and perhaps post a simple sample
that takes
 a table into a data grid.
 
  
 
 PS: I'd rather not use the full generate wizards available, I'd
rather learn
 how to do it line by line on the Flex side.
 
 Regards
 Dale Fraser
 
  http://dale.fraser.id.au/ http://dale.fraser.id.au







--
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/

* 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: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-26 Thread ryanm
 Speaking of that - I've always wondered, is the gzip decompression handled
 by the browser, or by the Flash player?  I've assumed it was the browser
 (HTTP Compression, right?).  That being the case, aren't there some 
 browsers
 which don't have gzip support, or are they all dead?

It's handled by the browser, and I don't think there are any more 
browsers in popular usage that don't support it.

ryanm 



--
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/

* 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: [Junk E-Mail - LOW] [flexcoders] Re: Choice of backend systems - which provides

2006-08-26 Thread ryanm
 An architect I closely work with always says: ‘Each extra component
 introduces complexity’. I think that is true. Each component ‘in the
 middle’ makes a system harder to understand, debug, maintain, deploy and
 requires an additional level of competence. Unless it has true added 
 value,
 one should think very delicately if this extra component is really
 necessary.

The problem with this statement is that there will *always* be a 
component in the middle, whether you think of FDS as middleware or not. It 
is not a question of whether to put something in the middle or not, but a 
question of *which* middleware to use.

 Actually, there is some contradiction in your last paragraph. You admit 
 that
 putting middleware in place needs thorough testing (which costs money ...
 probably much more than the 20k you pay for FDS) and is a ‘daunting task’ 
 
 (which means that you are aware of the extra complexity and the risks that
 it brings). You actually mention the exact reasons why I would not like
 putting middleware in place for just one single client.

You misread him. What he said is that *installing FDS* requires thorough 
testing which can be a daunting task.

ryanm 



--
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/

* 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] States and Components

2006-08-26 Thread Faisal Abid



Okay I want to create a new state on the fly, which i can already, but i want to make it so that when my panel is dragged on the first state, then i drag it some more on the second state, when i go back to the first state i want my panel to only be dragged as much as i did in the first state. for exampleI move the panel from 0-20 in first statethen 20-50 in the next statewhen i got back to the first state i want the panel to be at 20 , i tired this and it doesnt work , how would i get this to work.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Refresh Tree from HTTPService

2006-08-26 Thread qnotemedia
I have an HTTPService that imports a multi-level xml file, and a tree 
with dataprovider={httpservice.lastResult}.  How can I refresh the 
tree when the XML data changes?

I've tried just rerunning httpservice.send() via a resulthandler or 
a refresh button but neither seems to work.  The changed data does 
show correctly when I reload the app.

 - Chris






--
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/

* 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] Retriggering a creationComplete function?

2006-08-26 Thread Stefan Schmalhaus
I have a view component with a creationComplete function. This
component is part of another view that contains different states. When
the first component is created for the first time the
creationComplete function is executed. Later when I switch back to
this state the function isn't executed again. How can I retrigger the
creationComplete function every time I switch to the state that
contains this component?






--
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/

* 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: [Junk E-Mail - LOW] [flexcoders] Retriggering a creationComplete function?

2006-08-26 Thread Shannon Hicks





Try the "show" event instead or in addition to 
creationComplete

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan 
SchmalhausSent: Saturday, August 26, 2006 3:33 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Retriggering a "creationComplete" function?


I have a view component with a "creationComplete" function. Thiscomponent 
is part of another view that contains different states. Whenthe first 
component is created for the first time the"creationComplete" function is 
executed. Later when I switch back tothis state the function isn't executed 
again. How can I retrigger the"creationComplete" function every time I 
switch to the state thatcontains this component?
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 
8/25/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006
 


Re: [flexcoders] POP3 by Socket

2006-08-26 Thread Rogerio Gonzalez



Hi Folks,I have one doubt yet:When the pop3 server is pop3.domain.com and I have only acess to the www.domain.com or 
domain.com.That means: I will have http://www.domain.com/crossdomain.xmlIt will work when I try to connect to pop3.domain.com
 ?Meaning, again, subdomains are valid for the crossdomain on the root domain?Regards!RogerioOn 8/25/06, Dirk Eismann
 [EMAIL PROTECTED] wrote:













  



Don't have the correct syntax in front of me, but it should also be noted that by calling System.loadPolicyFile(
http://www.foo.com/some/nested/folder/crossdomain.xml) or somthing similar, Flash Player can load crossdomain files that do not live in the root of the server. Also, by using loadPolicyFile() the file does not even need to be named 
crossdomain.xml :)
 
Dirk.

  














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Best Practice Question/Cairngorm Framework/VOs

2006-08-26 Thread lostinrecursion
Hi all,

In a current application I am building, the administrative application
has a screen (We'll call it Products) with no less than 30 various
components gathering data to be fed to a CFC and consequently to a SQL
Server database.

I easily can load the options from the server and bind them to the
controls via my RPC calls and a little elbow grease in the model to
format the data. No problem there.

All components are bound to their respective properties in my
OptionsVO (A special Value Object created to hold all the server data
returned)

Now, it's time to store all the selected data on the client and it
seems I am left with some options.

My first instinct is to fire custom events (which, in Cairngorm, are
translated to Commands, etc.) for each time the Component changes via
the change property. So, for example mx:List id='myList'
change={EVENT CODE}/ - Then the commands mapped to the Events do the
work of updating the VO storing the data.

But if a user is going through the form fast, I have two concerns:

1. Wouldn't 30 events firing off in a row cause the app to be sluggish?

2. There has to be an easier way to store all that data without
writing 30 separate commands/events, one for each component.

---

I guess I could just use the change event to update the model
directly... but from what I understand that is a big no no in proper MVC.

Any help is much appreciated. Sorry for the long post. :)

-Kenny





--
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/

* 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: [Junk E-Mail - LOW] [flexcoders] Retriggering a creationComplete function?

2006-08-26 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:

 Try the show event instead or in addition to creationComplete

show doesn't work. 

LiveDocs on show: Dispatched when an object's state changes from
invisible to visible.  









--
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/

* 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: [Junk E-Mail - LOW] [flexcoders] Retriggering a creationComplete function?

2006-08-26 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:

 Try the show event instead or in addition to creationComplete

Problem solved. The enterState event did the trick.





--
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/

* 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] working with secure RTMP

2006-08-26 Thread Dimitrios Gianninas






Hi,

Wondering ifanyone can 
help.

Ok, I have 
my FDS destination using RTMP and I want to make it use secure RTMP. So here is 
the steps I have followed:

1) created 
the keys using the following command so that it can run 
locally:

keytool -genkey -alias flex2cert -dname "CN=localhost, OU=Product 
Development, O=Optimal Payments, L=Montreal, S=Quebec, C=CA" -validity 3650 
-keystore c:\work\local.keystore

2) Updated 
my secure RTMP channel definition:

channel-definition id="my-secure-rtmp" 
class="mx.messaging.channels.SecureRTMPChannel" 
endpoint uri="rtmps://localhost:5507" 
class="flex.messaging.endpoints.SecureRTMPEndpoint"/ 
properties 
idle-timeout-minutes30/idle-timeout-minutes 
client-to-server-maxbps100K/client-to-server-maxbps 
server-to-client-maxbps100K/server-to-client-maxbps 
keystore-filec:/work/local.keystore/keystore-file 
keystore-passworddevpass/keystore-password 
 
/properties 
/channel-definition

Started my 
WebLogic 8.1 SP3 server and went to the interface. The minute I go a 
ds.getItem(), the following error is thrown by the player:

'cds-consumer-consumerDS-null' consumer subscribe.'my-secure-rtmp' 
channel endpoint set to rtmps://localhost:5507'my-secure-rtmp' channel 
settings are:channel id="my-secure-rtmp" 
type="mx.messaging.channels.SecureRTMPChannel"endpoint 
uri="rtmps://localhost:5507"/properties//channel'cds-producer-consumerDS-null' 
producer sending message 
'E7F46CED-6614-81A8-ED59-4CAD1B881379''my-secure-rtmp' channel got status. 
(Object)#0 code = 
"NetConnection.Connect.CertificateUntrustedSigner" level = 
"status"'my-secure-rtmp' channel polling stopped.'my-secure-rtmp' 
channel connect failed.'cds-consumer-consumerDS-null' consumer channel 
faulted with Channel.Connect.Failed 'cds-consumer-consumerDS-null' consumer 
starting resubscribe timer.'cds-producer-consumerDS-null' producer channel 
faulted with Channel.Connect.Failed 'cds-producer-consumerDS-null' producer 
fault for 'E7F46CED-6614-81A8-ED59-4CAD1B881379'.[RPC Fault 
faultString="Send failed" faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error "]at 
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()at 
::DataListRequestResponder/fault()at 
mx.rpc::AsyncRequest/fault()at 
mx.messaging::ChannelSet/::faultPendingSends()at 
mx.messaging::ChannelSet/channelFaultHandler()at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()at 
flash.events::EventDispatcher/dispatchEvent()at 
mx.messaging::Channel/mx.messaging:Channel::connectFailed()at 
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()at 
mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::statusHandler()

and the 
following in the weblogic log:

Aug 26, 2006 6:51:11 PM EDT Debug TLS 
GIANNINASD-TPA cgServer ExecuteThread: '4' for queue: 
'weblogic.kernel.System' WLS Kernel  00 
NEW ALERT: [EMAIL PROTECTED] Severity: 1 Type: 
0java.lang.Throwable: Stack traceat 
weblogic.security.utils.SSLSetup.debug(SSLSetup.java:265)at 
com.certicom.tls.record.alert.Alert.init(Unknown Source)at 
com.certicom.tls.interfaceimpl.TLSConnectionImpl.closeWriteHandler(Unknown 
Source)at 
com.certicom.tls.interfaceimpl.TLSConnectionImpl.close(Unknown 
Source)at javax.net.ssl.impl.SSLSocketImpl.close(Unknown 
Source)at 
weblogic.socket.SocketMuxer.closeSocket(SocketMuxer.java:267)at 
weblogic.socket.SocketMuxer.cancelIo(SocketMuxer.java:583)at 
weblogic.socket.SocketMuxer.access$100(SocketMuxer.java:31)at 
weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:786)at 
weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)at 
weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)at 
weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)at 
weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)at 
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)at 
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Port 5507 I 
choose atrandom. Did I miss a step, I am a certificate newbie, so any help 
is appreciated.

Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.

 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  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 

RE: [Junk E-Mail - LOW] [flexcoders] Retriggering a creationComplete function?

2006-08-26 Thread Darren Houle
I know it's more work, but...

Instead of using creationComplete=someFunction() in your first view, take 
the button/widget or whatever that causes the app to switch over to the 
first view and add your someFunction() to that button/widget's click= 
event.  In other words call sommeFunction() every time you click on 
something (which can happen N times) not just at creation (which only 
happens once.)

Darren


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stefan Schmalhaus
Sent: Saturday, August 26, 2006 3:33 PM
To: flexcoders@yahoogroups.com
Subject: [Junk E-Mail - LOW] [flexcoders] Retriggering a creationComplete
function?



I have a view component with a creationComplete function. This
component is part of another view that contains different states. When
the first component is created for the first time the
creationComplete function is executed. Later when I switch back to
this state the function isn't executed again. How can I retrigger the
creationComplete function every time I switch to the state that
contains this component?






--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006





--
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/

* 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] TileList columnWidth = widest item?

2006-08-26 Thread Tom Lee










Hi guys,



By default, the width of a column in a TileList component is
equal to the width of the first item in that column. This is weird, because if
any subsequent item is wider, it gets clipped. Does anyone know of a way to
make the column width fit the widest item?



Thanks!!



-tom




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





[flexcoders] Re: Best Practice Question/Cairngorm Framework/VOs

2006-08-26 Thread lostinrecursion
It's so simple, I can't believe I didn't see it before.

One event and One command can do the work of updating the ValueObject
for my Product. All the event has to carry is the property name it
will update and the value. The format of the value is known to the
Model and doesn't need to be known to the View. So, when it
dispatches, it just puts things where they go.

If you know of a better way, let me know. That sounds like good old
MVC/Cairngorm to me!

-Kenny






--
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/

* 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/