RE: [flexcoders] Re: Security error accessing url

2007-03-14 Thread Shaun McCran
I'm New to all this, so your suggesting that all the flex swf's are routed
through a proxy (proxy.xml),
and that xml doc just contains yout proxy settings (ip, ports etc). Thats
called in your mx: application?
 
Shaun

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul DeCoursey
Sent: 14 March 2007 02:39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Security error accessing url



Proxy is your solution. counterfeiting a corssdomain file is
inadvisable difficult and probably impossible to do on a large scale
deployment. The only ways I can think do it would require great effort
and would need other software to be installed on the client machine to
pull it off. Plus that kind of hackery just isn't cool. Also I'm not
sure anyone is really against the proxy solution, it would just be
faster to go direct to the source.

Another idea if you don't want or can't do the proxy server, you could
be bold and do an ajax proxy. I'm not sure how much data can be passed
via the External Interface, but you certainly could pass xml back and
forth that way. Given enough motivation I could come up with a
working example.

p

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com,
André Rodrigues Pena
[EMAIL PROTECTED] wrote:

 If people are against the proxy application.. what's the better
solution?
 (since I can't see how can I counterfeit a crossdomain file in a
external
 and not-accessible server)
 
 On 3/12/07, Troy Gilbert [EMAIL PROTECTED] wrote:
 
  Ahh, yes, but if all of your clients go through your proxy
server then
  on to the eventual non-crossdomain.xml server, then that server
admin sees
  that there are a huge amount of requests originating from your
proxy server
  and he can throttle it as appropriate. If the requests come
directly from
  the clients, then he has potentially thousands of different points
of entry
  to throttle.
 
  But I do agree with your point... in general, I'd like to see
Flash *at a
  minimum* have all of the read-only access that the web browser has. It
  infuriating when some AJAX code can access stuff more easily than
Flash...
  that just *feels* backwards to me, and I think it ultimately hurts
Flash's
  use for some cases.
 
  Troy.
 
 
  On 3/12/07, Paul DeCoursey [EMAIL PROTECTED] wrote:
  
   --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com flexcoders%40yahoogroups.com,
   Alex Harui aharui@ wrote:
   
It doesn't provide any benefit to you, it provides benefit to the
   server
owner. Once all of your clients are hammering your server to
get to
   the
proxy to the remote-server, then you have the first chokepoint for
traffic instead of the remote-server owner who may or may not have
intended to allow that much extra traffic.
   
  
   I understand the thinking, but if I can easily create a proxy around
   the crossdomain file then they've lost that avenue. It's easier to
   throttle access using firewalls or acls, which they will end up
having
   to do anyway.
  
   
   
The security rules are also intended to make sure we don't
become the
ultimate spyware and virus development platform. If we did,
everyone
would be afraid to download the player and/or run these
applications.
   
   
   
If you can find a way to spoof the crossdomain.xml from a remote
   server,
please let us know.
   
  
   I don't think I'll put any effort to finding out how to do it
since I
   don't ever plan on using crossdomain files since I already have a
   working proxy solution.
  
   
   
-Alex
   
   
   
  
  
  
 
 
 
 
 -- 
 André Rodrigues Pena
 
 LOCUS
 www.locus.com.br
 
 Blog
 www.techbreak.org




 


RE: [flexcoders] Re: Security error accessing url

2007-03-14 Thread Teddy Setiawan

The idea is the server (our web server) process the request to  
non-crossdomain.xml 
serverand return back the result to flex.In basic Flex --- OurWebserver Page 
--  non-crossdomain.xml 
server OurWebserver Page Result  -FlexI implement this to get rss 
feed from non-crossdomain.xml 
serverI use PHP on server side and it works.
To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Wed, 14 Mar 2007 08:16:46 
+Subject: RE: [flexcoders] Re: Security error accessing url














  






I'm New to all this, so your suggesting that all the flex 
swf's are routed through a proxy (proxy.xml),
and that xml doc just contains yout proxy settings (ip, 
ports etc). Thats called in your mx: application?
 
Shaun


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Paul 
DeCourseySent: 14 March 2007 02:39To: 
[EMAIL PROTECTED]: [flexcoders] Re: Security error 
accessing url


Proxy is your solution. counterfeiting a corssdomain file isinadvisable 
difficult and probably impossible to do on a large scaledeployment. The only 
ways I can think do it would require great effortand would need other 
software to be installed on the client machine topull it off. Plus that kind 
of hackery just isn't cool. Also I'm notsure anyone is really against the 
proxy solution, it would just befaster to go direct to the 
source.Another idea if you don't want or can't do the proxy server, you 
couldbe bold and do an ajax proxy. I'm not sure how much data can be 
passedvia the External Interface, but you certainly could pass xml back 
andforth that way. Given enough motivation I could come up with aworking 
example.p--- In flexcoders@yahoogroups.com, 
André Rodrigues Pena[EMAIL PROTECTED] wrote: If 
people are against the proxy application.. what's the 
bettersolution? (since I can't see how can I counterfeit a 
crossdomain file in aexternal and not-accessible server) 
 On 3/12/07, Troy Gilbert [EMAIL PROTECTED] wrote: 
  Ahh, yes, but if all of your clients go through your 
proxyserver then  on to the eventual non-crossdomain.xml 
server, then that serveradmin sees  that there are a huge amount 
of requests originating from yourproxy server  and he can 
throttle it as appropriate. If the requests comedirectly from  
the clients, then he has potentially thousands of different pointsof 
entry  to throttle.   But I do agree with 
your point... in general, I'd like to seeFlash *at a  minimum* 
have all of the read-only access that the web browser has. It  
infuriating when some AJAX code can access stuff more easily 
thanFlash...  that just *feels* backwards to me, and I think it 
ultimately hurtsFlash's  use for some cases. 
  Troy.On 3/12/07, Paul 
DeCoursey [EMAIL PROTECTED] wrote: --- In 
flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.com,   Alex Harui 
aharui@ wrote:   It doesn't 
provide any benefit to you, it provides benefit to the   
serverowner. Once all of your clients are hammering your 
server toget to   theproxy to the 
remote-server, then you have the first chokepoint for
traffic instead of the remote-server owner who may or may not have  
  intended to allow that much extra traffic.   
 I understand the thinking, but if I can 
easily create a proxy around   the crossdomain file then they've 
lost that avenue. It's easier to   throttle access using 
firewalls or acls, which they will end uphaving   to do 
anyway. 
   The security rules are also intended to make sure we 
don'tbecome theultimate spyware and virus 
development platform. If we did,everyonewould be 
afraid to download the player and/or run theseapplications.  
   
If you can find a way to spoof the crossdomain.xml from a remote 
  server,please let us know.   
 I don't think I'll put any effort to 
finding out how to do itsince I   don't ever plan on using 
crossdomain files since I already have a   working proxy 
solution.
-Alex  
 
 --  André Rodrigues 
Pena  LOCUS www.locus.com.br  
Blog www.techbreak.org

  













_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE

Re: [flexcoders] FlexBuilder and Subclipse

2007-03-14 Thread Carlos Rovira

I recommend you to switch to subversive...it's a plugin that works quite
well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes [EMAIL PROTECTED]:


   Hard drive crashed this morning. Just reinstalled FlexBuilder and now I
can't get Subclipse to install. Says I need



 Subclipse (1.2.0) requires plug-in org.eclipse.core.resources (3.2.0),
or later version.





The org.eclipse updater says it's all up to date. And doesn't need
anything else installed.

Anybody know where I took a wrong turn? Or have a similar experience?



--
***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***

 





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


Re: [flexcoders] problem with createChildren()

2007-03-14 Thread Janis Radins

guess we have some misunderstanding in here
createChindren is executed only once when component initializes

13 Mar 2007 09:36:59 -0700, Matt Wicks [EMAIL PROTECTED]:


  Hi all,

help as ever gratefully received on this one .

I have a component which extends the Panel and overrides the
createChildren() method -

works fine and renders everything when I set it to be a height of
(eg) 200 pixels - but when the user cicks the SHRINK button in the
titlebar and reduces the size to 30 everything rendered in the title
bar 9and the event listener attached) disappear ... I am bemused by
this and would be grateful for some guidance

thanks

Matt

 



[flexcoders] Compilation, library-path and configuration file

2007-03-14 Thread Stembert Olivier \(BIL\)
Hi flexcoders,

I try to compile my project with a configuration file which contains the
following library-path tag:

library-path

path-elementC:\LOCALAPP\workspace\Merlin\bin\Merlin.swc/path-element
/library-path

Other compilation options in the config file are taken into account
during compilation but the library-path tag is not.
Only the library path set in the Options panel (FB) is considered for
compilation.

The same is true for the flex libraries. If I remove all the libraries
(playerglobal.swc,...) from the Options panel and add them in the config
file, the compiler complains about classes missing.


Olivier


-
An electronic message is not binding on its sender.
Any message referring to a binding engagement must be confirmed in writing and 
duly signed.
-



Re: [flexcoders] Problem with datagrid inline radio button itemRenderer

2007-03-14 Thread Roman Protsiuk

What does updateCorrectAnswer? It would be helpful if you give us some
working example to test what's going on.
Do you really need data.correct=!data.correct;?
Maybe you could just call outerDocument.updateCorrectAnswer(!data.correct,
data.id);

Probably that's not the reason of this behavior, but it's hard to guess for
me.

R.

On 3/13/07, Xia Zhao [EMAIL PROTECTED] wrote:


   Hello,

I use radio button as data grid itemRenderer. The short code is at the
end. What I want to do is adding answers for one question and set the
correct answer. I attched the screen shot. I use the check box and text
input on the top line to add an answer. Once I click Add this answer button,
the answer will appear in the bottom datagrid. And if it is the correct
answer, the radio button in front should be selected. There are some
problems here:

1) If I set the entered answer as the correct answer, after I click Add
this answer button, the radio button in front of this answer is not
selected immediately. When I add the next answer and click Add this answer
button, the selection for the previous radio button appears.

2) Connect with the first problem I think, if I set the last answer as the
correct answer, the radio button will keep appear then disppear when I
refresh the answer list. Refresh I mean read data from collection.

I tried to debug and traced the value of the correct answer. I boolean
value is correct but the radio button is not rendered correctly with the
value.

Does anyone have any idea about this?

BTW, I am using Flex 2.0.1 and Caringorm2.1.

Xia



mx:DataGridColumn
dataField=correct width=32 

mx:itemRenderer

mx:Component

mx:RadioButton selected={data.correct } click=
data.correct=!data.correct;outerDocument.updateCorrectAnswer(data.correct,
data.id )/

/mx:Component

/mx:itemRenderer

/mx:DataGridColumn


 





Re: [flexcoders] NumericStepper with formatting?

2007-03-14 Thread Harish Sivaramakrishnan

Hi,

I have a prototype of this feature which can be found in the following link.
This component extends from NumericStepper. You can achieve currency /
number formatting in by setting the format property to CurrencyFormatter ot
NumberFormatter.

http://flexgeek.wordpress.com/2007/03/14/formattedstepper-numericstepper-with-formatting-support/

HTH, Thanks
Harish


On 3/12/07, beancounter [EMAIL PROTECTED] wrote:


  Someone posted last Sep. asking about a NumericStepper that could
have e.g. currency formatting - I wonder if anyone has solved this.

I could create a custom control from whole cloth or use the hack
someone's posted elsewhere of overlaying a read-only text field and
swapping on click, but would love it if someone had a custom
NumericStepper that let me have a text field (in addition to numeric
value) that was used for display, and let me apply a Formatter of my
choice to it. Or, if someone's found a way to do this with the
standard NumericStepper. I need both currency and % formatting.

Alternatively, a way to achieve the NumericStepper-style validation
constraint behavior with a standard text field would be workable - I
don't absolutely need the stepper controls, but I do need a field
that, like NumericStepper, simply does not accept invalid input
(outside a specified numeric range). Because, I want to KISS and
never have bad data bound to my client-side domain model.

Thanks in advance.


 



[flexcoders] Re: How to resize the flex1.5 screen according to the screen resolution

2007-03-14 Thread Yasovardhan Babu
Can somebody Please help me on this issue?

Thanks and Regards,
Yasovardhan.
--- In flexcoders@yahoogroups.com, Yasovardhan Babu 
[EMAIL PROTECTED] wrote:

 Hi All,
 
 I have a Flex1.5 screen in which I have one HBox in top and 
another 
 HBox in Bottom. In between I have a View stack, which contains two 
 VBoxes.
 My requirement is that the screen ( with viewstack) should resize 
 according to the different screen resolutions. That is,
 The vertical scrollbar should be starting from the end of first 
HBox
 (in top) to the beginning of the second HBox(in the bottom), 
 irrespective of screen resolution. The vertical scroll bar should 
 disappear if the in between screen has enough height.
 How to do this? Please help me as this needs to be addressed 
urgently.
 
 Thanks and Regards,
 Yasovardhan.





[flexcoders] Suspending data bindings during (lazy) server read

2007-03-14 Thread simonjpalmer
I am transfering the head of a hierarchy of objects to the client for
them to choose which one they want to see details for.  The list
returned in this initial fetch is bound to a datagrid control, and
some of the data items are displayed in the grid.  The rest of the
data is loaded lazily through a destination via the java assembler. 
Once a request for the rest of the object is received I do return
quite a lot of data and it can take up to 2 seconds for the response
to arrive back at the client.

One immediate question is how I show a progress bar or a wait cursor
while this operation is occurring.  In all honesty I would prefer it
was synchronous but I can't seem to force that to happen.

So, I have a partially loaded object and when the remainder of the
data does finally show up I recalculate some of the fields that I am
displaying in the orginal data grid because they may be stale.  What I
have found is that I get a stack overflow where the data binding
manager is busy watching changes to the members of the class that I am
busy re-calculating.  During recalculation I get an itemPending error
which causes my recalc function to be re-called which touches the
bound data items which causes the data binding manager to kick off
again.  And round and round we go until I either run out of stack
space or the server stuff returns just in time and my data show up.

I have tried to separate out the activities so there is no binding
during loading, but this is causing me some horrible usability issues
and seems to be a bad way of approaching the problem.  What's more the
asynchronous nature of the server interaction is such that I can't
tell when exactly I'm going to receive the data (I have to rely on
trapping itemPending errors) so I don;t really know when it is safe to
re-bind.

What I would like to be able to do is just suspend the data bindings
in the client code while the lazy loading is taking place, and then
re-bind when I know I have all the data.

Any hints or architectural suggestions would be greatly appreciated.

SP



[flexcoders] Re: Flex WebServices and JAX-WS 2.0 WSDL.BadElement Error

2007-03-14 Thread klotzw
Hi Dima,

Thanks, for the suggestion, but unfortunately the wsdl files generated
by glassfish for circular imports, but found no such issues.  I've
played around today more with my application to try and get more
information to understand why the issue happens with using Cairngorm
framework, but not embedded MXML Webservices.

I've noticed when using embedded MXML WebService in my test
application when the application is loaded the WSDL files get loaded
from the WebServer upon application load, but when I use Cairngorm 2.2
Beta (which has the loadWSDL() ) function the WSDL files do not seem
to be loaded upon application load.  It isn't until I make a call to a
web service API that the WSDL files get loaded.  I think this is
perhaps related to my issue.  

I have the standard call to my Cairngorm webservice business:Services
inside the MXML file containing my mx:Application, but I'm wondering
why I do not see the web server get hit to grab the WSDL files.

William

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

 Hi,
 
 I am working with JAX-WS 2.1 and the issue that Flex can not
congest is curcular xsd:import where a imports b and b includes a.
It gets into loop and dies :-) Maybe that is your problem.
 
 If that is the case you can optimize your namespaces not to include
too much separate files.
 
 HIH.
 
 Regards,
 Dima Gutzeit.
 
 BTW - The problem is supposed to be fixed in Flex SDK 2.5 Beta 2,
which is not yet released.
 
   - Original Message - 
   From: klotzw 
   To: flexcoders@yahoogroups.com 
   Sent: Monday, March 12, 2007 8:16 PM
   Subject: [flexcoders] Flex WebServices and JAX-WS 2.0
WSDL.BadElement Error
 
 
   Hello All,
 
   The company I work for decided it wished to create applications using
   EJB 3.0 using Glassfish as the application server. They originally
   wished me to use AJAX to create the UI, but I convinced them to allow
   me to use Flex and Actionscript instead. I'm currently running into a
   problem when accessing my JAX-WS webservice. I receive a
   WSDL.BadElement Error when I tried to use the web service the first
   time. The odd thing is the error is only happening when I use the
   Cairngorm 2.1 and 2.2 Beta frameworks. If I use the MXML Webservices
   I do not see the issue. I may still exist, but I do not recieve the
   pop-up box within the web browser. 
 
   The error seems to have to do with my WSDL file containing xsd:import,
   but I have no control of this since JAX-WS 2.0 will only generate WSDL
   files with xsd:import within the WSDL file.
 
   Has anyone else used JAX-WS 2.0 experienced this issue or know how to
   resolve the issue.
 
   Thank you,
   William
 
   Here's the error when I run my application. If I choose to continue I
   am able to login and call web service API's without the error until
   re-run the application.
 
   [WSDLError faultString=Element http://dpgdomain.com:logon not
   resolvable faultCode=WSDL.BadElement faultDetail=null]
   at
  
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::parseMessage()
   at mx.rpc.soap::WSDLOperation/parseMessages()
   at
  
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
   at
  
mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()
   at mx.rpc.soap::WebService/::unEnqueueCalls()
   at
  
mx.rpc.soap::WebService/http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
   at
  
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.rpc.soap::WSDLParser/dispatchEvent()
   at mx.rpc.soap::WSDLParser/::parseCompleted()
   at
  
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
   at
  
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at
  
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
   at
  
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
   at mx.rpc::Responder/result()
   at mx.rpc::AsyncRequest/acknowledge()
   at ::DirectHTTPMessageResponder/completeHandler()
   at
  
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at flash.net::URLLoader/flash.net:URLLoader::onComplete()
 
   Here's my Services.mxml file declaring the WebService API's.
 
   ?xml version=1.0 encoding=utf-8?
   cairngorm:ServiceLocator
   xmlns:mx=http://www.adobe.com/2006/mxml; 
   xmlns:cairngorm=http://www.adobe.com/2006/cairngorm;
 
   mx:WebService id=UserManagementWebService
  
wsdl=http://localhost:8080/UserManagementWebService/UserManagement?wsdl;
   useProxy=false
   showBusyCursor=true
   result=event.token.resultHandler( event );
   fault=event.token.faultHandler( event );
 
   mx:operation 

[flexcoders] Re: Combobox will not display (only) one item

2007-03-14 Thread pdenys
Thanks for your reply. That did not work as state is the repeating 
element not states. If there are more than 1 state then this 
works fine. I don't understand why 1 element would give the ComboBox 
trouble.

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

 Hi,
 Try changing:
 
 myAC = event.result.states.state;
 
 to
 
 myAC = event.result.states;
 
 Hilary
 
 --
 
 On 13 Mar 2007 19:36:50 -0700, pdenys [EMAIL PROTECTED] wrote:
 
I have a simple example where my ComboBox has a dataProvider 
that is
  an ArrayCollection. This ArrayCollection is assigned to the 
results
  of an HTTPService that retrieves an xml file of US States. The XML
  file is just sitting on a local web server.
 
  Why is it that when there is only 1 entry (State) in my XML file, 
the
  ComboBox does not populate correctly (it is blank)?
 
  Here is my XML:
  --
  ?xml version=1.0 encoding=utf-8?
  states
 
  state
  labelMO/label
  dataJefferson City/data
  /state
 
  /states
 
  Here is my code:
  ---
  ?xml version=1.0?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 
  mx:HTTPService
  id=serviceTest
  url=http://localhost:8080/states.xml;
  result=resultHandler(event)
  /
 
  mx:ComboBox id=cmbTest labelField=label width=300
  dataProvider={myAC}/
  mx:TextArea width=292 id=txtTest1/
  mx:TextArea width=290 id=txtTest2/
  mx:Button label=Feed from file width=285 id=btnFeed
  click=serviceTest.send()/
 
  mx:Script
  ![CDATA[
  import mx.collections.ArrayCollection;
  import mx.rpc.events.ResultEvent;
 
  [Bindable]
  public var myAC:ArrayCollection = new ArrayCollection();
  public function resultHandler(event:ResultEvent):void
  {
  myAC = event.result.states.state;
  }
  ]]
  /mx:Script
  /mx:Application
 
  
 
 
 
 
 -- 
 Hilary
 
 --





[flexcoders] Re: Build Date?

2007-03-14 Thread igl_73
You can use flex metadata to embed info within swf file.

execute mxmlc -help advanced metadata for more info on this subject.

Igor.

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

 Hello,
 
  
 
 Is there any 'best practices' method to deriving the BUILD DATE of a
 Flex application?
 
  
 
 Thanks in Advance.
 
  
 
 Steve





RE: [flexcoders] Re: Tree, drag+drop, and XML

2007-03-14 Thread Michael Imhoff
Hi Douglas,

 

It is carrying the leaf nodes properly; I think the issue revolved around
how you were trying to display the items.

 

public function handleMe(event:DragEvent) : void{

var ds:Array = event.dragSource.dataForFormat(treeItems) as
Array; 

for( var i:int = 0; i  ds.length; i++ ){

trace(XML(ds[i]).toXMLString());

}

}

 

Hope this helps,

Michael

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Wednesday, March 14, 2007 12:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tree, drag+drop, and XML

 

here is example code of what I am seeing.  Why doesn't a leaf carry the data
in the drag event?

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

mx:Script
![CDATA[
import mx.events.DragEvent;
import mx.controls.Alert;
import mx.core.DragSource;
import mx.utils.ObjectUtil;

public function handleMe( event:DragEvent) : void{
var ds:Array = event.dragSource.dataForFormat(treeItems)
as Array; 
Alert.show(ObjectUtil.toString(ds));
}
]]
/mx:Script

mx:XML id=treeData
node label=Mail Box 
node label=Inbox
node label=Marketing/
node label=Product Management/
node label=Personal/ 
/node
node label=Outbox
node label=Professional/
node label=Personal/
/node 
node label=Spam/
node label=Sent/
/node
/mx:XML

mx:Tree id=myTree 
labelField=@label 
showRoot=false
itemRenderer=renderer.ActivityTaskTree
dataProvider={treeData}
dragEnabled=true /


 
 mx:TextArea text=drop enter here dragEnter=handleMe( event )
 
 /mx:TextArea

/mx:Application



On 3/13/07, Douglas Knudsen douglasknudsen@
mailto:[EMAIL PROTECTED] gmail.com wrote:

I have a Tree, and a dream it seems.  The Tree's dataProvider is XML based.
The Tree looks lovely and bares leaves.  I set dragEnabled = true.  On
another object in my app I am capturing the dragEnter event with this mehtod


privatefunction doDragEnter(event : DragEvent) : void {

 var ds:Array = event.dragSource.dataForFormat(treeItems) as
Array;
 
 Alert.show (ObjectUtil.toString(ds));return;
   
 }

Now, if I drag a leaf over this object, the Alert above displays
(Array)#0
[0]

as in it does NOT display the XML frag represented by the leaf. 

If I drag a branch, item with the folder icon, the Alert above displays
(Array)#0
[0]node label=.../node

it displays the XML frag for the branch and all its children?

WT?  

-- 
Douglas Knudsen
http://www.cubiclem http://www.cubicleman.com an.com
this is my signature, like it? 




-- 
Douglas Knudsen
http://www.cubiclem http://www.cubicleman.com an.com
this is my signature, like it? 

 



[flexcoders] Re: Flex - CFC access question

2007-03-14 Thread craig.drabik
--- In flexcoders@yahoogroups.com, Robert Chyko [EMAIL PROTECTED] wrote:

 My Flex app is hitting a ColdFusion backend.  If I call a function whose
 access is set to remote, everything works as expected.  If that remote
 function calls a private accessible function within the same .cfc
 using the this keyword, it cannot find the function.  If I don't use
 the this keyword it works fine.


Actually, your problem is not unique to accessing a method from Flex
and it's got nothing to do with instantiation..  It's a scope issue. 
The scope names applied to the properties and methods of a cfc are
confusing.  Anything marked as public or remote will show in the
this scope.  Anything private is in the variables scope or the no
scope (no prefix).  So, if you're trying to call a private method
using this.methodName() you will get an error because the UDF isn't
defined in the public (this) scope.



[flexcoders] Re: Combobox will not display (only) one item

2007-03-14 Thread pdenys
According to the Adobe Flex forum and Peter Ent of Adobe, I should 
use an XMLListCollection. Being simple-minded myself, I like simple 
things and hoped that an ArrayCollection and ComboBox would work. It 
seems to be a common example in Adobe docs (but fails when there is 
only 1 node of content which should give you 1 and only 1 item in 
your ComboBox). 

The XMLListCollection works fine when there is only 1 node of content 
in my source XML. However, I need to process the XML to get 
the data part of the ComboBox. 

I realize that I am not doing a good job explaining this. Please 
refer to the Adobe forum: 
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?
forumid=60catid=585threadid=1198525highlight_key=ykeyword1=combobo
x


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

 Thanks for your reply. That did not work as state is the 
repeating 
 element not states. If there are more than 1 state then this 
 works fine. I don't understand why 1 element would give the 
ComboBox 
 trouble.
 
 --- In flexcoders@yahoogroups.com, Hilary Bridel hblists@ 
 wrote:
 
  Hi,
  Try changing:
  
  myAC = event.result.states.state;
  
  to
  
  myAC = event.result.states;
  
  Hilary
  
  --
  
  On 13 Mar 2007 19:36:50 -0700, pdenys pdenys@ wrote:
  
 I have a simple example where my ComboBox has a dataProvider 
 that is
   an ArrayCollection. This ArrayCollection is assigned to the 
 results
   of an HTTPService that retrieves an xml file of US States. The 
XML
   file is just sitting on a local web server.
  
   Why is it that when there is only 1 entry (State) in my XML 
file, 
 the
   ComboBox does not populate correctly (it is blank)?
  
   Here is my XML:
   --
   ?xml version=1.0 encoding=utf-8?
   states
  
   state
   labelMO/label
   dataJefferson City/data
   /state
  
   /states
  
   Here is my code:
   ---
   ?xml version=1.0?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  
   mx:HTTPService
   id=serviceTest
   url=http://localhost:8080/states.xml;
   result=resultHandler(event)
   /
  
   mx:ComboBox id=cmbTest labelField=label width=300
   dataProvider={myAC}/
   mx:TextArea width=292 id=txtTest1/
   mx:TextArea width=290 id=txtTest2/
   mx:Button label=Feed from file width=285 id=btnFeed
   click=serviceTest.send()/
  
   mx:Script
   ![CDATA[
   import mx.collections.ArrayCollection;
   import mx.rpc.events.ResultEvent;
  
   [Bindable]
   public var myAC:ArrayCollection = new ArrayCollection();
   public function resultHandler(event:ResultEvent):void
   {
   myAC = event.result.states.state;
   }
   ]]
   /mx:Script
   /mx:Application
  
   
  
  
  
  
  -- 
  Hilary
  
  --
 





Re: [flexcoders] Re: Combobox will not display (only) one item

2007-03-14 Thread Clint Tredway

the list controls are very picky when it comes to ArrayCollections. In my
code, I check to see if the length is 1 or gt than 1 and then set the
dataprovider accordingly. To me, this is very much a PITA as now I have to
add additional checks to make sure my data displays correctly.

FYI, I do not use XML, I use ColdFusion and Remoting.

On 3/14/07, pdenys [EMAIL PROTECTED] wrote:


  According to the Adobe Flex forum and Peter Ent of Adobe, I should
use an XMLListCollection. Being simple-minded myself, I like simple
things and hoped that an ArrayCollection and ComboBox would work. It
seems to be a common example in Adobe docs (but fails when there is
only 1 node of content which should give you 1 and only 1 item in
your ComboBox).

The XMLListCollection works fine when there is only 1 node of content
in my source XML. However, I need to process the XML to get
the data part of the ComboBox.

I realize that I am not doing a good job explaining this. Please
refer to the Adobe forum:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?
forumid=60catid=585threadid=1198525highlight_key=ykeyword1=combobo
x

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

 Thanks for your reply. That did not work as state is the
repeating
 element not states. If there are more than 1 state then this
 works fine. I don't understand why 1 element would give the
ComboBox
 trouble.

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Hilary Bridel hblists@
 wrote:
 
  Hi,
  Try changing:
 
  myAC = event.result.states.state;
 
  to
 
  myAC = event.result.states;
 
  Hilary
 
  --
 
  On 13 Mar 2007 19:36:50 -0700, pdenys pdenys@ wrote:
  
   I have a simple example where my ComboBox has a dataProvider
 that is
   an ArrayCollection. This ArrayCollection is assigned to the
 results
   of an HTTPService that retrieves an xml file of US States. The
XML
   file is just sitting on a local web server.
  
   Why is it that when there is only 1 entry (State) in my XML
file,
 the
   ComboBox does not populate correctly (it is blank)?
  
   Here is my XML:
   --
   ?xml version=1.0 encoding=utf-8?
   states
  
   state
   labelMO/label
   dataJefferson City/data
   /state
  
   /states
  
   Here is my code:
   ---
   ?xml version=1.0?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  
   mx:HTTPService
   id=serviceTest
   url=http://localhost:8080/states.xml;
   result=resultHandler(event)
   /
  
   mx:ComboBox id=cmbTest labelField=label width=300
   dataProvider={myAC}/
   mx:TextArea width=292 id=txtTest1/
   mx:TextArea width=290 id=txtTest2/
   mx:Button label=Feed from file width=285 id=btnFeed
   click=serviceTest.send()/
  
   mx:Script
   ![CDATA[
   import mx.collections.ArrayCollection;
   import mx.rpc.events.ResultEvent;
  
   [Bindable]
   public var myAC:ArrayCollection = new ArrayCollection();
   public function resultHandler(event:ResultEvent):void
   {
   myAC = event.result.states.state;
   }
   ]]
   /mx:Script
   /mx:Application
  
  
  
 
 
 
  --
  Hilary
 
  --
 


 





--
http://indeegrumpee.spaces.live.com/


[flexcoders] Fluid Hiring Flash / Flex Engineer

2007-03-14 Thread Andrew Guldman
Fluid http://www.fluid.com designs and develops award-winning 
interactive digital retail experiences. Our clients include Reebok, 
Timberland, JanSport, Design Within Reach, and The North Face.

We are looking for skilled, experienced, and passionate engineers to 
work on projects built using Flash and Flex. Successful candidates need 
to be able to:
  * Architect complex applications using UML and design patterns.
  * Lead teams of 2-3 engineers.
  * Write superior code, primarily ActionScript.
  * Communicate clearly with team members, partners, and clients.

In addition to Flash and Flex, you would be likely to interact with the 
following technologies: JavaScript, Java, .NET, Apache, IIS, XML, Linux, 
Windows, ecommerce platforms, CMS systems, and web traffic analytics 
packages. Experience with any of them would be helpful. Artistic, 
information design, and project management skills are also valued.

Please email your resume, a cover letter, and sample ActionScript code 
to [EMAIL PROTECTED] Thanks for your time.

Best regards,
-- 
Andrew Guldman, Principal Engineer
Fluid Inc, http://www.fluid.com
530-582-5143 (voice)


[flexcoders] Video Playback speed

2007-03-14 Thread John Wilker

Is there a way I'm just not really seeing to rewind and fastforward video in
a VideoDisplay?

--
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com / www.red-omega.com

Everything changes, nothing remains without change. ~Buddha c.483 bc


[flexcoders] Re: Fluid Hiring Flash / Flex Engineer

2007-03-14 Thread Paul DeCoursey
I think if people are going to be posting job opportunities they
should be clear about location or if remote is ok.  Not everybody is
an the bay area, some of us live in the real world ;)



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

 Fluid http://www.fluid.com designs and develops award-winning 
 interactive digital retail experiences. Our clients include Reebok, 
 Timberland, JanSport, Design Within Reach, and The North Face.
 
 We are looking for skilled, experienced, and passionate engineers to 
 work on projects built using Flash and Flex. Successful candidates need 
 to be able to:
   * Architect complex applications using UML and design patterns.
   * Lead teams of 2-3 engineers.
   * Write superior code, primarily ActionScript.
   * Communicate clearly with team members, partners, and clients.
 
 In addition to Flash and Flex, you would be likely to interact with the 
 following technologies: JavaScript, Java, .NET, Apache, IIS, XML,
Linux, 
 Windows, ecommerce platforms, CMS systems, and web traffic analytics 
 packages. Experience with any of them would be helpful. Artistic, 
 information design, and project management skills are also valued.
 
 Please email your resume, a cover letter, and sample ActionScript code 
 to [EMAIL PROTECTED] Thanks for your time.
 
 Best regards,
 -- 
 Andrew Guldman, Principal Engineer
 Fluid Inc, http://www.fluid.com
 530-582-5143 (voice)





[flexcoders] How to bind a SharedObject to a dataprovider

2007-03-14 Thread Stanisław Fiedor
Hi!

On the server side I've got a SO object which is a userlist - its properties 
are Objects and tey look like (user_name, ({name:lala,id:3}))
Now I want to bind the data from the SO to my datagrid.. unfortunatelly after I 
do this - the data doesn't appear in the datagrid..
I've read that I need to prepare a wrapper - but with that one I've done it 
doesn't work - don't know why..
If somebody could show me a working example I would be very thankful ;)

BR
stf

Re: [flexcoders] How to bind a SharedObject to a dataprovider

2007-03-14 Thread Clint Tredway

without seeing your code, I would say you need to convert the SO into an
ArrayCollection then bind that to your grid. But again, I say this without
seeing your code.

On 3/14/07, Stanisław Fiedor [EMAIL PROTECTED] wrote:


   Hi!

On the server side I've got a SO object which is a userlist - its
properties are Objects and tey look like (user_name,
({name:lala,id:3}))
Now I want to bind the data from the SO to my datagrid.. unfortunatelly
after I do this - the data doesn't appear in the datagrid..
I've read that I need to prepare a wrapper - but with that one I've done
it doesn't work - don't know why..
If somebody could show me a working example I would be very thankful ;)

BR
stf

 





--
http://indeegrumpee.spaces.live.com/


Re: [flexcoders] Re: Determining the idle state of a flex application

2007-03-14 Thread Igor Costa

Rick

