[flexcoders] ComboBox __dropdown.bug97664?

2005-03-28 Thread Simon Fifield





I'm curious about 
the __dropdown.bug97664 in the ComboBox component.

Anyone have any idea 
what that's all about?


Kind Regards,

Simon Fifield








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










[flexcoders] [Help]configuring Flex in Jrun!

2005-03-28 Thread Prem


hi!
This is my first post. can anyone guide me on how to deploy Flex in 
Jrun? the following are the specs...

Flex 1.5
Jrun 4.0 (updated)
Win XP

I read the Flex installation document, all it mentions is on how to 
configue Flex (registered) in JAS(Java Application Server), Can 
someone please instruct me on how to deploy the WAR files in jrun, 
this whole thing is new to me (both Flex and Jrun). I would
appreciate 
if anyone can guide me!
TIA

Prem





 
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] [Help]configuring Flex in Jrun!

2005-03-28 Thread Cathy Murphy

If you're new to Flex/JRun/J2EE, then run the integrated install which
will deploy the application for you.

To deploy the war files yourself, if you already have JRun installed,
then you should unzip flex.war to the following directory:

jrun-install/servers/default/flex-war-directory

After unzip, you'll have the following directory structure,
jrun-install/servers/default/flex-war-directory/WEB-INF/flex/flex-co
nfig.xml, etc.

- Cathy 

 -Original Message-
 From: Prem [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 5:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] [Help]configuring Flex in Jrun!
 
 
 
 hi!
 This is my first post. can anyone guide me on how to deploy Flex in 
 Jrun? the following are the specs...
 
 Flex 1.5
 Jrun 4.0 (updated)
 Win XP
 
 I read the Flex installation document, all it mentions is on how to 
 configue Flex (registered) in JAS(Java Application Server), Can 
 someone please instruct me on how to deploy the WAR files in jrun, 
 this whole thing is new to me (both Flex and Jrun). I would
 appreciate 
 if anyone can guide me!
 TIA
 
 Prem
 
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


 
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] image scroll

2005-03-28 Thread Doodi, Hari - BLS CTR

Thank you very much for guiding me in right direction. Also I have another
problem. This time it is about Rotation. I am able to rotate an image using
rotation attribute. But the problem is image got rotated based on top left
corner. Is there any way to change the registration point of an image from
top left to center of the image?

Thanks!
Hari

-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 25, 2005 11:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] image scroll


On Fri, 25 Mar 2005 08:58:12 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:

 Yes, I am zooming image using
 scaleX and scaleY and also I did check my mxml file and parent is not big
 enough to hold the zoomed Image.

A couple of things:

 1.  Use scaleX and scaleY instead of _xscale and _yscale.  The former
will ensure the Loader object resizes and the parent knows about it.
 2.  Why have you set hScrollPolicy and vScrollPolicy to off?  Remove
that and it should work.

Manish


 
Yahoo! Groups Links



 




 
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] embedded MXML in CFMX7 pages

2005-03-28 Thread Minster, Jack










Ive got Flex installed and
integrated into a CFMX7 instance on JRun and it works great. Ive
also got some embedded mxml code in cfm pages. the problem is that some
mxml code wont compile. for example, when trying to use the
mx:XML/ tag, I get the following error:



Requested page cannot be displayed

 
An unexpected error occurred that prevented /cfmx_flex/cf_dev/mixed.cfm
from being displayed. 
Technical Information:

HTTP Status Code: 500
Exception Type: class java.lang.NoClassDefFoundError
Servlet Name: CfmServlet





can anyone shed some light on this for me?



thanks,



jack













From: Cathy Murphy
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 8:51
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
[Help]configuring Flex in Jrun!





If you're new to Flex/JRun/J2EE, then run the integrated install which
will deploy the application for you.

To deploy the war files yourself, if you already
have JRun installed,
then you should unzip flex.war to the following
directory:

jrun-install/servers/default/flex-war-directory

After unzip, you'll have the following directory
structure,
jrun-install/servers/default/flex-war-directory/WEB-INF/flex/flex-co
nfig.xml, etc.

- Cathy 

 -Original Message-
 From: Prem [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 5:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] [Help]configuring Flex
in Jrun!
 
 
 
 hi!
 This is my first post. can anyone guide me on
how to deploy Flex in 
 Jrun? the following are the specs...
 
 Flex 1.5
 Jrun 4.0 (updated)
 Win XP
 
 I read the Flex installation document, all it
mentions is on how to 
 configue Flex (registered) in JAS(Java
Application Server), Can 
 someone please instruct me on how to deploy
the WAR files in jrun, 
 this whole thing is new to me (both Flex and
Jrun). I would
 appreciate 
 if anyone can guide me!
 TIA
 
 Prem
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 





 
  
  








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












[flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Rob

Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.



 
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] Security Sandbox Violation when loading image

2005-03-28 Thread Kristopher Schultz





Well, I figured out why I was experiencing different 
behavior when pulling data in from an XML file vs. pulling it in via a remote 
object. My remote object method call was returning an Array of objects which on 
the Java side were instances of a simple data object class I had created called 
com.myclient.Product. These objects had three properties: 
label(String), imageId(String), and price(Double) which were accessible through 
appropriately named getter methods. When stepping through the debugger in Flex 
Builder, I could see these objects were coming through just fine with the 
appropriate property names and values, but when I tried to pass each object to 
my custom display component it was not displaying them, even when the same 
display component had no problem displaying similar data Objects if they were 
created in the AS code. So I went ahead and created an .as class called 
com.myclient.myapp.Product and associated it with the Java 
class using the following static variable invocation:

 static var regClass = 
Object.registerClass("com.myclient.Product", 
com.myclient.myapp.Product);

After doing that, everything worked just 
fine.

So my questions are, why did I have to create that 
ActionScript class to get things to work? Is there a way to pass back a generic 
AS Object from a remote object call? Would passing back objects of type 
java.util.Map be the answer? Which is the better practice, passing back a 
java.util.Map to be converted to an untyped Object or creating .as classes for 
each typed Object that can be retured from a remote object 
call.


Kris

-- 

Kristopher Schultz
Developer

Resource Interactive
p: 614.410.2123
www.resource.com


  
  
  
  
  
  
  The weird thing 
  I've discovered is that if my image paths are brought into my Flex app via an 
  XML file, then I do get the errors above, but the images do load successfully. 
  However, if my image paths come in as a result of a remote object call, I get 
  the same errors and my images DON'T load successfully. I've double checked the 
  exact path's that are being used in both situations by tracing out the path 
  immediately before it is used as the value for the "source" property of the 
  mx:Image tag and it is EXACTLY the same in both 
  cases.
  







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










FW: [flexcoders] image scroll

2005-03-28 Thread Doodi, Hari - BLS CTR



