RE: [flexcoders] DateChooser and it's dateGrid

2006-10-04 Thread Bas J. Brey












Well how do i add such an
item renderer to the datechooser?



Ive been searching for a
way to do that but cant find it.











Van: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Namens Igor Costa
Verzonden: woensdag 4 oktober 2006
6:35
Aan: flexcoders@yahoogroups.com
Onderwerp: Re: [flexcoders]
DateChooser and it's dateGrid











Just you have to add a itemRender for each future date
for it.

Just really need that no more extending or Extra work for that.


regards.



On 10/3/06, Bas J.
Brey [EMAIL PROTECTED]com
wrote:











I'm trying to highlight a selection
of one or more days in the dateChooser.

When inspecting the dateChooser and
the CalendarLayout component I see that the most important variables, dateGrid
and dayBlocksArray are internal vars.



Does anyone have a clue on how to
override this? (Well I can make new classes but it's kind off 'not done' to
copy the classes and alter them).




















-- 

Igor Costa
www.igorcosta.com 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Flex pulling in data from the HTML and can HTML hold my XML dataprovider?

2006-10-04 Thread Tom Chiverton
On Tuesday 03 October 2006 18:00, dorkie dork from dorktown wrote:
 That looks awesome too. Is that cross browser compatible? I'm assuming

SWFObject certainly is, and the only other thing is document.getElementById 
which anything that supports Flash 9 will have :-)

We even put the div inside a nice HTML layout in the 'if you don't have Flash 
9' block, and it ends up in a Text.htmlText fine.

-- 
Tom Chiverton
Helping to evangelistically reintermediate intuitive communities



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





RE: [flexcoders] Wrapping components within a container

2006-10-04 Thread KP












Well I want to that code in Iframe example
how we can do that.













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Katz
Sent: Wednesday, October 04, 2006
1:24 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Wrapping
components within a container











Thanks, Brian. This was very helpful.

Best,
David



On 10/3/06, Brian
Dunphy briandunphy@gmail.com
 wrote:



Trying to create a tag cloud eh? Maybe... :)

Anyway, I created an FBox container based on some example code in the
documentation (and some code from Flex 1 that I found), you can find the code
in here: http://tech.groups.yahoo.com/group/flexcoders/message/40947

Best of luck.

Brian







On 10/3/06, David
Katz 
[EMAIL PROTECTED]darden.edu wrote:









Does anyone know if it's possible to wrap components
within a
container in Flex 2.0? I need to dynamically create a series of
LinkButtons, for example, and have them wrap when they reach the right
edge of their container. (Imagine a long clickable breadcrumb trail
that wraps to a second line if the items get too long to fit within
their container.)

This is trivial to do in html by placing the elements in a div, but I
can't figure out how to do it in Flex.

Any help is appreciated.

thanks,
David

-- 

David Katz
[EMAIL PROTECTED]com





















-- 
Brian Dunphy 

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






SPONSORED
LINKS 


 
  
  Software development tool 
  
  
  Software development 
  
  
  Software development services 
  
 
 
  
  Home design software 
  
  
  Software development company 
  
  
  
  
 






Your email settings: Individual Email|Traditional 
Change settings via the Web (Yahoo! ID required) 
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
Visit Your Group | Yahoo! Groups Terms of
Use | Unsubscribe 




__,_._,__ 










__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Creating variable name dynamically

2006-10-04 Thread kristian_wright2002
I'm in a situation where I need to create a number of components at
runtime, at different time intervals.  A user presses a button and I
create a set of components.  They press the button again, and another
set of the same components is created.

My problem is that one of the components created is a checkbox, which
needs to be used later.  I can store component information in an array
so I can reference it later, but the problem is that the information
in the array will only hold the initial value of the checkbox, and not
the current value.

Currently I have a function like the following that creates the
required controls when the button is pressed:

private function createStuff():void
{
   if (index  maxLimit)
   {
  var chkCheckbox:CheckBox = new CheckBox;
  var txtInput:TextInput = new TextInput;
  myArray[index] = [txtInput, chkCheckbox];
  index++;
   }
}

This is a simplified version, but it works as intended.  I have a
function that does stuff with these components, but only the selected
ones.  How can I tell what checkbox is selected?  They are all called
chkCheckbox!  I need to have a unique name for each one, so I can loop
through them and use this[chkCheckbox+i].selected to see which ones
I perform the 2nd function on.

What's the best way to achieve this?  I've tried using a repeater, but
since the dataprovider is empty at the start of the app, it doesn't
seem to update the repeater. Unless I'm using the repeater wrong...

Any help would be greatly appreciated

Thanks,
K.









--
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] What do I need to force UIComponent calculate its size automatically?

2006-10-04 Thread Sergey Kovalyov
Hi All!

I have UIComponent instance (e. g. Box) myBox. I want to set its width
(e. g. myBox.width = 100), but height should be calculated
automatically, depending on box content. What value should I assign to
height? myBox.height = NaN works ok, but I'm not sure it's stable...

Sergey.


--
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] [Flex2] Binding an image using @Embed...

2006-10-04 Thread Thomas Rühl

Hi folks,

is there a way to dynamically bind/load an image? Maybe using the @Ebmed 
meta? I have a TileList that uses the Repeater component to display its 
elements as Buttons.

Those items are based on an Array of Objects, each containing a label, 
some additional data and the path to an image to be shown. For some 
reason, I cannot manage to assign the path dynamically to the Button 
component using @Embed. I think, there is a way more proper to do so...

Cheers, Thomas



   Thomas Rühl
   Design, Programming  Concepts

   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt

   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com




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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





RE: [flexcoders] does the CFC/AS namespace path have to match?

2006-10-04 Thread João Fernandes













Exactly, only properties
are translated between AS3/CFC.



Joo Fernandes











From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss
Sent: quarta-feira, 4 de Outubro
de 2006 5:38
To: flexcoders@yahoogroups.com
Subject: [flexcoders] does the
CFC/AS namespace path have to match?











As far as i know CF cant handle AS
functions as it has no way of processing the logic (dont quote me).

I know that in Java all getters and
setters are evaluated to primitive members.



In other words you can not pass a
Function through remoting, i think :)







Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies















From:
[EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Brendan Meutzner
Sent: Wednesday, 4 October 2006
9:39 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the
CFC/AS namespace path have to match?



Hi,

It seems that even when I type my cffunction argument inside my CFC, it looks
for the object definition in the same location the AS object is placed... but
they're not in my case.

Eg.

AS file
import com.blah.blah1.blah2.theDataStructure;
delegate.insertFunction(event.theDataInstance as theDataStructure);

CFC
cfargument name=theDataInstance type= com.blah.blah1.blah2.blah3.theDataStructure /

Gives me an error message from CF saying it can't find com.blah.blah1.blah2.theDataStructure
even though I'm typing it as com.blah.blah1.blah2.blah3.theDataStructure

Is this the case?


Brendan








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] generating a size report

2006-10-04 Thread Andrew Bourne
Is it possible to get a report from any of the Flex 2 tools about the 
compiled size of each class and embedded assets similar to the Flash IDE 
report available on publishing?

Cheers,
Andrew


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-04 Thread livinginswitzerland
Derrick,
Thanks again, and once again, you have led me to another question.  
I'm aware of using the bindable metatag, and also am using the 
binding.utils.bindProperty method to handle some other bindings I 
need manually, but I'm now wondering if i can do the following:  Can 
I create an Object, and as I create properties on that Object, tell 
the property to be bindable, in ActionScript.  I'm assuming the 
metatag tells the compiler to create the necessary watchers, but it 
would be really nice if that were a property I could set while I'm 
dynamically creating properties of an Object...something like:

var myObj:Object = new Object();
myObj.publisher = '';
myObj.publisher.bindable=true;

Using the binding.utils.bindProperty method works great when I know 
exactly the two locations between which I want to share data, but it 
isn't as nice as creating a typed class within an ArrayCollection as 
bindable that you can easily fit into (and broadcast changes to) a 
datagrid.   



 A typed value object is basically an object that matches to some 
data
 entity you are working with. You create a class to define the 
entity,
 give it properites (that are bindable) and then put instances of 
that
 class into the ArrayCollection instead of non descript Objects
 
 ie
 
 class BookVO {
[Bindable]
public var title: String;
 
[Bindable]
public var author: String;
 
[Bindable]
public var ISBN: String;
 
public function BookVO():void {
 
}
 }
 
 ... and then loop through the results from the webservice and for 
each
 item, create a new BookVO, fill in the properties and add that to 
the
 ArrayCollection. I imagine you are probably currently doing 
something
 similiar to 
 
 var book = new Object();
 book.author = xmlNode.ItemAttributes.author;
 book.title =  xmlNode.ItemAttributes.title;
 book.ISBN =  xmlNode.ItemAttributes.ISBN;
 
 This is certainly very easy to start with, but in the long run 
causes
 more headaches for a variety of reasons.
 
 By using typed objects with bindable properties, it leverages the 
Flex
 components awareness of changes in those objects, basically the
 components listen to the objects for changes, which means you don't
 have to manually refresh things when changes happen.
 
 Derrick Grigg
 -
 www.dgrigg.com
 
 --- In flexcoders@yahoogroups.com, livinginswitzerland
 rickgeorge@ wrote:
 
  Thanks Derrick...
  
  I had tried invalidateDisplay list, but not invalidateList..which 
did 
  it.  interesting.  when you say typed value objects...can you 
elaborate 
  on that?  I am doing some 'non standard' things, and all of my 
data is 
  read into an ArrayCollection via a web service, but i'm not using 
XML 
  but text instead.  Curious if what you are saying regarding typed 
value 
  objects is something i'm bumping up against.
  
  thanks again!
  
  -rick
  
  --- In flexcoders@yahoogroups.com, Derrick Grigg dgrigg@ 
wrote:
  
   I think you can use the 'invalidateDisplayList()'  or possibly 
   the 'invalidateList()' to refresh your datagrid.
   
   Alternatively, if you use typed value objects in the 
dataProvider any 
   changes to those, should automatically be reflected (and 
viewed) in 
   the DataGrid if you are using databinding.
   
   Derrick Grigg
   
   www.dgrigg.com
  
 







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: How to create a date timeline

2006-10-04 Thread fsawitzki
 I started looking into the flex charts, but I can't seem to 'force'
the
 charts to behave in a timeline way.
 I guess charting is not the way to go to solve this problem.

I uploaded the current status of my project on my university webspace.
If you're interested, take a look at
http://www.uni-koblenz.de/~inferno/vizeg/1004/main.html. The project is
a management an visualization tool for history dates. It is still in
progress, and not all features are complete. For a beginner like me, it
was easy to develop the data management part. But i noticed, that for
the visualization is a more programming knowledge, especialy in
actionscript, required.

I uploaded also the scources of the visualisation part, there a only a
few lines. But the code is still buggy, because i'm not able to change
the length of my rectangles inside a createChildren() function. I would
be pleased if you've perhaps a idea to solve it.

Frank






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

2006-10-04 Thread gdoucen

Hi,

I have some questions about css.

First, the use of mx:Style source=css/main.css /.

In this css file, i have declare component as class selectors. All
these styles are accessible via styleManager and it works for elements
that doesn't display html text.

But, I want to use these class selectors in an html text.

Is there a way to get the external css loaded at compile time under a
stylesheet object to set any textfield elements ? It seems not.

So, is the only way to get css style in html, is to load external css
at runtime, create a new stylesheet object, parse the css text and
then set the textfield elements with this stylesheet ?

If so why this constraint ?

Why the styleManager is unable to provide a stylesheet object and
cannot be enumerated ?

And finally why the Text component has not a styleSheet property like
the textArea ?

Ah, i feel better...

A lot of questions i know.

Thanks for your help, it's quite frustrating.






--
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] Catching Events from a Flex 2 App in a SWFLoader

2006-10-04 Thread Pete





Hi there, 


I'm trying to catch 
an event from a Flex 2 App that isembedded in my app. I'm using a 
SWFLoader to embed the swf file and I'm using SystemManager to communicate back 
and forth.. Except the communicate is one way at the moment! If anyone has any 
suggestions, that'd be great! 

Thanks, 
Pete

Here's the 
code:

// Parent 
App

?xml 
version="1.0" encoding="utf-8"?
mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
 
height="100%"
 
width="100%"
 
mx:Script
 
![CDATA[ 

 import 
mx.managers.SystemManager;[Bindable] 
public var 
quizSM:SystemManager;private 
function completeHandler():void 
{ 
mx.controls.Alert.show('huzzah!');}private 
function initNestedQuiz():void 
{ quizSM = 
SystemManager(quizLoader.content); 
quizSM.application.addEventListener("complete", 
completeHandler);// this code is not 
working!} 

 
]]
 
/mx:Script mx:SWFLoader id="quizLoader" 
width="100%" height="100%" 
source="/Quiz/QuizContainer.swf"//mx:Canvas

// Nested 
App