You can use the approach of timer  bellow I attached a sample to do that.


  1. ?xml version=1.0 encoding=utf-8?
  2. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=
  absolute
  3.
  4.
  5. mx:Script
  6. ![CDATA[
  7. import mx.controls.Label;
  8.
  9. private var i:Number = 5000;
  10. private var tempolbl:Label = new Label();
  11. private var verifica:Boolean = false;
  12.
  13. private function adicionaLabel():void
  14. {
  15. tempolbl.text = Depois de alguns segundos
  gastos!;
  16. tempolbl.setStyle(fontSize,20);
  17. tempolbl.x = 40;
  18. tempolbl.y = 40;
  19. if(verifica !=true)
  20. {
  21. verifica = false;
  22. addChild(tempolbl);
  23. clearInterval(tempo);
  24. }else{
  25. mx.controls.Alert.show(Objeto já foi
  criado);
  26. }
  27. }
  28. private var tempo:uint;
  29. private function startTempo():void
  30. {
  31. tempo = setInterval(adicionaLabel,i);
  32. }
  33.
  34. ]]
  35. /mx:Script
  36. mx:Button click=startTempo() x=69 y=137 label=Aparecer
  5 segundos/
  37. /mx:Application


REgards.


Igor Costa
www.igorcosta.org



On 3/3/07, julien castelain [EMAIL PROTECTED] wrote:


  Hi Rick,

Maybe i'm wrong but i'd probably use a Timer to handle this time of
behavior.

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

 Does anyone have any suggestions for monitoring idleness of a Flex
 application?

 The way my app works, pretty much any request to the server will renew a
 cookie for another 30 minutes.. so I could just have flex make a generic
 request every 10 minutes or so to avoid idling out, but I don't want
to do
 that.

 What I'd like to do is perform that request - say every 5 minutes -
if there
 has been any kind of activity in the flex app.. keyboard or mouse
activity..
 that way the server session stays active, and then if the user has been
 idle for more than 20 minutes (no keyboard or mouse activity) to
actually
 blank the flex app window and pop up a login window, forcing the user to
 reauthenticate.

 I'm just not entirely sure of the best way to go about this.

 Rick

 --
 I'm not certified, but I have been told that I'm certifiable...
 Visit http://www.opensourcecf.com today!


 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] Flex app on PDA - MS Pocket PC / Windows Mobile

2007-03-14 Thread Mark Lapasa
Applications built with Flex Builder (or anything using AS3 for that 
matter) are targeted for Flash Player 9.

The last release of a Flash Player that I know of for the PDA is Flash 
Player 7 that features AS2.0 support. If your application is strongly 
object-oriented, down porting it to AS2.0 would make it possible.

If your application makes a lot of use of Flex components, I wouldn't 
port. Keep in mind, the desktop experience doesn't necessarily translate 
into the PDA experience. Your UI would have to go under a number of 
changes to fit the constraints of the viewable area, how a user would be 
able to input information, and how to navigate through the aspects of 
your applications.


Good luck,

-mL
http://knowledge.lapasa.net

amri_ls wrote:

 Hi!

 Does anyone know whether applications built using Flex Builder can run
 on PDA with MS Pocket PC or Windows Mobile without modification /
 scale down? Our project is building a dashboard application that runs
 both on PC and PDA.

 Does Flash player installed (shipped) in PDA or we need to install the
 player separately?

 I appreciate if anyone could share your experience building on PDA
 platform.

 Many thanks,
 amri

  




[flexcoders] Arrow-down/up event in non-editable DataGrid?

2007-03-14 Thread Peter Demling
First-time hello Flexcoders,

I have a non-editable DataGrid, and as the user arrows-down through
the rows, I want to handle the event and do some stuff. The
itemClick event only works for mouse-clicks on the rows; and
itemFocusIn is only dispatched if the item is editable, so that
doesn't work either.

I tried directly data-binding a label in another control to the
selectedItem in this DataGrid, and as I arrow-down through the list I
can see it updating each time - so the event must be getting handled
somewhere.  Unfortunately, I want to do more than just data-binding
when the user arrows-down through the list, so I need an event handler
that captures this event.

Any suggestions would be most welcome. Thanks!

(Also, is there any recommended protocol on cross-posting topics here
to Adobe's Flex 2 General Discussion forum?)

-Peter Demling
 Lexington, MA



Re: [flexcoders] Arrow-down/up event in non-editable DataGrid?

2007-03-14 Thread Clint Tredway

use the change event to do what you want.

On 14 Mar 2007 07:18:52 -0700, Peter Demling [EMAIL PROTECTED] wrote:


  First-time hello Flexcoders,

I have a non-editable DataGrid, and as the user arrows-down through
the rows, I want to handle the event and do some stuff. The
itemClick event only works for mouse-clicks on the rows; and
itemFocusIn is only dispatched if the item is editable, so that
doesn't work either.

I tried directly data-binding a label in another control to the
selectedItem in this DataGrid, and as I arrow-down through the list I
can see it updating each time - so the event must be getting handled
somewhere. Unfortunately, I want to do more than just data-binding
when the user arrows-down through the list, so I need an event handler
that captures this event.

Any suggestions would be most welcome. Thanks!

(Also, is there any recommended protocol on cross-posting topics here
to Adobe's Flex 2 General Discussion forum?)

-Peter Demling
Lexington, MA

 





--
http://indeegrumpee.spaces.live.com/


[flexcoders] Form Handling?

2007-03-14 Thread Kevin
When handling form submission.  Is there a way to grab all the fields  
wrapped in a specific Form tag and send them as an object to a  
function much like a GET or POST works in HTML.


a form example:

mx:Form id=userForm
mx:FormItem label=Login ID required=true 
mx:TextInput id=username width=100 restrict=^ /
/mx:FormItem
mx:FormItem label=User Name required=true
mx:TextInput id=firstname width=75
mx:TextInput id=lastname  width=75 /
/mx:FormItem
/mx:Form

mx:ControlBar
		mx:ButtonBar id=adduser dataProvider={buttonlist}  
itemClick=clickHandler(event);/

/mx:ControlBar

can I grab all the values of the submission in as userForm.values (or  
something like that) OR do I have to get each one individually as


username.text
firstname.text
lastname.text

...blah, blah...


thanks, Kevin





[flexcoders] Custom Event Handler from Popup?

2007-03-14 Thread qnotemedia
So I'm still trying to dig through all of this OO stuff.  Its been 
tough!

I've made a couple of custom events from views.  The handling I've 
learned is usually like this:

view:CustomComp somethingReturned=handler(event)/

But I have one that is a popup.  The popup is invoked like this:

private function showPopup():void {
  var myPopup:customPopup = customPopup(PopUpManager.createetc)
  myPopup.passedVar = somethingPassed... etc
}


The popup has a custom event that is dispatched on closing the popup.  
How can I create a handler for it?  myPopup.somethingReturned = handler
(event) returns an error in Flex.  If I make the popup a view in MXML, 
the event handler works fine.



Re: [flexcoders] Determining the idle state of a flex application

2007-03-14 Thread slangeberg

Could use the built-in idle event:

http://livedocs.adobe.com/flex/2/langref/mx/managers/SystemManager.html#event:idle

-Scott

On 3/3/07, Rick Root [EMAIL PROTECTED] wrote:


  Does anyone have any suggestions for monitoring idleness of a Flex
application?

The way my app works, pretty much any request to the server will renew a
cookie for another 30 minutes.. so I could just have flex make a generic
request every 10 minutes or so to avoid idling out, but I don't want to do
that.

What I'd like to do is perform that request - say every 5 minutes - if
there has been any kind of activity in the flex app.. keyboard or mouse
activity.. that way the server session stays active, and then if the user
has been idle for more than 20 minutes (no keyboard or mouse activity) to
actually blank the flex app window and pop up a login window, forcing the
user to reauthenticate.

I'm just not entirely sure of the best way to go about this.

Rick

--
I'm not certified, but I have been told that I'm certifiable...
Visit http://www.opensourcecf.com today!
 





--

: : ) Scott


Re: [flexcoders] Form Handling?

2007-03-14 Thread Brian Dunphy
Not a native feature built in to Flex I don't think, however one way
to accomplish this would be to loop through each of the children of
the Form (referenced by id), and then loop through each of the
children of the that child, see if they are of type TextInput,
TextArea, ComboBox, CheckBox, RadioButton, etc -- and then store the
id/value of that child in an ArrayCollection for sending later.

Does that sound like what you're after?

Brian

On 3/14/07, Kevin [EMAIL PROTECTED] wrote:






 When handling form submission.  Is there a way to grab all the fields
 wrapped in a specific Form tag and send them as an object to a function much
 like a GET or POST works in HTML.

 a form example:

 mx:Form id=userForm
  mx:FormItem label=Login ID required=true 
  mx:TextInput id=username width=100 restrict=^ /
  /mx:FormItem
  mx:FormItem label=User Name required=true
  mx:TextInput id=firstname width=75
  mx:TextInput id=lastname  width=75 /
  /mx:FormItem
  /mx:Form

 mx:ControlBar
  mx:ButtonBar id=adduser dataProvider={buttonlist}
 itemClick=clickHandler(event);/
  /mx:ControlBar

 can I grab all the values of the submission in as userForm.values (or
 something like that) OR do I have to get each one individually as

 username.text
 firstname.text
 lastname.text

 ...blah, blah...


 thanks, Kevin



  


-- 
Brian Dunphy


[flexcoders] Caching problem

2007-03-14 Thread Alex
Hi there!

  I have an xml file that needs to be loaded eventually using a 
URLRequest. I'm trying to avoid loading a cached file using these 
headers:

urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
Control, no-cache, no-store, max-age=0, must-revalidate));
urlRequest.requestHeaders.push(new URLRequestHeader
(Expires, Fri, 30 Oct 1998 14:19:41 GMT));
urlRequest.requestHeaders.push(new URLRequestHeader
(Pragma, no-cache));

It works ok in firefox and IE6.0.2900, but I still obtain a cached file 
in IE6.0.3790+ and IE7.

Do I need to add any more headers? or what's the problem here?

Thanks in advance



Re: [flexcoders] Caching problem

2007-03-14 Thread slangeberg

With Flash, I've learned to do the lo-tech method of attaching random
numbers to the path. Simple, but it's been effective!:

url:String = resource + ?rand= + Math.floor(Math.random() * 10);

-Scott

On 14 Mar 2007 08:07:52 -0700, Alex [EMAIL PROTECTED] wrote:


  Hi there!

I have an xml file that needs to be loaded eventually using a
URLRequest. I'm trying to avoid loading a cached file using these
headers:

urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
Control, no-cache, no-store, max-age=0, must-revalidate));
urlRequest.requestHeaders.push(new URLRequestHeader
(Expires, Fri, 30 Oct 1998 14:19:41 GMT));
urlRequest.requestHeaders.push(new URLRequestHeader
(Pragma, no-cache));

It works ok in firefox and IE6.0.2900, but I still obtain a cached file
in IE6.0.3790+ and IE7.

Do I need to add any more headers? or what's the problem here?

Thanks in advance

 





--

: : ) Scott


Re: [flexcoders] Form Handling?

2007-03-14 Thread slangeberg

I think the Form docs show an example of binding the inputs to a Model, but
you could substitute another object/class  in its place.

-Scott

On 14 Mar 2007 07:54:00 -0700, Brian Dunphy [EMAIL PROTECTED] wrote:


  Not a native feature built in to Flex I don't think, however one way
to accomplish this would be to loop through each of the children of
the Form (referenced by id), and then loop through each of the
children of the that child, see if they are of type TextInput,
TextArea, ComboBox, CheckBox, RadioButton, etc -- and then store the
id/value of that child in an ArrayCollection for sending later.

Does that sound like what you're after?

Brian


On 3/14/07, Kevin [EMAIL PROTECTED] lists%40kevinmerritt.com
wrote:






 When handling form submission. Is there a way to grab all the fields
 wrapped in a specific Form tag and send them as an object to a function
much
 like a GET or POST works in HTML.

 a form example:

 mx:Form id=userForm
 mx:FormItem label=Login ID required=true 
 mx:TextInput id=username width=100 restrict=^ /
 /mx:FormItem
 mx:FormItem label=User Name required=true
 mx:TextInput id=firstname width=75
 mx:TextInput id=lastname width=75 /
 /mx:FormItem
 /mx:Form

 mx:ControlBar
 mx:ButtonBar id=adduser dataProvider={buttonlist}
 itemClick=clickHandler(event);/
 /mx:ControlBar

 can I grab all the values of the submission in as userForm.values (or
 something like that) OR do I have to get each one individually as

 username.text
 firstname.text
 lastname.text

 ...blah, blah...


 thanks, Kevin





--
Brian Dunphy

 





--

: : ) Scott


Re: [flexcoders] Form Handling?

2007-03-14 Thread Groups Mail

in application creationComplete=userRequest.send()

mx:HTTPService id=userRequest url=http://post url useProxy=false
method=POST
mx:request xmlns=
username{username.text}/usernamefirstname{firstname.text}/firstname
lastname{lastname.text}/lastname
/mx:request
/mx:HTTPService



2007/3/14, Kevin [EMAIL PROTECTED]:


  When handling form submission.  Is there a way to grab all the fields
wrapped in a specific Form tag and send them as an object to a function much
like a GET or POST works in HTML.

a form example:


mx:Form id=userForm
mx:FormItem label=Login ID required=true 
mx:TextInput id=username width=100 restrict=^ /
/mx:FormItem
mx:FormItem label=User Name required=true
mx:TextInput id=firstname width=75
mx:TextInput id=lastname  width=75 /
/mx:FormItem
/mx:Form

mx:ControlBar
mx:ButtonBar id=adduser dataProvider={buttonlist}
itemClick=clickHandler(event);/
/mx:ControlBar

can I grab all the values of the submission in as userForm.values (or
something like that) OR do I have to get each one individually as

username.text
firstname.text
lastname.text

...blah, blah...


thanks, Kevin







[flexcoders] Re: Caching problem

2007-03-14 Thread Paul DeCoursey
You need to set the caching headers on the server for the file.

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

 Hi there!
 
   I have an xml file that needs to be loaded eventually using a 
 URLRequest. I'm trying to avoid loading a cached file using these 
 headers:
 
   urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
 Control, no-cache, no-store, max-age=0, must-revalidate));
   urlRequest.requestHeaders.push(new URLRequestHeader
 (Expires, Fri, 30 Oct 1998 14:19:41 GMT));
   urlRequest.requestHeaders.push(new URLRequestHeader
 (Pragma, no-cache));  
 
 It works ok in firefox and IE6.0.2900, but I still obtain a cached file 
 in IE6.0.3790+ and IE7.
 
 Do I need to add any more headers? or what's the problem here?
 
 Thanks in advance





[flexcoders] Re: Arrow-down/up event in non-editable DataGrid?

2007-03-14 Thread Peter Demling
Worked perfectly (I was looking closely at the item* events and
missed this one). Thanks very much!

-Peter Demling

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

 use the change event to do what you want.
 
 On 14 Mar 2007 07:18:52 -0700, Peter Demling [EMAIL PROTECTED] wrote:
 
First-time hello Flexcoders,
 
  I have a non-editable DataGrid, and as the user arrows-down through
  the rows, I want to handle the event and do some stuff. The
  itemClick event only works for mouse-clicks on the rows; and
  itemFocusIn is only dispatched if the item is editable, so that
  doesn't work either.
 
  I tried directly data-binding a label in another control to the
  selectedItem in this DataGrid, and as I arrow-down through the list I
  can see it updating each time - so the event must be getting handled
  somewhere. Unfortunately, I want to do more than just data-binding
  when the user arrows-down through the list, so I need an event handler
  that captures this event.
 
  Any suggestions would be most welcome. Thanks!
 
  (Also, is there any recommended protocol on cross-posting topics here
  to Adobe's Flex 2 General Discussion forum?)
 
  -Peter Demling
  Lexington, MA
 
   
 
 
 
 
 -- 
 http://indeegrumpee.spaces.live.com/





Re: [flexcoders] Re: Fluid Hiring Flash / Flex Engineer

2007-03-14 Thread Douglas Knudsen

also...there is a yahoo group FLEXJOBS specifically for this.

DK

On 3/14/07, Paul DeCoursey [EMAIL PROTECTED] wrote:


I think if people are going to be posting job opportunities they
should be clear about location or if remote is ok.  Not everybody is
an the bay area, some of us live in the real world ;)



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

 Fluid http://www.fluid.com designs and develops award-winning
 interactive digital retail experiences. Our clients include Reebok,
 Timberland, JanSport, Design Within Reach, and The North Face.

 We are looking for skilled, experienced, and passionate engineers to
 work on projects built using Flash and Flex. Successful candidates need
 to be able to:
   * Architect complex applications using UML and design patterns.
   * Lead teams of 2-3 engineers.
   * Write superior code, primarily ActionScript.
   * Communicate clearly with team members, partners, and clients.

 In addition to Flash and Flex, you would be likely to interact with the
 following technologies: JavaScript, Java, .NET, Apache, IIS, XML,
Linux,
 Windows, ecommerce platforms, CMS systems, and web traffic analytics
 packages. Experience with any of them would be helpful. Artistic,
 information design, and project management skills are also valued.

 Please email your resume, a cover letter, and sample ActionScript code
 to [EMAIL PROTECTED] Thanks for your time.

 Best regards,
 --
 Andrew Guldman, Principal Engineer
 Fluid Inc, http://www.fluid.com
 530-582-5143 (voice)






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