Thank you very much for guiding me in right direction. Also I have another
problem. This time it is about Rotation. I am able to rotate an image using
rotation attribute. But the problem is image got rotated based on top left
corner. Is there any way to change the registration point of an image from
top left to center of the image?

Thanks!
Hari

-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 25, 2005 11:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] image scroll


On Fri, 25 Mar 2005 08:58:12 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:

 Yes, I am zooming image using
 scaleX and scaleY and also I did check my mxml file and parent is not big
 enough to hold the zoomed Image.

A couple of things:

 1.  Use scaleX and scaleY instead of _xscale and _yscale.  The former
will ensure the Loader object resizes and the parent knows about it.
 2.  Why have you set hScrollPolicy and vScrollPolicy to off?  Remove
that and it should work.

Manish


 
Yahoo! Groups Links



 




 
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] Weird tree issue

2005-03-28 Thread Ted Casey

Are you using attributes.data?  For example:

?xml version=1.0 encoding=iso-8859-1 ?

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

mx:XML id=myXML
node label=FirstNode data=1stNode
node label=FirstSubNode data=1stSubNode/
/node
node label=SecondNode data=2ndNode/
/mx:XML

mx:Tree id=myTree dataProvider={myXML}/

mx:TextInput id=myText/

mx:Button label=click me
click=myText.text=myTree.selectedItem.attributes.data/

/mx:Application


Thanks,

Ted

-Original Message-
From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 27, 2005 1:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Weird tree issue



I have a tree I'm populating with objects that mimic my serverside
Group classes. What's happening is that the tree is getting built, but
the data field of the nodes isn't getting filled.

This method:
var node = treeDP.addTreeNode(group.name, group);

is supposed to create a node with the label of the group's name, and
the group object itself as the data. Problem is, while the tree gets
populated, and you can see the nodes with labels, the actual group
isn't there in the data field. Obviously the group is getting
instantiated, because the tree nodes have labels... Any reason why
this shouldn't work?

I'm new to Flex, and AS, but this seems like it should work.

Below is the code I use to fill my tree...

var treeDP; 
public function initGroupTree() {
user = mx.core.Application.application.user;
var topGroups:Array = user.organization.onlyTopSuperGroups;
treeDP = new TreeNode();
for(var i in topGroups) {
var group:Group = topGroups[i];
var node = treeDP.addTreeNode(group.name, group);
addSubGroupsToTree(node, group);
}
groupTree.dataProvider = treeDP; 
}

private function addSubGroupsToTree(node, group:Group):Void {
var subGroups:Array = group.subGroups;
for(var i in subGroups) {
var group:Group = subGroups[i];
var subNode = node.addTreeNode(group.name, group);
addSubGroupsToTree(subNode, group);
}
}





 
Yahoo! Groups Links



 





 
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] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Mehdi, Agha

It happens when the player takes longer than 15 secs to run a frame. Make
sure you don't have endless loops in your script and if possible, break you
long functions/logic into multiple processes and put them on separate
frames. Also make sure that you're not loading all the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.



 
Yahoo! Groups Links



 





This email may contain confidential and privileged material for the sole use of 
the intended recipient(s). Any review, use, distribution or disclosure by 
others is strictly prohibited. If you are not the intended recipient (or 
authorized to receive for the recipient), please contact the sender by reply 
email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.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] Calling Java Servlet

2005-03-28 Thread Kristopher Schultz





Libby,

You wouldn't typically call a method on a servlet through 
the RemoteObject mechanism. Instead, RemoteObject is there to let you call 
methods on plain old Java objects (pojos) or EJBs. So to modify your example a 
bit, if you had a Java class called "ItemDefFacade" (which *doesn't* subclass 
Servlet) that supported a method with the signature:

 public 
ArrayList getAllRecords()

...thenyou would set up your RemotObject tag like 
this:

mx:RemoteObject 
id="remoteObj1"source="maintenance.ItemDefFacade"
 mx:method name="getAllRecords" 
result="handleGetAllRecordsResult(event.result)" /
mx:RemoteObject
Notice that you have to specify the methods that can be 
invoked on the remote object and you have to specify a handler to be triggered 
wheneach method returns a result (the event.result property contains the 
actual returned value). In this case we've pointed it to an ActionScript 
function called handleGetAllRecordsResult() which might look like 
this:

mx:Script
![CDATA[

function 
handleGetAllRecordsResult(recordsList)
{
 myDisplayGrid.dataProvider = 
recordsList;
}

]]/mx:Script


So 
to get the whole ball rolling, you need to trigger the method on the remote 
object. Here is a button that would do just that:

mx:Button 
click="remoteObj1.getAllRecords()" /

You'll find more thorough coverage of this topic in the Flex docs 
here:
http://livedocs.macromedia.com/flex/15/flex_docs_en/2244.htm

I 
hope that helps.




Kris

-- 

Kristopher Schultz
Developer

Resource Interactive
p: 614.410.2123
www.resource.com


  
  
  From: Libby [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, March 24, 2005 2:51 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Calling Java 
  Servlet
  Hello,I am evaluating Flex. We have flash Remoting 
  calling some servletsrunning on Websphere 5.1, and for my eval I am trying 
  to build asimiliar interface to them. So far I cannot find an example of 
  how todo this (call a servlet with arguments) so I was hoping someone 
  herecould show me a tiny example, or offer corrections to my 
  code?Using flash, we call a controller servlet using one or more 
  arguments.ItemDefServlet("getAllRecords"); -- like this in 
  FlashIn Flex, this is what I have:mx:RemoteObject 
  type="servlet" source="maintenance.ItemDefServlet"protocol="http" 
  id="remoteobject1"/mx:RemoteObjectmx:DataGrid 
  id="ItemDef_grd"dataProvider="{remoteobject2.getMessage.result}"../mx:DataGrid 
  mx:ControlBar  mx:Button 
  label="Get All" click="remoteobject1.send()" 
  / 
  /mx:ControlBarthanks,Libby







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










Re: [flexcoders] Flex 1.5 price

2005-03-28 Thread Tarik Ahmed

After the dot bomb companies began to scrutinize their I.T spending much 
more closely. You have to do your due diligence and make sure you're 
selecting the right technology, and part of the criteria is price. I've 
seen a lot of enterprises go with the second best option (features wise) 
because it's 3X cheaper.

If the price goes up in Q2 - well Macromedia's a business and is going 
to do what they feel they got to do and I guess feels they have enough 
pricing power to make that kind of play (a public company is ultimately 
responsible to their shareholders). For me though, I work for a company 
that has deep pockets, but at the same time they're extremely careful at 
how they spend. Selling the company on the current price was extremely 
difficult - doubling the price will make it impossible. I love Flex, but 
a price increase will garauntee that we'll never be able to afford 
anymore licenses - so we'll somehow just have to live with our limited 
Flex environment for the time being. Our only hope would be to do sell 
the concept of Flex to other organizations in the company and get some 
combined purchasing power going on.

On the flip side though, if the price does go up, I'm pretty impressed 
that Macr has that kind of pricing power with Flex. Either the demand is 
really huge and/or the companies buying it don't find it a barrier if 
the price is $6K/CPU vs $12K/CPU.



Robert Stuttaford wrote:

And all of this back-n-forth on a rumour, and one regarding something
happening on April the FIRST!

One thing to remember: MM made Flex for the big Enterprise-level companies.
Granted, it's useful to everyone, not just these companies. I guess MM won't
mind being blamed for making such awesome software and it being wanted by
everyone regardless of the size of their pocket. But, it is business, and MM
did decide that this was at the 'big' end of their business. 

From what I understand of such things (not much), $12k for 2 procs is dirt
cheap compared to other ent servers... and $20k for 1 proc is still cheaper.
I might be wrong :) I'm quite sure that MM won't come knocking on your door
demanding another 28k if you have paid for the license already. Don't forget
that there are non-com licenses for the small web-shop type companies that
make it their business to build bespoke RIAs (I assume). 

