Re: [flexcoders] how to get GET POST variable

2006-09-04 Thread Abdul Qabiz



This might help you:http://www.abdulqabiz.com/blog/archives/macromedia_flex/how_to_get_url.php-abdul
On 9/4/06, Yiðit Boyar [EMAIL PROTECTED] wrote:













  



hello,i need to send variables to a php page which has flex inside...as an example, you know flex automatically creates the html file when you debug an mxml fle... (like example.mxml and example.html
)i want to change example.html to example.php and want to pass arguments to the flex application like example.php?username='osman' ...is there a way to do this without using flex server ?? how can i read these variables in flex application?
thanks... 
		Yahoo! Messenger with Voice. 
Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Need help with Image Tile List and ZOOM

2006-09-04 Thread Phil Marston






Hi David,

I'm not sure about the choppyness my only thought about the direction
of the zoom is whether alignment attributes have any effect? I see
from your example there was no alignment attribute used in the Tile
component (assuming there even is such an attribute for that
component), but the component explorer uses the panel component as the
parent and it's alignment is set to center.

HTH,

Phil

envidobi wrote:


  
  Hi Phil,
Thanks for your comments! I got the alpha to work with the down state
but not sure how to implement it in to the zoom out phase. Also, i
still get the choppy, inconsistency when i mouse in between the
images. I've seen this done on the the flex component explorer and
when you mouse over the image it comes straight at you, unline mine
where it moves to the right instead. Anyone have any suggestions?
Thanks again,
David
  
  
  



-- 
__ 
Phil Marston 
Technology Enhanced Learning
Centre for Learning  Teaching 
University of Aberdeen
Aberdeen
AB24 3QY

Email: [EMAIL PROTECTED]
Tel: +44(0)1224 273329
Mob: +44(0)7798 723660 
Web: http://www.abdn.ac.uk/clt/
__

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




Re: [flexcoders] how to get GET POST variable

2006-09-04 Thread Abdul Qabiz



Hi,Just updated the code and demo there to use new xml namespace (http://www.adobe.com/2006/mxml). I posted that example during Flex 2 beta time..-abdul
On 9/4/06, Abdul Qabiz [EMAIL PROTECTED] wrote:
This might help you:http://www.abdulqabiz.com/blog/archives/macromedia_flex/how_to_get_url.php
-abdul
On 9/4/06, Yiðit Boyar [EMAIL PROTECTED] wrote:














  



hello,i need to send variables to a php page which has flex inside...as an example, you know flex automatically creates the html file when you debug an mxml fle... (like example.mxml and example.html

)i want to change example.html to example.php and want to pass arguments to the flex application like example.php?username='osman' ...is there a way to do this without using flex server ?? how can i read these variables in flex application?
thanks... 
		Yahoo! Messenger with Voice. 

Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
  

















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] dynamic URLRequest();

2006-09-04 Thread pioplacz
I'm having some problems and can't really figure out a way of do it. 
What i want to do is a doubleclick event in tilelist. On doubleclick 
i want to create a link. Every item rendered in tilelist have 
diffrent link. But cannot get it to work. I have created a 
doubleclick event in tilelist. Everything work so far but i cannot 
get the dynamic link to work. 

here is my code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
horizontalAlign=center verticalAlign=middle 
backgroundGradientColors=[#00, #00] 
width=100% height=100% 
creationComplete=movieService.send() 
viewSourceURL=srcview/index.html
mx:HTTPService id=movieService 
url=http://192.168.25.200/PHP/katalog.php; useProxy=false
 result=srv_results(event)/
mx:Style
LinkButton {
rollOverColor: #33;
color: #ff;
textRollOverColor: #ff;
}
VScrollBar { 
 highlightAlphas: 0.23, 0;
 fillAlphas: 0.6, 0.72, 0.63, 0.69;
 fillColors: #00, #33, #66, 
#33;
}
HScrollBar { 
 highlightAlphas: 0.23, 0;
 fillAlphas: 0.6, 0.72, 0.63, 0.69;
 fillColors: #00, #33, #66, 
#33;
}
ApplicationControlBar {
 dropShadowEnabled: true;
 shadowDirection: center;
 highlightAlphas: 0.26, 0.05;
 fillAlphas: 0.22, 1;
 fillColors: #00, #33;
 backgroundAlpha: 1;
}
ComboBox {
backgroundAlpha: 0.53;
color: #ff;
borderColor: #99;
cornerRadius: 3;
highlightAlphas: 0.23, 0;
fillColors: #33, #00, #00, 
#33;
useRollOver: true;
alternatingItemColors: #00, #00;
}
/mx:Style
mx:Script
![CDATA[
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
import mx.events.ItemClickEvent;
// Import Event and URLRequest classes.
import flash.events.Event;
import flash.net.URLRequest;

public function srv_results(event:ResultEvent):void
{
//Alert.show(ObjectUtil.toString
(event.result) );
movieCollection = 
event.result.helakatalog.katalog as ArrayCollection;
movieCollection.filterFunction=processFilter;
}
[Bindable]
private var movieCollection:ArrayCollection;

 // Filter function 
public function processFilter
(item:Object):Boolean
{
var result:Boolean=false;

// If no filter text, or a match, then true 
if (!item.title.length
|| item.title.toUpperCase().indexOf
(filterInput.text.toUpperCase()) = 0)
if (!item.genres.length
|| item.genres.toUpperCase().indexOf
(genresInput.text.toUpperCase()) = 0)
result=true;

return result;
 }
private function textChange():void
{
movieCollection.refresh();
}
public var u:URLRequest;

// Event listener to open URL using the navigateToURL() 
method.
private function handleClick(eventObj:Event):void {
u = new URLRequest(movieCollection.link);
navigateToURL(u);
}   
]]
/mx:Script
!-- An ArrayCollection with an array of objects. --
mx:ArrayCollection id=genres
mx:Array
mx:Object label= data=/
mx:Object label=Action data=Action/
mx:Object label=Animerat data=Animerat/
mx:Object label=Drama data=Drama/
mx:Object label=Komedi data=Komedi/
mx:Object label=Thriller data=Thriller/
/mx:Array  
/mx:ArrayCollection

mx:states
mx:State name=Grid
mx:RemoveChild target={tilelist1}/
mx:AddChild relativeTo={mainVbox} 
position=lastChild
mx:DataGrid width=100% 
height=80% dataProvider={movieCollection} editable=false 
borderStyle=none
mx:columns
 

Re: [flexcoders] Re: HMAC-SHA1

2006-09-04 Thread Luís Gustavo Sanabio



Hi Dave,

 Thanks.. You're right. I will generate the signature at server.

thanks,
Gustavo
2006/9/3, Dave Wolf [EMAIL PROTECTED]:
First it is worth noting that HMAC-SHA1 isnt actually encryption atall.Rather it is a hash.More specifically it is a keyed hash
algorithm that produces a fixed length 160byte hash value.This hashis built from the SHA-1 hash algorithm and in your case will be usedas an HMAC, or hash-based message authentication code.Technicallythis is not encryption.It is used to pass a message from sender to
receiver in a way in which both parties can test whether the contentsof the message have been tampered with in transmission (assuming bothsides share a secret key, usually an asymetric one).Think of it like
putting a little piece of scotch tape over a door jam to know ifsomeone opened it.Now, how would you produce this?My suggestion would be to use theserver-side API's to generate the hash.If for example your
server-side infrastructure is Java you could use a JCE 1.2 providerthat supports a SHA-1 based HMAC.You can find a listing athttp://java.sun.com/products/jce/jce122_providers.html
Basically you will have the server-side generate the hash and simplyreturn it to the browser.If you are doing this exchange over SSL andusing some kind of strong authentication (say DIGEST orSSL-Mutual-Auth) you'll be able to be very sure the exchange was
clean.If course, I think standard HTTP-AUTH over SSL would be plentyfor most folks!In the end though, I would not assume an AS3 algorithm exists togenerate such a hash.You should look to some kind of servant code to
do that heavey lifting.--Dave WolfCynergy Systems, Inc.Adobe Flex Alliance Partnerhttp://www.cynergysystems.com
http://www.cynergysystems.com/blogsEmail:[EMAIL PROTECTED]Office: 866-CYNERGY--- In flexcoders@yahoogroups.com
, Luís Gustavo Sanabio[EMAIL PROTECTED] wrote: Hi David,Yes, there are a lot of results about SHA1.But I need implement HMAC-SHA1, that crypts a String using a Key.
 thanks, Gustavo 2006/9/3, David Mendels [EMAIL PROTECTED]:  Hi,   If you Google: AS3 SHA1, you will see multple threads, blog
entries and  work on this that can get you started I hope.   HTH,  -David  --  *From:* 
flexcoders@yahoogroups.com[mailto:flexcoders@yahoogroups.com] *On  Behalf Of *Luís Gustavo Sanabio  *Sent:* Sunday, September 03, 2006 9:39 AM
  *To:* flexcoders@yahoogroups.com  *Subject:* [flexcoders] HMAC-SHA1   Hi,  I would like to use Amazon S3 services, but I need to implement a
  HMAC-SHA1 to build a signature. Can anyone help me?   thanks!  Gustavo  --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/
* 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
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: unable to load wsdl?? flex, you're pissing me off...

2006-09-04 Thread wrench77777
I am getting sporadic Runtime errors when trying to load a Web Service
. When testing locally, the web service loads fine. When testing from
a remote server, I get a 2047 error - but only very occassionally. I
have a crossdomain.xml file in the root directory, and the webservice
itself has a crossdomain.xml file setup to allow access from all
domains. I even have Security.allowDomain(*) setup in the main .mxml
file, but this isn't allowing me to access the Web Service when
deployed to my remote server. Not sure what else I can try here.



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

 Flash runs in a security sandbox that blocks access to remote domains
 that the swf was not served from.
 
  
 
 Here's a technote that describes this in detail.
 
 http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213
 
  
 
 Best,
 
 Seth
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Greg Morphis
 Sent: Tuesday, August 15, 2006 1:48 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] unable to load wsdl?? flex, you're pissing me
 off...
 
  
 
 When I run my app I get the error Unable to load WSDL...
 I can view my cfc in the component explorer and I can create a .cfm
 page to reference the cfc file. So I know my cfc is okay. Something I
 did notice was in CF I am getting these strange error messages that I
 havent seen before.
 
 08/15 15:28:44 error Requested resource '/crossdomain.xml'
 (%2fcrossdomain.xml)
 not found
 08/15 15:31:38 error Requested resource '/crossdomain.xml'
 (%2fcrossdomain.xml)
 not found
 08/15 15:32:06 error Requested resource '/crossdomain.xml'
 (%2fcrossdomain.xml)
 not found
 08/15 15:35:40 error Requested resource '/crossdomain.xml'
 (%2fcrossdomain.xml)
 not found
 
 WTH is %2crossdomain.xml?








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

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

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

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




Re: [flexcoders] how to get GET POST variables

2006-09-04 Thread Bill Lane



You could get php to add the variables as FlashVars. The FlashVars 
would then be available from Flex using 
Application.application.parameters['FlashVars_name']. There is a 
description in the Developers guide at:

Flex 2 Developer's Guide  Flex Programming Topics  
Communicating with the Wrapper 

Bill Lane "Yiit" Boyar [EMAIL PROTECTED] 
09/04/06 7:15 am 