--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Re: Arrow-down/up event in non-editable DataGrid?

2007-03-14 Thread Clint Tredway

no problem

On 3/14/07, Peter Demling [EMAIL PROTECTED] wrote:


  Worked perfectly (I was looking closely at the item* events and
missed this one). Thanks very much!

-Peter Demling

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

 use the change event to do what you want.

 On 14 Mar 2007 07:18:52 -0700, Peter Demling [EMAIL PROTECTED] wrote:
 
  First-time hello Flexcoders,
 
  I have a non-editable DataGrid, and as the user arrows-down through
  the rows, I want to handle the event and do some stuff. The
  itemClick event only works for mouse-clicks on the rows; and
  itemFocusIn is only dispatched if the item is editable, so that
  doesn't work either.
 
  I tried directly data-binding a label in another control to the
  selectedItem in this DataGrid, and as I arrow-down through the list I
  can see it updating each time - so the event must be getting handled
  somewhere. Unfortunately, I want to do more than just data-binding
  when the user arrows-down through the list, so I need an event handler
  that captures this event.
 
  Any suggestions would be most welcome. Thanks!
 
  (Also, is there any recommended protocol on cross-posting topics here
  to Adobe's Flex 2 General Discussion forum?)
 
  -Peter Demling
  Lexington, MA
 
 
 



 --
 http://indeegrumpee.spaces.live.com/


 





--
http://indeegrumpee.spaces.live.com/


[flexcoders] Re: Caching problem

2007-03-14 Thread Alex
Wow! O_O' Works flawlessly!! :-D 

Many thanks for that trick dude!

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

 With Flash, I've learned to do the lo-tech method of attaching 
random
 numbers to the path. Simple, but it's been effective!:
 
 url:String = resource + ?rand= + Math.floor(Math.random() * 
10);
 
 -Scott
 
 On 14 Mar 2007 08:07:52 -0700, Alex [EMAIL PROTECTED] wrote:
 
Hi there!
 
  I have an xml file that needs to be loaded eventually using a
  URLRequest. I'm trying to avoid loading a cached file using these
  headers:
 
  urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
  Control, no-cache, no-store, max-age=0, must-revalidate));
  urlRequest.requestHeaders.push(new URLRequestHeader
  (Expires, Fri, 30 Oct 1998 14:19:41 GMT));
  urlRequest.requestHeaders.push(new URLRequestHeader
  (Pragma, no-cache));
 
  It works ok in firefox and IE6.0.2900, but I still obtain a 
cached file
  in IE6.0.3790+ and IE7.
 
  Do I need to add any more headers? or what's the problem here?
 
  Thanks in advance
 
   
 
 
 
 
 -- 
 
 : : ) Scott





Re: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread Troy Gilbert

Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro) Player
(latest Flash 9).

Troy.


On 13 Mar 2007 21:57:22 -0700, {reduxdj} [EMAIL PROTECTED] wrote:


  Hi There,

I was working on a project and didn't even take the time to check it out
in the yet mac until I needed to a little work on it on my macbook and I
discovered a bug in the mac flashplayer. I made a (yass) yet another
slide show... and this time I used Alex Uhlman's API for AS3.0. I
don't know why a flash movie would behave differently on the mac from a
pc. On the pc, it plays perfectly while on the mac it fades to black
right after it loads.

http://photos.me.com/_testSlide/_testSlide/mebucket.html

I can't isolate the issue... I posted a bug on the Adobe wesbite but
something tells me that this might be a faster way to get a little
insight faster.

Has anybody else had any issues with mac flashplayer working differently?

Thanks,
Patrick

 



RE: [flexcoders] FlexBuilder and Subclipse HELP!

2007-03-14 Thread Brian Holmes
I tried subversive and it doesn't work quite well. I get similar errors
telling me I need to  more resources from

Eclipse like  (requires plug-in org.eclipse.core.resources (3.2.0), or
later version. )

 

I've uninstalled and reinstalled Flex Builder about 10 ten times now and
have tried just about everything I can think of.

 

If anybody knows anything about this I'd greatly appreciate it

 

b... 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carlos Rovira
Sent: Wednesday, March 14, 2007 3:30 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FlexBuilder and Subclipse

 

I recommend you to switch to subversive...it's a plugin that works quite
well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes [EMAIL PROTECTED] :

Hard drive crashed this morning. Just reinstalled FlexBuilder and now I
can't get Subclipse to install. Says I need

 

 Subclipse (1.2.0) requires plug-in org.eclipse.core.resources
(3.2.0), or later version.

 

 

The org.eclipse updater says it's all up to date. And doesn't need
anything else installed. 

Anybody know where I took a wrong turn? Or have a similar experience?

 



***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information. 
*** 




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



***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


Re: [flexcoders] FlexBuilder and Subclipse

2007-03-14 Thread Troy Gilbert

You may need to use an earlier version of the Subclipse plug-in for
FlexBuilder as I believe FlexBuilder is based on an older version of Eclipse
(compared to the latest and greatest available from eclipse.org).

Troy.


On 3/14/07, Carlos Rovira [EMAIL PROTECTED] wrote:


  I recommend you to switch to subversive...it's a plugin that works quite
well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes [EMAIL PROTECTED] :

Hard drive crashed this morning. Just reinstalled FlexBuilder and now
 I can't get Subclipse to install. Says I need



  Subclipse (1.2.0) requires plug-in org.eclipse.core.resources (3.2.0),
 or later version.





 The org.eclipse updater says it's all up to date. And doesn't need
 anything else installed.

 Anybody know where I took a wrong turn? Or have a similar experience?



 --
 ***
 The information in this e-mail is confidential and intended solely for
 the individual or entity to whom it is addressed. If you have received this
 e-mail in error please notify the sender by return e-mail delete this e-mail
 and refrain from any disclosure or action based on the information.
 ***




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

 



Re: [flexcoders] FlexBuilder and Subclipse HELP!

2007-03-14 Thread Xia Zhao

What versions of Eclipse and Flex are you using?
If you're trying to install Subversive 1.2, I do believe you need Eclispe
3.2 version.
I'm using Flex2.0.1, Eclipse 3.2 and Subversive 1.2 in my development and
they're working ok.

Xia


On 14/03/07, Brian Holmes [EMAIL PROTECTED] wrote:


   I tried subversive and it doesn't work quite well. I get similar errors
telling me I need to  more resources from

Eclipse like  (requires plug-in org.eclipse.core.resources (3.2.0), or
later version. )



I've uninstalled and reinstalled Flex Builder about 10 ten times now and
have tried just about everything I can think of.



If anybody knows anything about this I'd greatly appreciate it



b…


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Carlos Rovira
*Sent:* Wednesday, March 14, 2007 3:30 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] FlexBuilder and Subclipse



I recommend you to switch to subversive...it's a plugin that works quite
well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes [EMAIL PROTECTED] :

Hard drive crashed this morning. Just reinstalled FlexBuilder and now I
can't get Subclipse to install. Says I need



 Subclipse (1.2.0) requires plug-in org.eclipse.core.resources (3.2.0),
or later version.





The org.eclipse updater says it's all up to date. And doesn't need
anything else installed.

Anybody know where I took a wrong turn? Or have a similar experience?


 --

***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***




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

--
***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***





Re: [flexcoders] Re: Tree, drag+drop, and XML

2007-03-14 Thread Troy Gilbert

Douglas,

Michael has probably nailed it. As I was getting up to speed with XML I
constantly found myself baffled by my results (as reported by trace
statements) until I realized that I need to always trace xml.toXMLString()
to get the code I was actually curious about (otherwise, XML objects with
simple content will simply display the content, which is often blank).

Troy.


On 3/14/07, Michael Imhoff [EMAIL PROTECTED] wrote:


   Hi Douglas,



It is carrying the leaf nodes properly; I think the issue revolved around
how you were trying to display the items.



public function handleMe(event:DragEvent) : void{

var ds:Array = event.dragSource.dataForFormat(treeItems) as
Array;

for( var i:int = 0; i  ds.length; i++ ){

trace(XML(ds[i]).toXMLString());

}

}



Hope this helps,

Michael


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Douglas Knudsen
*Sent:* Wednesday, March 14, 2007 12:11 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: Tree, drag+drop, and XML



here is example code of what I am seeing.  Why doesn't a leaf carry the
data in the drag event?

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

mx:Script
![CDATA[
import mx.events.DragEvent;
import mx.controls.Alert;
import mx.core.DragSource;
import mx.utils.ObjectUtil;

public function handleMe( event:DragEvent) : void{
var ds:Array = event.dragSource.dataForFormat(treeItems)
as Array;
Alert.show(ObjectUtil.toString(ds));
}
]]
/mx:Script

mx:XML id=treeData
node label=Mail Box
node label=Inbox
node label=Marketing/
node label=Product Management/
node label=Personal/
/node
node label=Outbox
node label=Professional/
node label=Personal/
/node
node label=Spam/
node label=Sent/
/node
/mx:XML

mx:Tree id=myTree
labelField=@label
showRoot=false
itemRenderer=renderer.ActivityTaskTree
dataProvider={treeData}
dragEnabled=true /



 mx:TextArea text=drop enter here dragEnter=handleMe( event )

 /mx:TextArea

/mx:Application

 On 3/13/07, *Douglas Knudsen* [EMAIL PROTECTED] wrote:

I have a Tree, and a dream it seems.  The Tree's dataProvider is XML
based.  The Tree looks lovely and bares leaves.  I set dragEnabled = true.
On another object in my app I am capturing the dragEnter event with this
mehtod

privatefunction doDragEnter(event : DragEvent) : void {

 var ds:Array = event.dragSource.dataForFormat(treeItems) as
Array;

 Alert.show (ObjectUtil.toString(ds));return;

 }

Now, if I drag a leaf over this object, the Alert above displays
(Array)#0
[0]

as in it does NOT display the XML frag represented by the leaf.

If I drag a branch, item with the folder icon, the Alert above displays
(Array)#0
[0]node label=.../node

it displays the XML frag for the branch and all its children?

WT?

--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?




--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

 



Re: [flexcoders] Dynamic Instance of Class Data Typing

2007-03-14 Thread Troy Gilbert

So, the Flex compiler *does* do dead stripping when linking? I didn't think
it actually did this (which I assumed was the root cause for the size of my
Flex apps vs. ActionScript apps ... usually a meg difference for bare bones
stuff). I've never seen that mentioned in the docs and just assumed there
was no dead-stripping...

For example, if I created an app that used no UI elements (or minimal UI
elements) then it should be pretty small, huh?

Troy.


On 3/13/07, Gordon Smith [EMAIL PROTECTED] wrote:


   A Flex Application is a SWF file that has only the ActionScript classes
that the MXML compiler thinks your application needs. For example, iyour app
just uses mx:Application, mx:TextInput, and mx:Button, the SWF isn't
going to have the DataGrid or CreditCardValidator class linked into it.

If all you do is call instantiateClass(MyComponent) the MXML compiler
doesn't know it needs to link in the MyComponent class. But if you
actually use MyComponent as a type somewhere, it will. For example, you
could simply create a var with that type, as in

import MyComponent;

private static var foo:MyComponent;

Simply importing the class is not enough; you must use it as a type
somewhere.

- Gordon

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Kevin
*Sent:* Tuesday, March 13, 2007 4:34 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Dynamic Instance of Class  Data Typing

 what do you mean 'linked into your app'?  the rest I understood.  thanks!


- Kevin


 On Mar 13, 2007, at 7:19 PM, Gordon Smith wrote:


Yes, assuming that myFavoriteClass is actually linked into your app. You
can use the getDefinitionByName() to look up a class by name, and the
'new' operator to create an instance of it. I think the code would be

import flash.utils.getDefinitionByName;

function instantiateClass(className:String):Object
{
var myClass:Class = Class(getDefinitionByName(className));
return new myClass();
}

- Gordon

 --
*From:* flexcoders@yahoogroups.com [mailto:flexcoders flexcoders@
yahoogroups.com] *On Behalf Of *Kevin
*Sent:* Tuesday, March 13, 2007 2:44 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Dynamic Instance of Class  Data Typing

 Is there a way to create new instances of a class dynamically at
runtime:

var someClass = myFavoriteClass;

function instantiateClass(someClass){
var event: [someClass] = new [someClass] ();
}

Thanks,

Kevin


 


[flexcoders] autocomplete help

2007-03-14 Thread mthielman11
Hey guys.  We continue to have a ton of trouble trying to implement
autocomplete with a changing data provider.  Our data rpovider will be
coming from the db as the user types.  So far using the adobe one and
also the one here:

http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/

we can only get it to basically work as a filter for an existing
dataset in a grid.  There MUST be a way to create a googlesuggest type
autocomplete with flex.  Anyone have any luck??



Re: [flexcoders] FlexBuilder and Subclipse

2007-03-14 Thread Sean Sell
I gave up on trying to add subclipse to FlexBuilder (non-plugin) and installed 
Eclipse version 3.2, then the FlexBuilder Plug-in finally Subclipse. Now all is 
both hunky and dory.

- Original Message 
From: Troy Gilbert [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, March 14, 2007 12:02:26 PM
Subject: Re: [flexcoders] FlexBuilder and Subclipse









  



You may need to use an earlier version of the Subclipse plug-in for 
FlexBuilder as I believe FlexBuilder is based on an older version of Eclipse 
(compared to the latest and greatest available from 
eclipse.org).

Troy.



On 3/14/07, Carlos Rovira carlos.rovira@ gmail.com wrote:













  



I recommend you to switch to subversive.. .it's a plugin that works 
quite well :)


13 Mar 2007 13:46:57 -0700, Brian Holmes 
[EMAIL PROTECTED] com
:












  












Hard drive crashed this morning. Just reinstalled
FlexBuilder and now I can't get Subclipse to install. Says I need


 


 Subclipse (1.2.0) requires plug-in
org.eclipse. core.resources (3.2.0), or later version.


 


 


The org.eclipse updater says it's all up to date. And doesn't
need anything else installed. 


Anybody know where I took a wrong turn? Or have a similar
experience?


 








***

The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.


***









  



















-- 
::| Carlos Rovira
::| http://www.carlosro vira.com

::| http://www.madeinfl ex.com



  




















  







!--

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

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

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

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








 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.yahoo.com/

RE: [flexcoders] FlexBuilder and Subclipse HELP!

2007-03-14 Thread Brian Holmes
Xia,

 I'm using 

eclipse 3.1.2

flexbuilder 2.0.155577

 

where can I get a copy of Subversive 1.2. I tried to locate the latest
1.2 archived site and download it but it says the zip does not contains
an update site 

and I cant' load it. Do I have to manually drop the files into the fb
plugins directory?

 

Thanks,

b..

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Xia Zhao
Sent: Wednesday, March 14, 2007 10:09 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FlexBuilder and Subclipse HELP!

 

What versions of Eclipse and Flex are you using?

If you're trying to install Subversive 1.2, I do believe you need
Eclispe 3.2 version.

I'm using Flex2.0.1, Eclipse 3.2 and Subversive 1.2 in my development
and they're working ok.

 

Xia

 

On 14/03/07, Brian Holmes [EMAIL PROTECTED] wrote: 

I tried subversive and it doesn't work quite well. I get similar errors
telling me I need to  more resources from 

Eclipse like  (requires plug-in org.eclipse.core.resources (3.2.0), or
later version. ) 

 

I've uninstalled and reinstalled Flex Builder about 10 ten times now and
have tried just about everything I can think of. 

 

If anybody knows anything about this I'd greatly appreciate it

 

b... 

 



From: [EMAIL PROTECTED] ups.com http://ups.com/
[mailto:[EMAIL PROTECTED] ups.com http://ups.com/ ] On Behalf Of
Carlos Rovira
Sent: Wednesday, March 14, 2007 3:30 AM
To: flexcoders@yahoogroups.com http://ups.com/ 
Subject: Re: [flexcoders] FlexBuilder and Subclipse 

 

I recommend you to switch to subversive...it's a plugin that works quite
well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] :

Hard drive crashed this morning. Just reinstalled FlexBuilder and now I
can't get Subclipse to install. Says I need 

 

 Subclipse (1.2.0) requires plug-in org.eclipse.core.resources
(3.2.0), or later version. 

 

 

The org.eclipse updater says it's all up to date. And doesn't need
anything else installed. 

Anybody know where I took a wrong turn? Or have a similar experience?

 



***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information. 
*** 




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



***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information. 
*** 


 



***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


[flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread tonyx_788
are you saying there is no way to start a filter search after the b
tag? without typing it first


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

 --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
 
  Hi all i'm looking for a regular expression for mi app
  
  im using CDATA inside my XML so when i try to make a filter search it
  wont work cause of the B or i before the text
  
  lets say in my xml i have something like this:
  name![CDATA[bAcademia./b]]/name
  it dont work if i type academia but
  if i put bAcademia it works
  
  this is what im using to make the filter search
  
   private function filter(item:Object):Boolean
  {
  return item.name.match(new RegExp(^ + inputText.text,i\*));
  }
  
 
 ^ searches from the beginning of the string, so of course it will
 not find it since b is the beginning of your string.
 
  Thanks
 





RE: [flexcoders] FlexBuilder and Subclipse

2007-03-14 Thread Brian Holmes
 I guess that's my next move. FB just ain't keeping itself up2date. And
who's to say when my computer will crash again.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Sell
Sent: Wednesday, March 14, 2007 10:18 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FlexBuilder and Subclipse

 

I gave up on trying to add subclipse to FlexBuilder (non-plugin) and
installed Eclipse version 3.2, then the FlexBuilder Plug-in finally
Subclipse. Now all is both hunky and dory.

- Original Message 
From: Troy Gilbert [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, March 14, 2007 12:02:26 PM
Subject: Re: [flexcoders] FlexBuilder and Subclipse

You may need to use an earlier version of the Subclipse plug-in for
FlexBuilder as I believe FlexBuilder is based on an older version of
Eclipse (compared to the latest and greatest available from
eclipse.org).

Troy.



On 3/14/07, Carlos Rovira carlos.rovira@ gmail.com
mailto:[EMAIL PROTECTED]  wrote: 

I recommend you to switch to subversive.. .it's a plugin that works
quite well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes  [EMAIL PROTECTED] com
mailto:[EMAIL PROTECTED] :

Hard drive crashed this morning. Just reinstalled FlexBuilder and now I
can't get Subclipse to install. Says I need

 

 Subclipse (1.2.0) requires plug-in org.eclipse. core.resources
(3.2.0), or later version.

 

 

The org.eclipse updater says it's all up to date. And doesn't need
anything else installed. 

Anybody know where I took a wrong turn? Or have a similar experience?

 

***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information. 
*** 




-- 
::| Carlos Rovira
::| http://www.carlosro vira.com http://www.carlosrovira.com 
::| http://www.madeinfl ex.com http://www.madeinflex.com  

 

 

 



No need to miss a message. Get email on-the-go
http://us.rd.yahoo.com/evt=43910/*http:/mobile.yahoo.com/mail%0d%0a 
with Yahoo! Mail for Mobile. Get started.
http://us.rd.yahoo.com/evt=43910/*http:/mobile.yahoo.com/mail%0d%0a
 



***
The information in this e-mail is confidential and intended solely for the 
individual or entity to whom it is addressed.  If you have received this e-mail 
in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.
***


[flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread Paul DeCoursey
no, not at all what I am saying. You can try this...

new RegExp(^(.*)? + inputText.text,i\*)

This should ignore any html tag at the beginning if it exists. I am
not an expert at regular expressions so this might fail some test cases.

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

 are you saying there is no way to start a filter search after the b
 tag? without typing it first
 
 
 --- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
 
  --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
  
   Hi all i'm looking for a regular expression for mi app
   
   im using CDATA inside my XML so when i try to make a filter
search it
   wont work cause of the B or i before the text
   
   lets say in my xml i have something like this:
   name![CDATA[bAcademia./b]]/name
   it dont work if i type academia but
   if i put bAcademia it works
   
   this is what im using to make the filter search
   
private function filter(item:Object):Boolean
 {
 return item.name.match(new RegExp(^ + inputText.text,i\*));
 }
   
  
  ^ searches from the beginning of the string, so of course it will
  not find it since b is the beginning of your string.
  
   Thanks
  
 





[flexcoders] standalone exe

2007-03-14 Thread Chad Gray
Can flex apps be run as a standalone flash executables?
 
This way no browser is needed. 

Re: [flexcoders] standalone exe

2007-03-14 Thread slangeberg

Double-click your .SWF.
- Select 'File' menu
- Select 'Create Projector...'

-Scott

On 14 Mar 2007 09:36:03 -0700, Chad Gray [EMAIL PROTECTED] wrote:


Can flex apps be run as a standalone flash executables?



This way no browser is needed.

 





--

: : ) Scott


Re: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread {reduxdj}
Troy:

I don't know if that's good news or bad news? ;)  I checked the 
girlfriends mac and both have the same issue, which
player are you using btw?  I have 9.028

Thanks,
Patrick



Troy Gilbert wrote:

 Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro) 
 Player (latest Flash 9).

 Troy.


 On 13 Mar 2007 21:57:22 -0700, *{reduxdj}* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi There,

 I was working on a project and didn't even take the time to check
 it out
 in the yet mac until I needed to a little work on it on my macbook
 and I
 discovered a bug in the mac flashplayer. I made a (yass) yet another
 slide show... and this time I used Alex Uhlman's API for AS3.0. I
 don't know why a flash movie would behave differently on the mac
 from a
 pc. On the pc, it plays perfectly while on the mac it fades to black
 right after it loads.

 http://photos.me.com/_testSlide/_testSlide/mebucket.html
 http://photos.me.com/_testSlide/_testSlide/mebucket.html

 I can't isolate the issue... I posted a bug on the Adobe wesbite but
 something tells me that this might be a faster way to get a little
 insight faster.

 Has anybody else had any issues with mac flashplayer working
 differently?

 Thanks,
 Patrick


  




Re: [flexcoders] FlexBuilder and Subclipse HELP!

2007-03-14 Thread Xia Zhao

Hello Brian,

If you want to use Subversion 1.2, you have to update your Eclipse to
version 3.2.
In Eclipse 3.2, you go to HelpSoftware UpdatesFind and Install
Then you choose search for new features to install
Click New Remote Site, enter http://subclipse.tigris.org/update_1.2.x for
Subversion1.2.

This is a link you may find useful:
http://subclipse.tigris.org/install.html

Xia
On 14/03/07, Brian Holmes [EMAIL PROTECTED] wrote:


   Xia,

 I'm using

eclipse 3.1.2

flexbuilder 2.0.155577



where can I get a copy of Subversive 1.2. I tried to locate the latest 
1.2archived site and download it but it says the zip does not contains an
update site

and I cant' load it. Do I have to manually drop the files into the fb
plugins directory?



Thanks,

b..


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Xia Zhao
*Sent:* Wednesday, March 14, 2007 10:09 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] FlexBuilder and Subclipse HELP!



What versions of Eclipse and Flex are you using?

If you're trying to install Subversive 1.2, I do believe you need Eclispe
3.2 version.

I'm using Flex2.0.1, Eclipse 3.2 and Subversive 1.2 in my development and
they're working ok.



Xia



On 14/03/07, *Brian Holmes* [EMAIL PROTECTED] wrote:

I tried subversive and it doesn't work quite well. I get similar errors
telling me I need to  more resources from

Eclipse like  (requires plug-in org.eclipse.core.resources (3.2.0), or
later version. )



I've uninstalled and reinstalled Flex Builder about 10 ten times now and
have tried just about everything I can think of.



If anybody knows anything about this I'd greatly appreciate it



b…


 --

*From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] *On
Behalf Of *Carlos Rovira
*Sent:* Wednesday, March 14, 2007 3:30 AM
*To: [EMAIL PROTECTED]
*Subject:* Re: [flexcoders] FlexBuilder and Subclipse



I recommend you to switch to subversive...it's a plugin that works quite
well :)

13 Mar 2007 13:46:57 -0700, Brian Holmes  [EMAIL PROTECTED] :

Hard drive crashed this morning. Just reinstalled FlexBuilder and now I
can't get Subclipse to install. Says I need



 Subclipse (1.2.0) requires plug-in org.eclipse.core.resources (3.2.0),
or later version.





The org.eclipse updater says it's all up to date. And doesn't need
anything else installed.

Anybody know where I took a wrong turn? Or have a similar experience?


 --

***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***




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

***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***


  --
***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail delete this e-mail
and refrain from any disclosure or action based on the information.
***





Re: [flexcoders] Form Handling?

2007-03-14 Thread Kevin

that's what I am after, I'll just have to build my own class for it.

I am hoping Adobe's goal may be to eventually expand the form tag  
functionality.  At this point, it seems like it doesn't really do  
much that can't be accomplished easily with out it.  Form handling  
functions would be much more useful to me that the form layout  
functions.


thanks for the response.

- Kevin


On Mar 14, 2007, at 10:54 AM, Brian Dunphy wrote:


Not a native feature built in to Flex I don't think, however one way
to accomplish this would be to loop through each of the children of
the Form (referenced by id), and then loop through each of the
children of the that child, see if they are of type TextInput,
TextArea, ComboBox, CheckBox, RadioButton, etc -- and then store the
id/value of that child in an ArrayCollection for sending later.

Does that sound like what you're after?

Brian

On 3/14/07, Kevin [EMAIL PROTECTED] wrote:






 When handling form submission. Is there a way to grab all the fields
 wrapped in a specific Form tag and send them as an object to a  
function much

 like a GET or POST works in HTML.

 a form example:

 mx:Form id=userForm
 mx:FormItem label=Login ID required=true 
 mx:TextInput id=username width=100 restrict=^ /
 /mx:FormItem
 mx:FormItem label=User Name required=true
 mx:TextInput id=firstname width=75
 mx:TextInput id=lastname width=75 /
 /mx:FormItem
 /mx:Form

 mx:ControlBar
 mx:ButtonBar id=adduser dataProvider={buttonlist}
 itemClick=clickHandler(event);/
 /mx:ControlBar

 can I grab all the values of the submission in as userForm.values  
(or

 something like that) OR do I have to get each one individually as

 username.text
 firstname.text
 lastname.text

 ...blah, blah...


 thanks, Kevin





--
Brian Dunphy






[flexcoders] Re: Getting selectedItems to properly *select*...

2007-03-14 Thread qnotemedia
Got it!

It appears that selectedItems is dependent on the data being 
*absolutely identical* to the dataProvider. And while I thought my data 
was identical, it really wasn't. In the debugger, if you look at a 
variable, its always: Array (@123456). What I found was that although 
the data was definitely the same, that number was not.

To fix the problem, I centralized all data to go through one data 
manager, whereas before I was reinitializing a different data component 
in each component.

So now, I'm basically calling parentApplication.dataManager.someFunction
() from all of my components. This isn't good quite frankly, but by 
doing so, the @123456 is always the same.

If anyone else can think of a better way, I'm all ears... 



[flexcoders] Re: How to resize the flex1.5 screen according to the screen resolution

2007-03-14 Thread Doug Lowder
Maybe I'm missing a subtle detail, but it sounds like you should be 
able to set the height properties of the containers to accomplish 
this.  Set the top and bottom HBox heights to a fixed value, and the 
ViewStack's height to 100%.  Give that a try and post back if you 
still have problems.

HTH,
Doug

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

 Can somebody Please help me on this issue?
 
 Thanks and Regards,
 Yasovardhan.
 --- In flexcoders@yahoogroups.com, Yasovardhan Babu 
 yasovardhanbabu@ wrote:
 
  Hi All,
  
  I have a Flex1.5 screen in which I have one HBox in top and 
 another 
  HBox in Bottom. In between I have a View stack, which contains 
two 
  VBoxes.
  My requirement is that the screen ( with viewstack) should resize 
  according to the different screen resolutions. That is,
  The vertical scrollbar should be starting from the end of first 
 HBox
  (in top) to the beginning of the second HBox(in the bottom), 
  irrespective of screen resolution. The vertical scroll bar should 
  disappear if the in between screen has enough height.
  How to do this? Please help me as this needs to be addressed 
 urgently.
  
  Thanks and Regards,
  Yasovardhan.
 





Re: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread Kevin
one first load, mine stays on the picture a while and then goes to  
black after about 15 sec and then the words Twirly Face appear.


on reload, mine goes to black almost immediately and then word appear  
faster.  If I clear my cache I then get 15 sec.


My thinking is that the bug is happening once some element is fully  
loaded in the cache right before the code which creates the Twirly  
Face text to appear.  Without seeing the code it would be hard to  
know, but I would try to isolate which function is causing black out  
and post that.   What is being loaded before Twirly Face appears??   
What is being called to load the Twirly Face text.


- Kevin


On Mar 14, 2007, at 12:36 PM, {reduxdj} wrote:


Troy:

I don't know if that's good news or bad news? ;) I checked the
girlfriends mac and both have the same issue, which
player are you using btw? I have 9.028

Thanks,
Patrick

Troy Gilbert wrote:

 Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro)
 Player (latest Flash 9).

 Troy.


 On 13 Mar 2007 21:57:22 -0700, *{reduxdj}* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi There,

 I was working on a project and didn't even take the time to check
 it out
 in the yet mac until I needed to a little work on it on my macbook
 and I
 discovered a bug in the mac flashplayer. I made a (yass) yet another
 slide show... and this time I used Alex Uhlman's API for AS3.0. I
 don't know why a flash movie would behave differently on the mac
 from a
 pc. On the pc, it plays perfectly while on the mac it fades to black
 right after it loads.

 http://photos.me.com/_testSlide/_testSlide/mebucket.html
 http://photos.me.com/_testSlide/_testSlide/mebucket.html

 I can't isolate the issue... I posted a bug on the Adobe wesbite but
 something tells me that this might be a faster way to get a little
 insight faster.

 Has anybody else had any issues with mac flashplayer working
 differently?

 Thanks,
 Patrick










Re: [flexcoders] standalone exe

2007-03-14 Thread Brendan Meutzner

Would this exe work for cd distribution with use for autoplay, etc...?  And
if so, can those who have experience with Zinc explain why it would be a
better choice at 299 bucks?

Thanks,

Brendan



On 3/14/07, slangeberg [EMAIL PROTECTED] wrote:


  Double-click your .SWF.
- Select 'File' menu
- Select 'Create Projector...'

-Scott

On 14 Mar 2007 09:36:03 -0700, Chad Gray [EMAIL PROTECTED] wrote:

 Can flex apps be run as a standalone flash executables?



 This way no browser is needed.




--

: : ) Scott
 





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


Re: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread Troy Gilbert

Ah, okay... I tried it out under Windows and it did do different stuff. But
its get weirder...

The first time I ran it on the Mac, it loaded up the first image (Twirly
Face), and started dropping the leaves down the screen, but no text was
displayed (just the PAUSE, ME and EDIT buttons), and it just sat there. The
second time I loaded it up on the Mac, it displayed the behavior you were
talking about (it faded to black), but continued to swap through the
different names of the photos.

The first time I ran it on the PC (Windows), it did the same thing as the
Mac: it loaded up the first image and just sat there. As soon as I refreshed
the page, though, it started running the slideshow correctly (I assume) with
fades/slides, etc., and different pictures.

So, not only is the behavior inconsistent between Mac and PC, its
inconsistent between first and second run... perhaps its an image loading
error or similar?

Troy.


On 3/14/07, {reduxdj} [EMAIL PROTECTED] wrote:


  Troy:

I don't know if that's good news or bad news? ;) I checked the
girlfriends mac and both have the same issue, which
player are you using btw? I have 9.028

Thanks,
Patrick

Troy Gilbert wrote:

 Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro)
 Player (latest Flash 9).

 Troy.


 On 13 Mar 2007 21:57:22 -0700, *{reduxdj}* [EMAIL 
PROTECTED]dj%40reduxdj.org
 mailto:[EMAIL PROTECTED] dj%40reduxdj.org wrote:

 Hi There,

 I was working on a project and didn't even take the time to check
 it out
 in the yet mac until I needed to a little work on it on my macbook
 and I
 discovered a bug in the mac flashplayer. I made a (yass) yet another
 slide show... and this time I used Alex Uhlman's API for AS3.0. I
 don't know why a flash movie would behave differently on the mac
 from a
 pc. On the pc, it plays perfectly while on the mac it fades to black
 right after it loads.

 http://photos.me.com/_testSlide/_testSlide/mebucket.html
 http://photos.me.com/_testSlide/_testSlide/mebucket.html

 I can't isolate the issue... I posted a bug on the Adobe wesbite but
 something tells me that this might be a faster way to get a little
 insight faster.

 Has anybody else had any issues with mac flashplayer working
 differently?

 Thanks,
 Patrick




 



RE: [flexcoders] standalone exe

2007-03-14 Thread Chad Gray
Hey. that is cool. It works.  I never thought of that.
 
Anyway to get a linux standalone player?  I wonder if the mac version will run 
on linux.  I will try it.

Thanks for the help!
Chad
 
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
slangeberg
Sent: Wednesday, March 14, 2007 12:40 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] standalone exe
 
Double-click your .SWF. 
- Select 'File' menu
- Select 'Create Projector...'

-Scott
On 14 Mar 2007 09:36:03 -0700, Chad Gray [EMAIL PROTECTED] wrote:
Can flex apps be run as a standalone flash executables?
 
This way no browser is needed. 


-- 

: : ) Scott  

[flexcoders] Re: Caching problem

2007-03-14 Thread Alex
Very interesting :) I'll remember that in future occasions.

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

 That'll work with any cache-busting you need to do. I use it in 
testing, to
 un-cache the swf file itself, when viewed on server. Ie: send rand 
var in
 url and if it's present, pass it in to swf call (swfobject + php, 
here):
 
 var so = new SWFObject( ProductBuilder.swf?rand=?=$rand?,
 product_builder, 100%, 100%, 9, #FF);
 
 Saves me the 'pain' of going through some menu to clear browser's 
cache, not
 to mention losing your browser's cache, in order to update one 
element!
 
 -Scott
 
 On 14 Mar 2007 08:44:42 -0700, Alex [EMAIL PROTECTED] wrote:
 
Wow! O_O' Works flawlessly!! :-D
 
  Many thanks for that trick dude!
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  slangeberg slangeberg@ wrote:
  
   With Flash, I've learned to do the lo-tech method of attaching
  random
   numbers to the path. Simple, but it's been effective!:
  
   url:String = resource + ?rand= + Math.floor(Math.random() *
  10);
  
   -Scott
  
   On 14 Mar 2007 08:07:52 -0700, Alex uspsyko@ wrote:
   
Hi there!
   
I have an xml file that needs to be loaded eventually using a
URLRequest. I'm trying to avoid loading a cached file using 
these
headers:
   
urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
Control, no-cache, no-store, max-age=0, must-revalidate));
urlRequest.requestHeaders.push(new URLRequestHeader
(Expires, Fri, 30 Oct 1998 14:19:41 GMT));
urlRequest.requestHeaders.push(new URLRequestHeader
(Pragma, no-cache));
   