I must admit, for me, a switch to Lazlo is scary. You might not have
purchased your Flex license yet, but how much money have you already spent
in developer time on Flex? Are you willing to write that off and start
again? 

Remember, Flex servers CAN serve multiple applications. If you're concerned
about the price, think longer term, and write more useful software using
Flex so it earns it's keep and your ROI goes up! I'm sure that you all have
one or two completely unexplored project ideas, that if given the time,
would be of potentially massive benefit to your company or clients.
  





 
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] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Rob










Being relatively new to Flex, how do you
segment your code into different frames? I have multiple .mxml files that
are loaded during the course of using the appdoes the separation occur
at the mxml file boundaries? Sorry for the newbie questions



TIA for any info.











From: Mehdi, Agha
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:13
PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Msg re:
Flash Script taking long time, continue or abort?





It happens when the player takes longer than 15 secs to run a frame.
Make
sure you don't have endless loops in your script
and if possible, break you
long functions/logic into multiple processes and
put them on separate
frames. Also make sure that you're not loading all
the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking
long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that
indicates that a Flash script is
taking a long time to run...click yes to abort or
no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically
crashes my machine by
continuously opening browsers when I choose to
abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.




Yahoo! Groups Links









This email may contain confidential and privileged
material for the sole use of the intended recipient(s). Any review, use,
distribution or disclosure by others is strictly prohibited. If you are not the
intended recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send
an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com
















Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Rob

Btw, there is no looping constructs in the code; however, there are event
listeners…I suppose its possible that an event is being fired, but typically
it’s a button click firing a change or other event.


From: Mehdi, Agha [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:13 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?

It happens when the player takes longer than 15 secs to run a frame. Make
sure you don't have endless loops in your script and if possible, break you
long functions/logic into multiple processes and put them on separate
frames. Also make sure that you're not loading all the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.




Yahoo! Groups Links









This email may contain confidential and privileged material for the sole use
of the intended recipient(s). Any review, use, distribution or disclosure by
others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender by reply
email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





Yahoo! Groups Sponsor
ADVERTISEMENT





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 the Yahoo! Terms of Service. 



 
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] Can someone help me figure out this code

2005-03-28 Thread nostra72




What I am trying to do is make two combo boxes one if you make a selection it puts some text in a tex box based on the selection, then have another one right under that that does the same thing. The problem is the computer gets confused when it sees two combo boxes so can someone explain this to me please

?xml version="1.0" encoding="utf-8"?

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

 mx:Script

 public var lettersone = [ {label:"A", Number:0}, {label:"B", Number:1}, {label:"C", Number:2}, {label:"D", Number:3}, {label:"E", Number:4}, {label:"F", Number:5}, {label:"G", Number:6}, {label:"H", Number:7}, {label:"I", Number:8}, {label:"J", Number:9}];

 public var selectedItem:Object;public var letterstwo = [ {label:"A", Number:0}, {label:"B", Number:1}, {label:"C", Number:2}, {label:"D", Number:3}, {label:"E", Number:4}, {label:"F", Number:5}, {label:"G", Number:6}, {label:"H", Number:7}, {label:"I", Number:8}, {label:"J", Number:9}];

public var selectedletter:Object;

 /mx:Script

 mx:HBox horizontalGap="30"

 mx:ComboBox dataProvider="{lettersone}" width="150" change="selectedItem=event.target.selectedItem"/ mx:ComboBox dataProvider="{letterstwo}" width="150" change="selectedItem=event.target.selectedletter"/ mx:VBox width="200" mx:Label text="{selectedItem.label}"/ mx:Label text="{selectedItem.Number}"/mx:Label text="{selectedletter.label}"/ mx:Label text="{selectedletter.Number}"/ /mx:VBox

 /mx:HBox

/mx:Application













Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Tracy Spratt

Does this occur on startup or when you invoke some action?

Is your processing just taking a long time?  If you do not abort, do you 
eventually get your app?

Are you certain you don't have any for or while loops?

If you just have a looping or recursive function that takes a long time, you 
can increase the timeout value in the Application tag:
scriptTimeLimit=300 (default is 60, I think)

If you have an endless loop, doing this will not help.

I don't understand the multiple browsers issue though.

Tracy


-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or 
abort?


Btw, there is no looping constructs in the code; however, there are event
listeners...I suppose its possible that an event is being fired, but typically
it's a button click firing a change or other event.


From: Mehdi, Agha [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:13 PM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?

It happens when the player takes longer than 15 secs to run a frame. Make
sure you don't have endless loops in your script and if possible, break you
long functions/logic into multiple processes and put them on separate
frames. Also make sure that you're not loading all the UI components in one
frame.

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
abort?


Hi,

Has anyone seen the prompt from Flash that indicates that a Flash script is
taking a long time to run...click yes to abort or no to continue? (not exact
verbiage)...

Anyway, what happens to me is that Flash basically crashes my machine by
continuously opening browsers when I choose to abort the script. How can I
prevent this?

Environment: XP sp2, flash 7.x plugin, IE 6, sp1.

TIA for any info.




Yahoo! Groups Links









This email may contain confidential and privileged material for the sole use
of the intended recipient(s). Any review, use, distribution or disclosure by
others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender by reply
email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





Yahoo! Groups Sponsor
ADVERTISEMENT





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 the Yahoo! Terms of Service. 



 
Yahoo! Groups Links



 







 
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] Can someone help me figure out this code

2005-03-28 Thread Robert Brueckmann









You need to give unique ids to the
comboboxes. mx:Combobox id=cb1 / mx:Combobox
id=cb2  /you really should do it for all components
you have in your mxml file that youll be updating or changing
dynamically





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:46
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can someone
help me figure out this code