hello,i need to send variables to a php page which has flex 
inside...as an example, you know flex automatically creates the html file 
when you debug an mxml fle... (like example.mxml and example.html)i want to 
change example.html to example.php and want to pass arguments to the flex 
application like example.php?username='osman' ...is there a way to 
do this without using flex server ?? how can i read these variables in flex 
application?thanks...


Yahoo! Messenger with Voice. Make 
PC-to-Phone Calls to the US (and 30+ countries) for 2/min or less.



gifsc5HguZ0j3.gif
Description: GIF image


binGjBaAXV17i.bin
Description: image/com/serv


[flexcoders] FW: Problem in Texbox while populating from Grid

2006-09-04 Thread Renee
In the attached screen , update the name , give some very big name  now
try to navigate through records by clicking on the row.
Notice valuse populating in name textbox is invisible. The problem is
when we updated name with longer one, cursor(pointer ) moves to  right
most position. Now the cursor is at right most position  looking like
rest of the names are missing but actully they all are gone towards left
side. We can see the value if we move the pointer into the text field.

can anybody put light into the issue..

The same issue is exisiting in Flex 2.0 also.

Thanks
-Renee


-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.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/

* 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/
 
?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:Script

function addRow() {
if (name.text != ) dg.addItem( {name: name.text, email: 
email.text, phone: phone.text} );
}

function updateRow() {
if (dg.selectedIndex!=undefined)
dg.replaceItemAt(dg.selectedIndex, {name: name.text, email: 
email.text, phone: phone.text} );
}

function deleteRow() {
if (dg.selectedIndex!=undefined) {
dg.removeItemAt(dg.selectedIndex);
name.text=; email.text=; phone.text=;
}
}

/mx:Script

mx:Model id=employeeModel source=../assets/employees.xml/

mx:DataGrid id=dg width=100% height=100%
dataProvider={employeeModel.employee}
mx:columns
mx:Array
mx:DataGridColumn columnName=name headerText=Name/
mx:DataGridColumn columnName=phone headerText=Phone/
mx:DataGridColumn columnName=email headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form
mx:FormItem label=Name
mx:TextInput id=name width=200 text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:TextInput id=email width=200 
text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:TextInput id=phone width=200 
text={dg.selectedItem.phone}/
/mx:FormItem
mx:FormItem
mx:HBox
mx:Button label=Update click=updateRow()/
mx:Button label=Add click=addRow()/
mx:Button label=Delete click=deleteRow()/
/mx:HBox
/mx:FormItem
/mx:Form

/mx:Application
?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:Script

function addRow() {
if (name.text != ) dg.addItem( {name: name.text, email: email.text, phone: phone.text} );
}

function updateRow() {
if (dg.selectedIndex!=undefined)
dg.replaceItemAt(dg.selectedIndex, {name: name.text, email: email.text, phone: phone.text} );
}

function deleteRow() {
if (dg.selectedIndex!=undefined) {
dg.removeItemAt(dg.selectedIndex);
name.text=; email.text=; phone.text=;
}
}

/mx:Script

mx:Model id=employeeModel source=../assets/employees.xml/

mx:DataGrid id=dg width=100% height=100%
dataProvider={employeeModel.employee}
mx:columns
mx:Array
mx:DataGridColumn columnName=name headerText=Name/
mx:DataGridColumn columnName=phone headerText=Phone/
mx:DataGridColumn columnName=email headerText=Email/
/mx:Array
/mx:columns
/mx:DataGrid

mx:Form
mx:FormItem label=Name
mx:TextInput id=name width=200 text={dg.selectedItem.name}/
/mx:FormItem
mx:FormItem label=Email
mx:TextInput id=email width=200 text={dg.selectedItem.email}/
/mx:FormItem
mx:FormItem label=Phone
mx:TextInput id=phone width=200 text={dg.selectedItem.phone}/
/mx:FormItem
mx:FormItem
mx:HBox
mx:Button label=Update click=updateRow()/
mx:Button label=Add click=addRow()/
mx:Button label=Delete click=deleteRow()/
/mx:HBox
/mx:FormItem
/mx:Form

/mx:Application


[flexcoders] Connecting multiple projects

2006-09-04 Thread kristian_wright2002
I have build a couple of different Flex projects (eg a Login project
and a Webcam project) and I'd like to link them together, but I'm not
sure how. I've tried adding the required projects to my main project
in the main projects Project References, tried copying the sub app's
application mxml files to the main app, and adding it to the main apps
Flex Applications, and also tried adding the sub apps path to the
Source Path in main apps Flex Build Path, all with no luck. I can't
seem to reference objects, functions or methods across these apps.
Looking into making the sub apps into Library Projects now, but not
sure if this is the right way to go. Been scouring the net and trying
to find the answers in the Flex Help guide but still nothing!!!

Can anyone help? What am I doing wrong??!!!

I can post example code if it will help...






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

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

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

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





[flexcoders] Error when trying to run Notes Sample application

2006-09-04 Thread Ghose, Sanjucta










Hi,



I am a Flex newbie. I am trying to run the Notes sample
application that comes with Flex Builder by typing http://localhost:8700/samples/dataservice/notes/notes.mxml
on my browser. The following error pops up.



RPC Fault faultString=Send failed
faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error null]

 at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()

 at ::DataListRequestResponder/fault()

 at mx.rpc::AsyncRequest/fault()

 at
mx.messaging::ChannelSet/::faultPendingSends()

 at
mx.messaging::ChannelSet/channelFaultHandler()

 at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

 at flash.events::EventDispatcher/dispatchEvent()

 at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()

 at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()

 at
mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::statusHandler()





Would anybody know what the problem could be?



Thanks,

Sanjucta.




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.



[flexcoders] Customizing Tree / itemRenderer Tree

2006-09-04 Thread Peter Huppertz
Dear List,

I want to use the tree control as a basis for a bulletin board. To 
extend the tree to display more than the label-field I started to write 
my own itemRenderer. I override the createChildren method to add a new 
TextField (addChild(myMessage)) and override the updateDisplayList to 
fill the myMessages' text with data (var tmp:XMLList = 
XMLList(TreeListData(super.listData).item); myMessage.text = 
[EMAIL PROTECTED];).
So I got two questions:
1) The text is only shown when I use TextField as type for myMessage. I 
tried Label, Text, Textarea ... nothing worked. Why?
2) Is it possible to add other components als children, e.g. buttons? 
Whey I try to add a button (addChild(myButton) it isn't displayed. Why? 
How can I solve this?
3) Do you think the way to extend the tree component is the right way to 
go, or do you have any other ideas?

Thanks in advance

Peter


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

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

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

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





[flexcoders] Anybody tried this?

2006-09-04 Thread Pramod
Hi,

I am working on a project where in the requirement is as follows -

The whole project is a wizard. My project folder has a 
folder 'myComponents' - basically consisting of various charts (in fact 
all the charts which Flex Charting supports). In step 2 in need to 
display all these componets (charts) in a tile list and the user would 
drag and drop the required charts into a work area. Can someone tell me 
how to make a thumbnail tile list of all the componets created in 
my 'myComponents' folder?
Thanks a lot in advance.
Regards,
Pramod





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

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

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

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




[flexcoders] Unable to access the webservice

2006-09-04 Thread comeinsidetochat
Hello Group,

I am facing problem while accessing the webservice via
http://ipnumber/webservicefile.cfc?wsdl. Its working finely when
trying to acceess it from http://localhost/webservicefile.cfc?wsdl. I
tried useProxy=true/false but didnt able to make it work.

Please help.

Thank you
Vijay






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

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

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

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





[flexcoders] Accessing Component in the class

2006-09-04 Thread viju kumar
Hello Group,

We need to access the component defined in the mxml
into the actionscript file. But we are unable to get
the access of the component in class file. 

How can we access the controls in the class file from
mxml file.

Please help.

Thank You
vijay

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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/

* 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] Accessing Component in the class

2006-09-04 Thread Abdul Qabiz



Hi,import MXML_COMPONENT_FILE_NAMEshould work?Please give some more details whenever you post questions. Thanks-abdulOn 9/4/06, 
viju kumar [EMAIL PROTECTED] wrote:













  



Hello Group,

We need to access the component defined in the mxml
into the actionscript file. But we are unable to get
the access of the component in class file. 

How can we access the controls in the class file from
mxml file.

Please help.

Thank You
vijay

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Anybody tried this?

2006-09-04 Thread Abdul Qabiz



Create instance of each chart component, one by one in some display object (of thumbnail size) which is offstage (not visible to user), take the bitmap snapshot (look at BitmapData class).. Then show the all those bitmap's as thumbnails... You need to do this during initialization of app... To be honest, this is not really good solution... This would really mess up the user experience everytime user uses app...and long list of chart components would make it more worse..
I prefer writing a automated script, that creates thumbnails for each component and storing it Yeah you gotta run this script, whenever you add new component to directory.. Infact, you can hook up this with your server-side script...
-abdulOn 9/4/06, Pramod [EMAIL PROTECTED] wrote:













  



Hi,

I am working on a project where in the requirement is as follows -

The whole project is a wizard. My project folder has a 
folder 'myComponents' - basically consisting of various charts (in fact 
all the charts which Flex Charting supports). In step 2 in need to 
display all these componets (charts) in a tile list and the user would 
drag and drop the required charts into a work area. Can someone tell me 
how to make a thumbnail tile list of all the componets created in 
my 'myComponents' folder?
Thanks a lot in advance.
Regards,
Pramod


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Unable to access the webservice

2006-09-04 Thread Abdul Qabiz



Macromedia Flash Player has some security constrains. If you Flash Player is directly connecting to another domain and it doesn't find a crossdomain.xml there, no data excahnge would be allowed.If you really want to consume a webservice and you don't have access to web-server (webservice's), you can consider using a server-side proxy script.
As long as I understand, standalone Flash player used to (in Flash Player 7 or before) allow this kind of communication. Not really sure of Flash Player 9, check out Security White paper available on Adobe website.
-abdulOn 9/4/06, comeinsidetochat [EMAIL PROTECTED] wrote:













  



Hello Group,

I am facing problem while accessing the webservice via
http://ipnumber/webservicefile.cfc?wsdl. Its working finely when
trying to acceess it from http://localhost/webservicefile.cfc?wsdl. I
tried useProxy=true/false but didnt able to make it work.

Please help.

Thank you
Vijay


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] connection refused with the http service

2006-09-04 Thread Abdul Qabiz



Dude, I am not really sure HTTPService can connect to mySQL directly?Why don't you try using Binary Socket and implement mySQL client in ActionScript 3 :)That's what I tried doing and stopped half-way, little complicated and needs time...
Would love to see if you do it..-abdulOn 9/2/06, zd_khaled [EMAIL PROTECTED] wrote:













  



Hi,

I m trying to use the http service to connect to a MySQL server but I
got this error 'HTTPservice Fault:connection refused:connect'
I use the following code:

srv.clearUsernamePassword(root,root);
srv.send(); 

srv is the id of the HTTP service

I tried to connect to the db over the MySQL command line and its work
without any problem.

can you help me please
thanks in advance 


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] ServiceCapture, Charles opern source equivalent?

2006-09-04 Thread Abdul Qabiz



I like both of these... But I like some good features in Service Capture, like mapping requests to files on file-system.. You can use it to debug things or develop without a webserver sometime...Since guy (Kevin) who built Service Capture, himself is a Flex/Flash Developer..so I think, he would keep adding some cool features ..
Charles kindda works but requires restart, if you are using trial version..If I am not using AMF, I prefer using LiveHTTPHeader (firefox extension)..-abdulOn 9/1/06, 
Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:













  