It works ok in firefox and IE6.0.2900, but I still obtain a
  cached file
in IE6.0.3790+ and IE7.
   
Do I need to add any more headers? or what's the problem here?
   
Thanks in advance
   
   
   
  
  
  
   --
  
   : : ) Scott
  
 
   
 
 
 
 
 -- 
 
 : : ) Scott





Fw: [flexcoders] How to bind a SharedObject to a dataprovider

2007-03-14 Thread Stanisław Fiedor
Ok so here is the code:

[Bindable]
   private var _amount : Object=new Object();
   
   public function get amount():Object   
   {
return _amount;
   }
   public function set amount( o:Object ):void
   {
_amount = o;
   }


//and in the onSync:

private function onSOSync (args:SyncEvent):void{ 

amount=myRemote_so.data;
dg.dataProvider=amount;
}

I guess there are lots of mistakes in this code;/

  - Original Message - 
  From: Clint Tredway 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, March 14, 2007 3:04 PM
  Subject: Re: [flexcoders] How to bind a SharedObject to a dataprovider


  without seeing your code, I would say you need to convert the SO into an 
ArrayCollection then bind that to your grid. But again, I say this without 
seeing your code.



  On 3/14/07, Stanisław Fiedor [EMAIL PROTECTED] wrote: 

Hi!

On the server side I've got a SO object which is a userlist - its 
properties are Objects and tey look like (user_name, 
({name:lala,id:3}))
Now I want to bind the data from the SO to my datagrid.. unfortunatelly 
after I do this - the data doesn't appear in the datagrid..
I've read that I need to prepare a wrapper - but with that one I've done it 
doesn't work - don't know why..
If somebody could show me a working example I would be very thankful ;)

BR
stf




  -- 
  http://indeegrumpee.spaces.live.com/ 

   

[flexcoders] Bug in Flex Charts?

2007-03-14 Thread tyriker
I have created an app which creates a runtime error about 90% of the
time when it loads up. The app contains 4 embedded Flex 2 apps (using
SWFLoader). If I reduce the number of embedded apps to 2, the runtime
error occurs about 33% of the time. If I decrease the number of
embedded apps to 1, the runtime error never occurs. The error begins
as follows:

TypeError: Error #1034: Type Coercion failed: cannot convert
mx.core::[EMAIL PROTECTED] to mx.core.IFactory.
at mx.charts.series::BarSeries/get
legendData()[C:\dev\flex_201_gmc\sdk\frameworks\mx\charts\series\BarSeries.as:178]


The error message indicates the file and line where the error occurs,
but this is an Adobe component, not something I wrote (and I can't see
the source of the component). All that my child apps are doing are
switching states to display a chart, and then adding bars onto the
chart (pretty straight foward). The parent app never touches the
charts, as it'a all handled within the child apps. The child apps also
run fine as stand alone applications.

Anyone have any ideas about this? Is this something to report to Adobe?

Frustrated...



[flexcoders] Missing Widget? Where is the Select List thingy?

2007-03-14 Thread missgiggygirl
Does Flex Builder 2 have built in a Select List widget, that allows
you to move items horizontally between two boxes?  See this image: 

http://docs.sun.com/source/817-5677/images/proj_add_acl.gif

And if it doesn't have this common widget built in (which I do not
think it does, since I just looked and double-checked) does anyone
have any code examples one they made or used?

Thanks,
Ann, The Original Giggle Girl



RE: [flexcoders] standalone exe

2007-03-14 Thread Merrill, Jason
Autorun on Windows works with any .exe if the user has autorun enabled.
 
Zinc provides a lot of added functionality to do things like change the
registry, create files locally, create installers, screensavers, etc,
but I don't know how easily you could use a Flex-created .swf with Zinc,
or if you even can.  
 

Jason Merrill 
Bank of America  
Global Technology  Operations 
Learning  Leadership Development 
eTools  Multimedia Team 


 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
Sent: Wednesday, March 14, 2007 1:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] standalone exe



Would this exe work for cd distribution with use for autoplay,
etc...?  And if so, can those who have experience with Zinc explain why
it would be a better choice at 299 bucks?

Thanks,

Brendan




On 3/14/07, slangeberg [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

Double-click your .SWF. 
- Select 'File' menu
- Select 'Create Projector...'

-Scott


On 14 Mar 2007 09:36:03 -0700, Chad Gray
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote: 



Can flex apps be run as a standalone flash
executables?

 

This way no browser is needed. 








-- 

: : ) Scott 








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



 



Re: [flexcoders] standalone exe

2007-03-14 Thread Troy Gilbert

Zinc provides a more advanced wrapped EXE. They provide a library of API
that extends Flash's reach beyond the sandbox to give you OS-specific
access. They allow you to run full-screen in a native resolution of your
choice (good for games). You can set the icon for the executable and
completely disable the right-click context menu. It will also package things
as an installer. It also has some nice features related to displaying your
Flash app transparently on the desktop (similar to doing wmode=transparent
when embedding on a webpage) -- a very cool technique that I'm just itching
to leverage in my next desktop app.

With Adobe's projector, you basically get the Flash Player Stand-alone app
with your SWF appended to the end of it, no more options or features.

I think Zinc is worth it, if you're distributing the app to any size
audience where a professional look and feel is desirable (like an auto-play
on a CD). If you just need to wrap something as an exe to make it trivial
for your grandma to pop it her computer and run it without worrying about
downloading/installing anything, then Adobe's projector is fine.

Troy.


On 14 Mar 2007 10:02:27 -0700, Brendan Meutzner [EMAIL PROTECTED] wrote:


  Would this exe work for cd distribution with use for autoplay, etc...?
And if so, can those who have experience with Zinc explain why it would be a
better choice at 299 bucks?

Thanks,

Brendan



On 3/14/07, slangeberg [EMAIL PROTECTED] wrote:

   Double-click your .SWF.
 - Select 'File' menu
 - Select 'Create Projector...'

 -Scott

 On 14 Mar 2007 09:36:03 -0700, Chad Gray [EMAIL PROTECTED] wrote:
 
  Can flex apps be run as a standalone flash executables?
 
 
 
  This way no browser is needed.
 
 


 --

 : : ) Scott




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



RE: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread {reduxDJ}
Troy:

 

I'm accounting for image errors, and there's a little preloading action, so
that might cause a bit of delay, this the animation won't begin until xx
number of images are loaded (should make a simple preloader), to prevent
tweening running ahead of the images.  If I stop the animation all together
from starting the fade out to black on the mac doesn't happen.  I'm going to
comment out all of the methods and try to back track.  

 

My Logical deductions are:

 

1.   Maybe flashplayer on the mac is buggy

2.   My code is buggy

3.   The animation package is buggy

4.   A combination of all or some of the above

 

Quite a list to go through, heh?

 

Thanks,
Patrick

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Wednesday, March 14, 2007 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mac Flashplayer bug discovered (behaves
differently than the PC)

 

Ah, okay... I tried it out under Windows and it did do different stuff. But
its get weirder...

The first time I ran it on the Mac, it loaded up the first image (Twirly
Face), and started dropping the leaves down the screen, but no text was
displayed (just the PAUSE, ME and EDIT buttons), and it just sat there. The
second time I loaded it up on the Mac, it displayed the behavior you were
talking about (it faded to black), but continued to swap through the
different names of the photos. 

The first time I ran it on the PC (Windows), it did the same thing as the
Mac: it loaded up the first image and just sat there. As soon as I refreshed
the page, though, it started running the slideshow correctly (I assume) with
fades/slides, etc., and different pictures. 

So, not only is the behavior inconsistent between Mac and PC, its
inconsistent between first and second run... perhaps its an image loading
error or similar?

Troy.



On 3/14/07, {reduxdj} [EMAIL PROTECTED] wrote:

Troy:

I don't know if that's good news or bad news? ;) I checked the 
girlfriends mac and both have the same issue, which
player are you using btw? I have 9.028

Thanks,
Patrick

Troy Gilbert wrote:

 Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro) 
 Player (latest Flash 9).

 Troy.


 On 13 Mar 2007 21:57:22 -0700, *{reduxdj}* [EMAIL PROTECTED]
mailto:dj%40reduxdj.org  
 mailto:[EMAIL PROTECTED] mailto:dj%40reduxdj.org  wrote:

 Hi There,

 I was working on a project and didn't even take the time to check
 it out
 in the yet mac until I needed to a little work on it on my macbook
 and I
 discovered a bug in the mac flashplayer. I made a (yass) yet another
 slide show... and this time I used Alex Uhlman's API for AS3.0. I
 don't know why a flash movie would behave differently on the mac
 from a
 pc. On the pc, it plays perfectly while on the mac it fades to black
 right after it loads.

 http://photos. http://photos.me.com/_testSlide/_testSlide/mebucket.html
me.com/_testSlide/_testSlide/mebucket.html
 http://photos. http://photos.me.com/_testSlide/_testSlide/mebucket.html
me.com/_testSlide/_testSlide/mebucket.html

 I can't isolate the issue... I posted a bug on the Adobe wesbite but
 something tells me that this might be a faster way to get a little
 insight faster.

 Has anybody else had any issues with mac flashplayer working
 differently?

 Thanks,
 Patrick


 

 

 



[flexcoders] DataGrid, CurrencyValidator, and e4x

2007-03-14 Thread Lex
Hi,

Any examples anywhere, on adding a CurrencyValidator to a DataGridColumn 
that contains e4x data?

Regards.
Alex

[flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread tonyx_788
Thank you very much, im new in regexp is there any web or tutorial to
learn more about it?

THX

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

 no, not at all what I am saying. You can try this...
 
 new RegExp(^(.*)? + inputText.text,i\*)
 
 This should ignore any html tag at the beginning if it exists. I am
 not an expert at regular expressions so this might fail some test cases.
 
 --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
 
  are you saying there is no way to start a filter search after the b
  tag? without typing it first
  
  
  --- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
  
   --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
   
Hi all i'm looking for a regular expression for mi app

im using CDATA inside my XML so when i try to make a filter
 search it
wont work cause of the B or i before the text

lets say in my xml i have something like this:
name![CDATA[bAcademia./b]]/name
it dont work if i type academia but
if i put bAcademia it works

this is what im using to make the filter search

 private function filter(item:Object):Boolean
{
return item.name.match(new RegExp(^ + inputText.text,i\*));
}

   
   ^ searches from the beginning of the string, so of course it will
   not find it since b is the beginning of your string.
   
Thanks
   
  
 





Re: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread Kevin
is there a way you can published the source?  That might help in  
group debugging.


Regardless I think the problem lies somewhere once the animation begins.

- Kevin


On Mar 14, 2007, at 1:18 PM, {reduxDJ} wrote:



Troy:



I’m accounting for image errors, and there’s a little preloading  
action, so that might cause a bit of delay, this the animation  
won’t begin until xx number of images are loaded (should make a  
simple preloader), to prevent tweening running ahead of the  
images.  If I stop the animation all together from starting the  
fade out to black on the mac doesn’t happen.  I’m going to comment  
out all of the methods and try to back track.




My Logical deductions are:



1.   Maybe flashplayer on the mac is buggy

2.   My code is buggy

3.   The animation package is buggy

4.   A combination of all or some of the above



Quite a list to go through, heh?



Thanks,
Patrick

From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert

Sent: Wednesday, March 14, 2007 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mac Flashplayer bug discovered (behaves  
differently than the PC)




Ah, okay... I tried it out under Windows and it did do different  
stuff. But its get weirder...


The first time I ran it on the Mac, it loaded up the first image  
(Twirly Face), and started dropping the leaves down the screen, but  
no text was displayed (just the PAUSE, ME and EDIT buttons), and it  
just sat there. The second time I loaded it up on the Mac, it  
displayed the behavior you were talking about (it faded to black),  
but continued to swap through the different names of the photos.


The first time I ran it on the PC (Windows), it did the same thing  
as the Mac: it loaded up the first image and just sat there. As  
soon as I refreshed the page, though, it started running the  
slideshow correctly (I assume) with fades/slides, etc., and  
different pictures.


So, not only is the behavior inconsistent between Mac and PC, its  
inconsistent between first and second run... perhaps its an image  
loading error or similar?


Troy.


On 3/14/07, {reduxdj} [EMAIL PROTECTED] wrote:

Troy:

I don't know if that's good news or bad news? ;) I checked the
girlfriends mac and both have the same issue, which
player are you using btw? I have 9.028

Thanks,
Patrick

Troy Gilbert wrote:

 Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro)
 Player (latest Flash 9).

 Troy.


 On 13 Mar 2007 21:57:22 -0700, *{reduxdj}* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Hi There,

 I was working on a project and didn't even take the time to check
 it out
 in the yet mac until I needed to a little work on it on my macbook
 and I
 discovered a bug in the mac flashplayer. I made a (yass) yet another
 slide show... and this time I used Alex Uhlman's API for AS3.0. I
 don't know why a flash movie would behave differently on the mac
 from a
 pc. On the pc, it plays perfectly while on the mac it fades to black
 right after it loads.

 http://photos.me.com/_testSlide/_testSlide/mebucket.html
 http://photos.me.com/_testSlide/_testSlide/mebucket.html

 I can't isolate the issue... I posted a bug on the Adobe wesbite but
 something tells me that this might be a faster way to get a little
 insight faster.

 Has anybody else had any issues with mac flashplayer working
 differently?

 Thanks,
 Patrick













Re: [flexcoders] Re: Fluid Hiring Flash / Flex Engineer

2007-03-14 Thread Andrew Guldman
Good point, Paul. It would be easier if the applicant were to work in 
Fluid's office in San Francisco, but exceptional candidates could work 
remotely.

Best,
Andrew

Paul DeCoursey wrote:
 
 
 I think if people are going to be posting job opportunities they
 should be clear about location or if remote is ok. Not everybody is
 an the bay area, some of us live in the real world ;)
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, 
 Andrew Guldman [EMAIL PROTECTED] wrote:
  
   Fluid http://www.fluid.com http://www.fluid.com designs and 
 develops award-winning
   interactive digital retail experiences. Our clients include Reebok,
   Timberland, JanSport, Design Within Reach, and The North Face.
  
   We are looking for skilled, experienced, and passionate engineers to
   work on projects built using Flash and Flex. Successful candidates need
   to be able to:
   * Architect complex applications using UML and design patterns.
   * Lead teams of 2-3 engineers.
   * Write superior code, primarily ActionScript.
   * Communicate clearly with team members, partners, and clients.
  
   In addition to Flash and Flex, you would be likely to interact with the
   following technologies: JavaScript, Java, .NET, Apache, IIS, XML,
 Linux,
   Windows, ecommerce platforms, CMS systems, and web traffic analytics
   packages. Experience with any of them would be helpful. Artistic,
   information design, and project management skills are also valued.
  
   Please email your resume, a cover letter, and sample ActionScript code
   to [EMAIL PROTECTED] Thanks for your time.
  
   Best regards,
   --
   Andrew Guldman, Principal Engineer
   Fluid Inc, http://www.fluid.com http://www.fluid.com
   530-582-5143 (voice)
  
 
 

-- 
Andrew Guldman, Principal Engineer
Fluid Inc, http://www.fluid.com
530-582-5143 (voice)