What I am trying to do is make two combo boxes one if you
make a selection it puts some text in a tex
box based on the selection, then have another one right under that that does
the same thing. The problem is the computer gets confused when it sees two
combo boxes so can someone explain this to me please











?xml version=1.0
encoding=utf-8?











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











 mx:Script











 public var lettersone =
[ {label:A, Number:0}, {label:B, Number:1},
{label:C, Number:2}, {label:D, Number:3},
{label:E, Number:4}, {label:F, Number:5}, {label:G,
Number:6}, {label:H, Number:7}, {label:I, Number:8},
{label:J, Number:9}];











 public var
selectedItem:Object;


public var letterstwo = [ {label:A, Number:0},
{label:B, Number:1}, {label:C, Number:2},
{label:D, Number:3}, {label:E, Number:4},
{label:F, Number:5}, {label:G, Number:6},
{label:H, Number:7}, {label:I, Number:8},
{label:J, Number:9}];












public var selectedletter:Object;











 /mx:Script











 mx:HBox
horizontalGap=30











 mx:ComboBox dataProvider={lettersone}
width=150
change=selectedItem=event.target.selectedItem/
 mx:ComboBox
dataProvider={letterstwo} width=150
change=selectedItem=event.target.selectedletter/
 mx:VBox
width=200
 mx:Label
text={selectedItem.label}/
 mx:Label
text={selectedItem.Number}/
mx:Label text={selectedletter.label}/
 mx:Label
text={selectedletter.Number}/
 /mx:VBox











 /mx:HBox











/mx:Application


















































This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










RE: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Mehdi, Agha





Ok, I got the idea from your mailthat you were using 
Flash instead of Flex. Sorry about that. Does it display the error when you're 
initializing the app or when you do some interaction? You might wanna set the 
CreationPolicy to "queued" for the components that are not required 
immediately.


From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 10:42 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Msg re: Flash 
Script taking long time, continue or abort?


Being relatively new to 
Flex, how do you segment your code into different frames? I have multiple 
.mxml files that are loaded during the course of using the app...does the 
separation occur at the mxml file boundaries? Sorry for the newbie 
questions...

TIA for any 
info.





From: Mehdi, 
Agha [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 1:13 
PMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Msg re: Flash 
Script taking long time, continue or abort?

It happens when the player takes longer than 15 secs to 
run a frame. Makesure you don't have endless loops in your script and if 
possible, break youlong 
functions/logic into multiple processes and put them on 
separateframes. Also make sure that 
you're not loading all the UI components in oneframe.-Original Message-From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 9:23 
AMTo: 
flexcoders@yahoogroups.comSubject: 
[flexcoders] Msg re: Flash Script taking long time, continue 
orabort?Hi,Has 
anyone seen the prompt from Flash that indicates that a Flash script 
istaking a long time to run...click 
yes to abort or no to continue? (not exactverbiage)...Anyway, what happens to me is that Flash basically crashes my 
machine bycontinuously opening 
browsers when I choose to abort the script. How can Iprevent this?Environment: XP sp2, flash 7.x plugin, IE 6, 
sp1.TIA for any 
info.Yahoo! Groups 
LinksThis email 
may contain confidential and privileged material for the sole use of the 
intended recipient(s). Any review, use, distribution or disclosure by others is 
strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.To 
reply to our email administrator directly, send an email 
to[EMAIL PROTECTED]Littler Mendelson, P.C.http://www.littler.com







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com




[flexcoders] Overlapping line chart with separate y-scales

2005-03-28 Thread Pekka Kola










Hi!



I should present two datasets in same chart, one with
value between 0.0-1.5 and another with 50-200, both having the same x-scale. It
would be nice to have separate y-scales (e.g. 0.0-2.0 and 0.0-250) to get them nicely
to chart. In Excel I can do it, but how about Flex?



Thanks in advance 



Pekka













Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












RE: [flexcoders] Can someone help me figure out this code

2005-03-28 Thread Tracy Spratt










There is a copy/paste error in the change
event in the second combo box. 

mx:ComboBox dataProvider={letterstwo}
width=150
change=selectedItem=event.target.selectedletter/

should be:

mx:ComboBox
dataProvider={letterstwo} width=150
change=selectedletter=event.target.selectedItem/



By the way, I would avoid naming a
variable the same as an existing property (selectedItem).

Tracy











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:46
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can someone
help me figure out this code







What I am trying to do is make two combo boxes one if you
make a selection it puts some text in a tex
box based on the selection, then have another one right under that that does
the same thing. The problem is the computer gets confused when it sees two combo
boxes so can someone explain this to me please











?xml version=1.0
encoding=utf-8?











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











 mx:Script











 public var lettersone =
[ {label:A, Number:0}, {label:B, Number:1},
{label:C, Number:2}, {label:D, Number:3},
{label:E, Number:4}, {label:F, Number:5},
{label:G, Number:6}, {label:H, Number:7},
{label:I, Number:8}, {label:J, Number:9}];











 public var
selectedItem:Object;


public var letterstwo = [ {label:A, Number:0},
{label:B, Number:1}, {label:C, Number:2},
{label:D, Number:3}, {label:E, Number:4},
{label:F, Number:5}, {label:G, Number:6},
{label:H, Number:7}, {label:I, Number:8},
{label:J, Number:9}];












public var selectedletter:Object;











 /mx:Script











 mx:HBox
horizontalGap=30











 mx:ComboBox
dataProvider={lettersone} width=150
change=selectedItem=event.target.selectedItem/
 mx:ComboBox
dataProvider={letterstwo} width=150
change=selectedItem=event.target.selectedletter/
 mx:VBox
width=200
 mx:Label
text={selectedItem.label}/
 mx:Label
text={selectedItem.Number}/
mx:Label text={selectedletter.label}/
 mx:Label
text={selectedletter.Number}/
 /mx:VBox











 /mx:HBox











/mx:Application





















































Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.












[flexcoders] Change Events for Custom Classes

2005-03-28 Thread Andora, Greg
Title: Change Events for Custom Classes







I'm wondering if there is a way (and if there is, how would I go about doing it) I can create a change event for a custom MXML class based for a public property.

For example, I have an MXML file called MyClass and when the parent application changes myProperty (i.e MyClass.myProperty=5), I want my custom class to respond by calling the private function myProperty_Changed():

mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml
 width={lookupWidth}
 focusOut= 
  
 mx:Script
  ![CDATA[
   public var myProperty;


   private function myProperty_Changed()
{
 Do Stuff Here when myProperty is changed by the application it is being used in;

}
  ]]
 /mx:Script
 mx:TextInput id=text1 /
/mx:Canvas



Thanks,
Greg Andora











Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





[flexcoders] Error: Cannot invoke method when using a VO

2005-03-28 Thread cazzaran


I have a delegate class on my server called GroupDelegate, and it has
a method addGroup(Group group).

When I try and call this method on my remote object, I get the error:

Error: Cannot invoke method addGroup

However, if I switch my method's signature to addGroup(String
groupName), the method executes, and the group is added to the DB.