Well, I have been in this quest a while ago but ended up by purchasing a Charles license (haven´t found anything os that worked). I'm quite happy with it.Marcelo.
On 9/1/06, 
Oriol Gual [EMAIL PROTECTED] wrote:














  



Hi,Does any one know an open-source (or at least free) equivalent to ServiceCapture 
or Charles?Thanks,Oriol.


  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] ServiceCapture, Charles opern source equivalent?

2006-09-04 Thread Abdul Qabiz



Or Fidller on Internet ExplorerOn 9/4/06, Abdul Qabiz [EMAIL PROTECTED] wrote:
I like both of these... But I like some good features in Service Capture, like mapping requests to files on file-system.. You can use it to debug things or develop without a webserver sometime...Since guy (Kevin) who built Service Capture, himself is a Flex/Flash Developer..so I think, he would keep adding some cool features ..
Charles kindda works but requires restart, if you are using trial version..If I am not using AMF, I prefer using LiveHTTPHeader (firefox extension)..-abdul
On 9/1/06, 
Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:














  



Well, I have been in this quest a while ago but ended up by purchasing a Charles license (haven´t found anything os that worked). I'm quite happy with it.Marcelo.
On 9/1/06, 
Oriol Gual [EMAIL PROTECTED] wrote:















  



Hi,Does any one know an open-source (or at least free) equivalent to ServiceCapture 
or Charles?Thanks,Oriol.


  















  

















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Bubbling, Practical Use?

2006-09-04 Thread lostinrecursion
As an interesting side note to the discussion, wouldn't the concept of
bubbling be basically obsolete in a Cairngorm based application?

Here's my reasoning. If, in a pure Cairngorm app, each gesture (and
event) is mapped to a specific custom command in the Controller, then
bubbling has no place because each event knows exactly what it is to
do and where it is to do it.

Correct?






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

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

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

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




Re: [flexcoders] ServiceCapture, Charles opern source equivalent?

2006-09-04 Thread Marcelo de Moraes Serpa



I don't like Fiddler, it's cumbersome. Never used the firefox extension you mentioned though.What do you mean by saying that Charles requires restart?Cheers,Marcelo.
On 9/4/06, Abdul Qabiz [EMAIL PROTECTED] wrote:













  



Or Fidller on Internet ExplorerOn 9/4/06, Abdul Qabiz 
[EMAIL PROTECTED] wrote:
I like both of these... But I like some good features in Service Capture, like mapping requests to files on file-system.. You can use it to debug things or develop without a webserver sometime...Since guy (Kevin) who built Service Capture, himself is a Flex/Flash Developer..so I think, he would keep adding some cool features ..
Charles kindda works but requires restart, if you are using trial version..If I am not using AMF, I prefer using LiveHTTPHeader (firefox extension)..-abdul
On 9/1/06, 
Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote:















  



Well, I have been in this quest a while ago but ended up by purchasing a Charles license (haven´t found anything os that worked). I'm quite happy with it.Marcelo.
On 9/1/06, 
Oriol Gual [EMAIL PROTECTED] wrote:
















  



Hi,Does any one know an open-source (or at least free) equivalent to ServiceCapture 
or Charles?Thanks,Oriol.


  















  

















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Connecting multiple projects

2006-09-04 Thread Tom Chiverton
On Monday 04 September 2006 12:03, kristian_wright2002 wrote:
 Looking into making the sub apps into Library Projects now, but not
 sure if this is the right way to go. Been scouring the net and trying

I'd go that route.

-- 
Tom Chiverton
Helping to seamlessly benchmark world-class developments



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/

* 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: Bubbling, Practical Use?

2006-09-04 Thread Johannes Nel



public static const CLICK:String = mySpecialComboBoxClick;

the problem with this lies in mxml and the [Event(name)] declaration

where i would assign a handler to my component in mxml then by going
c:MyView mySpecialComboBoxClick=func()/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Bubbling, Practical Use?

2006-09-04 Thread Johannes Nel



 in a pure Cairngorm appain't seen one of them yet myself :)

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Accessing Component in the class

2006-09-04 Thread Hasan Otuome






Hi vijay,

If you're saying you want to be able to get to a component that's
located in the MXML file from your ActionScript Class, you could also
do it like this:

//some useful imports
import mx.controls.TextArea; //import the component into the class
import mx.core.Application; //for communicating with the main app

//create a variable to reference the component
private var _ta:TextArea;

//define the variable inside your constructor function
_ta = Application.application.myTA; //myTA being the id you gave the
component in the MXML

And from there you can
communicate from the class to the component. HTH...

P E A C E

Hasan
hasan.otuome.com
www.marxmedia.net
thesourcecode.org
Adobe Certified Professional (Flash MX2004 Developer) 



  
  
  
  On 9/4/06, 
viju kumar comeinsidetochat@
yahoo.com wrote:
  
  





Hello Group,

We need to access the component defined in the mxml
into the actionscript file. But we are unable to get
the access of the component in class file. 

How can we access the controls in the class file from
mxml file.

Please help.

Thank You
vijay






  
  
  
  
  


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




[flexcoders] Re: AUTO DELETE ITEMS IN DATAGRID

2006-09-04 Thread tonyx_788



thanks for the help now this is what i came up with but i get this error in my datagrid component undefined methodany ideas?private function AutoB():void{if (_xlcdatagrid2.length = 2){this._xlcdatagrid2.removeItemAt(0);}}---mx:DatagriddataChange="datagrid2.selectedIndex.AutoB()" 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [Junk E-Mail - LOW] [flexcoders] removeItemAt(0) don't work

2006-09-04 Thread tonyx_788



hi thanks for trying to help my dataprovider is _xlcdatagrid2 this compiles ok i have no problem with it but when i put in my datagrid dataChange="datagrid2.selectedIndex.AutoB()" i get this error undefined methodhere is the code to pass data to datagrid2import mx.collections.XMLListCollection;[Bindable]private var _xlcdatagrid:XMLListCollection;[Bindable]private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;private function onResult(oEvent:ResultEvent):void{_xlcdatagrid = new XMLListCollection(oEvent.result.name) datagrid.dataProvider = _xlcdatagrid; }private function selectItem():void{_xlcdatagrid2.addItem(datagrid.selectedItem);}codepublic function AutoB():void{if (this._xlcdatagrid2.length = 2){_xlcdatagrid2.removeItemAt(0);}}*
mx:Datagrid..dataChange="datagrid2.selectedIndex.AutoB()"/mx:Datagrid..

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] HTTP Service bug???

2006-09-04 Thread Tom Chiverton
On Friday 01 September 2006 20:21, mthielman11 wrote:
  body = physicianid /firstname /middleinitial /lastname /honor
 dob /ssn /languages //physician

What if you stick a xml tag in there as the first node ?

 contentType to application/xml

For a HTTP form-style POST ? Why ?

 when packet sniffing the call the body leaves the machine as null

I would suggest that is the problem then :-)

-- 
Tom Chiverton
Helping to authoritatively consolidate front-end experiences



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/

* 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: focus new row?

2006-09-04 Thread tonyx_788
hi after i tried the code came up with another problem what if i want
to automatically removeItemAt(0) when 5 items in my datagrid


this is what i have so far but i get an error in datagrid component

private function AutoB():void{
if (_xlcdatagrid2.length = 2)
{
this._xlcdatagrid2.removeItemAt(0);
}
}

change=datagrid.selectedIndex.AutoB()
...





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

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

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

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




[flexcoders] Usage of showDefaultContextMenu in Application/

2006-09-04 Thread Claudia Barnal
I tried doing this:

mx:Script
   ![CDATA[
  stage.showDefaultContextMenu = false; 
   ]]
/mx:Script

But it throws an error. How should I apply this, to avoid having the
default contect menu showing in my flex app?

Thanks,
Claudia


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

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

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

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





[flexcoders] connect to FMS via proxy server

2006-09-04 Thread Dan Rossi






Hi i was wondering how a fall-back connection could
be setup to allow normal connections on 1935 and then falls-back to
port 80 via http tunnel if the connection fails. It seems the the
client in flex doesnt not try to fall-back at all from my tests unless
i specify rtmpt so this is really only a 1 url solution ? let me know.


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




[flexcoders] Customizing Default Drag with List Components

2006-09-04 Thread qnotemedia
I have implemented a very simplistic drag/drop with a single Tree 
component (dragEnabled=true dropEnabled=true) and would like to 
keep it as simple as possible.

But is there any way to limit items within the component that can or 
can not drag or be dragged to?

i.e. in my case, my tree will always consist of three levels (Root 
Folder:Collection of folders:Collection of files), and files will only 
exist in the last level.

I want to be able to limit:
1) Can not start dragging any item except for a file
2) Can not drop a file to anywhere except another last-level folder 
(i.e. can't drop to the root).

Should be simple, but I'm a bit confused by the drag examples given at 
the livedocs...

 - Chris





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

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

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

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





Re: [flexcoders] Accessing Component in the class

2006-09-04 Thread julien castelain




hi viku ,

i hope i'm not saying anything wrong since i'm also starting with flex but,

if you have this in your mxml file
...
mx:Button id=myButton /
...

you should be able to access it in your as file like this,
first declare it as a public variable in your class
...
public var myButton:Button;
...
and then you should be able to work with it 
...
myButton.label = hello there;
...

cheers





On 9/4/06, viju kumar [EMAIL PROTECTED] wrote:






Hello Group,We need to access the component defined in the mxmlinto the actionscript file. But we are unable to getthe access of the component in class file. How can we access the controls in the class file from
mxml file.Please help.Thank Youvijay__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Customizing Tree with additional Text / itemRenderer Tree

2006-09-04 Thread futurmat
Dear List,

I want to use the tree control as a basis for a bulletin board. To
extend the tree to display more than the label-field I started to
write my own itemRenderer. I override the createChildren method to add
a new TextField (addChild(myMessage)) and override the
updateDisplayList to fill the myMessages' text with data (var
tmp:XMLList = XMLList(TreeListData(super.listData).item);
myMessage.text = [EMAIL PROTECTED];).
So I got three questions:

1) The text is only shown when I use TextField as type for myMessage.
I tried Label, Text, Textarea ... nothing worked. Why?
2) Is it possible to add other components als children, e.g. buttons?
Whey I try to add a button (addChild(myButton) it isn't displayed.
Why? How can I solve this?
3) Do you think the way to extend the tree component is the right way
to go, or do you have any other ideas?

Thanks in advance

Peter





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

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

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

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





[flexcoders] upload file button

2006-09-04 Thread Yi



is there a way to put a browse button (like in html: input type='file' ) in flex ?as much as i know, this is not allowed because of security ; but this is sth needed; so: WHAT IS THE WAY TO GIVE THE USER THE OPPOURTUNITY TO UPLOAD FILES VIA FLEX APPLICATION ?thanksYigit 
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FW: Problem in Texbox while populating from Grid

2006-09-04 Thread Stefan Horochovec



Hehehe, Cool, a mail sender created by Laszlo in Flex Mail list...
Theworld is sooo small :PRegardsStefan

- Mensagem Original De:
flexcoders@yahoogroups.comPara: "flexcoders@yahoogroups.com"
flexcoders@yahoogroups.comAssunto: [flexcoders] FW: Problem in
Texbox while populating from GridData: 04/09/06 13:50