Re: [flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread Lex
This book is a must-own:

http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ref=pd_bbs_sr_1/002-1529781-6061612?ie=UTF8s=booksqid=1173895819sr=8-1

GL!
Alex

  - Original Message - 
  From: tonyx_788 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, March 14, 2007 1:51 PM
  Subject: [flexcoders] Re: Regexp wont work cause of the b labels


  Thank you very much, im new in regexp is there any web or tutorial to
  learn more about it?

  THX

  --- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote:
  
   no, not at all what I am saying. You can try this...
   
   new RegExp(^(.*)? + inputText.text,i\*)
   
   This should ignore any html tag at the beginning if it exists. I am
   not an expert at regular expressions so this might fail some test cases.
   
   --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
   
are you saying there is no way to start a filter search after the b
tag? without typing it first


--- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:

 --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
 
  Hi all i'm looking for a regular expression for mi app
  
  im using CDATA inside my XML so when i try to make a filter
   search it
  wont work cause of the B or i before the text
  
  lets say in my xml i have something like this:
  name![CDATA[bAcademia./b]]/name
  it dont work if i type academia but
  if i put bAcademia it works
  
  this is what im using to make the filter search
  
  private function filter(item:Object):Boolean
  {
  return item.name.match(new RegExp(^ + inputText.text,i\*));
  }
  
 
 ^ searches from the beginning of the string, so of course it will
 not find it since b is the beginning of your string.
 
  Thanks
 

   
  



   

[flexcoders] Binding null values from PHP/Mysql

2007-03-14 Thread Kevin
Has anyone had trouble returning NULL values from AMFPHP/MySQL.

When my database returns NULL for a certain field, it does not bind  
properly in FLEX and the bound field takes on whatever value it had  
previous to the service call.

Example: (Cairngorm)

(3 TextInput fields)
username
firstname
lastname

get result list of users from the server:
assign model.selectedUser = model.curentUserList.getItemAt(0)
(Binding works correctly)

username displays 'test'
firstname  displays 'Test'
lastname  displays 'User'

change assignment to model.selectedUser =  
model.curentUserList.getItemAt(2)
(in this case firstname  lastname = NULL and Binding doesn't work  
right)

username displays 'nextuser'
firstname  displays 'Test' (this is the value from the previous  
selection)
lastname  displays 'User' (this is the value from the previous  
selection)

it seems like if the new value is blank, it doesn't recognize that  
there is a change required in the binding.

Thanks for the help.

- Kevin


Re: [flexcoders] Re: Tree, drag+drop, and XML

2007-03-14 Thread Douglas Knudsen

Yes, Michael nailed it.  I totally forgot that for some reason toString() is
entirely incapable of spitting out XML it seems.  Why won't
ObjectUtil.toString() handle it, eh?  Or is the second param of
ObjectUtil.toString() needed to get at it somehow?

ok, back to finding something else to waste the time awaylol.

DK

On 3/14/07, Troy Gilbert [EMAIL PROTECTED] wrote:


Douglas,

Michael has probably nailed it. As I was getting up to speed with XML I
constantly found myself baffled by my results (as reported by trace
statements) until I realized that I need to always trace xml.toXMLString() to 
get the code I was actually curious about (otherwise, XML objects with
simple content will simply display the content, which is often blank).

Troy.


On 3/14/07, Michael Imhoff [EMAIL PROTECTED] wrote:

Hi Douglas,



 It is carrying the leaf nodes properly; I think the issue revolved
 around how you were trying to display the items.



 public function handleMe(event:DragEvent) : void{

 var ds:Array = event.dragSource.dataForFormat(treeItems)
 as Array;

 for( var i:int = 0; i  ds.length; i++ ){

 trace(XML(ds[i]).toXMLString());

 }

 }



 Hope this helps,

 Michael


  --

 *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]
 *On Behalf Of *Douglas Knudsen
 *Sent:* Wednesday, March 14, 2007 12:11 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: Tree, drag+drop, and XML



 here is example code of what I am seeing.  Why doesn't a leaf carry the
 data in the drag event?

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

 mx:Script
 ![CDATA[
 import mx.events.DragEvent;
 import mx.controls.Alert;
 import mx.core.DragSource;
 import mx.utils.ObjectUtil;

 public function handleMe( event:DragEvent) : void{
 var ds:Array = event.dragSource.dataForFormat(treeItems)
 as Array;
 Alert.show(ObjectUtil.toString(ds));
 }
 ]]
 /mx:Script

 mx:XML id=treeData
 node label=Mail Box
 node label=Inbox
 node label=Marketing/
 node label=Product Management/
 node label=Personal/
 /node
 node label=Outbox
 node label=Professional/
 node label=Personal/
 /node
 node label=Spam/
 node label=Sent/
 /node
 /mx:XML

 mx:Tree id=myTree
 labelField=@label
 showRoot=false
 itemRenderer=renderer.ActivityTaskTree
 dataProvider={treeData}
 dragEnabled=true /



  mx:TextArea text=drop enter here dragEnter=handleMe( event )

  /mx:TextArea

 /mx:Application

  On 3/13/07, *Douglas Knudsen* [EMAIL PROTECTED] wrote:

 I have a Tree, and a dream it seems.  The Tree's dataProvider is XML
 based.  The Tree looks lovely and bares leaves.  I set dragEnabled = true.
 On another object in my app I am capturing the dragEnter event with this
 mehtod

 privatefunction doDragEnter(event : DragEvent) : void {

  var ds:Array = event.dragSource.dataForFormat(treeItems)
 as Array;

  Alert.show (ObjectUtil.toString(ds));return;

  }

 Now, if I drag a leaf over this object, the Alert above displays
 (Array)#0
 [0]

 as in it does NOT display the XML frag represented by the leaf.

 If I drag a branch, item with the folder icon, the Alert above displays
 (Array)#0
 [0]node label=.../node

 it displays the XML frag for the branch and all its children?

 WT?

 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?




 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?








--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Binding null values from PHP/Mysql

2007-03-14 Thread Kevin
I figured out the problem... it has to do with a class from the  
FlexLib called:


flexlib:PromptingTextInput

there seems to be a bug in it when it tries to bind to Null values...  
it doesn't clear out the old value. I will look into it more.


thanks,  kevin





On Mar 14, 2007, at 2:07 PM, Kevin wrote:


Has anyone had trouble returning NULL values from AMFPHP/MySQL.

When my database returns NULL for a certain field, it does not bind
properly in FLEX and the bound field takes on whatever value it had
previous to the service call.

Example: (Cairngorm)

(3 TextInput fields)
username
firstname
lastname

get result list of users from the server:
assign model.selectedUser = model.curentUserList.getItemAt(0)
(Binding works correctly)

username displays 'test'
firstname displays 'Test'
lastname displays 'User'

change assignment to model.selectedUser =
model.curentUserList.getItemAt(2)
(in this case firstname  lastname = NULL and Binding doesn't work
right)

username displays 'nextuser'
firstname displays 'Test' (this is the value from the previous
selection)
lastname displays 'User' (this is the value from the previous
selection)

it seems like if the new value is blank, it doesn't recognize that
there is a change required in the binding.

Thanks for the help.

- Kevin






RE: [flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread Tracy Spratt
I need to use regular expressions once every two years of so and If I
learned it, I would forget by the next time I needed it.

 

I just googled regular expression wizard and found many free programs
that help to build regular expressions.  I picked up a couple and plan
to try them.  When I next need them, in a year or so.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lex
Sent: Wednesday, March 14, 2007 1:14 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Regexp wont work cause of the b labels

 

This book is a must-own:

 

http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/05
96528124/ref=pd_bbs_sr_1/002-1529781-6061612?ie=UTF8s=booksqid=1173895
819sr=8-1
http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0
596528124/ref=pd_bbs_sr_1/002-1529781-6061612?ie=UTF8s=booksqid=117389
5819sr=8-1 

 

GL!

Alex

 

- Original Message - 

From: tonyx_788 mailto:[EMAIL PROTECTED]  

To: flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com  

Sent: Wednesday, March 14, 2007 1:51 PM

Subject: [flexcoders] Re: Regexp wont work cause of the b
labels

 

Thank you very much, im new in regexp is there any web or
tutorial to
learn more about it?

THX

--- In flexcoders@yahoogroups.com
mailto:flexcoders@yahoogroups.com , Paul DeCoursey [EMAIL PROTECTED] 
wrote:

 no, not at all what I am saying. You can try this...
 
 new RegExp(^(.*)? + inputText.text,i\*)
 
 This should ignore any html tag at the beginning if it exists.
I am
 not an expert at regular expressions so this might fail some
test cases.
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , tonyx_788 tonyx_788@ wrote:
 
  are you saying there is no way to start a filter search
after the b
  tag? without typing it first
  
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Paul DeCoursey paul@ wrote:
  
   --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , tonyx_788 tonyx_788@ wrote:
   
Hi all i'm looking for a regular expression for mi app

im using CDATA inside my XML so when i try to make a
filter
 search it
wont work cause of the B or i before the text

lets say in my xml i have something like this:
name![CDATA[bAcademia./b]]/name
it dont work if i type academia but
if i put bAcademia it works

this is what im using to make the filter search

private function filter(item:Object):Boolean
{
return item.name.match(new RegExp(^ +
inputText.text,i\*));
}

   
   ^ searches from the beginning of the string, so of
course it will
   not find it since b is the beginning of your string.
   
Thanks
   
  
 


 



[flexcoders] Flex Training Experiences/Suggestions?

2007-03-14 Thread michael_p_levine
The company I'm working for is preparing to shift it's web development
from ASP.NET to Flex and is interested in bringing in a good Flex
instructor on-site to provide training to a small group of developers.
 The company is located in Chicago, but we're willing to fly someone
in from anywhere in the U.S. and provide accommodations for the week.
If we go with the Adobe courses (are there alternatives?) we would
target the 3-day Flex 2: Developing Rich Client Applications
followed by the 2-day Flex 2: Data and Communications.

I am very interested in hearing other people's experiences with any
type of instructor-lead Flex training courses and any suggestions on
training providers and/or specific instructors.

- What company provided the training?
- How was the instructor?
- How was the training material?
- Any other suggestions or feedback?

My thanks in advance to everyone for the assistance!

Michael Levine




RE: [flexcoders] Mac Flashplayer bug discovered (behaves differently than the PC)

2007-03-14 Thread {reduxDJ}
Kevin:

 

 

Here's the source (I didn't add it to the context menu for some reason)

 

http://photos.me.com/_testSlide/srcview/index.html

 

If I comment out the move instance it doesn't fade to black.   By why the
different results in 

the mac than the pc.

 

 

 

OK, I tried to use an mx effect to replace the animation package and it
produced this result..

 

http://photos.me.com/me.swf

 

Nice effect!  But not what I was going for!

 

 

Thanks for your time,

-Patrick

 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Wednesday, March 14, 2007 9:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mac Flashplayer bug discovered (behaves
differently than the PC)

 

is there a way you can published the source?  That might help in group
debugging.

 

Regardless I think the problem lies somewhere once the animation begins.

 

- Kevin

 

 

On Mar 14, 2007, at 1:18 PM, {reduxDJ} wrote:





 

Troy:

 

I'm accounting for image errors, and there's a little preloading action, so
that might cause a bit of delay, this the animation won't begin until xx
number of images are loaded (should make a simple preloader), to prevent
tweening running ahead of the images.  If I stop the animation all together
from starting the fade out to black on the mac doesn't happen.  I'm going to
comment out all of the methods and try to back track. 

 

My Logical deductions are:

 

1.   Maybe flashplayer on the mac is buggy

2.   My code is buggy

3.   The animation package is buggy

4.   A combination of all or some of the above

 

Quite a list to go through, heh?

 

Thanks,
Patrick

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Wednesday, March 14, 2007 9:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mac Flashplayer bug discovered (behaves
differently than the PC)

 

Ah, okay... I tried it out under Windows and it did do different stuff. But
its get weirder...

The first time I ran it on the Mac, it loaded up the first image (Twirly
Face), and started dropping the leaves down the screen, but no text was
displayed (just the PAUSE, ME and EDIT buttons), and it just sat there. The
second time I loaded it up on the Mac, it displayed the behavior you were
talking about (it faded to black), but continued to swap through the
different names of the photos. 

The first time I ran it on the PC (Windows), it did the same thing as the
Mac: it loaded up the first image and just sat there. As soon as I refreshed
the page, though, it started running the slideshow correctly (I assume) with
fades/slides, etc., and different pictures. 

So, not only is the behavior inconsistent between Mac and PC, its
inconsistent between first and second run... perhaps its an image loading
error or similar?

Troy.




On 3/14/07, {reduxdj}  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Troy:

I don't know if that's good news or bad news? ;) I checked the 
girlfriends mac and both have the same issue, which
player are you using btw? I have 9.028

Thanks,
Patrick

Troy Gilbert wrote:

 Hmm... I don't get a fade out at all on my Mac (Intel MacBookPro) 
 Player (latest Flash 9).

 Troy.


 On 13 Mar 2007 21:57:22 -0700, *{reduxdj}*  mailto:dj%40reduxdj.org
[EMAIL PROTECTED] 
 mailto: mailto:dj%40reduxdj.org [EMAIL PROTECTED] wrote:

 Hi There,

 I was working on a project and didn't even take the time to check
 it out
 in the yet mac until I needed to a little work on it on my macbook
 and I
 discovered a bug in the mac flashplayer. I made a (yass) yet another
 slide show... and this time I used Alex Uhlman's API for AS3.0. I
 don't know why a flash movie would behave differently on the mac
 from a
 pc. On the pc, it plays perfectly while on the mac it fades to black
 right after it loads.

  http://photos.me.com/_testSlide/_testSlide/mebucket.html
http://photos.me.com/_testSlide/_testSlide/mebucket.html
  http://photos.me.com/_testSlide/_testSlide/mebucket.html
http://photos.me.com/_testSlide/_testSlide/mebucket.html

 I can't isolate the issue... I posted a bug on the Adobe wesbite but
 something tells me that this might be a faster way to get a little
 insight faster.

 Has anybody else had any issues with mac flashplayer working
 differently?

 Thanks,
 Patrick




 

 

 

 

 



[flexcoders] TextArea autoSize?

2007-03-14 Thread khair
I would like to make a TextArea instance expand to the size of the Text
assigned to it.
Similar to ActionScript TextFieldInstance.autoSize property.
How would I do this in Flex?

--Keith H--
begin:vcard
n:HAIR;KEITH
fn:KEITH HAIR
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: [flexcoders] Flex Training Experiences/Suggestions?

2007-03-14 Thread Douglas Knudsen

Check into Fig Leaf (http://www.figleaf.com) and Echo Eleven (
http://www.echoeleven.com/).

DK

On 3/14/07, michael_p_levine [EMAIL PROTECTED] wrote:


The company I'm working for is preparing to shift it's web development
from ASP.NET to Flex and is interested in bringing in a good Flex
instructor on-site to provide training to a small group of developers.
The company is located in Chicago, but we're willing to fly someone
in from anywhere in the U.S. and provide accommodations for the week.
If we go with the Adobe courses (are there alternatives?) we would
target the 3-day Flex 2: Developing Rich Client Applications
followed by the 2-day Flex 2: Data and Communications.

I am very interested in hearing other people's experiences with any
type of instructor-lead Flex training courses and any suggestions on
training providers and/or specific instructors.

- What company provided the training?
- How was the instructor?
- How was the training material?
- Any other suggestions or feedback?

My thanks in advance to everyone for the assistance!

Michael Levine





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







--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] Cairngorm: When / why override clone in Events

2007-03-14 Thread Sean Sell
In one of the Cairngorm examples I learned Cairngorm from each event had 
defined an override for the clone method (of Flash.Event). Does anyone 
understand haw and when you should do this? Does Cairngorm clone the events 
behind the scenes somewhere that requires this be done?

--Sean



 

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

[flexcoders] MXML schema

2007-03-14 Thread Jock
I've read in several articles, eg...

* http://www.adobe.com/ap/products/flex/productinfo/tooling/
* http://www.adobe.com/devnet/flex/articles/paradigm.html

...that there is a schema for mxml that can be used in various IDEs.
Where can I find this schema? I have downloaded the Flex 2 SDK but
it's not to be found anywhere.

Many thanks,

Gordon



[flexcoders] Re: Cairngorm: When / why override clone in Events

2007-03-14 Thread Tim Hoff

Hi Sean,

Here's a good explanation:

http://www.tink.ws/blog/custom-events-in-as-30-dont-forget-to-override-t\
he-clone-method/
http://www.tink.ws/blog/custom-events-in-as-30-dont-forget-to-override-\
the-clone-method/

-TH
__

Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office http://www.cynergysystems.comoffice/ : 866-CYNERGY


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

 In one of the Cairngorm examples I learned Cairngorm from each event
had defined an override for the clone method (of Flash.Event). Does
anyone understand haw and when you should do this? Does Cairngorm clone
the events behind the scenes somewhere that requires this be done?

 --Sean





\

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





RE: [flexcoders] autocomplete help

2007-03-14 Thread Dimitrios Gianninas
what error/problem are u having exactly? I use it but change the dp on rare 
occasions depending on what the user does.
 
Dimitrios Gianninas
Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
mthielman11
Sent: Wednesday, March 14, 2007 12:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] autocomplete help



Hey guys. We continue to have a ton of trouble trying to implement
autocomplete with a changing data provider. Our data rpovider will be
coming from the db as the user types. So far using the adobe one and
also the one here:

http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ 
http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/ 

we can only get it to basically work as a filter for an existing
dataset in a grid. There MUST be a way to create a googlesuggest type
autocomplete with flex. Anyone have any luck??



 

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



Re: [flexcoders] Flex Training Experiences/Suggestions?

2007-03-14 Thread Matt Wicks
If I can throw my ha'penny in as  a longtime macromedia/adobe trainer  
- (uk based so not in the frame for this!)


the courses themselves are good, but if I were you I would go for a  
higher level of customisation - try and get the trainer to come up  
with a tailored programme that suits your people. The problem I have  
found with those courses is that there is so much to pack in that  
there isn't room to really explore things as fully as one might  
like . Some of the early stuff (like adding controls etc) is stuff  
that is pretty intuitive for existing developers and is often best  
sealt with in granular detail later on when the controls themselves  
are being used a lot more to load data .


Also, there is the Creating visual  ah can't recall and don't  
have details to hand but iss something like creating visual  
experience' in Flex which is a great little course for learning about  
really c§ustomisisng the app - developers and designers alike work  
well together on this and it helps developers understand the  
structure of components vis a vis skinning etc.


good luck !

Matt Wicks



On 14 Mar 2007, at 18:46, michael_p_levine wrote:


The company I'm working for is preparing to shift it's web development
from ASP.NET to Flex and is interested in bringing in a good Flex
instructor on-site to provide training to a small group of developers.
The company is located in Chicago, but we're willing to fly someone
in from anywhere in the U.S. and provide accommodations for the week.
If we go with the Adobe courses (are there alternatives?) we would
target the 3-day Flex 2: Developing Rich Client Applications
followed by the 2-day Flex 2: Data and Communications.