?xml 
version="1.0" encoding="utf-8"?
mx:Applicationxmlns:mx="http://www.adobe.com/2006/mxml" 
mx:Metadata 
[Event(name="complete", type="flash.events.Event")] 
/mx:Metadatamx:Script 
![CDATA[ 
import 
mx.controls.Alert;private 
function quizComplete(event:Event):void 
{ 
Alert.show('Completed in 
Quiz'); 
var event:Event = new 
Event("complete");this.dispatchEvent(event);}]]
 !-- Views are here that call 
quizComplete --/mx:Application
Pete CapraInformation Systems CoordinatorNational 
Institute of Trainingp. (617) 3208 9455m. 0411 043 305f. (617) 
3208 9855a. PO Box 1744 Springwood Q 
4127www.niot.com.au[EMAIL PROTECTED] 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Creating variable name dynamically

2006-10-04 Thread Kelly












You were so close.



If you have:



myArray[index] = [txtInput, chkCheckbox];





Then you can reference the components like this:



myArray[index][0] //txtInput

myArray[index][1] //chkCheckbox





For example:



var tempText:String = myArray[index][0].text;

var tempBool:Boolean = myArray[index][1].checked;













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kristian_wright2002
Sent: Wednesday, October 04, 2006
1:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Creating
variable name dynamically











I'm in a situation where I need to create a number of
components at
runtime, at different time intervals. A user presses a button and I
create a set of components. They press the button again, and another
set of the same components is created.

My problem is that one of the components created is a checkbox, which
needs to be used later. I can store component information in an array
so I can reference it later, but the problem is that the information
in the array will only hold the initial value of the checkbox, and not
the current value.

Currently I have a function like the following that creates the
required controls when the button is pressed:

private function createStuff():void
{
if (index  maxLimit)
{
var chkCheckbox:CheckBox = new CheckBox;
var txtInput:TextInput = new TextInput;
myArray[index] = [txtInput, chkCheckbox];
index++;
}
}

This is a simplified version, but it works as intended. I have a
function that does stuff with these components, but only the selected
ones. How can I tell what checkbox is selected? They are all called
chkCheckbox! I need to have a unique name for each one, so I can loop
through them and use this[chkCheckbox+i].selected to see which
ones
I perform the 2nd function on.

What's the best way to achieve this? I've tried using a repeater, but
since the dataprovider is empty at the start of the app, it doesn't
seem to update the repeater. Unless I'm using the repeater wrong...

Any help would be greatly appreciated

Thanks,
K.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: HTTP Status 500 Error using SSL endpoint

2006-10-04 Thread syndrake7

Peter,

I believe the add-no-cache-headersfalse/add-no-cache-headers 
property was the fix. I mentioned this on the Adobe forum post, too, 
for others who might have a similar problem.

I think I understand what you mean by unique endpoint mappings. I 
have not yet tried this, though. My latest attempts had been using 
only one channel - I had replaced the non-ssl channel (default) with 
an ssl channel.

SSL is now working with one channel after adding the no-cache 
property.

The next step for me is to determine how to keep this working after 
adding back the standard non-ssl channel. And, using the Flex - CF 
wizard, how to instruct it to use a specific channel with the 
default destination of ColdFusion. The wizard writes all 
RemoteObject calls using that default destination. Like this:

mx:RemoteObject
id=dataManager
showBusyCursor=true
destination=ColdFusion 
source=MyArtDemo.components.cfgenerated.Artists
mx:method name=getMasterQuery 
result=getMasterQuery_result(event) fault=server_fault(event) /
mx:method name=deleteItem 
result=deleteItem_result(event) fault=server_fault(event) /
/mx:RemoteObject

So, in a nutshell, if I have multiple channels defined under the 
ColdFusion destination, how do I indicate which channel the wizard 
should use? I see that the RemoteObject class has an endpoint 
property, but trying to edit the wizard's default code with every 
build defeats the purpose of having a wizard. I'm probably missing 
something obvious.

Anyway, thanks for helping me get SSL using RemoteObject working!

-Tony

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

 I replied to the Adobe forums - the requirement to add some path 
info to
 your secure AMF channel endpoint was, in spirit, correct... here's 
what
 I posted:
  
 I just want to restate knallore's poste regarding channel 
definitions
 as it is essentially correct, but the issue was that he didn't 
realize
 that /flex2gateway was the servlet mapping already (not the context
 root).
 
 In general, if you have two channels defined that use the same 
servlet
 mapping then the endpoints must be unique from the servlet mapping
 onwards, so you should add some path info to the endpoint URI to
 distinguish between the secure and normal AMF channels:
 
 SecureAMFChannel endpoint:
 https://me.com/flex2gateway/secureamf
 
 AMFChannel endpoint
 https://me.com/flex2gateway/amf
 
 Also, in web.xml the servlet mapping must allow for path info... 
here is
 what it is in FDS:
 
 servlet-mapping
 servlet-nameMessageBrokerServlet/servlet-name
 url-pattern/messagebroker/*/url-pattern
 /servlet-mapping
 
 Notice the /* at the end of the servlet mapping pattern. Please 
check
 that your equivalent entry for ColdFusion 7.0.2's web.xml (i.e. for
 /flex2gateway/*) includes the /*.
 
 Also, as always, please ensure that you don't have a dirty 
classpath
 with older versions of CF Mystic and/or beta versions of FDS too.
  
  
 Also, can you try adding the following property to your
 channel-definition properties section:
  
 add-no-cache-headersfalse/add-no-cache-headers
  
 ...restart the server and try again?
  
 Note that you can use something like Paros Proxy on the client to 
debug
 SSL / HTTPS requests... but you could also rely on mx:TraceTarget
 level=0 and the debug Flash Player / flashlog.txt to see what 
was
 being sent.
  
  
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of syndrake7
 Sent: Friday, September 29, 2006 4:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: HTTP Status 500 Error using SSL endpoint
 
 
 
 
 I'm having some difficulty getting a sniffer going due to security 
 limitations here. However, I did get some web log info:
 
 2006-09-29 20:04:43 W3SVC699396293 #.#.#.# POST /flex2gateway/ - 
 443 - #.#.#.# Mozilla/4.0+
 
(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPa
 th.1;+.NET+CLR+2.0.50727) https://me.com/myartdemo/bin/main.swf
 https://me.com/myartdemo/bin/main.swf  200 
 0 0
 
 Seems like my swf is getting the all-clear from the web server, 
 which is returning a 200 code. Flex thinks it's not connecting, 
 though.
 
 -Tony
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , Tom Chiverton tom.chiverton@ 
 wrote:
 
  On Wednesday 27 September 2006 16:58, syndrake7 wrote:
   (mx.rpc:Fault)
   faultCode = Client.Error.MessageSend
   faultDetail = Channel.Connect.Failed error
   NetConnection.Call.Failed: HTTP: Failed
   faultString = Send failed
   details = https://me.com/flex2gateway/
 https://me.com/flex2gateway/ 
   level = error
  
  Can you stick a network sniffer in there and see what is going 
 past on the 
  wire ?
  
   On the Adobe forum, someone posted that The endpoint URI for 
the
   secureAMFchannel definition should be:
   https://me.com/flex2gateway/messagebroker/amfsecure
 

[flexcoders] Re: Drag n Drop between 2 Datagrids

2006-10-04 Thread s_hernandez01
Yes, I know that way but just coding dragEnabled=true and
dropEnabled=true will only carry an object over, and I need it to drag
n drop over to the other datagrid with a dragSource because I have a
total calculating all the prices that get dropped in. The only way of
doing this, is using the DragManager with a dragSource and dropSource
functionality.  Somebody please help me with this actionscript 3 coding.

-Sal

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

 Yeah man it's simple way
 
 here you could also do.
 
 
 just create two datagrids than, using the property in the first one,
 dragEnabled=true and in the second one you could do, dropEnabled=true
 
 Than worked.
 
 here a short example
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
 mx:Script
 ![CDATA[
 
 public function gridLimpar():void
 {
 grid1.dataProvider = null;
 }
 ]]
 /mx:Script
 mx:Model id=meugrid source=listao.xml/
 
 mx:Panel title=Grid de exemplo width=200 height=200 x=10
 y=10
 mx:DataGrid id=grid1 dragEnabled=true
allowDragSelection=true
 
 allowMultipleSelection=true dataProvider={meugrid.item}
 width=100% height=100%
 mx:columns
 !-- definindo as colunas --
 mx:DataGridColumn headerText=Tipo de produto
 dataField=produto editable=false/
 mx:DataGridColumn headerText=Preço dataField=preco
 editable=false/
 mx:DataGridColumn headerText=Preço dataField=preco
 editable=false
 mx:itemRenderer
 mx:Component
 mx:Image source=icones/accept.png/
 /mx:Component
 /mx:itemRenderer
 /mx:DataGridColumn
 /mx:columns
 /mx:DataGrid
 /mx:Panel
 mx:DataGrid dragEnabled=true dropEnabled=true
 allowDragSelection=true x=234 y=23
 mx:columns
 mx:DataGridColumn headerText=Tipo de produto
 dataField=produto/
 mx:DataGridColumn headerText=Preço de produto
 dataField=preco/
 mx:DataGridColumn headerText=Quantidade em estoque
 dataField=quant/
 /mx:columns
 /mx:DataGrid
 mx:Panel x=544 y=23 width=250 height=200 layout=absolute
 title=Itens escolhidos
 mx:DataGrid width=100% height=100% dropEnabled=true
 allowDragSelection=true x=0 y=0/
 /mx:Panel
 mx:Button x=89 click=gridLimpar(); y=218 label=Limpar/
 
 /mx:Application
 
 
 Regards
 
 
 On 10/3/06, s_hernandez01 [EMAIL PROTECTED] wrote:
 
Would anyone have any source code on how to drag n drop between 2
  datagrids using the Drag Manager?
 
  -Sal
 
   
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Accesing complex structures in result from WebServices

2006-10-04 Thread Leo
Hi

I need to use some already deployed webservices made in RAD (Rational
Application Developer) and published in a WebSphere v6[.1] server. I'm
new in consumig web services in Flex so i referred to the docs and try
to find out how to do that in the right way. The services are defined
with parameters that can be complex structures and may be in-out-inout
and have a return type that in the services i need to consume is a int
type. When i define this web service in flex and i make the call
websphere receive this call with the parameters that i sent correctly
(complex structures included) but when i look for the result in the
WebService.Operation.lastResult field back in Flex i just find the int
return (Number for ActionScript) from the web service but i can't have
the values of the complex structures that are defined inout.

So if some of you have faced this problem before or have some docs or
hints for me it will be very appreciated

Thanks in advance and regards

-- 
Leonardo Moreno Guzmán
http://leo.logtar.com
http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Setting a filter for the UITextField inside a button?

2006-10-04 Thread Daniel Freiman



I forget the exact reason why this is happening, but the workaround is to move your code to the createChildren function.- DanOn 10/3/06, joshuajnoble
 [EMAIL PROTECTED] wrote:Hi, I'm trying to add a dropShadow to a button like so:
public class DropShadowButton extends Button{private var ds:DropShadowFilter;public function DropShadowButton():void{super();
ds = new DropShadowFilter();var a:Array = new Array();a.push(ds);this.textField = new UITextField();
this.textField.antiAliasType = flash.text.AntiAliasType.ADVANCED;this.textField.filters = a;this.addChild(textField);}}which works fine until, inside 
UIComponent.as, I throw an error reading:TypeError: Error #2007: Parameter antiAliasType must be non-null.at flash.text::TextField/set antiAliasType()atmx.core::UITextField/validateNow()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]
at mx.core::UITextField/setnestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]out of these lines of code:if (child is ILayoutManagerClient)ILayoutManagerClient(child).nestLevel = nestLevel + 1;
else if (child is UITextField)UITextField(child).nestLevel = nestLevel + 1;Can anyone shed any light on what's going on under the hood?--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* Your email settings:Individual Email | Traditional* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)* To change settings via email: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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Setting a filter for the UITextField inside a button?

2006-10-04 Thread joshuajnoble

Hi Dan,

Thanks for the tip. I started to do that but then just moved adding
the filter to a seperate method which I called after the parentDoc
does it's addChild. The reason is that the parent doc calls
createChildren when it adds the component to the displayList. In the
buttons case it was trying to validate a 2nd UITextField ( part of the
UIComponents createChildren method) I wrote some more about it at
http://thefactoryfactory.com/wordpress/?p=75 because I was pretty
psyched to get it figured out. In the future I think I'll go the route
of overriding createChildren though, as per your recommendation.

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

 I forget the exact reason why this is happening, but the workaround
is to
 move your code to the createChildren function.
 - Dan
 
 On 10/3/06, joshuajnoble [EMAIL PROTECTED] wrote:
 
  Hi, I'm trying to add a dropShadow to a button like so:
 
  public class DropShadowButton extends Button
  {
 
  private var ds:DropShadowFilter;
 
  public function DropShadowButton():void
  {
  super();
  ds = new DropShadowFilter();
  var a:Array = new Array();
  a.push(ds);
  this.textField = new UITextField();
  this.textField.antiAliasType =
  flash.text.AntiAliasType.ADVANCED;
  this.textField.filters = a;
  this.addChild(textField);
  }
  }
 
  which works fine until, inside UIComponent.as, I throw an error
reading:
 
  TypeError: Error #2007: Parameter antiAliasType must be non-null.
  at flash.text::TextField/set antiAliasType()
  at
  mx.core::UITextField/validateNow
  ()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]
  at mx.core::UITextField/set
  nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]
 
  out of these lines of code:
 
  if (child is ILayoutManagerClient)
  ILayoutManagerClient(child).nestLevel = nestLevel + 1;
  else if (child is UITextField)
  UITextField(child).nestLevel = nestLevel + 1;
 
  Can anyone shed any light on what's going on under the hood?
 
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] Re: HTTP Status 500 Error using SSL endpoint

2006-10-04 Thread Peter Farland





You should add back the normal AMFChannel definition 
(that transports messages over HTTP) as it will coexistwith the 
SecureAMFChannel definition (that transports messages over HTTPS). As stated 
before, because both channels use the same servlet mapping in their endpoint 
addresses the message broker requires that the distinguish themselves with 
further information - in J2EE this is achieved by addingpath info after 
the servlet mapping. I think you've got a handle on this 
now.

So, let's turn to destination configuration. You assign 
more than one channel definition to a destination when you are unsure whether 
one (or more) of the endpoints will be available. An example would be a 
MessageService destination that hopes to use RTMP for real-time communication 
but in the event that this protocol is not supported it could fall back to an 
AMFChannel with polling set to true. Another example would be a RemotingService 
destination that hopes to use AMF over HTTP for more efficient communication due 
to the compact binary format used by the AMFChannel, but in the event that a 
deployment blocks non-text MIME types it could fall back to an HTTPChannel as it 
uses an XML based format for communication. The key point, however, is that only 
one channel will be used and it will be the first one that 
successfullyconnects.

If you're finding keeping compile time configuration in 
sync with runtime server configuration problematic then you have other options. 
You can consider not compiling in services configuration and instead 
programmatically construct a ChannelSet for a RemoteObject using the 
ActionScript APIs and add one or more appropriate instances of a Channel 
implementation (such as AMFChannel or SecureAMFChannel). The ChannelSet instance 
is assigned via the channelSet property of RemoteObject. The same is true for 
any RPC Service in Flex. Moreover, if you don't want to deal with ChannelSets 
you can use the legacy endpoint attribute on the mx:RemoteObject tag - 
this will create for you a default ChannelSet using the AMFChannel if the URL 
starts with http:// or the SecureAMFChannel if the URL starts with https://. 
Note, however, that this attribute exists to support old styled app 
syntaxfrom Flex 1.5 and is only available on RemoteObject and only 
available on the MXML API for RemoteObject.

If any of the terminology is not clear, the 
architectural components of enterprise messaging are well summarized 
here:

http://www.enterpriseintegrationpatterns.com/toc.html

Note that RPC services represent a special use of 
enterprise messaging... they send remote procedure calls as a message to a 
destination using a Producer and wait for an asynchronously acknowledgement 
messagethat correlates to the request message. (This differs from 
publish/subscribe messaging as the RPC services do not allow other consumers to 
subscribe to the results).

As for why 
add-no-cache-headersfalse/add-no-cache-headers fixes the problem 
- I know of two issues with MSIE 6 and HTTPS. The first is that the presence of 
the HTTP response header "Pragma: no-cache" seems to cause MSIE to drop the 
binary data of the response body before the Flash Player can get access it (and 
thus it can't deserialize the result(s) to your outstanding request(s)). The 
second appears to be due to an HTTP response header Expires with a time set to 
before the current time. Although this technique is often used to immediately 
expire content so that it isn't cached, it seems MSIE doesn't handle this. A fix 
would be to set the Expires header to a very short time in the future, say 2 
seconds... however the FDS channel-definition configuration does not yet provide 
a way to set individual response headers. As such, just stopping the channels 
from setting any caching settings will fix the issues in MSIE - though one may 
still fine tune the caching behavior of the client using a J2EE servlet filter 
that intercepts requests made to the message broker servlet.

Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
syndrake7Sent: Wednesday, October 04, 2006 8:42 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: HTTP Status 500 
Error using SSL endpoint


Peter,I believe the 
add-no-cache-headersfalse/add-no-cache-headers 
property was the fix. I mentioned this on the Adobe forum post, too, for 
others who might have a similar problem.I think I understand what you 
mean by unique endpoint mappings. I have not yet tried this, though. My 
latest attempts had been using only one channel - I had replaced the non-ssl 
channel (default) with an ssl channel.SSL is now working with one 
channel after adding the no-cache property.The next step for me is 
to determine how to keep this working after adding back the standard non-ssl 
channel. And, using the Flex - CF wizard, how to instruct it to use a 
specific channel with the default destination of ColdFusion. The wizard 
writes all RemoteObject calls using 

[flexcoders] Fill a Tree From a JAVA Class

2006-10-04 Thread frederic_dematos
Hi,

I want to fill an mx:Tree from a Java class talking with webDav.

I am calling my Java class using the Remoting Object.

On the actionScript I want to call the method getFiles of my Java
class and give the result to the mx.Tree. The problem is I don't know
which kind of data and which king of structure to pass to the data
provider of the tree.

If somebody had already meet that kind of problem , thanks for your help.

Frédéric DE MATOS








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Re: plug-in detection not working for IE

2006-10-04 Thread Tom Chiverton
On Tuesday 03 October 2006 18:32, zenwarden wrote:
 You really think that's the problem? The same pages work fine in frirefox.

Gee, IE screwing something up when other browsers do it right.
Who'd have thought, eh :-)

-- 
Tom Chiverton
Helping to confidentially deliver innovative materials



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Reducing compiled SWF file size without RSL

2006-10-04 Thread Pablo Apanasionek





Hey 
all!

Just wondering how 
can i reduce the pre-compiled SWF file size of a very simple app = (Application 
+ HBox + Loader + Label + HTTPService + some AS).

With -optimize 
flag, mxmlc returns a 147KB file, which, for the components included and the 
future use of the app (a ticker embedded in HTML) is unacceptable. As it's the 
only SWF i'm coding,using RSL is worthless. (isn't 
it?)

Any tips on 
reducing the file size? I'm using Flex 1.5. Does Flex 2 compile smaller 
SWFs?

Thanks in 
advance!
--Pablo Gustavo 
Apanasionek
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Problem with Session Java/Flex

2006-10-04 Thread jonathan_merey
Is it possible to use sessions ? because I don't like this method. I
will have to add an attribute in my class for each attribute I want to
put in session. Furthermore It isn't possible to create a singleton
because it isn't possible to create private constructor in actionscript.

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

 Hi,
 
 What you need to do is to keep track of the language selection once
it is done in your Flex app, if I understand correctly. So a simple
example that I can give you is that you will have a global variable
that will hold this language selection, like so:
 
 mx:Application
mx:Script
   var language:String;
 
   ...
   language = en;
/mx:Script
 /mx:Application
 
 But as your app gets complex you will need to hold this data in some
AS class called a ModelLocator (you might have read about), so it
might look like so:
 
 public class ModelLocator {
   public var language:String;
 }
 
 then in some other MXML/AS, you do:
 
 var myLanguage:String = ModelLocator.language;
 
 Hope that helps.
 
 Dimitrios Gianninas
 Optimal Payments Inc.
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of jonathan_merey
 Sent: Tue 10/3/2006 1:43 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Problem with Session Java/Flex
  
 Hi, I have an application in which i have to threat the identification.
 In this identification I want to record some information in Session like
 login. The problem is that I don't know how. With a traditional
 application in Java with struts I know but in this case no.
 
 Here is my java code for the moment :
 
 public class LoginAction {
 
  public LoginAction(){}
 
  public int login(String login, String pass)
  {
  request.getSession().setAttribute(login, login);
  return 0;
  }
 }
 
 I don't know how get the HttpServletRequest request.
 
 I don't know to how do in Flex to record some information in this same
 session and how get them. Indeed, I have to  threat different languages.
 When someone click on french or english at identification step he must
 stay in french or english after so how record information in session and
 how get them in flex because I think this must be done in flex this
 time.
 
 Here is the flex code :
 
 private function changeLanguage(language:String):void
 {
  if (language == 'En')
  {
  locale = localeEn;
  }
  if (language == 'Fr')
  {
  locale = localeFr;
  }
 }
 
 Thank you.
 
 
 -- 
 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.







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] What do I need to force UIComponent calculate its size automatically?

2006-10-04 Thread Tom Chiverton
On Wednesday 04 October 2006 10:11, Sergey Kovalyov wrote:
 automatically, depending on box content. What value should I assign to
 height? myBox.height = NaN works ok, but I'm not sure it's stable...

Don't assign anything.

-- 
Tom Chiverton
Helping to revolutionarily morph essential users



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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



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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: Custom component inside custom component issues

2006-10-04 Thread tobiaspatton
'states' is an attribute of your custom component, and should be 
prefixed with the namespace in which your component resides.

Try this:

sl:StatsWidget
sl:states

/sl:states
/sl:StatsWidget

Tobias.

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

 I'm having trouble with mx related packages when they are inside a
 custom component.
 
 My structure is as follows:
 
 - I have a component, 'Widget', which is an ActionScript class that
 extends the TitleWindow container (it just adds a few custom
 show/hide/close methods, it doesn't override any default
 functionality)
 
 - I have a 'StatsWidget' in MXML that is just a few charts inside a
 sl:Widget/sl:Widget as a custom component (xmlns:sl is defined
 properly)
 
 - I have declared xmlns:mx properly so that I can use the mx 
packages
 
 - All mx related packages compile and work inside the 'StatsWidget'
 component with the exception of mx:states which is giving me the
 following error message: 'Could not resolve mx:states to a 
component
 implementation'
 
 I suspect I am missing something -- perhaps my states should be 
used
 at the parent level (the 'Widget' class)?
 
 Any ideas would be appreciated.
 
 Thanks for your time,
 
 Brian








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] What do I need to force UIComponent calculate its size automatically?

2006-10-04 Thread Sergey Kovalyov
True. But if the value is assigned already?

On 10/4/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 04 October 2006 10:11, Sergey Kovalyov wrote:
  automatically, depending on box content. What value should I assign to
  height? myBox.height = NaN works ok, but I'm not sure it's stable...

 Don't assign anything.


--
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] monitoring dataservice fills on lookup tables prior to createItem

2006-10-04 Thread passive_thoughts
I am trying to add a new record.  This record will need values from 3
different lookup tables, so I issue fills on the respective
collections before I start creating my new record. i.e.

Record: contact
Lookups: countries, contacttypes, markets

In this asynchronous world, however, before I can create and save my
new contact, I need to make sure the 3 fills have completed
successfully.  My first thought was to create a collection of some
sort where I would add pending data operations with a status of
Pending and then on successful result, change that status to Complete.
 I would attach an event listener to the collection that dispatches an
event each time a status is updated.   I could then listen for that
event and once my 3 data operations are Complete, I could trigger the
creation and saving of my contact object. 

But it sounds messy.  Any suggestions?

Vic






--
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] SOAP Web Services and registerClassAlias

2006-10-04 Thread Paul Spitzer
Anyone know if there a way to use registerClassAlias with Web Services 
to get typed objects back?


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Re: Custom component inside custom component issues

2006-10-04 Thread Brian Dunphy



Great, works perfectly now!Thanks Tobias, appreciate it.BrianOn 10/4/06, tobiaspatton [EMAIL PROTECTED]
 wrote:












  



'states' is an attribute of your custom component, and should be 
prefixed with the namespace in which your component resides.

Try this:

sl:StatsWidget
sl:states

/sl:states
/sl:StatsWidget

Tobias.

--- In flexcoders@yahoogroups.com, Brian Dunphy [EMAIL PROTECTED] 

wrote:

 I'm having trouble with mx related packages when they are inside a
 custom component.
 
 My structure is as follows:
 
 - I have a component, 'Widget', which is an ActionScript class that
 extends the TitleWindow container (it just adds a few custom
 show/hide/close methods, it doesn't override any default
 functionality)
 
 - I have a 'StatsWidget' in MXML that is just a few charts inside a
 sl:Widget/sl:Widget as a custom component (xmlns:sl is defined
 properly)
 
 - I have declared xmlns:mx properly so that I can use the mx 
packages
 
 - All mx related packages compile and work inside the 'StatsWidget'
 component with the exception of mx:states which is giving me the
 following error message: 'Could not resolve mx:states to a 
component
 implementation'
 
 I suspect I am missing something -- perhaps my states should be 
used
 at the parent level (the 'Widget' class)?
 
 Any ideas would be appreciated.
 
 Thanks for your time,
 
 Brian



  













-- Brian Dunphy

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-04 Thread Leo
Hi

I solved this problem setting the property resultFormat to e4x and
using the appropiate namespace like said in the docs. But now i have 2
more issues:

1) I can't acces the web service int return value because it's called
return and if i use WebService.Operation.lastResult.return the
compiler throws an error because return is used for other purpouses.

2) I need to pass a parameter that has a property named the same as
the parameter and i'm using action script classes to define the
complex structures. But the compiler doesn't allow me to do that (i.e:
public class Name{ public var Name:String; }

If you can give me some advices will be very helpful

Thanks for your time

On 10/4/06, Leo [EMAIL PROTECTED] wrote:
 Hi

 I need to use some already deployed webservices made in RAD (Rational
 Application Developer) and published in a WebSphere v6[.1] server. I'm
 new in consumig web services in Flex so i referred to the docs and try
 to find out how to do that in the right way. The services are defined
 with parameters that can be complex structures and may be in-out-inout
 and have a return type that in the services i need to consume is a int
 type. When i define this web service in flex and i make the call
 websphere receive this call with the parameters that i sent correctly
 (complex structures included) but when i look for the result in the
 WebService.Operation.lastResult field back in Flex i just find the int
 return (Number for ActionScript) from the web service but i can't have
 the values of the complex structures that are defined inout.

 So if some of you have faced this problem before or have some docs or
 hints for me it will be very appreciated

 Thanks in advance and regards

 --
 Leonardo Moreno Guzmán
 http://leo.logtar.com
 http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/



-- 
Leonardo Moreno Guzmán
http://leo.logtar.com
http://www.flickr.com/photos/leillo/ | http://www.flickr.com/people/leillo/


--
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] Array.slice problem

2006-10-04 Thread g_vaccarezza
Hi guys

I got this :

mx:Model id=results
  {myData.lastResult.data.month} 
/mx:Model

If I:

trace (results[3].label)  // Yields April, cool

But If I:

private function sliceResults(): void {
   [Bindable] public var slicedResults: Array = new Array();
   slicedResults = results.slice(1,3)
   trace (slicedResults.toString); 
}

I compile the mxml, and when I call the function, I get the following 
output error:

Error: Unknown Property: 'slice'. 
atmx.collections::ListCollectionView/http://www.adobe.com/2006/actions
cript/flash/proxy::getProperty()...bla bla bla

Any ideas what this could be? Isn't results supposed to be an array?

Help me out! thanks!
-g








--
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] Effect to fade between canvas's background color?

2006-10-04 Thread Sean Rea



Hi,I would like the color of a canvas I am using to fade from one color to another when the user moves the mouse over it. I tried using mx:AnimateAttribute, but it errors when I set property to backgroundColor. Can anyone think of a way to achieve this effect in Flex?
Thank you for your time.Sean Rea

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Flexstore Checkout Script

2006-10-04 Thread Chris
Hi,

I am looking at the latest Flexstore demo from Adobe and I am planning 
to use this model for a new website project.  I am looking for a 
solution to create the checkout pages and connect to a payment 
gateway.  Have anyone done this before? Any examples or directions 
that could get me on the right track?

Cheers,

Chris






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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] What do I need to force UIComponent calculate its size automatically?

2006-10-04 Thread Igor Costa



Hi Sergeyyou can assign by this attribute percentWidth and percentHeight.or just simple as possiblemyBox.height = containerWheretheMyBoxGoes.height;likewise width do the same.Regards.
On 10/4/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:













  



Hi All!

I have UIComponent instance (e. g. Box) myBox. I want to set its width
(e. g. myBox.width = 100), but height should be calculated
automatically, depending on box content. What value should I assign to
height? myBox.height = NaN works ok, but I'm not sure it's stable...

Sergey.

  













-- Igor Costawww.igorcosta.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] SOAP Web Services and registerClassAlias

2006-10-04 Thread Paul Spitzer
Or, a little less specific... is there a way to get the Web Service 
classes to return typed objects?

Paul Spitzer wrote:
 Anyone know if there a way to use registerClassAlias with Web Services 
 to get typed objects back?


   



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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] What do I need to force UIComponent calculate its size automatically?

2006-10-04 Thread Sergey Kovalyov



No... Probably, I have not explained correctly. I want to force children size their parent container (myBox). Setting width (or height, or even both) to undefined or NaN does this job well, though I need to know whether it's stable behaviour or should I use another approach?

On 10/4/06, Igor Costa [EMAIL PROTECTED] wrote:

Hi Sergeyyou can assign by this attribute percentWidth and percentHeight.or just simple as possiblemyBox.height = containerWheretheMyBoxGoes.height;likewise width do the same.
Regards. 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Drag n Drop between 2 Datagrids

2006-10-04 Thread Matias Nicolas Sommi



Hello, maybe the following link is usefull for you:http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/
2006/10/4, s_hernandez01 [EMAIL PROTECTED]:













  



Yes, I know that way but just coding dragEnabled=true and
dropEnabled=true will only carry an object over, and I need it to drag
n drop over to the other datagrid with a dragSource because I have a
total calculating all the prices that get dropped in. The only way of
doing this, is using the DragManager with a dragSource and dropSource
functionality.  Somebody please help me with this actionscript 3 coding.

-Sal

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

 Yeah man it's simple way
 
 here you could also do.
 
 
 just create two datagrids than, using the property in the first one,
 dragEnabled=true and in the second one you could do, dropEnabled=true
 
 Than worked.
 
 here a short example
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute
 mx:Script
 ![CDATA[
 
 public function gridLimpar():void
 {
 grid1.dataProvider = null;
 }
 ]]
 /mx:Script
 mx:Model id=meugrid source=listao.xml/
 
 mx:Panel title=Grid de exemplo width=200 height=200 x=10
 y=10
 mx:DataGrid id=grid1 dragEnabled=true
allowDragSelection=true
 
 allowMultipleSelection=true dataProvider={meugrid.item}
 width=100% height=100%
 mx:columns
 !-- definindo as colunas --
 mx:DataGridColumn headerText=Tipo de produto
 dataField=produto editable=false/
 mx:DataGridColumn headerText=Preço dataField=preco
 editable=false/
 mx:DataGridColumn headerText=Preço dataField=preco
 editable=false
 mx:itemRenderer
 mx:Component
 mx:Image source=icones/accept.png/
 /mx:Component
 /mx:itemRenderer
 /mx:DataGridColumn
 /mx:columns
 /mx:DataGrid
 /mx:Panel
 mx:DataGrid dragEnabled=true dropEnabled=true
 allowDragSelection=true x=234 y=23
 mx:columns
 mx:DataGridColumn headerText=Tipo de produto
 dataField=produto/
 mx:DataGridColumn headerText=Preço de produto
 dataField=preco/
 mx:DataGridColumn headerText=Quantidade em estoque
 dataField=quant/
 /mx:columns
 /mx:DataGrid
 mx:Panel x=544 y=23 width=250 height=200 layout=absolute
 title=Itens escolhidos
 mx:DataGrid width=100% height=100% dropEnabled=true
 allowDragSelection=true x=0 y=0/
 /mx:Panel
 mx:Button x=89 click=gridLimpar(); y=218 label=Limpar/
 
 /mx:Application
 
 
 Regards
 
 
 On 10/3/06, s_hernandez01 [EMAIL PROTECTED] wrote:
 
Would anyone have any source code on how to drag n drop between 2
  datagrids using the Drag Manager?
 
  -Sal
 
   
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com



  













-- Matías Nicolás Sommi

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Xpost. moving flex builder projects from one machine to another??

2006-10-04 Thread John Wilker



blush guess it doesn't get easier than that.Thanks!!On 10/3/06, Mark Rausch [EMAIL PROTECTED]
 wrote:












  













Have you done a File - Import -
Existing projects into Workspace?











From:
[EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of John Wilker
Sent: Tuesday, October 03, 2006
2:16 PM
To: Flex@houseoffusion.com;
[EMAIL PROTECTED]ups.com
Subject: [flexcoders] Xpost.
moving flex builder projects from one machine to another??











Can it be
done?

I've copied all the files over. including the .project and such. But FB still
doesn't show them in the navigator.

J

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










  













-- John WilkerVice President Software Development/WriterRed Omega Solutions, Inc.www.johnwilker.com / 
www.red-omega.comEverything changes, nothing remains without change. 	~Buddha c.483 bc

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-04 Thread ben.clinkinbeard
My best guess for the first issue would be to use array notation or
whatever its called.

WebService.Operation.lastResult[return]

As for the other one, maybe something like this? (Not sure if this
will work... this might not be possible.)

public dynamic class Name
{}
var n:Name = new Name();
n[Name] = Bob;

HTH,
Ben

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

 Hi
 
 I solved this problem setting the property resultFormat to e4x and
 using the appropiate namespace like said in the docs. But now i have 2
 more issues:
 
 1) I can't acces the web service int return value because it's called
 return and if i use WebService.Operation.lastResult.return the
 compiler throws an error because return is used for other purpouses.
 
 2) I need to pass a parameter that has a property named the same as
 the parameter and i'm using action script classes to define the
 complex structures. But the compiler doesn't allow me to do that (i.e:
 public class Name{ public var Name:String; }
 
 If you can give me some advices will be very helpful
 
 Thanks for your time
 
 On 10/4/06, Leo [EMAIL PROTECTED] wrote:
  Hi
 
  I need to use some already deployed webservices made in RAD (Rational
  Application Developer) and published in a WebSphere v6[.1] server. I'm
  new in consumig web services in Flex so i referred to the docs and try
  to find out how to do that in the right way. The services are defined
  with parameters that can be complex structures and may be in-out-inout
  and have a return type that in the services i need to consume is a int
  type. When i define this web service in flex and i make the call
  websphere receive this call with the parameters that i sent correctly
  (complex structures included) but when i look for the result in the
  WebService.Operation.lastResult field back in Flex i just find the int
  return (Number for ActionScript) from the web service but i can't have
  the values of the complex structures that are defined inout.
 
  So if some of you have faced this problem before or have some docs or
  hints for me it will be very appreciated
 
  Thanks in advance and regards
 
  --
  Leonardo Moreno Guzmán
  http://leo.logtar.com
  http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/
 
 
 
 -- 
 Leonardo Moreno Guzmán
 http://leo.logtar.com
 http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] Re: Drag n Drop between 2 Datagrids

2006-10-04 Thread Dustin Mercer












Actually, here is something that might
work better for you.  If you use ArrayCollections as the dataProviders for both
of the DataGrids, you can watch for the collectionChanged event on the
ArrayCollections and recalculate the totals when the collection changes.  That
way you can programmatically add and remove rows and not have to recode all
your logic J  Nice and easy.  Read the docs on the ArrayCollection and check
out the collectionChanged event.  That should get you going.  



Dustin Mercer











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of s_hernandez01
Sent: Wednesday, October 04, 2006
6:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Drag n
Drop between 2 Datagrids











Yes, I know that way but just coding dragEnabled=true
and
dropEnabled=true will only carry an object over, and I need it to drag
n drop over to the other datagrid with a dragSource because I have a
total calculating all the prices that get dropped in. The only way of
doing this, is using the DragManager with a dragSource and dropSource
functionality. Somebody please help me with this actionscript 3 coding.

-Sal

--- In [EMAIL PROTECTED]ups.com,
Igor Costa [EMAIL PROTECTED].. wrote:

 Yeah man it's simple way
 
 here you could also do.
 
 
 just create two datagrids than, using the property in the first one,
 dragEnabled=true and in the second one you could do, dropEnabled=true
 
 Than worked.
 
 here a short example
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute
 mx:Script
 ![CDATA[
 
 public function gridLimpar():void
 {
 grid1.dataProvider = null;
 }
 ]]
 /mx:Script
 mx:Model id=meugrid source=listao.xml/
 
 mx:Panel title=Grid de exemplo width=200
height=200 x=10
 y=10
 mx:DataGrid id=grid1 dragEnabled=true
allowDragSelection=true
 
 allowMultipleSelection=true dataProvider={meugrid.item}
 width=100% height=100%
 mx:columns
 !-- definindo as colunas --
 mx:DataGridColumn headerText=Tipo de produto
 dataField=produto editable=false/
 mx:DataGridColumn headerText=Preço
dataField=preco
 editable=false/
 mx:DataGridColumn headerText=Preço
dataField=preco
 editable=false
 mx:itemRenderer
 mx:Component
 mx:Image source=icones/accept.png/
 /mx:Component
 /mx:itemRenderer
 /mx:DataGridColumn
 /mx:columns
 /mx:DataGrid
 /mx:Panel
 mx:DataGrid dragEnabled=true dropEnabled=true
 allowDragSelection=true x=234
y=23
 mx:columns
 mx:DataGridColumn headerText=Tipo de produto
 dataField=produto/
 mx:DataGridColumn headerText=Preço de produto
 dataField=preco/
 mx:DataGridColumn headerText=Quantidade em estoque
 dataField=quant/
 /mx:columns
 /mx:DataGrid
 mx:Panel x=544 y=23 width=250
height=200 layout=absolute
 title=Itens escolhidos
 mx:DataGrid width=100% height=100%
dropEnabled=true
 allowDragSelection=true x=0
y=0/
 /mx:Panel
 mx:Button x=89 click=gridLimpar();
y=218 label=Limpar/
 
 /mx:Application
 
 
 Regards
 
 
 On 10/3/06, s_hernandez01 s_hernandez01@... wrote:
 
  Would anyone have any source code on how to drag n drop between 2
  datagrids using the Drag Manager?
 
  -Sal
 
  
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] USing a webservice

2006-10-04 Thread pateyog
I am kind of stuck while using web service. A help here would be
highly appreciated. Here is the Error Message, WSDL, Schema Def. I am
using.
Thanks in advance 
-Yogesh

Error message:
--
[WSDLError faultString=Element
http://deploy.webservices.ach.payments.ph.com:templatesRequest 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()

WSDL:
-

definitions name=ACHPaymentsService
targetNamespace=http://impl.webservices.ach.payments.ph.com;
xmlns:wcmas=http://impl.webservices.ach.payments.ph.com;
xmlns:achmns=http://deploy.webservices.ach.payments.ph.com;
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns=http://schemas.xmlsoap.org/wsdl/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
types
xsd:schema
targetNamespace=http://deploy.webservices.ach.payments.ph.com;
xmlns=http://deploy.webservices.ach.payments.ph.com;
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
elementFormDefault=qualified
xsd:import
namespace=http://deploy.webservices.ach.payments.ph.com;
schemaLocation=achMessages.xsd/
/xsd:schema
/types
message name=AchPaymentsTemplatesRequest
documentation xmlns=http://schemas.xmlsoap.org/wsdl//
part name=messagePart element=achmns:templatesRequest/
/message
message name=AchPaymentsTemplatesResponse
documentation xmlns=http://schemas.xmlsoap.org/wsdl//
part name=messagePart element=achmns:templatesResponse/
/message
message name=getTemplateSummaryRequest
documentation xmlns=http://schemas.xmlsoap.org/wsdl//
part name=messagePart 
element=achmns:templateSummaryRequest/
/message
message name=getTemplateSummaryResponse
documentation xmlns=http://schemas.xmlsoap.org/wsdl//
part name=messagePart 
element=achmns:templateSummaryResponse/
/message
portType name=ACHPaymentsInterface
documentation xmlns=http://schemas.xmlsoap.org/wsdl//
operation name=getPaymentTemplates
input message=wcmas:AchPaymentsTemplatesRequest/
output message=wcmas:AchPaymentsTemplatesResponse/
/operation
operation name=getTemplateSummary
input message=wcmas:getTemplateSummaryRequest/
output message=wcmas:getTemplateSummaryResponse/
/operation
/portType
binding name=ACHDemo type=wcmas:ACHPaymentsInterface
soap:binding style=document
transport=http://schemas.xmlsoap.org/soap/http/
operation name=getPaymentTemplates
soap:operation soapAction=wcm:achpayments 
style=document/
input
soap:body use=literal/
/input
output
soap:body use=literal/
/output
/operation
operation name=getTemplateSummary
soap:operation soapAction=wcm:achpayments 
style=document/
input
soap:body use=literal/
/input
output
  

RE: [flexcoders] SOAP Web Services and registerClassAlias

2006-10-04 Thread Seth Hodgson
Hi Paul,

registerClassAlias(...) is used by the Flash Player to drive AMF 
serialization/deserialization. In the web service scenario, you're not getting 
back AMF formatted data so this built-in function doesn't help out.

For now, you'll need to write your own helper classes that take the e4x 
formatted result from your web service invocation and use it to create a typed 
instance(s) of your choosing.

Streamlining this process is on our roadmap.

Best,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
Spitzer
Sent: Wednesday, October 04, 2006 10:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] SOAP Web Services and registerClassAlias

Or, a little less specific... is there a way to get the Web Service 
classes to return typed objects?

Paul Spitzer wrote:
 Anyone know if there a way to use registerClassAlias with Web Services 
 to get typed objects back?


 
 


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] does the CFC/AS namespace path have to match?

2006-10-04 Thread Brendan Meutzner



My question wasn't regarding the ability to pass functions back... sorry for not being clear. My question is whether or not the location of the AS file has to match the location of a CFC file for the namespace path for AS Classes and CF CFC types. When I pass an Object of type 
com.objects.Object1, it seems that CF is looking for the CFC type at com.objects.Object1 even if I have the type set to a different location (com.cfcobjects.Object1 for example). I get an error stating:Could not find the ColdFusion Component 
com.objects.Object1 : Please check that the given name is correct and that the component exists.Thanks,BrendanOn 10/4/06, João Fernandes
 [EMAIL PROTECTED] wrote:













  














Exactly, only properties
are translated between AS3/CFC.



João Fernandes











From:

[EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Bjorn Schultheiss
Sent: quarta-feira, 4 de Outubro
de 2006 5:38
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the
CFC/AS namespace path have to match?











As far as i know CF cant handle AS
functions as it has no way of processing the logic (dont quote me).

I know that in Java all getters and
setters are evaluated to primitive members.



In other words you can not pass a
Function through remoting, i think :)







Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies















From:

[EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Brendan Meutzner
Sent: Wednesday, 4 October 2006
9:39 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the
CFC/AS namespace path have to match?



Hi,

It seems that even when I type my cffunction argument inside my CFC, it looks
for the object definition in the same location the AS object is placed... but
they're not in my case.

Eg.

AS file
import com.blah.blah1.blah2.theDataStructure;
delegate.insertFunction(event.theDataInstance as theDataStructure);

CFC
cfargument name=theDataInstance type= com.blah.blah1.blah2.blah3.theDataStructure /

Gives me an error message from CF saying it can't find com.blah.blah1.blah2.theDataStructure
even though I'm typing it as com.blah.blah1.blah2.blah3.theDataStructure

Is this the case?


Brendan












  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Time Validating

2006-10-04 Thread qnotemedia
Having the same problem here.  IMHO, this is so much easier in CF7 
Flash Forms with the mask property (mask=99:99 always forces four 
numbers with a colon in the middle), and I'm not sure why it has to 
be as complicated as it is in Flex2.

The closest I've gotten is by using a number validator and changing 
the decimalSeparator property to colon.  Unfortunately, this will 
still allow times like 1:234, 123:4, 1234, etc.  I'm assuming 
though you can probably develop something with RegExp, but I don't 
quite understand enough about regular expressions.

Another interesting thing...I noticed that DateChooser's selectedDate 
property includes time as part of its data.  Any way to format or 
access that?

Agreed though - surely someone has taken care of this.

 - Chris

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

 Flex has a NUMBERformatter and a DATEFormatter.  I have the need 
for a time formatter and 
 would not like to re-invent what someone else must have already 
done.  Ideally I want to 
 have a textinput field which restricts input to 0-9: APM.  I would 
like to accept the following 
 and convert all to 3PM
 
 3P
 3
 3:00
 03:00
 15:00
 3:00PM
 
 Of course, if the time is invalid (i.e. 2:65PM, 25:2, etc.) I would 
like to display an error
 
 Does something like this exist or must I roll my own?
 
 thanks:
 
 Bruce








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

2006-10-04 Thread David Brown





http://weblogs.macromedia.com/amcleod/archives/2006/08/open_source_fle.cfm

Any word on this project yet?

David
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] does the CFC/AS namespace path have to match?

2006-10-04 Thread Brendan Meutzner



Solution: Make sure you're RemoteClass alias definition inside the AS Class is correct... doh!Sorry to waste the groups time :-(BrendanOn 10/4/06, 
Brendan Meutzner [EMAIL PROTECTED] wrote:
My question wasn't regarding the ability to pass functions back... sorry for not being clear. My question is whether or not the location of the AS file has to match the location of a CFC file for the namespace path for AS Classes and CF CFC types. When I pass an Object of type 
com.objects.Object1, it seems that CF is looking for the CFC type at com.objects.Object1 even if I have the type set to a different location (com.cfcobjects.Object1 for example). I get an error stating:Could not find the ColdFusion Component 
com.objects.Object1 : Please check that the given name is correct and that the component exists.Thanks,BrendanOn 10/4/06, 
João Fernandes
 [EMAIL PROTECTED] wrote:














  














Exactly, only properties
are translated between AS3/CFC.



João Fernandes











From:


[EMAIL PROTECTED]ups.com [mailto:
[EMAIL PROTECTED]
ups.com] On Behalf Of Bjorn Schultheiss
Sent: quarta-feira, 4 de Outubro
de 2006 5:38
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the
CFC/AS namespace path have to match?











As far as i know CF cant handle AS
functions as it has no way of processing the logic (dont quote me).

I know that in Java all getters and
setters are evaluated to primitive members.



In other words you can not pass a
Function through remoting, i think :)







Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies















From:


[EMAIL PROTECTED]ups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Brendan Meutzner
Sent: Wednesday, 4 October 2006
9:39 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the
CFC/AS namespace path have to match?



Hi,

It seems that even when I type my cffunction argument inside my CFC, it looks
for the object definition in the same location the AS object is placed... but
they're not in my case.

Eg.

AS file
import com.blah.blah1.blah2.theDataStructure;
delegate.insertFunction(event.theDataInstance as theDataStructure);

CFC
cfargument name=theDataInstance type= com.blah.blah1.blah2.blah3.theDataStructure /

Gives me an error message from CF saying it can't find com.blah.blah1.blah2.theDataStructure
even though I'm typing it as com.blah.blah1.blah2.blah3.theDataStructure

Is this the case?


Brendan












  

















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-04 Thread Leo



Hi Ben and thanks for respondingI already tried the array notation but doesn't work. And for the second issue i'm going to try thatComments?, suggestions?Thanks
On 10/4/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:













  



My best guess for the first issue would be to use array notation or
whatever its called.

WebService.Operation.lastResult[return]

As for the other one, maybe something like this? (Not sure if this
will work... this might not be possible.)

public dynamic class Name
{}
var n:Name = new Name();
n[Name] = Bob;

HTH,
Ben

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

 Hi
 
 I solved this problem setting the property resultFormat to e4x and
 using the appropiate namespace like said in the docs. But now i have 2
 more issues:
 
 1) I can't acces the web service int return value because it's called
 return and if i use WebService.Operation.lastResult.return the
 compiler throws an error because return is used for other purpouses.
 
 2) I need to pass a parameter that has a property named the same as
 the parameter and i'm using action script classes to define the
 complex structures. But the compiler doesn't allow me to do that (i.e:
 public class Name{ public var Name:String; }
 
 If you can give me some advices will be very helpful
 
 Thanks for your time
 
 On 10/4/06, Leo [EMAIL PROTECTED] wrote:
  Hi
 
  I need to use some already deployed webservices made in RAD (Rational
  Application Developer) and published in a WebSphere v6[.1] server. I'm
  new in consumig web services in Flex so i referred to the docs and try
  to find out how to do that in the right way. The services are defined
  with parameters that can be complex structures and may be in-out-inout
  and have a return type that in the services i need to consume is a int
  type. When i define this web service in flex and i make the call
  websphere receive this call with the parameters that i sent correctly
  (complex structures included) but when i look for the result in the
  WebService.Operation.lastResult field back in Flex i just find the int
  return (Number for ActionScript) from the web service but i can't have
  the values of the complex structures that are defined inout.
 
  So if some of you have faced this problem before or have some docs or
  hints for me it will be very appreciated
 
  Thanks in advance and regards
 
  --
  Leonardo Moreno Guzmán
  http://leo.logtar.com
  http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/
 
 
 
 -- 
 Leonardo Moreno Guzmán
 http://leo.logtar.com
 http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/



  













-- Leonardo Moreno Guzmánhttp://leo.logtar.comhttp://www.flickr.com/photos/leillo/
 | http://www.flickr.com/people/leillo/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] SOAP Web Services and registerClassAlias

2006-10-04 Thread Paul Spitzer
Thanks Seth. I should have read the docs. :)... Preserves the class 
(type) of an object when the object is encoded in Action Message Format 
(AMF). I didn't know it was AMF specific.

It /would/ be great to see some more support for this kind of thing. In 
the past we've done things like...

response.__proto__ = User.prototype;
Function(User).call(response);
var user: User = User(response);

Where response is the parsed anonymous object from the web service and 
User is the type. Now, I'm having to manually iterate the anonymous 
object and populate an instance of the type.

best,

Paul


Seth Hodgson wrote:
 Hi Paul,

 registerClassAlias(...) is used by the Flash Player to drive AMF 
 serialization/deserialization. In the web service scenario, you're not 
 getting back AMF formatted data so this built-in function doesn't help out.

 For now, you'll need to write your own helper classes that take the e4x 
 formatted result from your web service invocation and use it to create a 
 typed instance(s) of your choosing.

 Streamlining this process is on our roadmap.

 Best,
 Seth

 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
 Spitzer
 Sent: Wednesday, October 04, 2006 10:13 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] SOAP Web Services and registerClassAlias

 Or, a little less specific... is there a way to get the Web Service 
 classes to return typed objects?

 Paul Spitzer wrote:
   
 Anyone know if there a way to use registerClassAlias with Web Services 
 to get typed objects back?



 

  



   



--
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] Dynamically adding components to a panel?

2006-10-04 Thread jack_freud
I'm still very new to Flex so what I thought should be hard is easy and
what I thought should be easy is hard!

I'm trying to find out how, to make an easy example, by pressing a
button, another new button would appear in the panel.

Ultimately I want to make a kind of toolbar or palette, where I could
drag a shape from the palette into the workspace, and a copy of that
shape would remain where I performed the drop.

I can't find any examples that do anything like this.

Thanks for anyone's help or direction.






--
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] WebOrb for Rails

2006-10-04 Thread Allen Riddle












Ive been looking at The Midnight
Coders WebOrb for Rails and Im very impressed. Has Adobe given
any thought to hiring these developers so they could get these implementations
ported into Adobes Flex Data Services? I know Adobes working on a
.NET implementation, but getting a Ruby implementation would be fantastic.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Spitzer
Sent: Wednesday, October 04, 2006
1:27 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] SOAP Web
Services and registerClassAlias











Thanks Seth. I should have read the docs. :)... Preserves the
class 
(type) of an object when the object is encoded in Action Message Format 
(AMF). I didn't know it was AMF specific.

It /would/ be great to see some more support for this kind of thing. In 
the past we've done things like...

response.__proto__ = User.prototype;
Function(User).call(response);
var user: User = User(response);

Where response is the parsed anonymous object from the web service and 
User is the type. Now, I'm having to manually iterate the anonymous 
object and populate an instance of the type.

best,

Paul

Seth Hodgson wrote:
 Hi Paul,

 registerClassAlias(...) is used by the Flash Player to drive AMF
serialization/deserialization. In the web service scenario, you're not
getting back AMF formatted data so this built-in function doesn't help out.

 For now, you'll need to write your own helper classes that take the e4x
formatted result from your web service invocation and use it to create a typed
instance(s) of your choosing.

 Streamlining this process is on our roadmap.

 Best,
 Seth

 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Paul Spitzer
 Sent: Wednesday, October 04, 2006 10:13 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: Re: [flexcoders] SOAP Web Services and registerClassAlias

 Or, a little less specific... is there a way to get the Web Service 
 classes to return typed objects?

 Paul Spitzer wrote:
 
 Anyone know if there a way to use registerClassAlias with Web Services

 to get typed objects back?



 

 



 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Component binding not working

2006-10-04 Thread greenfishinwater
This has been driving me mad for the last few hours.

I have built a custom component based on mx:Canvas, which contains a
form and a HTTPService to fetch data to be displayed in the form.

The application is:

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:my=*
layout=absolute
  my:StoreDetails storeId=1850
  /my:StoreDetails
/mx:Application

The component StoreDetails is:

mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=500
   height=510

  mx:Script source=StoreDetails_as.as/

  mx:HTTPService id=storeGet result=storeGetResult(event) 
  useProxy=false method=GET
  contentType=application/xml showBusyCursor=true
  resultFormat=e4x
  url=http://localhost:3000/stores/get;
mx:request xmlns=
  id{storeIdToUse}/id
/mx:request
  /mx:HTTPService

 ..

In my script file StoreDetails_as.as I have contains:

[Bindable] private var storeIdToUse:String;

public function set storeId(s:String):void {
  storeIdToUse = s;
  storeGet.send();
}

The problem is that the binding of the storeID via storeIDToUse to the
HTTP request is not working.

When I hard code the store id in the HTTP request the code works.

What else do I have to do to get this data binding to work.

Andrew






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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Array.slice problem

2006-10-04 Thread Tim Hoff
Hi G,

slice is an ArrayCollection or Object (depending on the result 
format), not an Array.  Therfore, the slice() method isn't 
available.  You could either filter the ArrayCollection, loop 
through it, or cast explicitely.

slicedResults.push(results[1].label);
slicedResults.push(results[3].label);

-TH

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

 Hi guys
 
 I got this :
 
 mx:Model id=results
   {myData.lastResult.data.month} 
 /mx:Model
 
 If I:
 
 trace (results[3].label)  // Yields April, cool
 
 But If I:
 
 private function sliceResults(): void {
[Bindable] public var slicedResults: Array = new Array();
slicedResults = results.slice(1,3)
trace (slicedResults.toString); 
 }
 
 I compile the mxml, and when I call the function, I get the 
following 
 output error:
 
 Error: Unknown Property: 'slice'. 
 
atmx.collections::ListCollectionView/http://www.adobe.com/2006/action
s
 cript/flash/proxy::getProperty()...bla bla bla
 
 Any ideas what this could be? Isn't results supposed to be an 
array?
 
 Help me out! thanks!
 -g







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] Reducing compiled SWF file size without RSL

2006-10-04 Thread Robert Was






In flex you can compile any swf, for example you can extend only
Sprite. Application size is big as required. I think about flex 2.
Robert Was



Pablo Apanasionek wrote:


  
  
  Hey
all!
  
  Just
wondering how can i reduce the pre-compiled SWF file size of a very
simple app = (Application + HBox + Loader + Label + HTTPService + some
AS).
  
  With
-optimize flag, mxmlc returns a 147KB file, which, for the components
included and the future use of the app (a ticker embedded in HTML) is
unacceptable. As it's the only SWF i'm coding,using RSL is worthless.
(isn't it?)
  
  Any
tips on reducing the file size? I'm using Flex 1.5. Does Flex 2 compile
smaller SWFs?
  
  Thanks
in advance!
  --Pablo Gustavo Apanasionek
  





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Dynamically adding components to a panel?

2006-10-04 Thread dordea cosmin


Check the manuals , developers guide and building flex components , there is plenty of documentation.However , for your particular case , just add a click listener to the button , and on it do something likevar foo:Button = new Button();container.addChild(foo);for the shape thing , for each shape or object you want make a component. .Flex knows about dragging , on mouse down just call startDrag and on mouse down call endDrag , and create a new instanceof that particular component you want to place and init it's x and y properties with contentMouseX and contentMouseY.Hope this helps.- Original Message From: jack_freud [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, October 4, 2006 9:48:01 PMSubject: [flexcoders] Dynamically adding components to a panel?








I'm still very new to Flex so what I thought should be hard is easy and
what I thought should be easy is hard!

I'm trying to find out how, to make an easy example, by pressing a
button, another new button would appear in the panel.

Ultimately I want to make a kind of toolbar or palette, where I could
drag a shape from the palette into the workspace, and a copy of that
shape would remain where I performed the drop.

I can't find any examples that do anything like this.

Thanks for anyone's help or direction.


  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


RE: [flexcoders] Dynamically adding components to a panel?

2006-10-04 Thread Dustin Mercer












The addChild method of Panel is what you
need. Here is a quick (non tested, on the fly, dont take literal)
example, but It should get you on the right path.



mx:Script

 ![CDATA[

 Private
function addPanelChild() : void {

 var
button : Button = new Button();

 button.label
= test;

 testPanel.addChild(button);

 }

]]

/mx:Script



mx:Button label=test
click=addPanelChild(); /



mx:Panel id=testPanel

/mx:Panel











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of jack_freud
Sent: Wednesday, October 04, 2006
11:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dynamically
adding components to a panel?











I'm still very new to Flex so what I thought should be
hard is easy and
what I thought should be easy is hard!

I'm trying to find out how, to make an easy example, by pressing a
button, another new button would appear in the panel.

Ultimately I want to make a kind of toolbar or palette, where I could
drag a shape from the palette into the workspace, and a copy of that
shape would remain where I performed the drop.

I can't find any examples that do anything like this.

Thanks for anyone's help or direction.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Time Validating

2006-10-04 Thread qnotemedia
Well - just spent some time with this.  Here's what I came up with.  
Sloppy, but it works.  This allows standard times (1:00, 12:00, 
12:59), but not military time (24:00, 13:59, etc.).

private function validateTime():void {
var setTime:String = new String;
setTime = timeToAdd.text;
if ((setTime.length == 4  setTime.charAt(1) == :  int
(setTime.charAt(0)) = 1  int(setTime.charAt(0)) = 9  int
(setTime.charAt(2)) = 5  int(setTime.charAt(3)) = 9)
 || (setTime.length == 5  setTime.charAt(2) == :  int
(setTime.charAt(0)) == 1  int(setTime.charAt(1)) = 2  int
(setTime.charAt(3)) = 5  int(setTime.charAt(4)) = 9)) {
Alert.show(Valid Number);
} else {
Alert.show (Plesae enter a correct time (i.e. 12:00, 
9:00, etc.);
}
}
mx:HBox
mx:Label text=Type in a Time:/
mx:TextInput id=timeToAdd width=100% text=12:00 /
/mx:HBox

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

 Having the same problem here.  IMHO, this is so much easier in CF7 
 Flash Forms with the mask property (mask=99:99 always forces four 
 numbers with a colon in the middle), and I'm not sure why it has to 
 be as complicated as it is in Flex2.
 
 The closest I've gotten is by using a number validator and changing 
 the decimalSeparator property to colon.  Unfortunately, this will 
 still allow times like 1:234, 123:4, 1234, etc.  I'm assuming 
 though you can probably develop something with RegExp, but I don't 
 quite understand enough about regular expressions.
 
 Another interesting thing...I noticed that DateChooser's 
selectedDate 
 property includes time as part of its data.  Any way to format or 
 access that?
 
 Agreed though - surely someone has taken care of this.
 
  - Chris
 
 --- In flexcoders@yahoogroups.com, boy_trike boy_trike@ wrote:
 
  Flex has a NUMBERformatter and a DATEFormatter.  I have the need 
 for a time formatter and 
  would not like to re-invent what someone else must have already 
 done.  Ideally I want to 
  have a textinput field which restricts input to 0-9: APM.  I 
would 
 like to accept the following 
  and convert all to 3PM
  
  3P
  3
  3:00
  03:00
  15:00
  3:00PM
  
  Of course, if the time is invalid (i.e. 2:65PM, 25:2, etc.) I 
would 
 like to display an error
  
  Does something like this exist or must I roll my own?
  
  thanks:
  
  Bruce
 








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





RE: [flexcoders] Re: SQL Server and Flex 2

2006-10-04 Thread Tracy Spratt












I have not set up parallel access paths so
that I could benchmark these protocols. Intuition tells me that the extra data
load and extra parsing that must be associated with SOAP messages must make
that a little slower. But I must also say that both methods are very fast
and would not let theoretical performance differences be the primary deciding
factor.



In my case, I have found retrieving and
manipulating pure xml to be much simpler than dealing with web services and
soap.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: Tuesday, October 03, 2006
10:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: SQL
Server and Flex 2











Tracy or anyone,

Not to change the subject; just extend it a bit. Have you noticed a 
significant performance gain using HTTP over webservices? My 
testing is purly local at this time. So, I'm interested what others 
have experienced in a production environment.

-TH

--- In [EMAIL PROTECTED]ups.com,
Tracy Spratt
[EMAIL PROTECTED] 
wrote:

 But unless you need FDS(Flex Data Services) you do not need a J2EE
 server.
 
 Also consider using FOR XML [raw, auto, explicit] with XML over
 HTTPService to talk to Flex.
 
 Tracy
 
 -Original Message-
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Dimitrios Gianninas
 Sent: Tuesday, October 03, 2006 10:00 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: RE: [flexcoders] SQL Server and Flex 2
 
 Hi,
 
 To answer your last question, Flex doesn't run on IIS. You will 
need to
 either purchase a Java web server or use of the open-source ones 
(JBoss,
 Tomcat, etc...). Thats where you will deploy your Flex app and 
then it
 can talk to your Web Services or load ASP pages running on IIS.
 
 See the posts from others before me for further info.
 
 Dimitrios Gianninas
 Optimal Payments Inc.
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]ups.com
on behalf of Joe
 Sent: Tue 10/3/2006 5:23 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] SQL Server and Flex 2
 
 Okay, 
 I'm pretty new to the Flex scene and am very impressed with the
 development so far. My company is wanting to start developing a
 database application using an Ajax
technology and realize I'm a 
little
 behind the curve since Flex applications don't access data like the
 .net applications I normally develop. We've already bought Flex
 Builder 2.0 and I am being pushed to develop there. 
 
 So far the interface design and interaction development I'm 
catching,
 but with the data access I'm lost.
 
 Does anyone have any idea where to begin? I've tried browsing the
 forums and just keep getting more confused, and all of the examples
 I've found on the web don't use IIS/MSSQL.
 
 Please Help!
 
 Thanks







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] WebOrb for Rails

2006-10-04 Thread Clint Modien



I love how much buzz WebOrb is getting. 

Adobe is trying to keep the price of their java/flash remoting server high. Which is understandable. They need to make money on the product or we'll all be out of jobs. (Well I would be anyway.) But if Adobe were to aquire WebOrb how much do you think the .NET version would be? Would the ROR and PHP versions be GPL?


Anyway licensing costs aside... Adobe is not making a .net version... as far as i know wondertwin (.netfds)was still born in 04'. I do however feel that Adobe is and has beenmaking an enourmous mistake by only supporting Java/CF. How do they expect to reach a million developers by only supporting Java/CF?


Adobe needs to hold up WebOrb to the public and say... Look Flex/Flash/Apollo can support remote objects for multiple backends!!! WebOrb isn't even producing a Java remoting implementation to stay out of Adobe's space and allow them to capitalize on the Java market of the large corporations. WEBORB IS NOT A COMPETITOR TO FDS BECAUSE WEBORB DOES NOT SUPPORT JAVA. IT COMPLEMENTS IT. Why isn't WebOrb all over the dev center? Why isn't Adobe pushing it? 


How many developers in the world use Java, CF, .NET, PHP, Ruby ?? 75% ?

How many people is that in the world? 50 million?

On 10/4/06, Allen Riddle [EMAIL PROTECTED] wrote:







I've been looking at The Midnight Coder's WebOrb for Rails and I'm very impressed. Has Adobe given any thought to hiring these developers so they could get these implementations ported into Adobe's Flex Data Services? I know Adobe's working on a .NET implementation, but getting a Ruby implementation would be fantastic.






From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Paul SpitzerSent: Wednesday, October 04, 2006 1:27 PMTo:
 [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] SOAP Web Services and registerClassAlias





Thanks Seth. I should have read the docs. :)... Preserves the class (type) of an object when the object is encoded in Action Message Format 
(AMF). I didn't know it was AMF specific.It /would/ be great to see some more support for this kind of thing. In the past we've done things like...response.__proto__ = User.prototype;Function(User).call(response);
var user: User = User(response);Where response is the parsed anonymous object from the web service and User is the type. Now, I'm having to manually iterate the anonymous object and populate an instance of the type.
best,PaulSeth Hodgson wrote: Hi Paul, registerClassAlias(...) is used by the Flash Player to drive AMF serialization/deserialization. In the web service scenario, you're not getting back AMF formatted data so this built-in function doesn't help out.
 For now, you'll need to write your own helper classes that take the e4x formatted result from your web service invocation and use it to create a typed instance(s) of your choosing. Streamlining this process is on our roadmap.
 Best, Seth  From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Spitzer Sent: Wednesday, October 04, 2006 10:13 AM
 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] SOAP Web Services and registerClassAlias
 Or, a little less specific... is there a way to get the Web Service  classes to return typed objects? Paul Spitzer wrote:  Anyone know if there a way to use registerClassAlias with Web Services 
 to get typed objects back?   

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Creating variable name dynamically

2006-10-04 Thread Gordon Smith












In your example, you store the ith TextInput
instance as myArray[i][0] and the ith CheckBox instance as myArray[i][1]. So
loop over i and check whether myArray[i][1].selected is true.



The name of the local var chkCheckBox is
completely irrelevant; this var doesn't even exist after the function
createStuff() returns.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kristian_wright2002
Sent: Wednesday, October 04, 2006
1:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Creating
variable name dynamically











I'm in a situation where I need to create a number of
components at
runtime, at different time intervals. A user presses a button and I
create a set of components. They press the button again, and another
set of the same components is created.

My problem is that one of the components created is a checkbox, which
needs to be used later. I can store component information in an array
so I can reference it later, but the problem is that the information
in the array will only hold the initial value of the checkbox, and not
the current value.

Currently I have a function like the following that creates the
required controls when the button is pressed:

private function createStuff():void
{
if (index  maxLimit)
{
var chkCheckbox:CheckBox = new CheckBox;
var txtInput:TextInput = new TextInput;
myArray[index] = [txtInput, chkCheckbox];
index++;
}
}

This is a simplified version, but it works as intended. I have a
function that does stuff with these components, but only the selected
ones. How can I tell what checkbox is selected? They are all called
chkCheckbox! I need to have a unique name for each one, so I can loop
through them and use this[chkCheckbox+i].selected to see which
ones
I perform the 2nd function on.

What's the best way to achieve this? I've tried using a repeater, but
since the dataprovider is empty at the start of the app, it doesn't
seem to update the repeater. Unless I'm using the repeater wrong...

Any help would be greatly appreciated

Thanks,
K.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Flex Marketing

2006-10-04 Thread Clint Modien
I mentioned this @ the Silicon Valley Flex User Group meeting the
other day but I wanted to reiterate it here and see if I could invoke
a response from Adobe.

Mr. Mendels?

Where is the marketing for Flex?  Why keep the most beautiful
framework in the world for creating applications a secret? Where are
the Visual Studio style banner adds everywhere. Where is the buzz for
it on Slashdot.  Why arn't other developers in the world standing up
and saying is creating applications really this easy!?!

I've seen the lights go on in a developers eyes when they get it.
When they see what 5 lines of code can acomplish with Flex.  They get
excited.  Excitement sells licenses.

(Gets off his soapbox and points to it...)  ...  Thoughts?


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] Re: Accesing complex structures in result from WebServices

2006-10-04 Thread Leo



Hi againThe access using array notation worked fine, i was misspelling the word return.thanksOn 10/4/06, Leo 
[EMAIL PROTECTED] wrote:Hi Ben and thanks for respondingI already tried the array notation but doesn't work. And for the second issue i'm going to try that
Comments?, suggestions?Thanks
On 10/4/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:














  



My best guess for the first issue would be to use array notation or
whatever its called.

WebService.Operation.lastResult[return]

As for the other one, maybe something like this? (Not sure if this
will work... this might not be possible.)

public dynamic class Name
{}
var n:Name = new Name();
n[Name] = Bob;

HTH,
Ben

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

 Hi
 
 I solved this problem setting the property resultFormat to e4x and
 using the appropiate namespace like said in the docs. But now i have 2
 more issues:
 
 1) I can't acces the web service int return value because it's called
 return and if i use WebService.Operation.lastResult.return the
 compiler throws an error because return is used for other purpouses.
 
 2) I need to pass a parameter that has a property named the same as
 the parameter and i'm using action script classes to define the
 complex structures. But the compiler doesn't allow me to do that (i.e:
 public class Name{ public var Name:String; }
 
 If you can give me some advices will be very helpful
 
 Thanks for your time
 
 On 10/4/06, Leo [EMAIL PROTECTED] wrote:
  Hi
 
  I need to use some already deployed webservices made in RAD (Rational
  Application Developer) and published in a WebSphere v6[.1] server. I'm
  new in consumig web services in Flex so i referred to the docs and try
  to find out how to do that in the right way. The services are defined
  with parameters that can be complex structures and may be in-out-inout
  and have a return type that in the services i need to consume is a int
  type. When i define this web service in flex and i make the call
  websphere receive this call with the parameters that i sent correctly
  (complex structures included) but when i look for the result in the
  WebService.Operation.lastResult field back in Flex i just find the int
  return (Number for ActionScript) from the web service but i can't have
  the values of the complex structures that are defined inout.
 
  So if some of you have faced this problem before or have some docs or
  hints for me it will be very appreciated
 
  Thanks in advance and regards
 
  --
  Leonardo Moreno Guzmán
  http://leo.logtar.com
  http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/
 
 
 
 -- 
 Leonardo Moreno Guzmán
 http://leo.logtar.com
 http://www.flickr.com/photos/leillo/ |
http://www.flickr.com/people/leillo/



  













-- Leonardo Moreno Guzmán
http://leo.logtar.comhttp://www.flickr.com/photos/leillo/
 | http://www.flickr.com/people/leillo/

-- Leonardo Moreno Guzmánhttp://leo.logtar.comhttp://www.flickr.com/photos/leillo/
 | http://www.flickr.com/people/leillo/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: e4x with XMLListCollections?

2006-10-04 Thread tddclare
Thanks for the reply.  I'm wondering why I can't?

According to the docs, myCollection.source gived an XMLList, and the
XMLList docs say that This class (along with the XML, Namespace, and
QName classes) implements powerful XML-handling standards defined in
ECMAScript for XML (E4X) specification (ECMA-357 edition 2).

I'm unfortunately in the process of trying to figure out how to use
XML as a datasource (from a PHP page) and effectively use it to manage
data throughout my Flex app.

I thought the whole point of e4x was to NOT have to iterate through
everything?

Let me go about this a different way and see if anyone has a better
idea for how to handle all of this information.

I have XML coming down from php.  The PHP is grabbing itfrom a
relational database, where there is a table of
trainingEvents (with unique keyID's) and a table of
trainingEventInstances, which are many to 1 with the events.  Some of
the instances can override certain properties like price...

catalog
trainingEvent keyID=1 title=Programming 101 eventCost=499.99
trainingEventInstance keyID=1 location=Houston
eventDate=02/11/2007 instanceCost=499.99 /
trainingEventInstance keyID=2 location=Houston
eventDate=04/19/2007 instanceCost=499.99 /
trainingEventInstance keyID=3 location=Las Vegas
eventDate=04/19/2007 instanceCost=299.99 /
/trainingEvent
trainingEvent keyID=2 title=Miter Saw Safety eventCost=300.00
trainingEventInstance keyID=4 location=Houston
eventDate=12/25/2006 instanceCost=300.00 /
/trainingEvent
trainingEvent keyID=3 title=How to Fly The Shuttle
eventCost=19.99
trainingEventInstance keyID=5 location=Florida
eventDate=09/01/2007 instanceCost=1499.99 /
trainingEventInstance keyID=6 location=Nevada
eventDate=12/10/2006 instanceCost=499.99 /
trainingEventInstance keyID=7 location=India
eventDate=11/24/2006 instanceCost=19.99 /
/trainingEvent
/catalog

I want to do the following things with it:
1.  Display the structure in a tree, where there are trainingEvents at
the topmost level, with their instances below them.  (I'm doing this
currently by putting the XML into an XMLListCollection and using it as
the source for a tree, with label and icon functions.  Works well).
2.  Be able to drag and drop trainingEventInstances onto a Person
(items in a listbox ) and have those trainingEventInstances assigned
to them.
3.  Show a datagrid of the titles, locations, and dates for any
person's assignments.

The problem I keep hitting is when I want to display the titles.  The
title is a property of the trainingEvent, not the
trainingEventInstance...  I could solve it by adding the title to the
instances, but that seems like a lot like duplicating data to me.  I
would have assumed that I could, at any time, find the instance I need
in the structure, go to its parent, and grab the title?

The traverse all nodes method will work, but what when I have 1000
items in my catalog and the person is assigned to 100 of them.  My
label function in the datagrid would be going 100,000 loops to print
the titles, which seems wrong.

Can anyone tell me of a way to work with data coming from a relational
database so that I can display relevant info as I need it? 

Thanks!

-- TC


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

 I'm not sure if you will be able to directly access the trainingEvent
 title using the return statement you have given below.   Looking at the
 structure of the XML, it seems inevitable that you'll have to iterate
 through each and every node to search for the KeyID you are looking for
 and when you find one grab the title from the parent node.Here is a
 code that works:   the XML:   mx:XML id=theCatalog
catalog
 trainingEvent keyID=1 title=Programming 101 eventCost=499.99
 trainingEventInstance keyID=1 trainingEventID=1
 location=Houston eventDate=02/11/2007 instanceCost= 499.99 /
 trainingEventInstance keyID=2 trainingEventID=1
 location=Houston eventDate=04/19/2007 instanceCost=499.99 /
 trainingEventInstance keyID=3 trainingEventID=1 location=Las
 Vegas eventDate=04/19/2007 instanceCost= 299.99 /
/trainingEvent
trainingEvent keyID=2 title=Miter Saw Safety eventCost=300.00
 trainingEventInstance keyID=4 trainingEventID=2
 location=Houston eventDate=12/25/2006 instanceCost= 300.00 /
 trainingEventInstance keyID=5 trainingEventID=2
 location=Houston eventDate=12/25/2006 instanceCost=300.00 /
 trainingEventInstance keyID=6 trainingEventID=2
 location=Houston eventDate=12/25/2006 instanceCost= 300.00 /
 trainingEventInstance keyID=7 trainingEventID=2
 location=Houston eventDate=12/25/2006 instanceCost=300.00 /
/trainingEvent
/catalog
   /mx:XML public function getCourseTitle(instanceID:Number){
 // Iterate through each Node of the XML
 for each(var parentNodes:XML in 

[flexcoders] Adobe looking for RIA Sr Computer Scientist in San Francisco to work on Flex

2006-10-04 Thread bankjeffrey
Please contact Jeff Bank  [EMAIL PROTECTED] if interested:

Position:   Senior Computer Scientist – Flex  (TR050603)
Location:   San Francisco
Direct Report Manager:  Technology Investigator

Adobe (NASDAQ: ADBE) For more than two decades, the company's award-
winning technologies and software have redefined business, 
entertainment, and personal communications by setting new standards 
for producing and delivering content that engages people anywhere at 
anytime. From rich images in print, video, and film to dynamic 
digital content for a variety of media, the impact of Adobe 
solutions is clear to anyone who creates, views, and interacts with 
information.

Now that Adobe and Macromedia are one company, Adobe is better 
positioned than ever to push the boundaries of the digital universe. 

The Position 
Recognizing that employees are at the core of our success, Adobe 
recruits and retains highly qualified and motivated individuals, 
creates an environment where they can innovate and achieve their 
best, and rewards them for their performance by giving them an 
opportunity to share in the company's success.
 
Position Summary:
Adobe is seeking a senior level software engineer to join the Flex 
team.  Flex is the next generation UI platform for creating rich 
internet applications and is leading the wave of new software tools 
for creating more engaging user interfaces on the web.  This role 
will focus on investigating new business opportunities that leverage 
Flex and other Adobe products.  You will be responsible for creating 
proof of concepts and working with product management  marketing 
and customers to define next generation products.  This is an 
exciting opportunity for creative individuals who want to help 
define the future of internet software development.  You will have a 
proven track record of innovation, creating apps that have a focus 
on usability, strong architecture skills, strong UI coding skills, 
experience in creating platforms  frameworks and knowledge of 
emerging Web 2.0 trends. Areas of research will focus on products 
that are highly visual, expressive and real-time.

Knowledge  Skills: 

-Bachelor's degree in computer science or equivalent.
-Minimum of 6 years experience in software development.
-Experience in developing enterprise web applications using: Java, 
J2EE, .NET, application servers, servlets, SQL, JDBC, XML.
-Strong knowledge of web applications development tools, 
technologies, languages (JSP, XML) and trends. 
-Experience developing in Flash Actionscript or 
JavaScript/DHTML/AJAX.
-Experience with application class libraries such as Java Swing and 
MFC.
-Extensive background in applying object oriented software 
development (Java, C++) methodologies.
-Background in full product development life cycle - preferably in 
shrink-wrap software.
-Desired: Experience with other Macromedia and Adobe product lines.
-Desired: Experience in building software development tools.
-Motivated self-starter who likes working on very productive, fast 
paced teams.
-Ability to communicate and collaborate effectively with teammates.
-Java, J2EE, .NET, app servers, JavaScript/DHTML/AJAX.

Adobe believes personal fulfillment and company success go hand in 
hand, sustaining one another. In fact, our dynamic, rewarding 
working environment is well known – including seven consecutive 
years on FORTUNE magazine's 100 Best Companies to Work For and 
other, similar accolades. By hiring the very best and brightest, 
Adobe continues to be a simply better place to work – creating a 
dynamic environment today and providing incentives for future 
achievement.

Contact Jeffrey Bank  [EMAIL PROTECTED]







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Dynamically adding components to a panel?

2006-10-04 Thread Robert Was






Flex documentation has lot of examples about dnd, I found everything
for similar assumption
Robert Was



jack_freud wrote:


  
  I'm still very new to Flex so what I thought should be hard is
easy and
what I thought should be easy is hard!
  
I'm trying to find out how, to make an easy example, by pressing a
button, another new button would appear in the panel.
  
Ultimately I want to make a kind of toolbar or palette, where I could
drag a shape from the palette into the workspace, and a copy of that
shape would remain where I performed the drop.
  
I can't find any examples that do anything like this.
  
Thanks for anyone's help or direction.
  
  
  





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___







[flexcoders] Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-04 Thread Kirk Marple





we're looking to 
move our ASP.NET based application suite to Flash, and have been investigating 
the use of Flex 2 vs. just straight Flash 8 Pro.

can anyone provide 
any feedback on what limitations you've seen when developing an RIA in Flex 2 
vs. just straight Flash 8?

we're trying to 
evaluate the pros/cons on going one way vs another.
specifically, we 
likethe Flex 2 layout capabilities and the ability to easily deal with XML 
and REST web services, but we seem to be constrained by the lack of scripted 
animations (from what i've heard) and ability to have a "cinematic" look/feel 
compared to Flash 8. also, it's video-heavy application and need the 
ability to do dynamic video assembly and playback.

thanks for any 
input!
Kirk

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Kirk Marple
Chief Software Architect, VP of 
Engineering
Agnostic Media, Inc.
e: [EMAIL PROTECTED]
w: www.agnostic-media.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: SQL Server and Flex 2

2006-10-04 Thread Tim Hoff
Thanks Tracy,

That's something that I'll have to play around with down the road.

-TH

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

 I have not set up parallel access paths so that I could benchmark 
these
 protocols. Intuition tells me that the extra data load and extra 
parsing
 that must be associated with SOAP messages must make that a little
 slower.  But I must also say that both methods are very fast and 
would
 not let theoretical performance differences be the primary deciding
 factor.
 
  
 
 In my case, I have found retrieving and manipulating pure xml to 
be much
 simpler than dealing with web services and soap.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tim Hoff
 Sent: Tuesday, October 03, 2006 10:46 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: SQL Server and Flex 2
 
  
 
 Tracy or anyone,
 
 Not to change the subject; just extend it a bit. Have you noticed 
a 
 significant performance gain using HTTP over webservices? My 
 testing is purly local at this time. So, I'm interested what 
others 
 have experienced in a production environment.
 
 -TH
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , Tracy Spratt tspratt@ 
 wrote:
 
  But unless you need FDS(Flex Data Services) you do not need a 
J2EE
  server.
  
  Also consider using FOR XML [raw, auto, explicit] with XML over
  HTTPService to talk to Flex.
  
  Tracy
  
  -Original Message-
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 ] On
  Behalf Of Dimitrios Gianninas
  Sent: Tuesday, October 03, 2006 10:00 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: RE: [flexcoders] SQL Server and Flex 2
  
  Hi,
  
  To answer your last question, Flex doesn't run on IIS. You will 
 need to
  either purchase a Java web server or use of the open-source ones 
 (JBoss,
  Tomcat, etc...). Thats where you will deploy your Flex app and 
 then it
  can talk to your Web Services or load ASP pages running on IIS.
  
  See the posts from others before me for further info.
  
  Dimitrios Gianninas
  Optimal Payments Inc.
  
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 on behalf of Joe
  Sent: Tue 10/3/2006 5:23 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com 
  Subject: [flexcoders] SQL Server and Flex 2
  
  Okay, 
  I'm pretty new to the Flex scene and am very impressed with the
  development so far. My company is wanting to start developing a
  database application using an Ajax technology and realize I'm a 
 little
  behind the curve since Flex applications don't access data like 
the
  .net applications I normally develop. We've already bought Flex
  Builder 2.0 and I am being pushed to develop there. 
  
  So far the interface design and interaction development I'm 
 catching,
  but with the data access I'm lost.
  
  Does anyone have any idea where to begin? I've tried browsing the
  forums and just keep getting more confused, and all of the 
examples
  I've found on the web don't use IIS/MSSQL.
  
  Please Help!
  
  Thanks
 








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Array.slice problem

2006-10-04 Thread Doug Lowder
You may be able to do the following, depending on the actual type of
the results variable:

import mx.utils.ArrayUtil;
...
[Bindable] public var slicedResults: Array;
slicedResults = ArrayUtil.toArray(results).slice(1,3);
trace ( slicedResults.toString() );


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

 Hi guys
 
 I got this :
 
 mx:Model id=results
   {myData.lastResult.data.month} 
 /mx:Model
 
 If I:
 
 trace (results[3].label)  // Yields April, cool
 
 But If I:
 
 private function sliceResults(): void {
[Bindable] public var slicedResults: Array = new Array();
slicedResults = results.slice(1,3)
trace (slicedResults.toString); 
 }
 
 I compile the mxml, and when I call the function, I get the following 
 output error:
 
 Error: Unknown Property: 'slice'. 
 atmx.collections::ListCollectionView/http://www.adobe.com/2006/actions
 cript/flash/proxy::getProperty()...bla bla bla
 
 Any ideas what this could be? Isn't results supposed to be an array?
 
 Help me out! thanks!
 -g







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Array.slice problem

2006-10-04 Thread Tim Hoff
Hi G,

results is an ArrayCollection or Object (depending on the result
format), not an Array. Therfore, the slice() method isn't
available. You could either filter the ArrayCollection, loop
through it, or cast explicitely.

slicedResults.push(results[1].label);
slicedResults.push(results[3].label);

-TH

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

 Hi guys
 
 I got this :
 
 mx:Model id=results
   {myData.lastResult.data.month} 
 /mx:Model
 
 If I:
 
 trace (results[3].label)  // Yields April, cool
 
 But If I:
 
 private function sliceResults(): void {
[Bindable] public var slicedResults: Array = new Array();
slicedResults = results.slice(1,3)
trace (slicedResults.toString); 
 }
 
 I compile the mxml, and when I call the function, I get the 
following 
 output error:
 
 Error: Unknown Property: 'slice'. 
 
atmx.collections::ListCollectionView/http://www.adobe.com/2006/action
s
 cript/flash/proxy::getProperty()...bla bla bla
 
 Any ideas what this could be? Isn't results supposed to be an 
array?
 
 Help me out! thanks!
 -g







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-04 Thread Renaun Erickson
A big one for me is Developer workflow.  Try sharing FLA's between a
couple of developers.  Using MXML and AS with CVS/SVN you can get tons
of work done with out working about who has the latest file.  Granted
you could do this with Flash 8 professional and external AS files but
that is also messy in its own right.

Renaun

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

 we're looking to move our ASP.NET based application suite to Flash,
and have
 been investigating the use of Flex 2 vs. just straight Flash 8 Pro.
  
 can anyone provide any feedback on what limitations you've seen when
 developing an RIA in Flex 2 vs. just straight Flash 8?
  
 we're trying to evaluate the pros/cons on going one way vs another.
 
 specifically, we like the Flex 2 layout capabilities and the ability to
 easily deal with XML and REST web services, but we seem to be
constrained by
 the lack of scripted animations (from what i've heard) and ability
to have a
 cinematic look/feel compared to Flash 8.  also, it's video-heavy
 application and need the ability to do dynamic video assembly and
playback.
  
 thanks for any input!
 Kirk
  
 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
 Kirk Marple
 Chief Software Architect, VP of Engineering
 Agnostic Media, Inc.
 e: [EMAIL PROTECTED]
 w: www.agnostic-media.com http://www.agnostic-media.com/








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] Component binding not working

2006-10-04 Thread Robert Was






Maybe create httpservice instance in actionscript, did you debug your
code, i think your servise call is before your actionscript set id
Robert Was



greenfishinwater wrote:


  
  This has been driving me mad for the last few hours.
  
I have built a custom component based on mx:Canvas, which contains a
form and a HTTPService to fetch data to be displayed in the form.
  
The application is:
  
mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:my="*"
layout="absolute"
my:StoreDetails storeId="1850"
/my:StoreDetails
/mx:Application
  
The component StoreDetails is:
  
mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
width="500"
height="510"
  
mx:Script source="StoreDetails_as.as"/
  
mx:HTTPService id="storeGet" result="storeGetResult(event)"
  
useProxy="false" method="GET"
contentType="application/xml" showBusyCursor="true"
resultFormat="e4x"
url=""http://localhost:3000/stores/get">http://localhost:3000/stores/get"
mx:request xmlns=""
id{storeIdToUse}/id
/mx:request
/mx:HTTPService
  
..
  
In my script file StoreDetails_as.as I have contains:
  
[Bindable] private var storeIdToUse:String;
  
public function set storeId(s:String):void {
storeIdToUse = s;
storeGet.send();
}
  
The problem is that the binding of the storeID via storeIDToUse to the
HTTP request is not working.
  
When I hard code the store id in the HTTP request the code works.
  
What else do I have to do to get this data binding to work.
  
Andrew
  
  
  





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] how to accept url parameters in flex 2 (newbie here)

2006-10-04 Thread jff_noyes
Sorry, stupid question for most...

I'm creating a demo.  it has 2 pages - the first being html, the second 
being a flex app (no data services).  

If I send some parameters via url from the html page, how would Flex 
accept those parameters. Lets say I wanted to make a label name == URL 
variable.

Any help would be apprecieated. Thanks.






--
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] Datagrid header rollover

2006-10-04 Thread niyati_bedekar
I have been trying to do this for quite some time now. I want to be 
able to take some action when the user rolls over the header in a 
datagrid. I tried using the itemRollOver event, however, the 
event.rowIndex property shows from row 1 onwards, not 0.

It works fine for itemClick but not itemRollOver. Any idea how I can 
achieve this? 

I am also trying to change the background color for particular cells 
dynamically. It depends on whether the user clicked an image or no. Any 
idea about this too? setPropertiesAt() does not work for Flex 2.


Thanks in advance,

Niyati






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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: Dynamically adding components to a panel?

2006-10-04 Thread jack_freud
Thank you all - I was missing the addChild() concept. Works like a charm.



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

 The addChild method of Panel is what you need.  Here is a quick (non
 tested, on the fly, don't take literal) example, but It should get you
 on the right path.
 
  
 
 mx:Script
 
 ![CDATA[
 
 Private function addPanelChild() : void {
 
 var button : Button = new Button();
 
 button.label = test;
 
 testPanel.addChild(button);
 
 }
 
 ]]
 
 /mx:Script
 
  
 
 mx:Button label=test click=addPanelChild(); /
 
  
 
 mx:Panel id=testPanel
 
 /mx:Panel
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jack_freud
 Sent: Wednesday, October 04, 2006 11:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Dynamically adding components to a panel?
 
  
 
 I'm still very new to Flex so what I thought should be hard is easy and
 what I thought should be easy is hard!
 
 I'm trying to find out how, to make an easy example, by pressing a
 button, another new button would appear in the panel.
 
 Ultimately I want to make a kind of toolbar or palette, where I could
 drag a shape from the palette into the workspace, and a copy of that
 shape would remain where I performed the drop.
 
 I can't find any examples that do anything like this.
 
 Thanks for anyone's help or direction.








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] how to accept url parameters in flex 2 (newbie here)

2006-10-04 Thread Brendan Meutzner



Using _javascript_, you can add the url parameters to the flashvars object which you can then reference inside your flex app.set the url vars via:var preLoadFlashVars = location.href.indexOf('?') != -1 ? location.href.split
('?') : '';then pass this value into Flex by adding flashvars, preLoadFlashVars to the AC_FL_RunContent method which loads your swf...AC_FL_RunContent(
   src, ${swf},   width, ${width},   height, ${height},   align, middle,   id, ${application},
   quality, high,   bgcolor, ${bgcolor},   name, ${application},   allowScriptAccess,sameDomain,
   flashvars, preLoadFlashVars,   type, application/x-shockwave-flash,   pluginspage, 
http://www.adobe.com/go/getflashplayerBrendanOn 10/4/06, jff_noyes [EMAIL PROTECTED]
 wrote:












  



Sorry, stupid question for most...

I'm creating a demo.  it has 2 pages - the first being html, the second 
being a flex app (no data services).  

If I send some parameters via url from the html page, how would Flex 
accept those parameters. Lets say I wanted to make a label name == URL 
variable.

Any help would be apprecieated. Thanks.


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-04 Thread Nick Collins



The fact of the matter is that it's not an either/or situation. You should use both. For the logic and coding you definitely want to be using Flex with SVN for obvious reasons, and for building the skins of the UI components to create the cinematic experience you want to be using Flash.
On 10/4/06, Renaun Erickson [EMAIL PROTECTED] wrote:













  



A big one for me is Developer workflow.  Try sharing FLA's between a
couple of developers.  Using MXML and AS with CVS/SVN you can get tons
of work done with out working about who has the latest file.  Granted
you could do this with Flash 8 professional and external AS files but
that is also messy in its own right.

Renaun

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

 we're looking to move our ASP.NET based application suite to Flash,
and have
 been investigating the use of Flex 2 vs. just straight Flash 8 Pro.
  
 can anyone provide any feedback on what limitations you've seen when
 developing an RIA in Flex 2 vs. just straight Flash 8?
  
 we're trying to evaluate the pros/cons on going one way vs another.
 
 specifically, we like the Flex 2 layout capabilities and the ability to
 easily deal with XML and REST web services, but we seem to be
constrained by
 the lack of scripted animations (from what i've heard) and ability
to have a
 cinematic look/feel compared to Flash 8.  also, it's video-heavy
 application and need the ability to do dynamic video assembly and
playback.
  
 thanks for any input!
 Kirk
  
 -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
 Kirk Marple
 Chief Software Architect, VP of Engineering
 Agnostic Media, Inc.
 e: [EMAIL PROTECTED]
 w: www.agnostic-media.com 
http://www.agnostic-media.com/



  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex Marketing

2006-10-04 Thread Tariq Ahmed






I'd agree to that. The marketing effort seems to heavily rely on the
development community doing that job for them. Things like labs and
DevNet are KEY to maximizing technology adoption - but people need to
know about it in the first place.

To Restate Adobe's Goal: 1 000 000 Flex Developers by 2010. 

Some HEAVY DUTY marketing is needed. It definitely made sense to
capture those who are most amiable to Flex (CF and Flash developers)
first and grow from there. I think someone blogged about this before;
in that of course Adobe related blogs are going to be heavy proponents
for Adobe technologies. But now it's time to penetrate into the rest of
the world.

In polling my heavy duty tech friends in other industries, they BARELY
know what Flex is. Many haven't heard of it. And some have heard of it,
just because they heard me mention it.

Awareness of the brand and technology needs to be more prevalent.

Gimme a cool Flex decal and I'll put it on my car! :)



Clint Modien wrote:


  
  I mentioned this @ the Silicon Valley Flex User Group meeting the
other day but I wanted to reiterate it here and see if I could invoke
a response from Adobe.
  
Mr. Mendels?
  
Where is the marketing for Flex? Why keep the most beautiful
framework in the world for creating applications a secret? Where are
the Visual Studio style banner adds everywhere. Where is the buzz for
it on Slashdot. Why arn't other developers in the world standing up
and saying is creating applications really this easy!?!
  
I've seen the lights go on in a developers eyes when they get it.
When they see what 5 lines of code can acomplish with Flex. They get
excited. Excitement sells licenses.
  
(Gets off his soapbox and points to it...) ... Thoughts?
  
  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___








Re: [flexcoders] how to accept url parameters in flex 2 (newbie here)

2006-10-04 Thread Prakash Bajracharya



Just in case you have no clue where the function AC_FL_RunContent() is -it can be located in the file AC_OETags.js inside your application's bin folder

-P

On 10/5/06, Brendan Meutzner [EMAIL PROTECTED] wrote:





Using _javascript_, you can add the url parameters to the flashvars object which you can then reference inside your flex app.set the url vars via:var preLoadFlashVars = location.href.indexOf('?') != -1 ? 
location.href.split ('?') : '';then pass this value into Flex by adding flashvars, preLoadFlashVars to the AC_FL_RunContent method which loads your swf...
AC_FL_RunContent(   src, ${swf},   width, ${width},   height, ${height},   align, middle,
   id, ${application},quality, high,   bgcolor, ${bgcolor},   name, ${application},
   allowScriptAccess,sameDomain,flashvars, preLoadFlashVars,   type, application/x-shockwave-flash,
   pluginspage,  http://www.adobe.com/go/getflashplayer
Brendan
On 10/4/06, jff_noyes [EMAIL PROTECTED]  wrote:
 





Sorry, stupid question for most...I'm creating a demo. it has 2 pages - the first being html, the second being a flex app (no data services). If I send some parameters via url from the html page, how would Flex 
accept those parameters. Lets say I wanted to make a label name == URL variable.Any help would be apprecieated. Thanks.

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] How many cfs's are TOO much

2006-10-04 Thread boy_trike
 most of my components have 2- 6 cfc (ie. AddRecord, UpdateRecord, 
DeleteRecord, 
ReadRecords).  Each one has a unique function to call it and a result handler.  
Is there a 
better way to handle / group my cfc's.Should I have one large CFC will all 
of the functions 
and have 1 result handler with a switch statement to handle the results?

Thanks

Bruce






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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





RE: [flexcoders] Fill a Tree From a JAVA Class

2006-10-04 Thread Tracy Spratt












Three words, XML.  Hmm,
maybe thats one word?  Anyway, that is what you want.  I dont
do RemoteObject myself, so you will have to figure out the exact data types you
are going to pass.  I pass xml strings, use HTTPService with resultFormat=e4x
and the XML class inside Flex.  



You can asign an XML object directly to a
trees dataProvider.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of frederic_dematos
Sent: Wednesday, October 04, 2006
10:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fill a Tree
>From a JAVA Class











Hi,

I want to fill an mx:Tree from a Java class talking with webDav.

I am calling my Java class using the Remoting Object.

On the actionScript I want to call the method getFiles of my Java
class and give the result to the mx.Tree. The problem is I don't know
which kind of data and which king of structure to pass to the data
provider of the tree.

If somebody had already meet that kind of problem , thanks for your help.

Frédéric DE MATOS






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Flex Marketing

2006-10-04 Thread Paul Andrews





Is it just me that thinks Adobe is doing fine just 
as they are? I think the real Flex breakthroughs will come as developers start 
releasing clever apps and people start saying "holy s**t".

I happen to think that the developer support by 
Adobe (and Macromedia before them)is phenomenal. Flex will move 
forward quietly until it hits it's tipping point, then adoption will surge 
ahead.

Don't worry too much about promoting Flex - let 
your applications do that for you.

Paul

- Original Message - 

  From: 
  Tariq Ahmed 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, October 04, 2006 9:58 
  PM
  Subject: Re: [flexcoders] Flex 
  Marketing
  I'd agree to that. The marketing effort seems to heavily rely 
  on the development community doing that job for them. Things like labs and 
  DevNet are KEY to maximizing technology adoption - but people need to know 
  about it in the first place.To Restate Adobe's Goal: 1 000 000 Flex 
  Developers by 2010. Some HEAVY DUTY marketing is needed. It definitely 
  made sense to capture those who are most amiable to Flex (CF and Flash 
  developers) first and grow from there. I think someone blogged about this 
  before; in that of course Adobe related blogs are going to be heavy proponents 
  for Adobe technologies. But now it's time to penetrate into the rest of the 
  world.In polling my heavy duty tech friends in other industries, they 
  BARELY know what Flex is. Many haven't heard of it. And some have heard of it, 
  just because they heard me mention it.Awareness of the brand and 
  technology needs to be more prevalent.Gimme a cool Flex decal and I'll 
  put it on my car! :)Clint Modien wrote: 
  

I mentioned this @ the Silicon Valley Flex User Group meeting 
theother day but I wanted to reiterate it here and see if I could 
invokea response from Adobe.Mr. Mendels?Where is the 
marketing for Flex? Why keep the most beautifulframework in the world 
for creating applications a secret? Where arethe Visual Studio style 
banner adds everywhere. Where is the buzz forit on Slashdot. Why arn't 
other developers in the world standing upand saying is creating 
applications really this easy!?!I've seen the lights go on in a 
developers eyes when they get it.When they see what 5 lines of code can 
acomplish with Flex. They getexcited. Excitement sells 
licenses.(Gets off his soapbox and points to it...) ... 
Thoughts? 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: SQL Server and Flex 2

2006-10-04 Thread dorkie dork from dorktown
I was going to ask this yesterday but I find documentation on using
Flex to connect to a database nearly non-existant, you know what I
mean?

I would like to see a step by step tutorial that says, Here is how
you make a search page, results page, detail page and edit page in
Flex WITH, and this is a big WITH, the backend code.

I know there is a lot of technologies out there so everyone will have
their own SSS (server side setup/system they are using (I just made up
SSS right this minute. SSS term copyright judah 2006 ;)) .
Specifically, I'd like a php and mysql tutorial. But I've also worked
with ASP.NET in AS2 and at the moment I'm working with JSP and JBOSS.
So maybe if we just start with one then they can be converted to other
SSS's.

To ramble on further, the problem isnt accessing the db. Its
everything else. Thanks for listening. I may repost this in another
thread for visibility.

Judah
ps actually by tomorrow sss will probably sound lame. or be
misinterprited. sss? super silly socks? striped slimy salamanders?
sorry so sloppy? ok it's already taken i guess. nevermind everyone on
the whole new acronym thing!

On 10/4/06, Tim Hoff [EMAIL PROTECTED] wrote:
 Thanks Tracy,

 That's something that I'll have to play around with down the road.

 -TH

 --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED]
 wrote:
 
  I have not set up parallel access paths so that I could benchmark
 these
  protocols. Intuition tells me that the extra data load and extra
 parsing
  that must be associated with SOAP messages must make that a little
  slower.  But I must also say that both methods are very fast and
 would
  not let theoretical performance differences be the primary deciding
  factor.
 
 
 
  In my case, I have found retrieving and manipulating pure xml to
 be much
  simpler than dealing with web services and soap.
 
 
 
  Tracy
 
 


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Flex Marketing

2006-10-04 Thread Matias Nicolas Sommi



I think that this message must be marked as off-topic but I'd agree too, but s! let's to get an approach from that! ;)Obviously, it's a joke!I think that flex take a place itself with no much time. But, I don't agree with the excessive price for developer license, at least for me, because in Argentina is too difficult to spend 700 u$s (more than three argentinian pesos is equals to one dolar).
Maybe the price can be adapted to the people life quality?Well, is my opinion.2006/10/4, Tariq Ahmed [EMAIL PROTECTED]:













  







I'd agree to that. The marketing effort seems to heavily rely on the
development community doing that job for them. Things like labs and
DevNet are KEY to maximizing technology adoption - but people need to
know about it in the first place.

To Restate Adobe's Goal: 1 000 000 Flex Developers by 2010. 

Some HEAVY DUTY marketing is needed. It definitely made sense to
capture those who are most amiable to Flex (CF and Flash developers)
first and grow from there. I think someone blogged about this before;
in that of course Adobe related blogs are going to be heavy proponents
for Adobe technologies. But now it's time to penetrate into the rest of
the world.

In polling my heavy duty tech friends in other industries, they BARELY
know what Flex is. Many haven't heard of it. And some have heard of it,
just because they heard me mention it.

Awareness of the brand and technology needs to be more prevalent.

Gimme a cool Flex decal and I'll put it on my car! :)



Clint Modien wrote:


  
  I mentioned this @ the Silicon Valley Flex User Group meeting the
other day but I wanted to reiterate it here and see if I could invoke
a response from Adobe.
  
Mr. Mendels?
  
Where is the marketing for Flex? Why keep the most beautiful
framework in the world for creating applications a secret? Where are
the Visual Studio style banner adds everywhere. Where is the buzz for
it on Slashdot. Why arn't other developers in the world standing up
and saying is creating applications really this easy!?!
  
I've seen the lights go on in a developers eyes when they get it.
When they see what 5 lines of code can acomplish with Flex. They get
excited. Excitement sells licenses.
  
(Gets off his soapbox and points to it...) ... Thoughts?
  
  








  















-- Matías Nicolás Sommi

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Wanted - Using Flex with my specific Database - Step by Step Tutorials

2006-10-04 Thread dorkie dork from dorktown
I was going to ask this yesterday but I find documentation on using
Flex to connect to a database nearly non-existant, you know what I
mean?

I would like to see a step by step tutorial that says, Here is how
you make a search page, results page, detail page and edit page in
Flex WITH, and this is a big WITH, the backend code.

I know there is a lot of technologies out there so everyone will have
their own SSS (server side setup/system they are using (I just made up
SSS right this minute. SSS term copyright judah 2006 ;)) .
Specifically, I'd like a php and mysql tutorial. But I've also worked
with ASP.NET in AS2 and at the moment I'm working with JSP and JBOSS.
So maybe if we just start with one then they can be converted to other
SSS's.

To ramble on further, the problem isnt accessing the db. Its
everything else. Thanks for listening.

If you think this is a real issue and not something that is already
out there or if there is already a central location to find these
examples please reply. Don't bogart the information.

Judah
ps actually by tomorrow sss will probably sound lame. it actually
sounds lame now. or be
misinterprited. sss? super silly socks? striped slimy salamanders?
sorry so sloppy? ok it's already taken i guess. although sorry so
sloppy is not used as much anymore. nevermind everyone on the whole
new acronym thing. my bad.


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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-04 Thread Robert Was






For me the worst limitation of flex2 mixed with graphics assets is lack
of control timeline in loaded swf (swf v8), you can control it if
communicates via localconnection but it make difficult developer
process. Big plus for flex is debugger - first working debugger in
flash word, I think. 
Robert Was



Kirk Marple wrote:


  
  
  we're
looking to move our ASP.NET based application suite to Flash, and have
been investigating the use of Flex 2 vs. just straight Flash 8 Pro.
  
  can
anyone provide any feedback on what limitations you've seen when
developing an RIA in Flex 2 vs. just straight Flash 8?
  
  we're
trying to evaluate the pros/cons on going one way vs another.
  
  specifically,
we likethe Flex 2 layout capabilities and the ability to easily deal
with XML and REST web services, but we seem to be constrained by the
lack of scripted animations (from what i've heard) and ability to have
a "cinematic" look/feel compared to Flash 8. also, it's video-heavy
application and need the ability to do dynamic video assembly and
playback.
  
  thanks
for any input!
  Kirk
  
  -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
  Kirk Marple
  Chief Software
Architect, VP of Engineering
  Agnostic Media, Inc.
  e: [EMAIL PROTECTED]media.com
  w: www.agnostic-media.com
  
  





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___







RE: [flexcoders] Re: Dynamically adding components to a panel?

2006-10-04 Thread Steve Kellogg @ Project SOC
I have a similar question.  I need to put WRAPPED TEXT into the cells of a
List or Tree.

Is it possible to AddChild to a LIST so that there's an actual UIComponent
as a cell's graphics?

Best Regards,


Steve



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jack_freud
Sent: Wednesday, October 04, 2006 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Dynamically adding components to a panel?

Thank you all - I was missing the addChild() concept. Works like a charm.



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

 The addChild method of Panel is what you need.  Here is a quick (non
 tested, on the fly, don't take literal) example, but It should get you
 on the right path.
 
  
 
 mx:Script
 
 ![CDATA[
 
 Private function addPanelChild() : void {
 
 var button : Button = new Button();
 
 button.label = test;
 
 testPanel.addChild(button);
 
 }
 
 ]]
 
 /mx:Script
 
  
 
 mx:Button label=test click=addPanelChild(); /
 
  
 
 mx:Panel id=testPanel
 
 /mx:Panel
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jack_freud
 Sent: Wednesday, October 04, 2006 11:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Dynamically adding components to a panel?
 
  
 
 I'm still very new to Flex so what I thought should be hard is easy and
 what I thought should be easy is hard!
 
 I'm trying to find out how, to make an easy example, by pressing a
 button, another new button would appear in the panel.
 
 Ultimately I want to make a kind of toolbar or palette, where I could
 drag a shape from the palette into the workspace, and a copy of that
 shape would remain where I performed the drop.
 
 I can't find any examples that do anything like this.
 
 Thanks for anyone's help or direction.








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






 






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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-04 Thread Kirk Marple





interesting... one of the issues brought up to me was 
how to get the nice cinematic feel w/ scripted animations, etc. in 
Flex.

i was told that only simple looping animations were 
possible because we couldn't mix Flex running AS3 with scripted movies with 
AS2.

maybe the new AS3 preview will solve that, since we could 
script animations using AS3 in regular Flash 8 Professional.

am i totally off-base here in what i've been 
told?

thanks,
Kirk


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Nick 
CollinsSent: Wednesday, October 04, 2006 1:58 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Flex 2 
limitations vs. raw Flash 8 Prof?


The fact of the matter is that it's not an either/or situation. You should 
use both. For the logic and coding you definitely want to be using Flex with SVN 
for obvious reasons, and for building the skins of the UI components to create 
the "cinematic experience" you want to be using Flash. 
On 10/4/06, Renaun 
Erickson [EMAIL PROTECTED]com 
wrote:

  
  
  
  
  A big one for me is Developer workflow. Try sharing FLA's between 
  acouple of developers. Using MXML and AS with CVS/SVN you can get 
  tonsof work done with out working about who has the latest file. 
  Grantedyou could do this with Flash 8 professional and external AS files 
  butthat is also messy in its own right.Renaun--- In [EMAIL PROTECTED]ups.com, "Kirk Marple" 
  kirk-public@... wrote: we're looking to move our 
  ASP.NET based application suite to 
  Flash,and have been investigating the use of Flex 2 vs. just 
  straight Flash 8 Pro.  can anyone provide any feedback on what 
  limitations you've seen when developing an RIA in Flex 2 vs. just 
  straight Flash 8?  we're trying to evaluate the pros/cons on 
  going one way vs another.  specifically, we like the Flex 2 
  layout capabilities and the ability to easily deal with XML and REST 
  web services, but we seem to beconstrained by the lack of scripted 
  animations (from what i've heard) and abilityto have a "cinematic" 
  look/feel compared to Flash 8. also, it's video-heavy application and 
  need the ability to do dynamic video assembly andplayback. 
   thanks for any input! Kirk  
  -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  Kirk Marple Chief Software Architect, VP of Engineering 
  Agnostic Media, Inc. e: [EMAIL PROTECTED] w: www.agnostic-media.com  
  http://www.agnostic-media.com/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Fill a Tree From a JAVA Class

2006-10-04 Thread Dustin Mercer












Yeah, this is a fun one.  I have done
this, but its not as elegant as I was hoping, but it works.  What I had
to do was create a TreeNode class.  Looks like this:



Public class TreeNode {



    Private String label;

    Private String data;

    Private ArrayList children;



    Getters and setters.

}



The key here is the children property.  The
property to hold the nodes must be named children or the tree wont have
any childNodes.  There is probably better ways to do this, I.E. implementing
the ITreeDataProvider interface on the AS class, but I couldnt get it to
work properly, and havent had a chance to revisit it.  Does your tree
need to load dynamically (I.E. populate the children with another call to the
database on the nodeOpen event) or will you be loading the whole tree at once?   If
you load dynamically, you will need to make sure you initialize the children
property or that node wont be a folder.



Dustin Mercer  











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of frederic_dematos
Sent: Wednesday, October 04, 2006
7:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fill a Tree
>From a JAVA Class











Hi,

I want to fill an mx:Tree from a Java class talking with webDav.

I am calling my Java class using the Remoting Object.

On the actionScript I want to call the method getFiles of my Java
class and give the result to the mx.Tree. The problem is I don't know
which kind of data and which king of structure to pass to the data
provider of the tree.

If somebody had already meet that kind of problem , thanks for your help.

Frédéric DE MATOS






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Flex Marketing

2006-10-04 Thread Tariq Ahmed






I agree Paul. 

But...

It definitely helps sell the case of Flex when customers feel confident
in the technology you're promoting. Keep in mind that the majority of
Flex apps are internal in nature, for the Enterprise is where Flex
excels. So you're not going to see the many holy s**t apps that already
exist. E.g Jon Hirschi and Tom Ortega built an *AMAZING* application
over at eBay... .easily could win the MAX best app award, but you'll
never hear about it.

I think what Clint and I are asking for is to notch it up a bit, vs
"moving forward quietly..." Quiet makes it difficult to sell to a
customer that their next Gen Application is rooted in a technology they
never heard of. Meanwhile the AJAX bandwagon beats very loud, and many
developers who want to take things to the next level will have AJAX on
the forefront of their minds as it's 'brand' recognition is so
dominant. Technologists gravitate towards what they think is the
'industry standard'.

And it's not just about the mindshare of Developers that need to be
focused on. It's more important to capture the minds of those who
control the budget and cash flow. The Directors and VPs. All they keep
hearing about is AJAX, so from a strategic point of view you want to go
with what is perceived as mass adoption (so that the support system is
there, and that there's a large talent pool to draw/recruit from).

I personally want people to start believing that Flex is the industrial
strength solution, vs some "niche" boutique technology.


Paul Andrews wrote:


  
  
  Is it just me that thinks Adobe is
doing fine just as they are? I think the real Flex breakthroughs will
come as developers start releasing clever apps and people start saying
"holy s**t".
  
  I happen to think that the developer
support by Adobe (and Macromedia before them)is phenomenal. Flex will
move forward quietly until it hits it's tipping point, then adoption
will surge ahead.
  
  Don't worry too much about promoting
Flex - let your applications do that for you.
  
  Paul
  
  - Original Message - 
  
From:
Tariq Ahmed

To:
[EMAIL PROTECTED]ups.com

Sent:
Wednesday, October 04, 2006 9:58 PM
Subject:
Re: [flexcoders] Flex Marketing


I'd agree to that. The marketing effort seems to heavily rely on the
development community doing that job for them. Things like labs and
DevNet are KEY to maximizing technology adoption - but people need to
know about it in the first place.

To Restate Adobe's Goal: 1 000 000 Flex Developers by 2010. 

Some HEAVY DUTY marketing is needed. It definitely made sense to
capture those who are most amiable to Flex (CF and Flash developers)
first and grow from there. I think someone blogged about this before;
in that of course Adobe related blogs are going to be heavy proponents
for Adobe technologies. But now it's time to penetrate into the rest of
the world.

In polling my heavy duty tech friends in other industries, they BARELY
know what Flex is. Many haven't heard of it. And some have heard of it,
just because they heard me mention it.

Awareness of the brand and technology needs to be more prevalent.

Gimme a cool Flex decal and I'll put it on my car! :)



Clint Modien wrote:

  
  I mentioned this @ the Silicon Valley Flex User Group meeting
the
other day but I wanted to reiterate it here and see if I could invoke
a response from Adobe.
  
Mr. Mendels?
  
Where is the marketing for Flex? Why keep the most beautiful
framework in the world for creating applications a secret? Where are
the Visual Studio style banner adds everywhere. Where is the buzz for
it on Slashdot. Why arn't other developers in the world standing up
and saying is creating applications really this easy!?!
  
I've seen the lights go on in a developers eyes when they get it.
When they see what 5 lines of code can acomplish with Flex. They get
excited. Excitement sells licenses.
  
(Gets off his soapbox and points to it...) ... Thoughts?
  
  


 
  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! 

RE: [flexcoders] Wanted - Using Flex with my specific Database - Step by Step Tutorials

2006-10-04 Thread Tracy Spratt












I agree entirely. Basic data access
from flex is way too difficult. Actually, it is not difficult at all, it
just seems so to many beginning Flex developers.



You hit the nail on the head, noting the
large number of server side platforms. It is worse even than that,
though. Any single platform can have multiple approaches to the database
access. The implementation can use different data structures and data types
to represent the data, and can communicate with Flex using three (or more)
protocols, and Flex can use several resultFormats. The number of options
is staggering. And we are not even talking FDS or sockets. Or security.



But that is not to say we cant do
something. Often the beginners cry is I just need to get my
data into Flex! and they would be ecstatic to have a simple working HelloData
example. These developers do not have DBAs, SAs, teams of Java developers
at their disposal, but have to do it all themselves.



Adobe cannot do this. We, the
community, have to take the initiative. There are some examples out
there. Tim Hoffs DOT.NET
example, for one. I am working on a DOT.NET file system access
example. Christophes MySQL example. Im sure there are more 



So create a SIMPLE example, document it,
and post it somewhere, like CFLEX.net. If not me, who?



Tracy 













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dorkie dork from dorktown
Sent: Wednesday, October 04, 2006
5:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Wanted -
Using Flex with my specific Database - Step by Step Tutorials











I was
going to ask this yesterday but I find documentation on using
Flex to connect to a database nearly non-existant, you know what I
mean?

I would like to see a step by step tutorial that says, Here is how
you make a search page, results page, detail page and edit page in
Flex WITH, and this is a big WITH, the backend code.

I know there is a lot of technologies out there so everyone will have
their own SSS (server side setup/system they are using (I just made up
SSS right this minute. SSS term copyright judah 2006 ;))
.
Specifically, I'd like a php and mysql tutorial. But I've also worked
with ASP.NET in AS2 and at the moment I'm working with JSP and JBOSS.
So maybe if we just start with one then they can be converted to other
SSS's.

To ramble on further, the problem isnt accessing the db. Its
everything else. Thanks for listening.

If you think this is a real issue and not something that is already
out there or if there is already a central location to find these
examples please reply. Don't bogart the information.

Judah
ps actually by tomorrow sss will probably sound lame. it actually
sounds lame now. or be
misinterprited. sss? super silly socks? striped slimy salamanders?
sorry so sloppy? ok it's already taken i guess. although sorry so
sloppy is not used as much anymore. nevermind everyone on the whole
new acronym thing. my bad.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Flex Marketing

2006-10-04 Thread Tariq Ahmed






If Adobe will let me use the Flex logo I'll create mousepads, mugs,
decals, jackets, hats, license plate holder, you name it!

I'll even volunteer to have the logo tattooed on me. :)



Tariq Ahmed wrote:


  
  I agree Paul. 
  
But...
  
It definitely helps sell the case of Flex when customers feel confident
in the technology you're promoting. Keep in mind that the majority of
Flex apps are internal in nature, for the Enterprise is where Flex
excels. So you're not going to see the many holy s**t apps that already
exist. E.g Jon Hirschi and Tom Ortega built an *AMAZING* application
over at eBay... .easily could win the MAX best app award, but you'll
never hear about it.
  
  
  
  



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___








[flexcoders] Changing registration point for mx:Resize effect

2006-10-04 Thread Andriy Panas

Hello flexcoders,

Is it possible to control the coordinates registration point when
  mx:Resize component is applied?

By default, Flex components define the registration point on the
upper left corner (0,0).

When mx:Resize effect is applied to any Flex 2 container, say mx:VBox,
the component right and bottom border lines change its position, while left and 
top border
lines remain at the old positions.

I'd like to set registration point to the center of the Flex 2
container (width/2, height/2) while applying mx:Resize effect to allow 
changing the position of all 4
container border lines (top, bottom, left, right).

ps
In Flex 1.5 days Animation Package 
(http://www.alex-uhlmann.de/flash/animationpackage/)
by Alex Uhlmann came to the rescue in the similar situation when
needed emulate custom setting of the registation point for MovieClip, but 
Animation Package
is still in AS 2.0, and nothing similar had been released yet for AS
3.0 that I am aware of.

-- 
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]
-
Нелимитированный трафик в хостинг-пакетах! http://mirohost.net/



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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] Changing registration point for mx:Resize effect

2006-10-04 Thread Gordon Smith
No, there is no concept of registration point. You'll have to play a Move 
effect in parallel with the resize effect, or write your own effect that does 
both.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andriy 
Panas
Sent: Wednesday, October 04, 2006 4:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Changing registration point for mx:Resize effect


Hello flexcoders,

Is it possible to control the coordinates registration point when
  mx:Resize component is applied?

By default, Flex components define the registration point on the
upper left corner (0,0).

When mx:Resize effect is applied to any Flex 2 container, say mx:VBox,
the component right and bottom border lines change its position, while left and 
top border
lines remain at the old positions.

I'd like to set registration point to the center of the Flex 2
container (width/2, height/2) while applying mx:Resize effect to allow 
changing the position of all 4
container border lines (top, bottom, left, right).

ps
In Flex 1.5 days Animation Package 
(http://www.alex-uhlmann.de/flash/animationpackage/)
by Alex Uhlmann came to the rescue in the similar situation when
needed emulate custom setting of the registation point for MovieClip, but 
Animation Package
is still in AS 2.0, and nothing similar had been released yet for AS
3.0 that I am aware of.

-- 
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]
-
Нелимитированный трафик в хостинг-пакетах! http://mirohost.net/



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






 




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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





Re: [flexcoders] Re: Dynamically adding components to a panel?

2006-10-04 Thread Anatole Tartakovsky




You can do anything there - the simpliest way would be to use runtime styling
http://flexblog.faratasystems.com/?p=96and more to the point
http://flexblog.faratasystems.com/?p=91
Regards,
Anatole


On 10/4/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote:





I have a similar question. I need to put WRAPPED TEXT into the cells of aList or Tree.Is it possible to AddChild to a LIST so that there's an actual UIComponentas a cell's graphics?Best Regards,
Steve-Original Message-From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] OnBehalf Of jack_freudSent: Wednesday, October 04, 2006 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Dynamically adding components to a panel?Thank you all - I was missing the addChild() concept. Works like a charm.--- In 
flexcoders@yahoogroups.com, Dustin Mercer [EMAIL PROTECTED]wrote: The addChild method of Panel is what you need. Here is a quick (non tested, on the fly, don't take literal) example, but It should get you
 on the right path.mx:Script  ![CDATA[  Private function addPanelChild() : void {  var button : Button = new Button();
  button.label = test;  testPanel.addChild(button);  }  ]]  /mx:Scriptmx:Button label=test click=addPanelChild(); /
mx:Panel id=testPanel  /mx:Panel  From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jack_freud
 Sent: Wednesday, October 04, 2006 11:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically adding components to a panel?
I'm still very new to Flex so what I thought should be hard is easy and what I thought should be easy is hard!  I'm trying to find out how, to make an easy example, by pressing a
 button, another new button would appear in the panel.  Ultimately I want to make a kind of toolbar or palette, where I could drag a shape from the palette into the workspace, and a copy of that
 shape would remain where I performed the drop.  I can't find any examples that do anything like this.  Thanks for anyone's help or direction.
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Flex Marketing

2006-10-04 Thread Anatole Tartakovsky



I think Clint ment non-technical marketing - venues for non-programmers - more likes of Wall Street Journal or ZDNet.

Other thing would be mastering industry support - given capabilities and future plans announcements from Linux / Applinace vendors and ISVs would be very helpful. Also, commitment on release date/beta for Linux player - even for limited set of platforms would provide much needed adoption with more vocal part of the media


Regards,
Anatole

On 10/4/06, Tariq Ahmed [EMAIL PROTECTED] wrote:





If Adobe will let me use the Flex logo I'll create mousepads, mugs, decals, jackets, hats, license plate holder, you name it!I'll even volunteer to have the logo tattooed on me. :)
Tariq Ahmed wrote: 


I agree Paul. But...It definitely helps sell the case of Flex when customers feel confident in the technology you're promoting. Keep in mind that the majority of Flex apps are internal in nature, for the Enterprise is where Flex excels. So you're not going to see the many holy s**t apps that already exist. 
E.g Jon Hirschi and Tom Ortega built an *AMAZING* application over at eBay... .easily could win the MAX best app award, but you'll never hear about it.
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Can I force a redraw of my dataGrid?

2006-10-04 Thread Derrick Grigg
I don't think you can add metadata like the bindable property at 
runtime, it has to be declared/defined in a class. Using the binding 
utils is a way to compensate for not having declared bindable 
properties. 

Personally I prefer to use VO's and bindable properties, overall a 
much cleaner solution than generic objects and the binding utils.

Derrick Grigg
-
www.dgrigg.com

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

 Derrick,
 Thanks again, and once again, you have led me to another 
question.  
 I'm aware of using the bindable metatag, and also am using the 
 binding.utils.bindProperty method to handle some other bindings I 
 need manually, but I'm now wondering if i can do the following:  
Can 
 I create an Object, and as I create properties on that Object, 
tell 
 the property to be bindable, in ActionScript.  I'm assuming the 
 metatag tells the compiler to create the necessary watchers, but 
it 
 would be really nice if that were a property I could set while I'm 
 dynamically creating properties of an Object...something like:
 
 var myObj:Object = new Object();
 myObj.publisher = '';
 myObj.publisher.bindable=true;
 
 Using the binding.utils.bindProperty method works great when I 
know 
 exactly the two locations between which I want to share data, but 
it 
 isn't as nice as creating a typed class within an ArrayCollection 
as 
 bindable that you can easily fit into (and broadcast changes to) a 
 datagrid.   
 
 
 
  A typed value object is basically an object that matches to some 
 data
  entity you are working with. You create a class to define the 
 entity,
  give it properites (that are bindable) and then put instances of 
 that
  class into the ArrayCollection instead of non descript Objects
  
  ie
  
  class BookVO {
 [Bindable]
 public var title: String;
  
 [Bindable]
 public var author: String;
  
 [Bindable]
 public var ISBN: String;
  
 public function BookVO():void {
  
 }
  }
  
  ... and then loop through the results from the webservice and 
for 
 each
  item, create a new BookVO, fill in the properties and add that 
to 
 the
  ArrayCollection. I imagine you are probably currently doing 
 something
  similiar to 
  
  var book = new Object();
  book.author = xmlNode.ItemAttributes.author;
  book.title =  xmlNode.ItemAttributes.title;
  book.ISBN =  xmlNode.ItemAttributes.ISBN;
  
  This is certainly very easy to start with, but in the long run 
 causes
  more headaches for a variety of reasons.
  
  By using typed objects with bindable properties, it leverages 
the 
 Flex
  components awareness of changes in those objects, basically the
  components listen to the objects for changes, which means you 
don't
  have to manually refresh things when changes happen.
  
  Derrick Grigg
  -
  www.dgrigg.com
  
  --- In flexcoders@yahoogroups.com, livinginswitzerland
  rickgeorge@ wrote:
  
   Thanks Derrick...
   
   I had tried invalidateDisplay list, but not 
invalidateList..which 
 did 
   it.  interesting.  when you say typed value objects...can you 
 elaborate 
   on that?  I am doing some 'non standard' things, and all of my 
 data is 
   read into an ArrayCollection via a web service, but i'm not 
using 
 XML 
   but text instead.  Curious if what you are saying regarding 
typed 
 value 
   objects is something i'm bumping up against.
   
   thanks again!
   
   -rick
   
   --- In flexcoders@yahoogroups.com, Derrick Grigg dgrigg@ 
 wrote:
   
I think you can use the 'invalidateDisplayList()'  or 
possibly 
the 'invalidateList()' to refresh your datagrid.

Alternatively, if you use typed value objects in the 
 dataProvider any 
changes to those, should automatically be reflected (and 
 viewed) in 
the DataGrid if you are using databinding.

Derrick Grigg

www.dgrigg.com
   
  
 








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: e4x with XMLListCollections?

2006-10-04 Thread Derrick Grigg
I ran into a similar problem when using xml data returned from a web 
service. You need to either use the wildcard namespace or declare 
and add one on to the result. I found it easier just to use the 
wildcard.

myCollection.*::source.*::trainingEvent.*::trainingEventInstance.*::
(@keyID == instanceID).parent()[EMAIL PROTECTED]; 

or something to that effect should do the trick

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwh
elp.htm?href=1918.html

Derrick Grigg
-
www.dgrigg.com

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

 I have a hunk of XML that I have loaded into an 
XMLListCollection.  It describes a training course catalog.  I'm 
trying to write a function to return the title of a course when 
passed the KeyID of a specific course instance, and am running 
into all sorts of problems (it ain't working being the worst of 
them).
 
 Here's the XML:
 
 catalog
 trainingEvent keyID=1 title=Programming 101 
eventCost=499.99
 trainingEventInstance keyID=1 trainingEventID=1 
location=Houston eventDate=02/11/2007 instanceCost=499.99 /
 trainingEventInstance keyID=2 trainingEventID=1 
location=Houston eventDate=04/19/2007 instanceCost=499.99 /
 trainingEventInstance keyID=3 trainingEventID=1 location=Las 
Vegas eventDate=04/19/2007 instanceCost=299.99 /
 /trainingEvent
 trainingEvent keyID=2 title=Miter Saw Safety 
eventCost=300.00
 trainingEventInstance keyID=4 trainingEventID=2 
location=Houston eventDate=12/25/2006 instanceCost=300.00 /
 /trainingEvent
 /catalog
 
 ... it's loaded into an XMLListCollection called myCollection 
using HTTP service with resultFormat=e4x
 
 I'm trying to ignore the trainingEventID attribute, since it might 
be going away.  I was trying to do some e4x magik to find the title 
like this, where the parameter is the KeyID of the 
trainingEventInstance:
 
 public function getCourseTitle( instanceID:Number ):String {
return myCollection.source.trainingEvent.trainingEventInstance.
(@keyID == instanceID).parent()[EMAIL PROTECTED];
   }
 
 so when the function is passed 4, it returns Miter Saw Safety
 
 Am I doing something wrong?  Can I not e4x using the source 
property?  Any thoughts?  Thanks!








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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Confusion about 'Security error accessing url'

2006-10-04 Thread Joe
Okay, I have my crossdomain.xml setup to allow access from anybody. 
My Flex project works on Firefox, but I still get the error on IE6.

Any suggestions on what to try to get this to work across the browsers?

Thanks, 

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

 Let me try and put it as simple as possible.
 
 Every request you make to a data server will require the data
provider to provide explicit permission to access their data. This is
done using a crossdomain.xml file that resides in the root of the
data server.
 
 For example, the following is the URL to access the MXNA feed.
 

http://weblogs.macromedia.com/mxna/xml/rss.cfm?query=byCategorylanguages=1categoryId=5
 
 How can you check of you can access the data from this feed?
 Type in http://weblogs.macromedia.com/crossdomain.xml
 
 The result would be as below:
 cross-domain-policy
 allow-access-from domain=*/
 /cross-domain-policy
 
 Note that the allow-access-from-domain is specified as *. This
means anybody can access it.
 
 Now, lets look at another example.
 The following is the RSS feed for CNN Money Economy
 http://rss.cnn.com/rss/money_news_economy.rss
 
 Now, if you access http://rss.cnn.com/crossdomain.xml, you will find
a list of URLs. ONLY these URLs can access data from that particular feed.
 
 In your case, type in http://www.wopos.com/crossdomain.xml.
 I see the result in Chinese(?), but I could see that the no
crossdomain.xml policy file exists on the server.
 This means you do not have explicit permission to access that
webService.
 
 So, for 2 reasons you would get the 'Security error accessing url'
error.
 
 1. No crossdomain.xml policy file exists on the data server.
 2. The crossdomain.xml does not permit you to access that data.
 
 I hope my understanding is correct and it clears your confusion.
 
 Regards
 Sree
 
 
 
 
   - Original Message - 
   From: flexava 
   To: flexcoders@yahoogroups.com 
   Sent: Thursday, July 20, 2006 3:56 PM
   Subject: [flexcoders] Confusion about 'Security error accessing url'
 
 
   I'm using flex builder to create a small flex project to learn how to 
   call web service in flex,but I encountered a problem really confusing 
   me.I created a new file called wstest.mxml and here's its content:
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
   layout=vertical
   mx:Script
   ![CDATA[
   import mx.controls.Alert;
   import mx.rpc.Fault;
   import mx.rpc.events.FaultEvent;
 
   private function onFault(event : 
   FaultEvent) : void
   {
   var f : Fault = event.fault;
   Alert.show
   (f.faultString,Error);
   }
 
   private function list() : void
   { 
   adminService.getWeather.send();
   }
   ]]
   /mx:Script
   mx:WebService id=adminService service=Weather 
   port=WeatherSoap 
   wsdl=http://www.wopos.com/webservice/weather.asmx?
   wsdl showBusyCursor=true
   fault=onFault(event)
   mx:operation name=getWeather
   mx:request
   mCity
   ÉϺ£
   /mCity
   /mx:request
   /mx:operation
   /mx:WebService
   mx:Label id=lbl 
   text={adminService.getWeather.lastResult}/
   mx:Button label=Call Web Service click=list()/
   /mx:Application
   After building finished,I ran the generated wstest.swf in the 
   directory called bin,the output directory of the flex 
   project,everything is ok.But when I put the swf file in another 
   position, say, c:/. Then when I ran the swf file an error message was 
   returned saying 'Security error accessing url'. I can't understand 
   why this happened. It seems the swf file can only run under the bin 
   directory. Any one can help? Thanks!







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] does the CFC/AS namespace path have to match?