In the attached screen , update the name , give some very big name 
nowtry to navigate through records by clicking on the row.Notice
valuse populating in name textbox is invisible. The problem iswhen we
updated name with longer one, cursor(pointer ) moves to rightmost
position. Now the cursor is at right most position  looking
likerest of the names are missing but actully they all are gone towards
leftside. We can see the value if we move the pointer into the text
field.can anybody put light into the issue..The same issue
is exisiting in Flex 2.0 also.Thanks-Renee-- Sent
using Laszlo Mail. Try it yourself.http://www.laszlomail.com


Mensagem enviada
utilizando NetConta WebMail 0.3


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Passing variables from Flex to swf

2006-09-04 Thread robavey
Hi there,

Just wondering if its possible to pass a selected item object (from a 
tilelist) to a flash movie which has been loaded into the Flex app?

thanx ahead of time
aVe






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

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

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

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




[flexcoders] [global coords system]Problem using global coordinates system

2006-09-04 Thread Cristian Rotundu



Hello, my name is Cristian. I'm glad to have joined your group :)As any newbie I'll start with a problem:I have this problem using the global coordinates.I have a component (component X) that's nested into another, and the latter as well nested into another one.
 i generate these component X so i can have one or three or how many i want  on the same level. I generate them at runtime.Everything
works perfect so far, but when i generate a component X when the main
app is in scroll mode, the global coordinates transformation seems to
not work anymore. From what I noticed the (0,0) is not the
Application's upper left corner, but the visible screen upper left
corner at that given moment. So if a component appears with its reference point somewhere above the visible area it gets negative coordinates. Shouldn't 0,0 be in the upper left corner of the app's stage space? I use localToGlobal to convert the component Xs local coords to the global coords. I'm pretty sure i do it right, because when the app is not scrolled, they are OK and they have the expected coords.
It makes no sense. Anybody had this same problem? What's
really going on with the global coordinates system when the main app
scrolls? Can i truly have one fixed reference point?Thanks in advanceCristian-- Cristian Rotundu 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Assets with timeline code in Actionscript projects

2006-09-04 Thread Samúel Jónasson
Hi,

I am trying to use the Flex Builder 2 to create Action Script projects 
(not Flex) so maybe this list is not the one to post this question to.  
However...

I was hoping someone could tell me if there are some limitations with 
embedded assets created in Flash 9 IDE.  In my case stop(); is not 
working on assets timelines.  It is simply ignored.

Regards,
Sammi


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

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

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

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





[flexcoders] CSS in custom components

2006-09-04 Thread grahampengelly