Group is just a POJO, and obviously the second method wont work
because there is a lot more information than just the groupName that
needs to be recorded...

Interestingly, when I do a getGroups I get back an array of the
correct objects, and in my client side model of my Group class I have
correctly done the Object.registerClass. The only time I seem to have
an issue is when I pass it BACK to my server as a Group.

Any ideas? -Josh





 
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] Error: Cannot invoke method when using a VO

2005-03-28 Thread Peter Farland

Does the Java version of Group have a public no args constructor?


-Original Message-
From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 3:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error: Cannot invoke method when using a VO



I have a delegate class on my server called GroupDelegate, and it has
a method addGroup(Group group).

When I try and call this method on my remote object, I get the error:

Error: Cannot invoke method addGroup

However, if I switch my method's signature to addGroup(String
groupName), the method executes, and the group is added to the DB.

Group is just a POJO, and obviously the second method wont work
because there is a lot more information than just the groupName that
needs to be recorded...

Interestingly, when I do a getGroups I get back an array of the
correct objects, and in my client side model of my Group class I have
correctly done the Object.registerClass. The only time I seem to have
an issue is when I pass it BACK to my server as a Group.

Any ideas? -Josh





 
Yahoo! Groups Links



 





 
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: Cannot invoke method when using a VO

2005-03-28 Thread cazzaran


Peter,

It does... 

-Josh

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
 Does the Java version of Group have a public no args constructor?
 
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 3:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error: Cannot invoke method when using a VO
 
 
 
 I have a delegate class on my server called GroupDelegate, and it has
 a method addGroup(Group group).
 
 When I try and call this method on my remote object, I get the error:
 
 Error: Cannot invoke method addGroup
 
 However, if I switch my method's signature to addGroup(String
 groupName), the method executes, and the group is added to the DB.
 
 Group is just a POJO, and obviously the second method wont work
 because there is a lot more information than just the groupName that
 needs to be recorded...
 
 Interestingly, when I do a getGroups I get back an array of the
 correct objects, and in my client side model of my Group class I have
 correctly done the Object.registerClass. The only time I seem to have
 an issue is when I pass it BACK to my server as a Group.
 
 Any ideas? -Josh
 
 
 
 
 
  
 Yahoo! Groups Links





 
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: Error: Cannot invoke method when using a VO

2005-03-28 Thread Peter Farland

Ah, what does the unnamed whitelist in the remote-object section look
like? Does it include your Group class? I apologize for not double
checking whether it was still a requirement in Flex 1.5, but I know it
was in Flex 1.0.

-Original Message-
From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO



Peter,

It does... 

-Josh

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
wrote:
 Does the Java version of Group have a public no args constructor?
 
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 3:50 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error: Cannot invoke method when using a VO
 
 
 
 I have a delegate class on my server called GroupDelegate, and it has
 a method addGroup(Group group).
 
 When I try and call this method on my remote object, I get the error:
 
 Error: Cannot invoke method addGroup
 
 However, if I switch my method's signature to addGroup(String
 groupName), the method executes, and the group is added to the DB.
 
 Group is just a POJO, and obviously the second method wont work
 because there is a lot more information than just the groupName that
 needs to be recorded...
 
 Interestingly, when I do a getGroups I get back an array of the
 correct objects, and in my client side model of my Group class I have
 correctly done the Object.registerClass. The only time I seem to have
 an issue is when I pass it BACK to my server as a Group.
 
 Any ideas? -Josh
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 





 
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: Error: Cannot invoke method when using a VO

2005-03-28 Thread Peter Farland

Have you managed to turn on debugging for remote-object in
/WEB-INF/flex/flex-config.xml and looked at the trace of the AMF error
in the NetConnection Debugger? There may be more information on the
fault object in the rootcause property.

If you have access to the server locally, you can also try turning on
Debug level logging for the AMF Gateway in
/WEB-INF/flex/gateway-config.xml and checking your Flex logs (or
possibly just watching the console output if you manually launch JRun
and have console logging enabled for Flex). This will show you what data
type was being deserialized for your input parameter and it will also
let you see the raw response going back with information similar to that
shown in the NetConnection Debugger (though the server side is more
accurate as the NCD is an old Flash Remoting tool that has a few issues
- mainly that it doesn't show objects typed with Object.registerClass).


 

-Original Message-
From: cazzaran [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 4:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO



Peter,

Here's my whitelist:

whitelist
unnamed
source*/source
/unnamed
named
object name=userDelegate
sourcebusinessdelegates.UserDelegate/source
typestateful-class/type
allow-unnamed-accessfalse/allow-unnamed-access
/object
object name=groupDelegate
sourcebusinessdelegates.GroupDelegate/source
typestateful-class/type
allow-unnamed-accessfalse/allow-unnamed-access
/object
/named
/whitelist

-Josh

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
wrote:
 Ah, what does the unnamed whitelist in the remote-object section look
 like? Does it include your Group class? I apologize for not double
 checking whether it was still a requirement in Flex 1.5, but I know it
 was in Flex 1.0.
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 28, 2005 4:19 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO
 
 
 
 Peter,
 
 It does... 
 
 -Josh
 
 --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
 wrote:
  Does the Java version of Group have a public no args constructor?
  
  
  -Original Message-
  From: cazzaran [mailto:[EMAIL PROTECTED] 
  Sent: Monday, March 28, 2005 3:50 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Error: Cannot invoke method when using a VO
  
  
  
  I have a delegate class on my server called GroupDelegate, and it
has
  a method addGroup(Group group).
  
  When I try and call this method on my remote object, I get the
error:
  
  Error: Cannot invoke method addGroup
  
  However, if I switch my method's signature to addGroup(String
  groupName), the method executes, and the group is added to the DB.
  
  Group is just a POJO, and obviously the second method wont work
  because there is a lot more information than just the groupName that
  needs to be recorded...
  
  Interestingly, when I do a getGroups I get back an array of the
  correct objects, and in my client side model of my Group class I
have
  correctly done the Object.registerClass. The only time I seem to
have
  an issue is when I pass it BACK to my server as a Group.
  
  Any ideas? -Josh
  
  
  
  
  
   
  Yahoo! Groups Links
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 





 
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] image scroll

2005-03-28 Thread Gordon Smith

You could simultaneously adjust x, y, and rotation to accomplish this,
although I haven't worked out the trig.

- Gordon


-Original Message-
From: Doodi, Hari - BLS CTR [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 8:32 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] image scroll



Thank you very much for guiding me in right direction. Also I have another
problem. This time it is about Rotation. I am able to rotate an image using
rotation attribute. But the problem is image got rotated based on top left
corner. Is there any way to change the registration point of an image from
top left to center of the image?

Thanks!
Hari

-Original Message-
From: Manish Jethani [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 25, 2005 11:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] image scroll


On Fri, 25 Mar 2005 08:58:12 -0500, Doodi, Hari - BLS CTR
[EMAIL PROTECTED] wrote:

 Yes, I am zooming image using
 scaleX and scaleY and also I did check my mxml file and parent is not big
 enough to hold the zoomed Image.

A couple of things:

 1.  Use scaleX and scaleY instead of _xscale and _yscale.  The former
will ensure the Loader object resizes and the parent knows about it.
 2.  Why have you set hScrollPolicy and vScrollPolicy to off?  Remove
that and it should work.

Manish


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 





 
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] Change Events for Custom Classes