2006-10-04 Thread Bjorn Schultheiss





That alias biz has got me b4 as 
well...
Dont be to hard on yourself :)

Regards,

Bjorn 
Schultheiss




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Brendan 
MeutznerSent: Thursday, 5 October 2006 4:15 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] does the CFC/AS 
namespace path have to match?


Solution: Make sure you're RemoteClass alias definition inside the AS 
Class is correct... doh!Sorry to waste the groups time 
:-(Brendan
On 10/4/06, Brendan 
Meutzner [EMAIL PROTECTED]com wrote:
My question wasn't regarding 
  the ability to pass functions back... sorry for not being clear. My 
  question is whether or not the location of the AS file has to match the 
  location of a CFC file for the namespace path for AS Classes and CF CFC 
  types. When I pass an Object of type com.objects.Object1, it seems 
  that CF is looking for the CFC type at com.objects.Object1 even if I have 
  the type set to a different location (com.cfcobjects.Object1 for 
  example). I get an error stating:Could not find the ColdFusion 
  Component com.objects.Object1 : Please check that the given name is 
  correct and that the component 
  exists.Thanks,Brendan
  On 10/4/06, João Fernandes joaopedromartinsfer[EMAIL PROTECTED]com 
  wrote:
  





Exactly, only 
properties are translated between AS3/CFC.

João 
Fernandes





From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED] ups.com] On Behalf Of Bjorn Schultheiss
Sent: quarta-feira, 4 de Outubro de 
2006 5:38To: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] does the CFC/AS 
namespace path have to match?