HiI have created a custom component that derives from Box. I have added a couple of style decarations within the code for the component. The following is an example:[Style(name="headingFontColor", type="uint", format="Color", inherit="no")]...and then I access this using getStyle("headingFontColor"), well, I wrap that with a default value function but that is the cut of it.So it works if I set the style within the component tag in the MXML like this:uiComponents: AnswerButtonPanel headingFontColor="0xFF" /but if I try to set it as such:mx:Style AnswerButtonPanel {   headingFontColor:#FF;   !-- I have also tried "#FF", 0xFF and "0xFF" here, as per some examples that I have found, but none work -- }/mx:Styleit doesn't get set. Do I have to do something to get this functionality?Thanks for your help in advance.Graham

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Assets with timeline code in Actionscript projects

2006-09-04 Thread Tim Hoff
Hi Samúel,

Actionscript that is placed on the timeline (FP9) is ignored by 
Flex.  However, if you place your AS in a class it will work.

-TH

--- In flexcoders@yahoogroups.com, Samúel Jónasson [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to use the Flex Builder 2 to create Action Script 
projects 
 (not Flex) so maybe this list is not the one to post this question 
to.  
 However...
 
 I was hoping someone could tell me if there are some limitations 
with 
 embedded assets created in Flash 9 IDE.  In my case stop(); is not 
 working on assets timelines.  It is simply ignored.
 
 Regards,
 Sammi







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

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

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

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





[flexcoders] Re: CSS in custom components

2006-09-04 Thread Tim Hoff
Hi Graham,

Have you tried this:

AnswerButtonPanel.setStyle('headingFontColor', '#FF');

Or use a CSS file:

CSS:

myStyle {
headingFontColor:#FF;
}

MXML:

uiComponents: AnswerButtonPanel styleName=myStyle/

-TH

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

 Hi
 
 I have created a custom component that derives from Box. I have 
added a
 couple of style decarations within the code for the component. The
 following is an example:
 
 [Style(name=headingFontColor, type=uint, format=Color,
 inherit=no)]
 
 ...and then I access this using getStyle(headingFontColor), 
well, I
 wrap that with a default value function but that is the cut of it.
 
 So it works if I set the style within the component tag in the 
MXML like
 this:
 
 uiComponents: AnswerButtonPanel headingFontColor=0xFF /
 
 but if I try to set it as such:
 
 mx:Style
  AnswerButtonPanel
  {
  headingFontColor:#FF;
  !-- I have also tried #FF, 0xFF and 0xFF 
here,
 as per some examples that I have found, but none work --
  }
 /mx:Style
 
 it doesn't get set. Do I have to do something to get this 
functionality?
 
 Thanks for your help in advance.
 
 Graham







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

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

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

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




[flexcoders] Cairngorm, Where should Validators go?

2006-09-04 Thread lostinrecursion
Hi all,

Just wanted some feedback on this. Since Cairngorm is an MVC
architecture, is it appropriate to put the mx:Validator tags inside
the views to which it is relevant?

If not, where do validators go in a Cairngorm app?

Thanks so much.

-Kenny






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

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

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

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





[flexcoders] Re: Error Help Type 1009

2006-09-04 Thread rmlsystem
if you are receiving a null, null does not have the length
property, try;
if((result.length)!=undefined){
  userDG.dataProvider = result;
}


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

 I have built a simple userManager system, that lets people search for
 users in the system. If there are no records returned the user is given
 a simple alert window that gives them the choice to add a user. If
 records are returned they can double click on the dg and edit the user.
 Right now if there are no records returned it gives the error below. It
 does not keep the program from working, but it is annoying, once you
 click contiue the alert box shows up.
 
 TypeError: Error #1009: Cannot access a property or method of a null
 object reference.
  at custom::userSearch/::SearchManager_Search_User_Result()
  at custom::userSearch/___Operation1_result()
  at

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
 tFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at

mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::di\
 spatchRpcEvent()
  at

mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resu\
 ltHandler()
  at mx.rpc::Responder/result()
  at mx.rpc::AsyncRequest/acknowledge()
  at ::DirectHTTPMessageResponder/completeHandler()
  at

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
 tFunction()
 
 Here is my as code.
 
 //*USER SEARCH FUNCTIONS
 START*
 
 // CALL USER SEARCH METHOD
  private function SearchManager_Search_User(firstName,
lastName){
  SearchManager.Search_User(firstName, lastName)
  }
 
 // HANDLE USER SEARCH RESULTS
  private function SearchManager_Search_User_Result(result):*{
  if (result.length 0){
  userDG.dataProvider = result;
 
  }
  else{
  Alert.show(No users found. Create a new one?,
Program
 Alert, 3, this, alertClickHandler);
  userDG.dataProvider.removeAll();
  }
  }
 
 // HANDLE USER SEARCH FAULTS
  private function
 SearchManager_Search_User_Fault(event:FaultEvent):void{
  Alert.show(An error occured,Program Error)
  }
 
 // USER SEARCH HANDLER
  private function userSearchHandler(){
  if (firstName.length  0){
  SearchManager_Search_User(firstName.text,lastName.text)
  }
  else{
  SearchManager_Search_User(,lastName.text)
  }
  }
 
   // EVENT HANDLER FOR ALERT SELECTED OPTION
  private function alertClickHandler(event:CloseEvent):void {
  if (event.detail==Alert.YES)
 showUserDetail()
  else
 return;
  }
 //*USER SEARCH FUNCTIONs
 END***








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

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

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

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




[flexcoders] Re: Cairngorm, Where should Validators go?

2006-09-04 Thread Tim Hoff
Hi Kenny,

It's perfectly appropriate to place Validator tags inside of views.  
However, if you want to centralize and reuse Validators, you could put 
them in a utility class/directory.

-TH

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

 Hi all,
 
 Just wanted some feedback on this. Since Cairngorm is an MVC
 architecture, is it appropriate to put the mx:Validator tags inside
 the views to which it is relevant?
 
 If not, where do validators go in a Cairngorm app?
 
 Thanks so much.
 
 -Kenny








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

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

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

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





[flexcoders] dataservice only working localy, not working when trying access from internet

2006-09-04 Thread pioplacz
I don't know what's wrong it worked fine in the flex 1.5. My 
httpservice is placed on the same machine as the application and i'm 
accessing in by the local ip adress. But when trying to access the 
application from internet nothing is working no data is loaded and 
it tryes to load it from the local ip adress why's that. I paste 
here my source code. can anybody please help me? 

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
horizontalAlign=center verticalAlign=middle 
backgroundGradientColors=[#00, #00] 
width=100% height=100% 
creationComplete=movieService.send() 
viewSourceURL=srcview/index.html xmlns:ns1=*
mx:HTTPService id=movieService 
url=http://192.168.25.200/PHP/katalog.php; useProxy=false
 result=srv_results(event)/
mx:Style source=katalog2main.css/
mx:Script
![CDATA[
import mx.rpc.events.ResultEvent;
import mx.collections.ArrayCollection;
import mx.events.ItemClickEvent;
import mx.controls.Alert; 
import mx.events.CloseEvent;
import flash.events.Event;
import flash.net.URLRequest;

public function srv_results(event:ResultEvent):void
{
//Alert.show(ObjectUtil.toString
(event.result) );
movieCollection = 
event.result.helakatalog.katalog as ArrayCollection;
movieCollection.filterFunction=processFilter;
}
[Bindable]
private var movieCollection:ArrayCollection;
[Bindable]
public var selectedItem:Object;

 // Filter function 
public function processFilter
(item:Object):Boolean
{
var result:Boolean=false;
if (!item.title.length
|| item.title.toUpperCase().indexOf
(filterInput.text.toUpperCase()) = 0)
if (!item.genres.length
|| item.genres.toUpperCase().indexOf
(genresInput.text.toUpperCase()) = 0)
result=true;

return result;
 }
private function textChange():void
{
movieCollection.refresh();
}  
public var u:URLRequest;

// Event listener to open URL using the navigateToURL() 
method.
private function dgMovieListClick
(eventObj:Event):void {
u = new URLRequest
(http://192.168.25.200/Movies/; + dgMovieList.selectedItem.link);
navigateToURL(u);
Alert.show(Nerladdnings sida 
öppnad..., Nerladdnings sidan, Alert.OK);
}
// Event listener to open URL using the navigateToURL() 
method.
private function dgTileListClick
(eventObj:Event):void {
u = new URLRequest
(http://192.168.25.200/Movies/; + tilelist1.selectedItem.link);
navigateToURL(u);
Alert.show(Nerladdnings sida 
öppnad..., Nerladdnings sidan, Alert.OK);
}

]]
/mx:Script
!-- An ArrayCollection with an array of objects. --
mx:ArrayCollection id=genres
mx:Array
mx:Object label= data=/
mx:Object label=Action data=Action/
mx:Object label=Animerat data=Animerat/
mx:Object label=Drama data=Drama/
mx:Object label=Komedi data=Komedi/
mx:Object label=Thriller data=Thriller/

/mx:Array  
/mx:ArrayCollection

mx:states
mx:State name=Grid
mx:RemoveChild target={tilelist1}/
mx:RemoveChild target={dockedBar}/
mx:AddChild relativeTo={mainVbox} 
position=lastChild target={dockedBar}/
mx:SetEventHandler target={stchange} 
name=click handler=currentState=''/
mx:AddChild relativeTo={tilecanvas} 
position=lastChild
mx:DataGrid id=dgMovieList 
width=100% height=100% dataProvider={movieCollection} 
doubleClickEnabled=true itemDoubleClick=dgMovieListClick(event); 
editable=false borderStyle=none y=0
mx:columns
mx:DataGridColumn 
headerText=Titel dataField=title/
mx:DataGridColumn 
headerText=Kategori dataField=genres/
mx:DataGridColumn 
headerText=År dataField=year/
mx:DataGridColumn 
headerText=Utgivare dataField=publisher/
/mx:columns
/mx:DataGrid

[flexcoders] Setting RollOverColor in LinkBar

2006-09-04 Thread jdixon428
Hi,

I have an HBox with a backgroundImage.  I then have a LinkBar with 
several menu choices on top of the HBox.

How can I set the LinkBar RollOverColor to NOT display any color.

I guess I am saying transparent or something of that nature.

Regards,

John





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

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

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

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





Re: [flexcoders] Re: AUTO DELETE ITEMS IN DATAGRID

2006-09-04 Thread Nate Hardt


Yeah if it's saying undefined method, you're going to want to make sure you are calling the right function on the right object. From the code below it looks like your DataGrid does not have an id, so try giving your datagrid an id, then call removeItemAt on the dataProvider that goes with that id. public function AutoB():void {	if (myDataGrid.dataProvider.length = 2)	{		myDataGrid.dataProvider.removeItemAt(0);	}}mx:DataGrid id="myDataGrid" dataChange="AutoB()"On Sep 4, 2006, at 11:17 AM, tonyx_788 wrote: thanks for the help now this is what i came up with but i get this error in my datagrid component undefined methodany ideas?private function AutoB():void{if (_xlcdatagrid2.length = 2){this._xlcdatagrid2.removeItemAt(0);}}---mx:Datagrid dataChange="datagrid2.selectedIndex.AutoB()"   
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___


Re: [flexcoders] Re: Assets with timeline code in Actionscript projects

2006-09-04 Thread Samúel Jónasson






Thanks,

ok, so one can not simply put a stop statement on some frame of an
animation. Understoodso the only way I can use a simple swf
animation that has a stop action is to load it at runtime - right? I
can't see how I would make a stop action on frame 10 for an example in
an animation a class :)

For me this is a showstopper :( I am afraid I will have to continue to
use the Flash 9 IDE / SEPY for my development. To bad cause I was so
exited when I read about using Flex Builder for Actionscript projects. 

Sammi

Tim Hoff wrote:


  
  Hi Samel,
  
Actionscript that is placed on the timeline (FP9) is ignored by 
Flex. However, if you place your AS in a class it will work.
  
-TH
  
--- In [EMAIL PROTECTED]ups.com,
Samel Jnasson [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to use the Flex Builder 2 to create Action Script 
projects 
 (not Flex) so maybe this list is not the one to post this question
  
to. 
 However...
 
 I was hoping someone could tell me if there are some limitations 
with 
 embedded assets created in Flash 9 IDE. In my case stop(); is not 
 working on assets timelines. It is simply ignored.
 
 Regards,
 Sammi

  
  
  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




[flexcoders] Re: CSS in custom components

2006-09-04 Thread grahampengelly



Hi TimThanks for your quick reply... Both of those suggestions work. The problem I have is that it is actually some child components of the AnswerButtonPanel that I want to be able to style. In order to do this with the class name identifier in CSS I would have to hard code the styleName when I create the child controls and then always use that in the stylesheet as I don't explicitly create the children in MXML (they are created by the AnswerButtonPanel) and so can't specify it there.I was hoping, and it appears that you can in the docs, to be able to just set a style for all 'AnswerButton' components (the children of the AnswerButtonPanel) and it be picked up.As it stands, neither the AnswerButtonPanel or AnswerButton are picking up the style info if I use the format in my original post.Thanks again for your help...GrahamBlog--- In flexcoders@yahoogroups.com, "Tim Hoff" [EMAIL PROTECTED] wrote: Hi Graham,  Have you tried this:  AnswerButtonPanel.setStyle('headingFontColor', '#FF');  Or use a CSS file:  CSS:  myStyle { headingFontColor:#FF; }  MXML:  uiComponents: AnswerButtonPanel styleName="myStyle"/  -TH  --- In flexcoders@yahoogroups.com, "grahampengelly" graham@  wrote:   HiI have created a custom component that derives from Box. I have  added a  couple of style decarations within the code for the component. The  following is an example:[Style(name="headingFontColor", type="uint", format="Color",  inherit="no")]...and then I access this using getStyle("headingFontColor"),  well, I  wrap that with a default value function but that is the cut of it.So it works if I set the style within the component tag in the  MXML like  this:uiComponents: AnswerButtonPanel headingFontColor="0xFF" /but if I try to set it as such:mx:Style  AnswerButtonPanel  {  headingFontColor:#FF;  !-- I have also tried "#FF", 0xFF and "0xFF"  here,  as per some examples that I have found, but none work --  }  /mx:Styleit doesn't get set. Do I have to do something to get this  functionality?Thanks for your help in advance.Graham 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] NumericStepper events

2006-09-04 Thread Oriol Gual



Hi all,I have a NumericStepper that updates a label whenever it's changed. If the user click at the arrows there's no problem, but if they enter the value manually, the label doesn't get updated until the NumericStepper loses focus, or until the arrows are clicked. I've tried both change and valueCommit but none of them work. What event should I use?
Thanks, Oriol.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: CSS in custom components

2006-09-04 Thread grahampengelly
Hi Tim

Thanks for taking the time to get back to me. The two suggestions that
you gave both work. The problem that I have is that I also need to
style child components of the AnswerButtonPanel that are dynamically
created. If I use the styleName approach I would have to hard code a
styleName and then always use that.

What I was hoping, and looking at the examples it should work, was
that I could set a style for all AnswerButton components (the children
that are created) using the syntax that I gave in my original post. I
just can't work out why it doesn't work when every other method of
setting the style info works fine.

Thanks again...

Graham

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

 Hi Graham,
 
 Have you tried this:
 
 AnswerButtonPanel.setStyle('headingFontColor', '#FF');
 
 Or use a CSS file:
 
 CSS:
 
 myStyle {
 headingFontColor:#FF;
 }
 
 MXML:
 
 uiComponents: AnswerButtonPanel styleName=myStyle/
 
 -TH
 
 --- In flexcoders@yahoogroups.com, grahampengelly graham@ 
 wrote:
 
  Hi
  
  I have created a custom component that derives from Box. I have 
 added a
  couple of style decarations within the code for the component. The
  following is an example:
  
  [Style(name=headingFontColor, type=uint, format=Color,
  inherit=no)]
  
  ...and then I access this using getStyle(headingFontColor), 
 well, I
  wrap that with a default value function but that is the cut of it.
  
  So it works if I set the style within the component tag in the 
 MXML like
  this:
  
  uiComponents: AnswerButtonPanel headingFontColor=0xFF /
  
  but if I try to set it as such:
  
  mx:Style
   AnswerButtonPanel
   {
   headingFontColor:#FF;
   !-- I have also tried #FF, 0xFF and 0xFF 
 here,
  as per some examples that I have found, but none work --
   }
  /mx:Style
  
  it doesn't get set. Do I have to do something to get this 
 functionality?
  
  Thanks for your help in advance.
  
  Graham
 








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

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

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

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





[flexcoders] CSS in custom component

2006-09-04 Thread grahampengelly



HiI am building a custom component derived from Box. I have added a few style declarations as follows:[Style(name="headingFontColor", type="uint", format="Color", inherit="no")]...and then in the component I use the style with getStyle("headingFontColor") wrapped with a bit of default value stuff.If I set the style within the MXML tag it works fine:uiComp:AnswerButtonPanel headingFontColor="0xFF" etc etc/But if I try to set it from a style tag it doesn't work:mx:Style AnswerButtonPanel {  headingFontColor: #FF; !-- I have tried some variations here from different examples I have found e.g. "#FF", "0xFF", 0xFF, they didn't work either -- }/mx:StyleDo I need to take some sort of extra steps to get this kind of stylesheet to work?Thanks for you help in advance...Graham

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Assets with timeline code in Actionscript projects

2006-09-04 Thread Tim Hoff



Sammi,
You can read a good article, with examples, how to handle the Flash AS. Scroll down to August 27th, 2006. HTH.
http://www.jessewarden.com/
-TH--- In flexcoders@yahoogroups.com, Samúel Jónasson [EMAIL PROTECTED] wrote: Thanks,  ok, so one can not simply put a stop statement on some frame of an  animation. Understoodso the only way I can use a simple swf  animation that has a stop action is to load it at runtime - right? I  can't see how I would make a stop action on frame 10 for an example in  an animation a class :)  For me this is a showstopper :( I am afraid I will have to continue to  use the Flash 9 IDE / SEPY for my development. To bad cause I was so  exited when I read about using Flex Builder for Actionscript projects.  Sammi  Tim Hoff wrote:   Hi Samúel,   Actionscript that is placed on the timeline (FP9) is ignored by  Flex. However, if you place your AS in a class it will work.   -TH   --- In flexcoders@yahoogroups.com   mailto:flexcoders%40yahoogroups.com, Samúel Jónasson sambo@ wrote: Hi, I am trying to use the Flex Builder 2 to create Action Script  projects   (not Flex) so maybe this list is not the one to post this question  to.   However... I was hoping someone could tell me if there are some limitations  with   embedded assets created in Flash 9 IDE. In my case stop(); is not   working on assets timelines. It is simply ignored. Regards,   Sammi

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: CSS in custom components

2006-09-04 Thread grahampengelly



Firstly, apologies if there was a more or less duplicate post prior to this one... I got a bit impatient waiting for the first one to show up and assumed it hadn't landed.I have now just realised that when I try to apply styles to the standard components e.g. Button with the syntax I am trying it doesn't work either so perhaps the problem doesn't lie with my component and lies with the way I am trying to apply the styles.Shouldn't this work and change all instances of the Button component to have red text?mx:Style Button { color:#FF; }/mx:StyleThanks again...GrahamBlog--- In flexcoders@yahoogroups.com, "grahampengelly" [EMAIL PROTECTED] wrote: Hi Tim  Thanks for your quick reply... Both of those suggestions work. The problem I have is that it is actually some child components of the AnswerButtonPanel that I want to be able to style. In order to do this with the class name identifier in CSS I would have to hard code the styleName when I create the child controls and then always use that in the stylesheet as I don't explicitly create the children in MXML (they are created by the AnswerButtonPanel) and so can't specify it there.  I was hoping, and it appears that you can in the docs, to be able to just set a style for all 'AnswerButton' components (the children of the AnswerButtonPanel) and it be picked up.  As it stands, neither the AnswerButtonPanel or AnswerButton are picking up the style info if I use the format in my original post.  Thanks again for your help...  Graham Blog http://goingspare.wordpress.com --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote:   Hi Graham,   Have you tried this:   AnswerButtonPanel.setStyle('headingFontColor', '#FF');   Or use a CSS file:   CSS:   myStyle {  headingFontColor:#FF;  }   MXML:   uiComponents: AnswerButtonPanel styleName="myStyle"/   -TH   --- In flexcoders@yahoogroups.com, "grahampengelly" graham@  wrote: Hi I have created a custom component that derives from Box. I have  added a   couple of style decarations within the code for the component. The   following is an example: [Style(name="headingFontColor", type="uint", format="Color",   inherit="no")] ...and then I access this using getStyle("headingFontColor"),  well, I   wrap that with a default value function but that is the cut of it. So it works if I set the style within the component tag in the  MXML like   this: uiComponents: AnswerButtonPanel headingFontColor="0xFF" / but if I try to set it as such: mx:StyleAnswerButtonPanel{headingFontColor:#FF;!-- I have also tried "#FF", 0xFF and "0xFF"  here,   as per some examples that I have found, but none work --}   /mx:Style it doesn't get set. Do I have to do something to get this  functionality? Thanks for your help in advance. Graham   


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] HTTP Service bug???

2006-09-04 Thread Tracy Spratt












That trace is reporting method=GET
and contentType=text/plain



Could that be an issue?



In the event that this is a bug, is
sending a string going to be a problem?



Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mthielman11
Sent: Friday, September 01, 2006
3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTP Service
bug???











Hello all we have been working on an issue we are
having for about a week now. I have 
another post going on that but it has let us to believe there is a bug with the
HTTP service 
command. 

We are trying to POST back to a java server with XML results in the body of the
POST. We 
set contentType to application/xml. When we run a trace on Flex we get
this.

'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer sending message
'E597B542-
D1CB-BBD6-1EC8-6A166F198CF7'
'direct_http_channel' channel sending message:
(mx.messaging.messages::HTTPRequestMessage)#0
body = physicianid /firstname
/middleinitial /lastname /honor /
dob /ssn /languages //physician
clientId = (null)
contentType = text/plain
destination = DefaultHTTP
headers = (Object)#1
httpHeaders = (Object)#2
messageId = E597B542-D1CB-BBD6-1EC8-6A166F198CF7
method = GET
recordHeaders = false
timestamp = 0
timeToLive = 0
url = "" href="http://10.20.10.107:8080/ZebraServer/store">http://10.20.10.107:8080/ZebraServer/store
'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer acknowledge of
'E597B542-D1CB-
BBD6-1EC8-6A166F198CF7'.

looks good right? Well when packet sniffing the call the body leaves the
machine as null. 
and never gets to the server. Using URLLoader results in stream errors. The
only way we 
have been able to get a call to go through is by sending it as part of the URL.
We do not 
want to send name/pairs. 

So can anyone confirm they can send XML data in a POST with contentType=application/
xml and properly receive the data on their server?

My other post a little further down has more of the code in it. We just want to
rule our 
whether or not this is a bug.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] ADOBE: Version of Distributable Player is Incorrect

2006-09-04 Thread Matt Chotin












I believe the version that is available is
now correct.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels
Sent: Friday, September 01, 2006
1:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ADOBE:
Version of Distributable Player is Incorrect











Hi Tariq,

I don't know the details here but I will forward this to the right
Product Manager and try to get a response. It is the beginning of the
holiday weekend so bear with us if it takes till next week.

_David 

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Tariq Ahmed
Sent: Friday, September 01, 2006 2:25 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] ADOBE: Version of Distributable Player is
Incorrect

Adobe,

- I'm working with my customer to get Flash 9 installed on all their
desktops.
- It took our I.T dept days to get a push package going that silently
uninstalled Flash 8 and installed Flash 9

The problem now is the distributable version of the Flash Player is
9.0.0.296, and Flex requires 9.0.16.0.

Can you update that?

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






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] dataservice only working localy, not working when trying access from internet

2006-09-04 Thread Oriol Gual



You've already responded yourself: it tries to load it from the local ip address. You have to change the ip to your public one, not the local. Remember that the swf is executed client-side, thus, it tries to find that ip within client's lan.
Oriol.2006/9/4, pioplacz [EMAIL PROTECTED]:
I don't know what's wrong it worked fine in the flex 1.5. Myhttpservice is placed on the same machine as the application and i'maccessing in by the local ip adress. But when trying to access theapplication from internet nothing is working no data is loaded and
it tryes to load it from the local ip adress why's that. I pastehere my source code. can anybody please help me??xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=
http://www.adobe.com/2006/mxmllayout=absolutehorizontalAlign=center verticalAlign=middlebackgroundGradientColors=[#00, #00]
width=100% height=100%creationComplete=movieService.send()viewSourceURL=srcview/index.html xmlns:ns1=*mx:HTTPService id=movieService
url="" href="http://192.168.25.200/PHP/katalog.php">http://192.168.25.200/PHP/katalog.php useProxy=false result=srv_results(event)/mx:Style source=
katalog2main.css/mx:Script![CDATA[import mx.rpc.events.ResultEvent;import mx.collections.ArrayCollection;import mx.events.ItemClickEvent
;import mx.controls.Alert;import mx.events.CloseEvent;import flash.events.Event;import flash.net.URLRequest;public function srv_results(event:ResultEvent):void
{//Alert.show(ObjectUtil.toString(event.result) );movieCollection =event.result.helakatalog.katalog as ArrayCollection;
movieCollection.filterFunction=processFilter;}[Bindable]private var movieCollection:ArrayCollection;[Bindable]public var selectedItem:Object;
 // Filter functionpublic function processFilter(item:Object):Boolean{var result:Boolean=false;if (!item.title.length
|| item.title.toUpperCase().indexOf(filterInput.text.toUpperCase()) = 0)if (!item.genres.length|| item.genres.toUpperCase().indexOf(genresInput.text.toUpperCase()) = 0)
result=true;return result; }private function textChange():void{movieCollection.refresh
();}public var u:URLRequest;// Event listener to open URL using the navigateToURL()method.private function dgMovieListClick(eventObj:Event):void {
u = new URLRequest(http://192.168.25.200/Movies/ + dgMovieList.selectedItem.link);navigateToURL(u);
Alert.show(Nerladdnings sidaöppnad..., Nerladdnings sidan, Alert.OK);}// Event listener to open URL using the navigateToURL()method.private function dgTileListClick
(eventObj:Event):void {u = new URLRequest(http://192.168.25.200/Movies/ + tilelist1.selectedItem.link);navigateToURL(u);
Alert.show(Nerladdnings sidaöppnad..., Nerladdnings sidan, Alert.OK);}]]/mx:Script!-- An ArrayCollection with an array of objects. --
mx:ArrayCollection id=genresmx:Arraymx:Object label= data="">mx:Object label=Action data=""
mx:Object label=Animerat data="">mx:Object label=Drama data="">mx:Object label=Komedi data=""
mx:Object label=Thriller data="">/mx:Array/mx:ArrayCollectionmx:statesmx:State name=Grid
mx:RemoveChild target={tilelist1}/mx:RemoveChild target={dockedBar}/mx:AddChild relativeTo={mainVbox}
position=lastChild target={dockedBar}/mx:SetEventHandler target={stchange}name=click handler=currentState=''/
mx:AddChild relativeTo={tilecanvas}position=lastChildmx:DataGrid id=dgMovieListwidth=100% height=100% dataProvider={movieCollection}
doubleClickEnabled=true itemDoubleClick=dgMovieListClick(event);editable=false borderStyle=none y=0mx:columns
mx:DataGridColumnheaderText=Titel dataField=title/mx:DataGridColumnheaderText=Kategori dataField=genres/
mx:DataGridColumnheaderText=År dataField=year/mx:DataGridColumnheaderText=Utgivare dataField=publisher/
/mx:columns/mx:DataGrid/mx:AddChild/mx:State/mx:states
!-- Define the effects for the transitions between states --mx:transitions!-- Define the transition from the base state to the Gridstate.--mx:Transition id=toGrid fromState=* toState=Grid
mx:Sequence target={tilecanvas}  mx:Parallel target={tilecanvas}mx:Fade alphaFrom=0 alphaTo=1
duration=1500/mx:Move yFrom=1500 yBy=-1500duration=1000/ /mx:Parallel/mx:Sequence
/mx:Transition!-- Define the transition from the Grid state to the basestate.--mx:Transition id=toDefault fromState=Grid toState=*
mx:Sequence target={tilecanvas} mx:Parallel target={tilecanvas}mx:Fade alphaFrom=0 alphaTo=1
duration=1500/mx:Move yFrom=1500 yBy=-1500duration=1000//mx:Parallel/mx:Sequence
/mx:Transition/mx:transitions!-- Transition effects END --mx:VBox width=85% height=100% verticalCenter=20id=mainVbox horizontalCenter=0 horizontalAlign=center
verticalAlign=middlemx:Canvas width=100% height=80% id=tilecanvas mx:TileList id=tilelist1 width=100% height=100%
itemRenderer=thumbnail dataProvider={movieCollection}horizontalScrollPolicy=off borderStyle=nonetop=19doubleClickEnabled=true
itemDoubleClick=dgTileListClick(event);allowMultipleSelection=false horizontalCenter=0//mx:Canvasmx:ApplicationControlBar id=dockedBar dock=true
width=100%mx:HBox horizontalAlign=right 

Re: [flexcoders] Re: Drag Drop problem with browser scrolling

2006-09-04 Thread Bill Brown



Just wondering if anyone has made any progress with this bug?I too am experiencing the same problem, but with dragging an item from a TileList or DataGrid into a List. When the List is below the browser fold and requires vertical scrolling to reach, the drop area seems to dissociate from the List visual component (it seems to move up the page the same amount as the vertical scrolling required to see the List.
Cheers,BBOn 7/24/06, Scotty Scott [EMAIL PROTECTED] wrote:



Not that this helps but I have seen the same thing dragging a datagrid item to the tree. duplicated with the following simple code. Maybe it will help with trying to find an answer.?xml version=1.0
 encoding=utf-8?
mx:Application xmlns:my=* xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute height=400 verticalScrollPolicy=auto
 mx:Script  ![CDATA[   import mx.events.DragEvent;   import mx.managers.DragManager;   import mx.core.DragSource;   import mx.core.IUIComponent

;   import mx.core.Container;   import mx.controls.Tree;  private function startdgDrag(event:MouseEvent):void {if(event.buttonDown) { var ds:DragSource = new DragSource();
 ds.addData(event.currentTarget.selectedItem,treeItems); DragManager.doDrag(IUIComponent(event.currentTarget),ds,event);}

   } ]] /mx:Script  mx:XML xmlns= id=testdproot label=Documents
 folder label=test isBranch=true / folder label=test2 isBranch=true //root   /mx:XML
   mx:DataGrid id=testdg width=400 height=300 x=0 y=200 dragEnabled=true mouseMove=startdgDrag(event)  mx:columns
   mx:DataGridColumn dataField=blah headerText=blah /  /mx:columns  mx:dataProvider   mx:Arraymx:Object blah=blah test=test /
   /mx:Array /mx:dataProvider /mx:DataGrid my:customTree id=testtree width=400 x=450 y=200 height=300 dropEnabled=true labelField=@label dataProvider={testdp}
 /my:customTree/mx:ApplicationScottyhttp://www.franciswscott.com
On 7/24/06, 
ber [EMAIL PROTECTED] wrote:














  



I suspect that my post at 5.30am wasn't noticed. If anyone can offer
any insight into this problem I would appreciate it.

Thanks,

Pete

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

 Here's an interesting problem which I hope someone can help me with.
 
 I've just started playing with Flex 2 - release version and have
 implemented the following:
 
 1. Composite component containing a label and DataGrid in a Vbox
 
 mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml xmlns:vz=*

 width=100%
 
   mx:Script
![CDATA[
import mx.collections.ArrayCollection;
 
[Bindable]
public var compTitle:String;
 
[Bindable]
public var compDataProvider:ArrayCollection;
]]
/mx:Script
 
   mx:Label text={compTitle} width=100% fontSize=18
 fontWeight=bold fontFamily=Arial/
 
   mx:DataGrid id=grid dataProvider={compDataProvider} width=100%
 alternatingItemColors=[#CBDDFE,#FF] showHeaders=false
dragEnabled=true dropEnabled=true dragMoveEnabled=true
  mx:columns
mx:DataGridColumn headerText=Client dataField=CUSTOMER/
mx:DataGridColumn headerText=Name dataField=NAME/
 ... etc
  /mx:columns
/mx:DataGrid
 /mx:VBox
 
 
 2. I have actionscript code in my application file which gets a list of
 categories from server side and iterates over that list requesting a
 list of objects (Jobs in this case) for each category from the server
 side. It then creates one of the above components for each category,
 adds it to the container (a Vbox) in the Application and gives it the
 dataProvider containing the relevant info.
 
 So far so good - this works fine...
 
 Now, when I drag a row from the DataGrid in one component to the
 DataGrid in another, it works fine when the browser is at the top of the
 page, however if I scroll the browser window down (the Flash Player
 canvas is bigger than the screen) the dropping gets screwed up. To be
 more precise, it appears as though the drop target is getting the
 dragEnter event when the mouse is not actually in the right place. As I
 scroll the browser window down, the apparent location of the drop target
 (as seen by the code sending the dragEnter event) is offset to the north
 of the visible drop Target component. The further down the browser
 window is scrolled, the more the offset until it just doesn't work at
 all.
 
 I've tested in both IE6 and Firefox 1.5.0.4 with the same results.
 
 I'm wondering whether anyone else has seen this behaviour - a search of
 the archives didn't seem to reveal any prior reports.
 
 Thanks for any help you might be able to offer.
 
 Cheers,
 
 P



  




















__._,_.___





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

RE: [flexcoders] HTTP Service bug???

2006-09-04 Thread Seth Hodgson
You should double check that you're sending literal XML (or a legacy 
XMLNode/XMLDocument) and not a String value.

service.send(foobar/foo);

Rather than:

service.send(foobar/foo);

Best,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
mthielman11
Sent: Friday, September 01, 2006 12:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTP Service bug???

Hello all we have been working on an issue we are having for about a week now. 
I have 
another post going on that but it has let us to believe there is a bug with the 
HTTP service 
command. 

We are trying to POST back to a java server with XML results in the body of the 
POST. We 
set contentType to application/xml. When we run a trace on Flex we get this.

'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer sending message 'E597B542-
D1CB-BBD6-1EC8-6A166F198CF7'
'direct_http_channel' channel sending message:
(mx.messaging.messages::HTTPRequestMessage)#0
body = physicianid /firstname /middleinitial /lastname /honor /
dob /ssn /languages //physician
clientId = (null)
contentType = text/plain
destination = DefaultHTTP
headers = (Object)#1
httpHeaders = (Object)#2
messageId = E597B542-D1CB-BBD6-1EC8-6A166F198CF7
method = GET
recordHeaders = false
timestamp = 0
timeToLive = 0
url = http://10.20.10.107:8080/ZebraServer/store;
'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer acknowledge of 'E597B542-D1CB-
BBD6-1EC8-6A166F198CF7'.

looks good right? Well when packet sniffing the call the body leaves the 
machine as null. 
and never gets to the server. Using URLLoader results in stream errors. The 
only way we 
have been able to get a call to go through is by sending it as part of the URL. 
We do not 
want to send name/pairs. 

So can anyone confirm they can send XML data in a POST with 
contentType=application/
xml and properly receive the data on their server?

My other post a little further down has more of the code in it. We just want to 
rule our 
whether or not this is a bug.
 




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

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

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

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




Re: [flexcoders] how to get GET POST variable

2006-09-04 Thread Yi



thanks a lot!i could not try it yet but it is just the thing i WANT (bla.html?name=yigit), and i wish i can succeed in the integration phase...thanks...Yigit BoyarAbdul Qabiz [EMAIL PROTECTED] wrote: This might help you:http://www.abdulqabiz.com/blog/archives/macromedia_flex/how_to_get_url.php-abdul On 9/4/06, Yiðit Boyar [EMAIL PROTECTED]com wrote:hello,i need to send variables to a php page which has flex inside...as an example, you know flex automatically creates the html file when you debug an mxml fle... (like example.mxml and example.html )i want to change example.html to example.php and want to pass arguments to the flex application like example.php?username='osman' ...is there a way to do this without using flex server ?? how can i read these variables in flex application? thanks...Yahoo! Messenger with Voice.  Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.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
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] dynamic URLRequest();

2006-09-04 Thread Abdul Qabiz



 new URLRequest(movieCollection.link)new URLRequest (movieCollection.getItemAt (event.rowIndex - 1).link)I believe, rowIndex (from dobleClick ListEvent) is not zero-based?That might work? You get the row-index in double-click event. You need to use that index to find the
corresponding record in Collection..-abdulOn 9/4/06, pioplacz [EMAIL PROTECTED] wrote:













  



I'm having some problems and can't really figure out a way of do it. 
What i want to do is a doubleclick event in tilelist. On doubleclick 
i want to create a link. Every item rendered in tilelist have 
diffrent link. But cannot get it to work. I have created a 
doubleclick event in tilelist. Everything work so far but i cannot 
get the dynamic link to work. 

here is my code:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
layout=absolute
	horizontalAlign=center verticalAlign=middle 
backgroundGradientColors=[#00, #00] 
	width=100% height=100% 
creationComplete=movieService.send() 
viewSourceURL=srcview/index.html
	mx:HTTPService id=movieService 
url="" href="http://192.168.25.200/PHP/katalog.php" target="_blank" >http://192.168.25.200/PHP/katalog.php useProxy=false
 result=srv_results(event)/
mx:Style
	LinkButton {
   			rollOverColor: #33;
  		 	color: #ff;
   			textRollOverColor: #ff;
		}
		VScrollBar { 
  			 highlightAlphas: 0.23, 0;
   			 fillAlphas: 0.6, 0.72, 0.63, 0.69;
   			 fillColors: #00, #33, #66, 
#33;
		}
		HScrollBar { 
   			 highlightAlphas: 0.23, 0;
  			 fillAlphas: 0.6, 0.72, 0.63, 0.69;
  			 fillColors: #00, #33, #66, 
#33;
		}
		ApplicationControlBar {
   			 dropShadowEnabled: true;
  			 shadowDirection: center;
  			 highlightAlphas: 0.26, 0.05;
 		 fillAlphas: 0.22, 1;
  			 fillColors: #00, #33;
  			 backgroundAlpha: 1;
		}
		ComboBox {
   			backgroundAlpha: 0.53;
   			color: #ff;
   			borderColor: #99;
   			cornerRadius: 3;
   			highlightAlphas: 0.23, 0;
   			fillColors: #33, #00, #00, 
#33;
   			useRollOver: true;
   			alternatingItemColors: #00, #00;
		}
/mx:Style
mx:Script
	![CDATA[
		import mx.rpc.events.ResultEvent;
		import mx.collections.ArrayCollection;
		import mx.events.ItemClickEvent;
		// Import Event and URLRequest classes.
import flash.events.Event;
import flash.net.URLRequest;
		
		public function srv_results(event:ResultEvent):void
		{
   			//Alert.show(ObjectUtil.toString
(event.result) );
   			movieCollection = 
event.result.helakatalog.katalog as ArrayCollection;
   			movieCollection.filterFunction=processFilter;
			}
		[Bindable]
		private var movieCollection:ArrayCollection;
		
		 // Filter function 
   			public function processFilter
(item:Object):Boolean
   			{
  		var result:Boolean=false;

		// If no filter text, or a match, then true 
 		if (!item.title.length
|| item.title.toUpperCase().indexOf
(filterInput.text.toUpperCase()) = 0)
if (!item.genres.length
|| item.genres.toUpperCase().indexOf
(genresInput.text.toUpperCase()) = 0)
   		result=true;

	return result;
  			 }
		private function textChange():void
		{
			movieCollection.refresh();
		}
public var u:URLRequest;

// Event listener to open URL using the navigateToURL() 
method.
  	private function handleClick(eventObj:Event):void {
u = new URLRequest(movieCollection.link);
navigateToURL(u);
}   
	]]
/mx:Script
!-- An ArrayCollection with an array of objects. --
mx:ArrayCollection id=genres
		mx:Array
	mx:Object label= data="">
mx:Object label=Action data="">
mx:Object label=Animerat data="">
mx:Object label=Drama data="">
mx:Object label=Komedi data="">
mx:Object label=Thriller data="">
/mx:Array  
/mx:ArrayCollection

	mx:states
		mx:State name=Grid
			mx:RemoveChild target={tilelist1}/
			mx:AddChild relativeTo={mainVbox} 
position=lastChild
mx:DataGrid width=100% 
height=80% dataProvider={movieCollection} editable=false 
borderStyle=none
	mx:columns
		mx:DataGridColumn 
headerText=Titel dataField=title/
		mx:DataGridColumn 
headerText=Kategori dataField=genres/
		mx:DataGridColumn 
headerText=År dataField=year/
		mx:DataGridColumn 
headerText=Utgivare dataField=publisher/
		mx:DataGridColumn 
headerText=Länk dataField=link/
	/mx:columns
/mx:DataGrid
			/mx:AddChild
			mx:RemoveChild target={dockedBar}/
			mx:AddChild relativeTo={mainVbox} 
position=lastChild target={dockedBar}/
			mx:SetEventHandler target={stchange} 
name=click handler=currentState=''/
		/mx:State
	/mx:states
	!-- Define the effects for the transitions between states --

	

Re: [flexcoders] HTTP Service bug???

2006-09-04 Thread Abdul Qabiz



Hi,I can see contentType = text/plain in packet you traced. Are you really setting contentType to application/xml ?I noticed that if I set contentType=application/xml, content is still sent as text (url encoded)...
So I changed the content type to text/xml and it seems to be working fine for me.Change it to text/xml and test again.. Please let us know your findings..-abdul
On 9/2/06, mthielman11 [EMAIL PROTECTED] wrote:













  



Hello all we have been working on an issue we are having for about a week now.  I have 
another post going on that but it has let us to believe there is a bug with the HTTP service 
command.  

We are trying to POST back to a java server with XML results in the body of the POST.  We 
set contentType to application/xml.  When we run a trace on Flex we get this.

'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer sending message 'E597B542-
D1CB-BBD6-1EC8-6A166F198CF7'
'direct_http_channel' channel sending message:
(mx.messaging.messages::HTTPRequestMessage)#0
 body = physicianid /firstname /middleinitial /lastname /honor /
dob /ssn /languages //physician
 clientId = (null)
 contentType = text/plain
 destination = DefaultHTTP
 headers = (Object)#1
 httpHeaders = (Object)#2
 messageId = E597B542-D1CB-BBD6-1EC8-6A166F198CF7
 method = GET
 recordHeaders = false
 timestamp = 0
 timeToLive = 0
 url = "" href="http://10.20.10.107:8080/ZebraServer/store" target="_blank" >http://10.20.10.107:8080/ZebraServer/store
'EC4E2B67-6144-9BBB-ECF4-6A166F09E5E8' producer acknowledge of 'E597B542-D1CB-
BBD6-1EC8-6A166F198CF7'.

looks good right?  Well when packet sniffing the call the body leaves the machine as null. 
and never gets to the server.  Using  URLLoader  results in stream errors.  The only way we 
have been able to get a call to go through is by sending it as part of the URL.  We do not 
want to send name/pairs.  

So can anyone confirm they can send XML data in a POST with contentType=application/
xml and properly receive the data on their server?

My other post a little further down has more of the code in it.  We just want to rule our 
whether or not this is a bug.


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Adobe at IBC

2006-09-04 Thread Waldo Smeets





Weyert,

I'll be around for a few days. Give me a ping offlist if 
you want to talk, whether it's Flex or something else ;-) For Flex you might as 
well want to ask for Andrew Shorten, he's also going to be around (I think 
half-day booth duties).