2005-03-28 Thread Seth Voltz
You want to look into getters and setters

Try this:

mx:Script>
![CDATA[
private var _myProperty;

public function get myProperty ( ) {
return _myProperty;
}

public function set myProperty ( value ) {
_myProperty = value;
}
]]>
/mx:Script>

Hope that'll be a good starting point.

Seth


On Mar 28, 2005, at 14:54, Andora, Greg wrote:

I'm wondering if there is a way (and if there is, how would I go about doing it) I can create a change event for a custom MXML class based for a public property.

For example, I have an MXML file called MyClass and when the parent application changes myProperty (i.e MyClass.myProperty=5), I want my custom class to respond by calling the private function myProperty_Changed():

mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml 
 width={lookupWidth} 
 focusOut= > 
  
 mx:Script> 
  ![CDATA[ 
   public var myProperty; 

   private function myProperty_Changed() 
{ 
 Do Stuff Here when myProperty is changed by the application it is being used in;

} 
  ]]> 
 /mx:Script> 
 mx:TextInput id=text1 /> 
/mx:Canvas> 



Thanks, 
Greg Andora 





Yahoo! Groups Sponsor

x-tad-smallerADVERTISEMENT/x-tad-smaller22305_0205_016_b_300250_a.gif>
l.gif>

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 the Yahoo! Terms of Service.





This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com





PGP.sig
Description: This is a digitally signed message part


RE: [flexcoders] Change Events for Custom Classes

2005-03-28 Thread Gordon Smith
Title: Message





If all 
you want to do is get myProperty_Changed() to execute when the app does 
MyClass.myProperty=5, you don't necessarily need any events.

"Getter" and "setter" functions let you execute code when you read or 
write a property:


 // storage for myProperty 
property private var 
_myProperty;

 // The getter function executes when somebody does 
value = myClass.myProperty;
 public function get myProperty
 {
 return 
_myProperty
 };

// The setter function executes when somebody 
does myClass.myProperty = value
 public function set 
myProperty(value)
 {
 _myProperty = 
value;

 // Perform some side 
effects
 
myProperty_Changed();
 }

If you 
really need to dispatch an event, you would call dispatchEvent() in the 
setter.

- 
Gordon

  
  -Original Message-From: Andora, Greg 
  [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 11:55 
  AMTo: 'flexcoders@yahoogroups.com'Subject: [flexcoders] 
  Change Events for Custom Classes
  I'm wondering if there is a way (and if there is, 
  how would I go about doing it) I can create a change event for a custom MXML 
  class based for a public property.
  For example, I have an MXML file called MyClass and 
  when the parent application changes "myProperty" (i.e MyClass.myProperty=5), I 
  want my custom class to respond by calling the private function 
  myProperty_Changed():
  mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" 
   width="{lookupWidth}" 
   focusOut=""   
   
   mx:Script  
   ![CDATA[  
   
   public var 
  myProperty; 
   
   
   private 
  function myProperty_Changed() 
   
   
   
   { 
   
   
   
   
   Do Stuff 
  Here when myProperty is changed by the application it is being used 
  in;
   
   
   
   } 
   
   ]]  /mx:Script 
   mx:TextInput id="text1" / /mx:Canvas 
  Thanks, Greg 
  Andora 
  This email may contain confidential and privileged material for the 
  sole use of the intended recipient(s). Any review, use, distribution or 
  disclosure by others is strictly prohibited. If you are not the intended 
  recipient (or authorized to receive for the recipient), please contact the 
  sender by reply email and delete all copies of this message.To reply 
  to our email administrator directly, send an email 
  to[EMAIL PROTECTED]Littler Mendelson, 
  P.C.http://www.littler.com







Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.










Re: [flexcoders] Msg re: Flash Script taking long time, continue or abort?

2005-03-28 Thread Igor Costa

Well, pretty insane error that still take me some times and squeeze me.

So, what can you do for this one.

If you are using flex to developer use the exention
my_filme.mxml?asprofile=false;

but if you're with Flash.

So, there's a little trick and usefull.

Just save your document as compact. Neve you'll see again the same insane error.

Why this happens in Flash? So, due to the organization of your Flash timeline.
For example if you have used the folders inside the movieclips, it
will happen, it's a little bug(possible) that happens this always.
like this that happen with me a few weeks ago.

www.igorcosta.com/arquivamento/genesis.fla

But I advice you to look for in flash-coders much better.