I am very interested in hearing other people's experiences with any
type of instructor-lead Flex training courses and any suggestions on
training providers and/or specific instructors.

- What company provided the training?
- How was the instructor?
- How was the training material?
- Any other suggestions or feedback?

My thanks in advance to everyone for the assistance!

Michael Levine







Re: [flexcoders] Re: Cairngorm: When / why override clone in Events

2007-03-14 Thread Sean Sell
Thank you, that was very helpful.

As a follow on question: if you dispatch an event in a Cairngorm app like so:

CairngormEventDispatcher.getInstance().dispatchEvent( new CairngormEvent( 
AppController.GET_WORK_ITEMS_EVENT ) );

I haven't created my own custom event, does Cairngorm take care of the override 
or do I really need to create a custom event class for every type of event? 

- Original Message 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, March 14, 2007 3:51:01 PM
Subject: [flexcoders] Re: Cairngorm: When / why override clone in Events









  




Hi Sean,

Here's a good explanation:

http://www.tink. ws/blog/custom- events-in- as-30-dont- forget-to- override- 
the-clone- method/

-TH
 _ _ 
 
Tim Hoff
Cynergy Systems, Inc.
http://www.cynergys ystems.com
Office: 866-CYNERGY 


--- In [EMAIL PROTECTED] ups.com, Sean Sell rough68fish@ ... wrote:

 In one of the Cairngorm examples I learned Cairngorm from each event had 
 defined an override for the clone method (of Flash.Event) . Does anyone 
 understand haw and when you should do this? Does Cairngorm clone the events 
 behind the scenes somewhere that requires this be done?
 
 --Sean
 
 
 
 
  _ _ _ _ _ _ 
 _ _
 Be a PS3 game guru.
 Get your game face on with the latest PS3 news and previews at Yahoo! Games.
 http://videogames. yahoo.com/ platform? platform= 120121





  







!--

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

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

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

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








 

Looking for earth-friendly autos? 
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

RE: [flexcoders] Flex Training Experiences/Suggestions?

2007-03-14 Thread Robert Chyko
Two of my coworkers and I took those 2 particular classes through
Figleaf Training in Washington DC.  The instructor was very knowledgable
and the training materials were pretty much your run-of-the-mill book w/
accompanying CD.  
 
Overall we were very pleased with the courses.  The 3 of us are all
previous Flash/ColdFusion developers - I'd say the courses definitely
ramped us up much more quickly than we could have ever done on our own
(which was our intention - we wanted a solid foundation that would allow
us to get quickly out of the gates).
 
 
 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of michael_p_levine
Sent: Wednesday, March 14, 2007 2:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Training Experiences/Suggestions?



The company I'm working for is preparing to shift it's web
development
from ASP.NET to Flex and is interested in bringing in a good
Flex
instructor on-site to provide training to a small group of
developers.
The company is located in Chicago, but we're willing to fly
someone
in from anywhere in the U.S. and provide accommodations for the
week.
If we go with the Adobe courses (are there alternatives?) we
would
target the 3-day Flex 2: Developing Rich Client Applications
followed by the 2-day Flex 2: Data and Communications.

I am very interested in hearing other people's experiences with
any
type of instructor-lead Flex training courses and any
suggestions on
training providers and/or specific instructors.

- What company provided the training?
- How was the instructor?
- How was the training material?
- Any other suggestions or feedback?

My thanks in advance to everyone for the assistance!

Michael Levine



 



RE: [flexcoders] Cairngorm: When / why override clone in Events

2007-03-14 Thread Robert Chyko
This is not a Cairngorm requirement it is a Flex requirement. 
 
Anytime you subclass the Event class you are required to override
Event.clone().  I believe it is mainly for event bubbling - I'm sure
someone else can clarify more.
 
 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Sean Sell
Sent: Wednesday, March 14, 2007 3:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm: When / why override clone in
Events




In one of the Cairngorm examples I learned Cairngorm from each
event had defined an override for the clone method (of Flash.Event).
Does anyone understand haw and when you should do this? Does Cairngorm
clone the events behind the scenes somewhere that requires this be done?

--Sean


  _  

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  



 



Re: [flexcoders] ALT-GR + key not working in Firefox

2007-03-14 Thread João Fernandes
Can anyone from Adobe confirm this?

Is this Flash Player plugin related or FF related?

João Fernandes




 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/
 


[flexcoders] Flex 2.0 Primitive Explorer

2007-03-14 Thread sourcecoderia
For your viewing pleasure...

http://flexibleexperiments.wordpress.com/2007/03/14/flex-20-primitive-
explorer/

cheers.

jason



[flexcoders] Datagrid/Tree control with summary

2007-03-14 Thread Nate Pearson
The classic example would be a grid that shows North America, Europe
and Asia.  Each of these have a total expense and revenue column.

If you expand north america, you get canada, US and mexico.  Each of
those have a total expense and revenue column which add up to North
america's summary.

ect ect ect...

Anyone know how to do this?  Would I extend a tree control or extend a
datagrid?

thanks in advance,

Nate



[flexcoders] Re: Cairngorm: When / why override clone in Events

2007-03-14 Thread Tim Hoff
In this case, you are creating a new event instance, so the clone 
over-ride doesn't matter.  It would only matter if you were 
redispatching an event that was already instantiated.

- do I really need to create a custom event class for every type of 
event? 

Usually, you would only create a custom event, in Cairngorm or plain 
Flex, if you need to attach properties (parameters, data...) to the 
event.  If not, just register the event name in the Controller and 
you're good to go.

-TH

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

 Thank you, that was very helpful.
 
 As a follow on question: if you dispatch an event in a Cairngorm 
app like so:
 
 CairngormEventDispatcher.getInstance().dispatchEvent( new 
CairngormEvent( AppController.GET_WORK_ITEMS_EVENT ) );
 
 I haven't created my own custom event, does Cairngorm take care of 
the override or do I really need to create a custom event class for 
every type of event? 
 
 - Original Message 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, March 14, 2007 3:51:01 PM
 Subject: [flexcoders] Re: Cairngorm: When / why override clone in 
Events
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 Hi Sean,
 
 Here's a good explanation:
 
 http://www.tink. ws/blog/custom- events-in- as-30-dont- forget-to- 
override- the-clone- method/
 
 -TH
  _ _ 
  
 Tim Hoff
 Cynergy Systems, Inc.
 http://www.cynergys ystems.com
 Office: 866-CYNERGY 
 
 
 --- In [EMAIL PROTECTED] ups.com, Sean Sell rough68fish@ ... 
wrote:
 
  In one of the Cairngorm examples I learned Cairngorm from each 
event had defined an override for the clone method (of 
Flash.Event) . Does anyone understand haw and when you should do 
this? Does Cairngorm clone the events behind the scenes somewhere 
that requires this be done?
  
  --Sean
  
  
  
  
   _ _ _ _ _ 
_ _ _
  Be a PS3 game guru.
  Get your game face on with the latest PS3 news and previews at 
Yahoo! Games.
  http://videogames. yahoo.com/ platform? platform= 120121
 
 
 
 
 
   
 
 
 
 
 
 
 
 !--
 
 #ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-
serif;}
 #ygrp-mlmsg table {font-size:inherit;font:100%;}
 #ygrp-mlmsg select, input, textarea {font:99% 
arial,helvetica,clean,sans-serif;}
 #ygrp-mlmsg pre, code {font:115% monospace;}
 #ygrp-mlmsg * {line-height:1.22em;}
 #ygrp-text{
 font-family:Georgia;
 }
 #ygrp-text p{
 margin:0 0 1em 0;
 }
 #ygrp-tpmsgs{
 font-family:Arial;
 clear:both;
 }
 #ygrp-vitnav{
 padding-top:10px;
 font-family:Verdana;
 font-size:77%;
 margin:0;
 }
 #ygrp-vitnav a{
 padding:0 1px;
 }
 #ygrp-actbar{
 clear:both;
 margin:25px 0;
 white-space:nowrap;
 color:#666;
 text-align:right;
 }
 #ygrp-actbar .left{
 float:left;
 white-space:nowrap;
 }
 .bld{font-weight:bold;}
 #ygrp-grft{
 font-family:Verdana;
 font-size:77%;
 padding:15px 0;
 }
 #ygrp-ft{
 font-family:verdana;
 font-size:77%;
 border-top:1px solid #666;
 padding:5px 0;
 }
 #ygrp-mlmsg #logo{
 padding-bottom:10px;
 }
 
 #ygrp-vital{
 background-color:#e0ecee;
 margin-bottom:20px;
 padding:2px 0 8px 8px;
 }
 #ygrp-vital #vithd{
 font-size:77%;
 font-family:Verdana;
 font-weight:bold;
 color:#333;
 text-transform:uppercase;
 }
 #ygrp-vital ul{
 padding:0;
 margin:2px 0;
 }
 #ygrp-vital ul li{
 list-style-type:none;
 clear:both;
 border:1px solid #e0ecee;
 }
 #ygrp-vital ul li .ct{
 font-weight:bold;
 color:#ff7900;
 float:right;
 width:2em;
 text-align:right;
 padding-right:.5em;
 }
 #ygrp-vital ul li .cat{
 font-weight:bold;
 }
 #ygrp-vital a {
 text-decoration:none;
 }
 
 #ygrp-vital a:hover{
 text-decoration:underline;
 }
 
 #ygrp-sponsor #hd{
 color:#999;
 font-size:77%;
 }
 #ygrp-sponsor #ov{
 padding:6px 13px;
 background-color:#e0ecee;
 margin-bottom:20px;
 }
 #ygrp-sponsor #ov ul{
 padding:0 0 0 8px;
 margin:0;
 }
 #ygrp-sponsor #ov li{
 list-style-type:square;
 padding:6px 0;
 font-size:77%;
 }
 #ygrp-sponsor #ov li a{
 text-decoration:none;
 font-size:130%;
 }
 #ygrp-sponsor #nc {
 background-color:#eee;
 margin-bottom:20px;
 padding:0 8px;
 }
 #ygrp-sponsor .ad{
 padding:8px 0;
 }
 #ygrp-sponsor .ad #hd1{
 font-family:Arial;
 font-weight:bold;
 color:#628c2a;
 font-size:100%;
 line-height:122%;
 }
 #ygrp-sponsor .ad a{
 text-decoration:none;
 }
 #ygrp-sponsor .ad a:hover{
 text-decoration:underline;
 }
 #ygrp-sponsor .ad p{
 margin:0;
 }
 o {font-size:0;}
 .MsoNormal {
 margin:0 0 0 0;
 }
 #ygrp-text tt{
 font-size:120%;
 }
 blockquote{margin:0 0 0 4px;}
 .replbq {margin:4;}
 --
 
 
 
 
 
 
 
 
  
 
_
___
 Looking for earth-friendly autos? 
 Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
 http://autos.yahoo.com/green_center/





[flexcoders] about :New Project: FlexCRUD -- Create Update Delete for Flex/amfphp/cairngorm

2007-03-14 Thread Yiðit Boyar
hi;
when i saw your [EMAIL PROTECTED] about your project; i saved it in case i 
need... and now i need to try it
but the link does not work.
is there any other link that i can download your project ?
thanks...

- Original Message 
From: Mike Crowe [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, February 24, 2007 9:15:19 AM
Subject: [flexcoders] New Project:  FlexCRUD -- Create Update Delete for 
Flex/amfphp/cairngorm









  



Hi folks,



I'm in the process of releasing my system generation utility via 

riaforge.  Essentially, I'm using about 15 templates to generate  

100 files. 



From a 1' perspective, I have created a generic template based 

system that generates:



* Cairngorm commands:  Get, GetAll, Save, Delete

  * Cairngorm events:  GetSuccess, GetFailure, etc.

  * Cairngorm control file

  * amfphp Remote Delegate

  * amfphp ViewObject for both Actionscript and PHP

  * amfphp Service dispatcher

  * amfphp DTO file to save ViewObject to database

  * Unit test structures for testing both PHP-Database and Flex-

PHP-Database operations for all tables.

  * etc.



I based the database on PHP Doctrine, which handles all my database 

interaction in a very clean manner.



Here's the help I need.  To me, I think this will be very helpful to 

somebody *starting* a new project.  It will generate all the core 

tables, events, commands, and directories for a basic system.  

However, I need some review from the Flex community to tell me if 

I'm way off base on this.  If it isn't useful, please be honest and 

provide that feedback.



Here's the initial wiki documenting the core.  I'll shoot to release 

the full code tomorrow:



http://www.your- solutions. us/doku.php/ start



TIA

Mike






  







!--

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

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

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

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








 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

RE: [flexcoders] Flex 2.0 Primitive Explorer

2007-03-14 Thread Bruce H. Johnson
Nice. Exactly what I was look for to create a custom gauge componet in a
half-circle.
 

Bruce H. Johnson
Sylmar, CA 

 

   _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sourcecoderia
Sent: Wednesday, March 14, 2007 1:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0 Primitive Explorer



For your viewing pleasure...

HYPERLINK
http://flexibleexperiments.wordpress.com/2007/03/14/flex-20-primitive-http
://flexibleexpe-riments.wordpres-s.com/2007/-03/14/flex--20-primitive-
explorer/

cheers.

jason



 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 3/13/2007
4:51 PM



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.11/721 - Release Date: 3/13/2007
4:51 PM
 


RE: [flexcoders] Datagrid/Tree control with summary

2007-03-14 Thread Tracy Spratt
Someone has done this as an example.  Google for it, I think it was
called TreeGrid.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Wednesday, March 14, 2007 3:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid/Tree control with summary

 

The classic example would be a grid that shows North America, Europe
and Asia. Each of these have a total expense and revenue column.

If you expand north america, you get canada, US and mexico. Each of
those have a total expense and revenue column which add up to North
america's summary.

ect ect ect...

Anyone know how to do this? Would I extend a tree control or extend a
datagrid?

thanks in advance,

Nate

 



[flexcoders] Re: Missing Widget? Where is the Select List thingy?

2007-03-14 Thread nathanpdaniel
My take on it : Flex uses drag 'n' drop instead of the buttons in 
the middle.  The documentation for drag n drop functionality builds 
what youre talking about but without the buttons.  I guess drag n 
drop would be considered neater :D  
But if you wanted the buttons - it wouldn't take much work to do so.  
Just when clicked - move the selectedItem to the other 
list/datagrid/whatever etc.  Not a good code example - but I can 
build a sample if you'd like... :D

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

 Does Flex Builder 2 have built in a Select List widget, that 
allows
 you to move items horizontally between two boxes?  See this 
image: 
 
 http://docs.sun.com/source/817-5677/images/proj_add_acl.gif
 
 And if it doesn't have this common widget built in (which I do not
 think it does, since I just looked and double-checked) does anyone
 have any code examples one they made or used?
 
 Thanks,
 Ann, The Original Giggle Girl





[flexcoders] y-axis graph title

2007-03-14 Thread offus99
mx:CategoryAxis title=price /



..this is how I am setting the title of my Y-axis but the label

price shows up facing in the opposite direction. How do I rotate its

position and make it face the graph?



 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

[flexcoders] actionscript audio synchronizer..

2007-03-14 Thread artdesignguru
I have a project that requires a flash based audio synchronizer and
functionality to capture the user's sequence.  We're looking for help
with the job, if someone is interested, we're throwing around ideas on
how to do the recording aspect.  Thanks.



RE: [flexcoders] Flex Training Experiences/Suggestions?

2007-03-14 Thread Steve Drucker
Thanks for the props, guys!
 
Also, don't forget about our Flexmaniacs conference in June --
http://flex2conference.figleaf.com http://flex2conference.figleaf.com  !
 
 
Regards,
Steve Drucker
CEO
Fig Leaf Software
www.figleaf.com http://www.figleaf.com 
 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Chyko
Sent: Wednesday, March 14, 2007 4:05 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex Training Experiences/Suggestions?




Two of my coworkers and I took those 2 particular classes through Figleaf
Training in Washington DC.  The instructor was very knowledgable and the
training materials were pretty much your run-of-the-mill book w/
accompanying CD.  
 
Overall we were very pleased with the courses.  The 3 of us are all previous
Flash/ColdFusion developers - I'd say the courses definitely ramped us up
much more quickly than we could have ever done on our own (which was our
intention - we wanted a solid foundation that would allow us to get quickly
out of the gates).
 
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of michael_p_levine
Sent: Wednesday, March 14, 2007 2:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Training Experiences/Suggestions?



The company I'm working for is preparing to shift it's web development
from ASP.NET to Flex and is interested in bringing in a good Flex
instructor on-site to provide training to a small group of developers.
The company is located in Chicago, but we're willing to fly someone
in from anywhere in the U.S. and provide accommodations for the week.
If we go with the Adobe courses (are there alternatives?) we would
target the 3-day Flex 2: Developing Rich Client Applications
followed by the 2-day Flex 2: Data and Communications.

I am very interested in hearing other people's experiences with any
type of instructor-lead Flex training courses and any suggestions on
training providers and/or specific instructors.

- What company provided the training?
- How was the instructor?
- How was the training material?
- Any other suggestions or feedback?

My thanks in advance to everyone for the assistance!

Michael Levine



 


This email has been processed by SmoothZap - www.smoothwall.net


  1   2   >