As far as i know 
CF cant handle AS functions as it has no way of processing the logic (dont 
quote me).
I know that in 
Java all getters and setters are evaluated to primitive 
members.

In other words 
you can not pass a Function through remoting, i think :)


Regards,

Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies






From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Brendan MeutznerSent: Wednesday, 4 October 2006 9:39 
AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] does the CFC/AS 
namespace path have to match?

Hi,It seems that even when I type my 
cffunction argument inside my CFC, it looks for the object definition in the 
same location the AS object is placed... but they're not in my 
case.Eg.AS fileimport 
com.blah.blah1.blah2.theDataStructure;delegate.insertFunction(event.theDataInstance 
as theDataStructure);CFCcfargument 
name="theDataInstance" type=" com.blah.blah1.blah2.blah3.theDataStructure" 
/Gives me an error message from CF saying it can't find 
"com.blah.blah1.blah2.theDataStructure" even though I'm typing it 
as com.blah.blah1.blah2.blah3.theDataStructureIs this 
the case?Brendan




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: how to accept url parameters in flex 2 (newbie here)

2006-10-04 Thread passive_thoughts
http://www.abdulqabiz.com/blog/archives/macromedia_flex/how_to_get_url.p
hp







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: Architecting a large, modular Flex application

2006-10-04 Thread Russell Munro
Thanks for your comments Igor, as much as I would like to go to 
Vegas it just a little too far away. :)