On Mon, 28 Mar 2005 14:14:08 -0500, Tracy Spratt [EMAIL PROTECTED] wrote:
 
 Does this occur on startup or when you invoke some action?
 
 Is your processing just taking a long time?  If you do not abort, do you 
 eventually get your app?
 
 Are you certain you don't have any for or while loops?
 
 If you just have a looping or recursive function that takes a long time, you 
 can increase the timeout value in the Application tag:
 scriptTimeLimit=300 (default is 60, I think)
 
 If you have an endless loop, doing this will not help.
 
 I don't understand the multiple browsers issue though.
 
 Tracy
 
 
 -Original Message-
 From: Rob [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 1:45 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or 
 abort?
 
 Btw, there is no looping constructs in the code; however, there are event
 listeners...I suppose its possible that an event is being fired, but typically
 it's a button click firing a change or other event.
 
 
 From: Mehdi, Agha [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 1:13 PM
 To: 'flexcoders@yahoogroups.com'
 Subject: RE: [flexcoders] Msg re: Flash Script taking long time, continue or
 abort?
 
 It happens when the player takes longer than 15 secs to run a frame. Make
 sure you don't have endless loops in your script and if possible, break you
 long functions/logic into multiple processes and put them on separate
 frames. Also make sure that you're not loading all the UI components in one
 frame.
 
 -Original Message-
 From: Rob [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 9:23 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Msg re: Flash Script taking long time, continue or
 abort?
 
 Hi,
 
 Has anyone seen the prompt from Flash that indicates that a Flash script is
 taking a long time to run...click yes to abort or no to continue? (not exact
 verbiage)...
 
 Anyway, what happens to me is that Flash basically crashes my machine by
 continuously opening browsers when I choose to abort the script. How can I
 prevent this?
 
 Environment: XP sp2, flash 7.x plugin, IE 6, sp1.
 
 TIA for any info.
 
 Yahoo! Groups Links
 
 
 This email may contain confidential and privileged material for the sole use
 of the intended recipient(s). Any review, use, distribution or disclosure by
 others is strictly prohibited. If you are not the intended recipient (or
 authorized to receive for the recipient), please contact the sender by reply
 email and delete all copies of this message.
 
 To reply to our email administrator directly, send an email to
 [EMAIL PROTECTED]
 
 Littler Mendelson, P.C.
 http://www.littler.com
 
 Yahoo! Groups Sponsor
 ADVERTISEMENT
 
 
 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 the Yahoo! Terms of Service.
 
 Yahoo! Groups Links
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Igor Costa
www.igorcosta.com
www.macromedia.com/go/team


 
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: Error: Cannot invoke method when using a VO

2005-03-28 Thread Igor Costa

I advice you to upgrade your java machine, that's happens with the
1.4.3 upgrade to 1.5.2
the problem stop



On Mon, 28 Mar 2005 20:05:19 -0500, Peter Farland
[EMAIL PROTECTED] wrote:
 
 Have you managed to turn on debugging for remote-object in
 /WEB-INF/flex/flex-config.xml and looked at the trace of the AMF error
 in the NetConnection Debugger? There may be more information on the
 fault object in the rootcause property.
 
 If you have access to the server locally, you can also try turning on
 Debug level logging for the AMF Gateway in
 /WEB-INF/flex/gateway-config.xml and checking your Flex logs (or
 possibly just watching the console output if you manually launch JRun
 and have console logging enabled for Flex). This will show you what data
 type was being deserialized for your input parameter and it will also
 let you see the raw response going back with information similar to that
 shown in the NetConnection Debugger (though the server side is more
 accurate as the NCD is an old Flash Remoting tool that has a few issues
 - mainly that it doesn't show objects typed with Object.registerClass).
 
 
 -Original Message-
 From: cazzaran [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 28, 2005 4:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO
 
 Peter,
 
 Here's my whitelist:
 
 whitelist
 unnamed
 source*/source
 /unnamed
 named
 object name=userDelegate
 sourcebusinessdelegates.UserDelegate/source
 typestateful-class/type
 allow-unnamed-accessfalse/allow-unnamed-access
 /object
 object name=groupDelegate
 sourcebusinessdelegates.GroupDelegate/source
 typestateful-class/type
 allow-unnamed-accessfalse/allow-unnamed-access
 /object
 /named
 /whitelist
 
 -Josh
 
 --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
 wrote:
  Ah, what does the unnamed whitelist in the remote-object section look
  like? Does it include your Group class? I apologize for not double
  checking whether it was still a requirement in Flex 1.5, but I know it
  was in Flex 1.0.
 
  -Original Message-
  From: cazzaran [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 28, 2005 4:19 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Error: Cannot invoke method when using a VO
 
 
 
  Peter,
 
  It does...
 
  -Josh
 
  --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED]
  wrote:
   Does the Java version of Group have a public no args constructor?
  
  
   -Original Message-
   From: cazzaran [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 28, 2005 3:50 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Error: Cannot invoke method when using a VO
  
  
  
   I have a delegate class on my server called GroupDelegate, and it
 has
   a method addGroup(Group group).
  
   When I try and call this method on my remote object, I get the
 error:
  
   Error: Cannot invoke method addGroup
  
   However, if I switch my method's signature to addGroup(String
   groupName), the method executes, and the group is added to the DB.
  
   Group is just a POJO, and obviously the second method wont work
   because there is a lot more information than just the groupName that
   needs to be recorded...
  
   Interestingly, when I do a getGroups I get back an array of the
   correct objects, and in my client side model of my Group class I
 have
   correctly done the Object.registerClass. The only time I seem to
 have
   an issue is when I pass it BACK to my server as a Group.
  
   Any ideas? -Josh
  
  
  
  
  
  
   Yahoo! Groups Links
 
 
 
 
 
 
  Yahoo! Groups Links
 
 Yahoo! Groups Links
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
Igor Costa
www.igorcosta.com
www.macromedia.com/go/team


 
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 pass AS Objects to a CFC

2005-03-28 Thread Tom Link

I believe the solution Dirk provided solves this problem as well.
That is, in addition to Mehdi's initial solution #2:

   remoteObject.cfFunction ( toPass, true );

You can use named argument syntax:
remoteObject.cfFunction({arg1:toPass});

Where arg1 is also the name of the argument in the CFC method cfFunction.

Mohanraj, this is the solution I posted in my blog:
http://tomlink.net/blog/index.cfm?mode=entryentry=BBFE84D5-7E97-A3B0-EE0B2D
C292F5272F, where you also posed this question.  Please correct me if I am
missing something.

-tom

 -Original Message-
 From: Mohanraj Jayaraman [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 25, 2005 5:44 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] How to pass AS Objects to a CFC
 
 
 Thanks for the explantion Peter. That really helps.
 Mehdi thanks for yet another Tip.
 It works in FLEX.
 
 Mohanraj
 
 
 --- Mehdi, Agha [EMAIL PROTECTED] wrote:
 
  Thanks Peter for the explanation. That explains it.
  I am glad it worked
  Mohanraj.
 
  There's one more way of doing it without having to
  specify the other
  argument.
 
  var  testObject = new Array(); // it has to be an
  array. It won't work if
  you did new Object()
 
  testObject[var1] = var1;
  testObject[var2] = var2
 
  remoteObject.cfFunction ( testObject );
 
  cffunction name=cfFunction access=remote
  cfargument name=testObject type=struct
  /cffunction
 
  It works in Flash. Haven't tried it on Flex but
  shouldn't have any problems.
  It is simple if all you want to pass is an object
  with some properties
  instead of sending over a class.
 
 
  -Original Message-
  From: Peter Farland [mailto:[EMAIL PROTECTED]
 
  Sent: Friday, March 25, 2005 11:25 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] How to pass AS Objects to
  a CFC
 
 
  The history of this problem stems way back from
  Flash Remoting in ColdFusion
  6.0.
 
  ActionScript 1.0 APIs for Flash Remoting introduced
  named arguments
  for CF-based invocation. The syntax for passing
  named arguments was usually
  listed like this in documentation:
 
  myCFService.cfFunction({var1:foo,var2:bar});
 
 
  Which was intended to match a CFC API:
 
  cffunction name=cfFunction access=remote
  cfargument name=var1
  cfargument name=var2
  /cffunction
 
  The {} syntax, however, really just means an untyped
  Object, so this
  invocation information is lost once it is serialized
  over AMF.
 
  But AMF isn't the real issue - the Flash Remoting
  gateway can't adapt
  accordinly as it can't get the necessary CFC API or
  argument type
  information from the CFC function before invoking it
  (a limitation in CF),
  so now it has a problem - how would it know that
  you're passing a single
  struct or named arguments?
 
  To disambiguate you use either of the two approaches
  that Mehdi described.
 
 
  -Original Message-
  From: Mohanraj Jayaraman
  [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 25, 2005 2:12 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] How to pass AS Objects to
  a CFC
 
 
  WOW! It works Mehdi. As you pointed out the second
  variable passed in the CFC function call did the
  magic! If possible, an explanation on why it works
  with the second variable will be more useful Mehdi.
 
  My guess is that one should have good knowledge of
  Flash/ActionScript before venturing into doing any
  complex stuff with FLEX.
 
  Thanks a lot sharing this.
 
  Mohanraj
 
 
 
 
 
  --- Mehdi, Agha [EMAIL PROTECTED] wrote:
 
   Mohanraj,
  
   I learned it the hard way. There are two ways to
  do
   it.
  
   1.
   Flex side:
  
   var toPass = new MyClass();
  
   toPass.var1 = value;
   toPass.var2 = value;
  
   remoteObject.cfFunction ( toPass );
  
   CF Side:
  
   cffunction name=cfFunction access=remote
 cfargument name=var1
 cfargument name=var2
   /cffunction
  
   I'm sure it's not acceptable.
  
   2.
   Flex Side:
  
   var toPass = new MyClass();
  
   toPass.var1 = value;
   toPass.var2 = value;
  
   remoteObject.cfFunction ( toPass, true );
  
   CF Side:
  
   cffunction name=cfFunction access=remote
 cfargument name=toPass
   /cffunction
  
   That works beautifully. The second arg from Flex
   doesn't have to be a
   boolean but it just easy to type.
  
   Please let me know if that works.
  
   -Original Message-
   From: Mohanraj Jayaraman
   [mailto:[EMAIL PROTECTED]
   Sent: Thursday, March 24, 2005 10:37 AM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] How to pass AS Objects
  to
   a CFC
  
  
   Hi Dirk,
  
   Thanks for your suggestion. But my condition
  differs
   from your example.
  
   Lets assume I had an AS Class 'MyClass.as'
   I am trying to do something like this in my MXML
 var o:Object = new MyClass();
 I build an 'array of structures' in MyClass
  Object
   and I do pass the
   complex Object as input with another Object
  wrapper.
  
   Here's an example by Macromedia on how 

[flexcoders] Re: Custom Control Components

2005-03-28 Thread billheit


I tried to implement both of these clocks and, when I ran them, both 
gave errors in createChildren function.  It seems that it is 
referencing a method that is not in scope or does not exist.

The error reads There is no method with the 
name 'createClassChildAtDepthWithStyles'. 

Once I commented out this method call, the clock works.  However, it 
is not displayed in design view and I'm not sure it is supposed to.

Bill

--- In flexcoders@yahoogroups.com, Simon Fifield [EMAIL PROTECTED] 
wrote:
 Manish posted a good article from the Macromedia Devnet Flex site:
 http://www.macromedia.com/devnet/flex/articles/creating_comp.html
 
 I have yet to go through the article in detail and try it out with 
my own
 home-brewed component. From a quick scan it looks quite in depth, 
but
 simple.
 
 I'll let you know how I get on.
 
 Regards,
 Simon
 
   -Original Message-
   From: Erik Westra [mailto:[EMAIL PROTECTED]
   Sent: 24 March 2005 14:45
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Custom Control Components
 
 
   I feel u there,
 
   I myself want to create components that are fully functional, 
skinnable
 and fit right into the V2 architecture. I havent been able to put 
my head
 around it yet. I think i found the the same PDF u are talking about
 (Developing Flex Components and Themes in Flash Authoring) wich i 
hope gives
 enough detail.
 
   A problem in this matter is that the flow of components 
(UIObject and
 UIComponent with their helper classes) is very complex and not 
easy to
 understand. And besides that, i couldnt find a document that 
describes the
 flow very good (it may be in the PDF though).
 
   I understand that this is a complex problem for macromedia as 
well, as
 they are familiar with this architecture. Maybe we could provide 
them with a
 list of questions regarding the building of components. Questions 
like:
 
   - How can i make a custom component skinnable?
-- And how does the skinning of components work internally?
   - Say i want to build a 'wizard' (next, previous) component, how 
would u
 do it?
   - I want to make a component with buttons from wich the states 
are
 dynamicly loaded images combined with a label. The placement of 
the label is
 dependend of the available size of the component. In wich 'hook' 
would i
 place the check function. And how would i build a button component 
with
 different states?
 
   As u can see these are more practical based questions of 
problems i ran
 into. Im guessing that more of us developers are having these kind 
of
 questions.
 
 
   Greetz Erik
 
 
 
 
 ---
-
 --
   From: Simon Fifield [mailto:[EMAIL PROTECTED]
   Sent: donderdag 24 maart 2005 14:59
   To: [EMAIL PROTECTED] Com
   Subject: [flexcoders] Custom Control Components
 
 
   Is it just me, or are custom control (actionscript) components 
really
 really difficult to get your head around?
 
   I am struggling with just about every aspect of creating custom 
controls,
 from deciding what to extend, through sizing/layout, right down to 
event
 handling.
 
   I have created some custom controls but they have never turned 
out to be
 what I really wanted.
 
   There is a real lack of documentation about this subject. I've 
read the
 Flex Components PDF, and I've read the relevant parts of 
Developing Flex
 Apps, but none of these really covers creating components in 
actionscript
 from scratch through to more advanced components at reasonable 
steps. Some
 of the more basic examples that are given require you to draw a 
circle in
 Flash first - I don't want to (and I know I shouldn't) have to use 
Flash to
 create a basic custom component.
 
   I would like a more in-depth discussion of what the various 
sizes are -
 _measuredXXX, preferredXXX, defaultXXX properties etc
   A clearer explanation of the instantiation and display 
order/process.
   Perhaps a breakdown of some existing components that have both 
been built
 from scratch and has extended other components.
 
   Anyone else finding this topic hard going like me?
 
 
   Kind Regards,
 
   Simon Fifield
 
 
 Yahoo! Groups Sponsor
   ADVERTISEMENT
 
 
 
 
 
 ---
-
 --
   Yahoo! Groups Links
 
 a.. To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 
 b.. To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 
 c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service.





 
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/