Regards,
Waldo


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of David 
MendelsSent: zaterdag 2 september 2006 23:50To: 
flexcoders@yahoogroups.com; Flashcoders mailing listSubject: RE: 
[flexcoders]  Adobe at IBC


Hi,I can't say off the top of my head, but we do have a booth there 
andthere will be folks both from Adobe Europe and from HQ.I expect 
our main representation will be from teams associated with ourvideo 
products: Flash Media Server, Video Production Suite, and ofcourse, Flash 
authoring as well. I don't expect there will be anyonethere from the Flex 
team.Regards,DavidAdobe-Original 
Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of Weyert de BoerSent: Saturday, September 02, 2006 3:51 
PMTo: Flashcoders mailing list; [EMAIL PROTECTED]ups.comSubject: 
[flexcoders]  Adobe at IBCDoes anyone know which Adobe people will 
go to IBC?Yours,Weyert--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
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
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: CSS in custom components

2006-09-04 Thread Tim Hoff



Looks like it should work. This example is from the docs:mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:MyComp="myComponents.*"
 
mx:Style
StyledRectangle {fillColors: #FF00FF, #00}
/mx:Style

MyComp:StyledRectangle/

/mx:Application

If you're application is also using a CSS file, this wouldn't work. Or if the style property is not supported by the theme you are using or not inheritable- no go. Maybe someone from Adobe can help you further.
Good luck,-TH--- In flexcoders@yahoogroups.com, "grahampengelly" [EMAIL PROTECTED] wrote: Firstly, apologies if there was a more or less duplicate post prior to this one... I got a bit impatient waiting for the first one to show up and assumed it hadn't landed.  I have now just realised that when I try to apply styles to the standard components e.g. Button with the syntax I am trying it doesn't work either so perhaps the problem doesn't lie with my component and lies with the way I am trying to apply the styles.  Shouldn't this work and change all instances of the Button component to have red text?  mx:Style Button { color:#FF; } /mx:Style  Thanks again...  Graham Blog http://goingspare.wordpress.com --- In flexcoders@yahoogroups.com, "grahampengelly" graham@ wrote:   Hi Tim   Thanks for your quick reply... Both of those suggestions work. The  problem I have is that it is actually some child components of the  AnswerButtonPanel that I want to be able to style. In order to do this  with the class name identifier in CSS I would have to hard code the  styleName when I create the child controls and then always use that in  the stylesheet as I don't explicitly create the children in MXML (they  are created by the AnswerButtonPanel) and so can't specify it there.   I was hoping, and it appears that you can in the docs, to be able to  just set a style for all 'AnswerButton' components (the children of the  AnswerButtonPanel) and it be picked up.   As it stands, neither the AnswerButtonPanel or AnswerButton are picking  up the style info if I use the format in my original post.   Thanks again for your help...   Graham  Blog http://goingspare.wordpress.com  --- In flexcoders@yahoogroups.com, "Tim Hoff" TimHoff@ wrote: Hi Graham, Have you tried this: AnswerButtonPanel.setStyle('headingFontColor', '#FF'); Or use a CSS file: CSS: myStyle {   headingFontColor:#FF;   } MXML: uiComponents: AnswerButtonPanel styleName="myStyle"/ -TH --- In flexcoders@yahoogroups.com, "grahampengelly" graham@   wrote:   Hi   I have created a custom component that derives from Box. I have   added acouple of style decarations within the code for the component. Thefollowing is an example:   [Style(name="headingFontColor", type="uint", format="Color",inherit="no")]   ...and then I access this using getStyle("headingFontColor"),   well, Iwrap that with a default value function but that is the cut of it.   So it works if I set the style within the component tag in the   MXML likethis:   uiComponents: AnswerButtonPanel headingFontColor="0xFF" /   but if I try to set it as such:   mx:StyleAnswerButtonPanel{headingFontColor:#FF;!-- I have also tried "#FF", 0xFF and "0xFF"   here,as per some examples that I have found, but none work --}/mx:Style   it doesn't get set. Do I have to do something to get this   functionality?   Thanks for your help in advance.   Graham  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Passing variables from Flex to swf

2006-09-04 Thread Marcelo de Moraes Serpa



I think you'll need to use LocalConnection...On 9/4/06, robavey [EMAIL PROTECTED] wrote:













  



Hi there,

Just wondering if its possible to pass a selected item object (from a 
tilelist) to a flash movie which has been loaded into the Flex app?

thanx ahead of time
aVe


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Usage of showDefaultContextMenu in Application/

2006-09-04 Thread Claudia Barnal
Is this one of those things that are too simple to explain, or is it
one of those things that are impossible to do, for which there is no
explanation?

Thanks,
Claudia

On 9/4/06, Claudia Barnal [EMAIL PROTECTED] wrote:
 I tried doing this:

 mx:Script
   ![CDATA[
  stage.showDefaultContextMenu = false;
   ]]
 /mx:Script

 But it throws an error. How should I apply this, to avoid having the
 default contect menu showing in my flex app?

 Thanks,
 Claudia



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

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

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

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




[flexcoders] Re: Usage of showDefaultContextMenu in Application/

2006-09-04 Thread Tim Hoff
Hi Claudia,

You are correct on both counts.  You're getting an error because of 
timing.  You'll have to wait until the stage object is available to 
the application.  However, setting the showDefaultContextMenu 
property to false doesn't entirely remove the context menu.  It only 
removes the top three menu options.  As far as I know you can't 
eliminate the context menu completely.

-TH

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

 Is this one of those things that are too simple to explain, or is 
it
 one of those things that are impossible to do, for which there is 
no
 explanation?
 
 Thanks,
 Claudia
 
 On 9/4/06, Claudia Barnal [EMAIL PROTECTED] wrote:
  I tried doing this:
 
  mx:Script
![CDATA[
   stage.showDefaultContextMenu = false;
]]
  /mx:Script
 
  But it throws an error. How should I apply this, to avoid having 
the
  default contect menu showing in my flex app?
 
  Thanks,
  Claudia
 







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

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

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

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




Re: [flexcoders] Re: Usage of showDefaultContextMenu in Application/

2006-09-04 Thread Claudia Barnal
Tim,

Thanks for your reply :)

 You'll have to wait until the stage object is available to the application.

How would I do that?

 It only removes the top three menu options.

I'm quite happy with that. I basically want to remove the scaling
options and whatnot.

On 9/4/06, Tim Hoff [EMAIL PROTECTED] wrote:
 Hi Claudia,

 You are correct on both counts.  You're getting an error because of
 timing.  You'll have to wait until the stage object is available to
 the application.  However, setting the showDefaultContextMenu
 property to false doesn't entirely remove the context menu.  It only
 removes the top three menu options.  As far as I know you can't
 eliminate the context menu completely.

 -TH


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

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

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

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





RE: [flexcoders] Quick Validator Question

2006-09-04 Thread Matt Chotin












You can re-use validators but youll
need to call validate() on your own instead of relying on the automatic
behavior. You can only have the validator work automatically for one thing at
a time.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lostinrecursion
Sent: Saturday, September 02, 2006
9:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Quick
Validator Question











Hi all,

I was on lynda.com learning about Validators in Flex. Quick question.
Do I have to create a single validator for each field I want to
validate or can one validator apply to multiple fields? It seems to me
it would get hairy when your dealing with a lot of form fields.

For example, the same StringValidator I use for a phone number would
likely apply to a fax number. But, I notice the source property only
accepts a single value.

Any guidance would be appreciated. Thanks!

-Kenny






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Re: Validator._init method

2006-09-04 Thread Matt Chotin












If you search the deep archives I may have
written something up. Otherwise youll need to do it on your own, check
out the static validator methods.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bharg.flex
Sent: Thursday, August 31, 2006
10:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Validator._init method











Yeah this is Flex 1.5 only. So is there any other way
to validate the 
dynamically created controls?

--- In [EMAIL PROTECTED]ups.com,
Matt Chotin [EMAIL PROTECTED] wrote:

 This is Flex 1.5? Validators really aren't meant to be created in
 ActionScript in Flex 1.5. Maybe you can define your component in 
MXML
 so that it can have the Validator tag?
 
 
 
 Matt 
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of bharg.flex
 Sent: Wednesday, August 30, 2006 11:04 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Validator._init method
 
 
 
 Hi,
 I am creating forms items at runtime using createChild method, and 
I 
 need to validate the controls in the form. How to use validator 
 subclasses to validate the newly created form?
 Maybe a call to the Validator._init method ? But what are the 
 parameters that need to go in??
 
 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
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Error when trying to run Notes Sample application

2006-09-04 Thread Matt Chotin












Check to make sure the config file has the
right settings in it for your endpoints? This should work out of the box.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ghose, Sanjucta
Sent: Monday, September 04, 2006
2:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error when
trying to run Notes Sample application













Hi,



I am a Flex newbie.
I am trying to run the Notes sample application that comes with Flex Builder by
typing http://localhost:8700/samples/dataservice/notes/notes.mxml
on my browser. The following error pops up.



RPC Fault
faultString=Send failed faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed error null]


at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()


at ::DataListRequestResponder/fault()


at mx.rpc::AsyncRequest/fault()


at mx.messaging::ChannelSet/::faultPendingSends()


at mx.messaging::ChannelSet/channelFaultHandler()


at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()


at flash.events::EventDispatcher/dispatchEvent()


at mx.messaging::Channel/mx.messaging:Channel::connectFailed()


at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()


at mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::statusHandler()





Would
anybody know what the problem could be?



Thanks,

Sanjucta.




 
  
  This
  message contains information that may be privileged or confidential and is
  the property of the Capgemini Group. It is intended only for the person to
  whom it is addressed. If you are not the intended recipient, you are not
  authorized to read, print, retain, copy, disseminate, distribute, or use this
  message or any part thereof. If you receive this message in error, please
  notify the sender immediately and delete all copies of this message.
  
 







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: upload file button

2006-09-04 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Yiðit Boyar [EMAIL PROTECTED] wrote:

 WHAT IS THE WAY TO GIVE THE USER THE OPPOURTUNITY TO UPLOAD FILES VIA 
 FLEX APPLICATION ?

http://livedocs.macromedia.com/flex/2/langref/flash/net/FileReference.html






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

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

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

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