Unfortualtely waiting a month to see the results of the discussion 
at MAX is just a little too far away also, If anyone could 
expand/explain Erics orignial comment I would be really thanks full.

Erics post:
http://tech.groups.yahoo.com/group/flexcoders/message/50634

thanks :)

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

 For just point, MAX 2006 will also has an session talking about 
his thread
 topic.
 
 
 For more adition, you could also develop large number of software 
and
 re-usable code for nexts, simple using like.
 
 
 CVS server - belive me, it's very useful not for team development 
but for
 better organization
 MVC arquiteture - Flex also develop based on this point of view.
 Commentary - Coding everyone does, but commented code and well 
organized
 it's just 10% of people do. While you have in hands commented code 
you can
 use ASDoc to generete automaticly document for your code.
 SWC format - it's pretty nuthy to use it, but not recommended due 
to if you
 have large scale of undocummented code it's conditiional of this 
uses.
 
 For better praticies I've also advice you to attend at MAX this 
year, they
 are really point out to this way.
 
 
 Regards.
 
 
 On 10/3/06, Russell Munro [EMAIL PROTECTED] wrote:
 
Hi Even,
 
  Your response seem to be the way forward for this problem. Can I
  trouble you expand on your writing here? To add some more detail 
about
  how to complete what you have decribed here? I understand the 
concepts
  involved and how to create SWC files, but I am still quite lost 
on the
  practicallites of implementing what you have suggest as a working
  application.
 
  Thanks in advance,
 
  Russell Munro
 
  --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, EECOLOR
  eecolor@ wrote:
  
   Hello,
  
   the way we handle this is as follows:
  
   We have one library swc that holds our code base. We have an 
application
   file that contains all basic application code. This 
application is
  compiled
   with the option -link-report=linkreport.xml. All separate 
modules are
   compiled with the option -load-externs, this option allows you 
to
  have the
   required classes in your classpath for type checking, but 
leaves all
   available classes out (the ones in the basic application).
  
  
   Greetz Erik
  
 
   
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com







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

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

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





  1   2   >