Re: [flexcoders] Re: multicolor in single line chart

2010-03-18 Thread Krunal Panchal
Thanks TimHoff
 
Regards,



Krunal Panchal | *panchal_...@yahoo.com





From: turbo_vb 
To: flexcoders@yahoogroups.com
Sent: Fri, 19 March, 2010 1:02:08
Subject: [flexcoders] Re: multicolor in single line chart

  
This might give you some ideas:

http://www.timothyh off.com/projects /LineRendererSam ple/LineRenderer 
Sample.html 

-TH

--- In flexcod...@yahoogro ups.com, Krunal Panchal  wrote:
>
> Hi All,
> 
> Is it possible to have multicolor in single line chart.
> 
> Suppose i have line chart. there will be break point after that break point 
> my line color will be different.
> 
> Thanks in advance.
> 
> Regards,
> 
>  _ _ __
> 
> Krunal Panchal | *panchal_kru@ ...
>

 


  

[flexcoders] How to create rooms [1 Attachment]

2010-03-18 Thread venkat eswar
Hi ,

i am newbie in flex. i want to know how to create rooms for chat application.I 
am new in fms server side script also. i have attached code (ASC code also). 
please help me to solve this.

I will explain my requirement. For login we have to provide username and 
roomname.For example i am giving username as name1 and roomname as room1. It 
will create a new room.
If i am giving username as name2 and roomname as room2. It will create another 
room. If i am giving username as name3 and roomname as room1, the user have to 
be added to room1. Message have to be send to the corresponding rooms, not to 
be displayed for all the rooms.

Please help me to solve this



  

[flexcoders] Re: Pb with Amfphp

2010-03-18 Thread Christophe
Please, find below my services-config file:








*







http://www.mywebsite.com:80/amfphp/gateway.php"; 
class="flex.messaging.endpoints.AMFEndpoint"/>




Thank you,
Christophe,

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> How are you setting up the channel for AMFPHP? Is it with AS3 code or with a 
> services-config.xml file?
> 
> If it is the latter, check to see if you have channels set up in the XML and 
> that you have a child channel-definition named amfphp with the endpoint set 
> to the location of the gateway.php file inside your installation of AMFPHP.
> 
> If you want, I can post the relevant sections of my services-config.xml file 
> (Even though I use WebORB. It should be the same except for the location of 
> the gateway.php file).
> 
> --- In flexcoders@yahoogroups.com, "Christophe"  wrote:
> >
> > Hello, 
> > 
> > In local, my application is working but with the server I have this error: 
> > 
> > Message:
> > [MessagingError message='Destination 'amfphp' either does not exist or the 
> > destination has no channels defined (and the application does not define 
> > any default channels.)']
> > 
> > Detail:
> > Couldn't establish a connection to 'amfphp'
> > 
> > What is the reason of this message ?
> > 
> > Thank you,
> > Christophe,
> >
>




[flexcoders] What book in Flex  would you guys recommend for a newbie ?

2010-03-18 Thread Mykola Dzyuba
I would recommend Adobe Flex 4 docs. It has the latest info on Flex 4.  
It is easy to read and review and run examples online.

http://help.adobe.com/en_US/Flex/4.0/UsingSDK/index.html

- Mykola



Re: [flexcoders] What book in Flex would you guys recommend for a newbie ?

2010-03-18 Thread Steve Mathews
The community is great at helping people who have specific questions. A
newbie is on their own until they at least learn the basics and can ask
meaningful questions. For example, if you haven't figured out the difference
between MXML and AS3, then you need to do some self study before asking
questions.

As to the question of which books, I would say you would learn a lot from
just about any of them. It kind of depends one what your goal is. If you
want to learn to use the Flex framework then maybe http://flexinaction.com/.
If you are still trying to learn AS3 then Essential ActionScript 3.0 is a
great start.

Steve

On Thu, Mar 18, 2010 at 10:30 AM, fred44455  wrote:

> I already asked questions on this forum but I rarely get feed backs.
> I was told that the Adobe community was a fantastic one but I guess it is
> very much like linux if you are a newbie you are on your own. Anyway I would
> appreciate a recommendation on a good book to learn Flex. Also I was told to
> learn AS3. What Actionscript are you guys referring to?
> The AS3 for Flex seems to be totally different with  AS3 for Flash. So I would appreciate that you guys let me know which one I
> need to learn. Thanks.
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


[flexcoders] Re: Pb with Amfphp

2010-03-18 Thread valdhor
How are you setting up the channel for AMFPHP? Is it with AS3 code or with a 
services-config.xml file?

If it is the latter, check to see if you have channels set up in the XML and 
that you have a child channel-definition named amfphp with the endpoint set to 
the location of the gateway.php file inside your installation of AMFPHP.

If you want, I can post the relevant sections of my services-config.xml file 
(Even though I use WebORB. It should be the same except for the location of the 
gateway.php file).

--- In flexcoders@yahoogroups.com, "Christophe"  
wrote:
>
> Hello, 
> 
> In local, my application is working but with the server I have this error: 
> 
> Message:
> [MessagingError message='Destination 'amfphp' either does not exist or the 
> destination has no channels defined (and the application does not define any 
> default channels.)']
> 
> Detail:
> Couldn't establish a connection to 'amfphp'
> 
> What is the reason of this message ?
> 
> Thank you,
> Christophe,
>




[flexcoders] Re: multicolor in single line chart

2010-03-18 Thread turbo_vb
This might give you some ideas:
http://www.timothyhoff.com/projects/LineRendererSample/LineRendererSampl\
e.html

-TH
--- In flexcoders@yahoogroups.com, Krunal Panchal 
wrote:
>
> Hi All,
>
> Is it possible to have multicolor in single line chart.
>
> Suppose i have line chart. there will be break point after that break
point my line color will be different.
>
> Thanks in advance.
>
> Regards,
>
> 
>
> Krunal Panchal | *panchal_...@...
>



[flexcoders] Problem reading an XML file

2010-03-18 Thread Sneha
Hello All,

Can anybody help me find out the bug in my program which doesn't read children 
in an XML file. 

I am trying to get WOEID of the location provided from Yahoo webservice API. I 
have given below what I am doing and also the XML file generated from Yahoo.
 
http://where.yahooapis.com/v1/places.q('{txtCity.text}');start=0;count=1?appid=your
 AppID" 
result="getWOEID(event)" fault="faultEventHandler(event)"
resultFormat="
e4x"/> 
 
This is what I am doing in Script tag. But nothing works. I am able to read the 
complete XML file but not the children of an XML file. Could someone help find 
the problem.
private
function init():void{ 
var city:String = txtCity.text;
//Alert.show("Your City:"+city); 
weatherService.cancel();
//var params:Object = new Object(); 
//params.q = city; 
//Alert.show("params.q"+params.q); 
//weatherService.send(params); 
weatherService.send();
} 
private function getWOEID(event:ResultEvent):void{ 
var myXML:XML = XML(event.result); 
taXML.text = myXML;
var cityList:XMLList = myXML.data.place.children();
Alert.show(
"getting woeid:" +cityList); 
//taXML = cityList.toString(); 
//cityList = myXML.places.place.name ; 
//cityList = myXML.place.woeid;
//Alert.show("in getWOEID() " +cityList); 
//lblWOEID.text = cityList; 
}
This is the XML file generated and I am interested in accessing : 


−
http://where.yahooapis.com/v1/place/2371464"; xml:lang="en-us">
2371464
Town
Buffalo
United States
New York
Erie

Buffalo


−

42.885441
-78.878464

−

−

42.824860
-78.942909

−

42.970741
-78.771393





Any help would be appreciated.
 
Thank you
 
Sneha



[flexcoders] Problem in reading an XML file

2010-03-18 Thread Sneha B
Hello All,

Can anybody help me find out the bug in my program which doesn't read
children in an XML file.
I am trying to get WOEID of the location provided from Yahoo webservice API.
I have given below what I am doing and also the XML file generated from
Yahoo.


http://where.yahooapis.com/v1/places.q('{txtCity.text}');start=0;count=1?appid=your
AppID"

result="getWOEID(event)" fault="faultEventHandler(event)"

resultFormat="e4x"/>



This is what I am doing in Script tag. But nothing works. I am able to read
the complete XML file but not the children of an XML file. Could someone
help find the problem.
*

private* *function* init():*void*{

var city:String = txtCity.text;

*//Alert.show("Your City:"+city);
*

weatherService.cancel();

*//var params:Object = new Object();
*

*//params.q = city;
*

*//Alert.show("params.q"+params.q);
*

*//weatherService.send(params);
*

weatherService.send();

}

*private* *function* getWOEID(event:ResultEvent):*void*{

*var* myXML:XML = XML(event.result);

taXML.text = myXML;

var cityList:XMLList = myXML.data.place.children();

Alert.show(*"getting woeid:"* +cityList);

*//taXML = cityList.toString();
*
*//cityList = myXML.places.place.name ;***
*
//cityList = myXML.place.woeid;
*

*//Alert.show("in getWOEID() " +cityList);
*

*//lblWOEID.text = cityList;
*

}

*This is the XML file generated and I am interested in accessing :*


-
http://where.yahooapis.com/v1/place/2371464";
xml:lang="en-us">
**2371464*
*Town
Buffalo
United States
New York
Erie

Buffalo


-

42.885441
-78.878464

-

-

42.824860
-78.942909

-

42.970741
-78.771393




Any help would be appreciated.

Thank you

Sneha


[flexcoders] Custom Canvas Shape visible in design view of flex builder

2010-03-18 Thread yzarcman
I have a library which has custom controls. I have a BubbleCanvas class 
constructor 
{
this.setStyle("backgroundImage", canvasBackground);
this.setStyle("backgroundSize", "100%");
|

canvasBackground is a png with transparency so that the form is shaped like a 
conversation bubble. 

Now at run time everything works great, what I would like is to have the 
control look like a conversation bubble in the design view of flex. 

Oh I only want actionscript code, since the flex sdk controls are all 
actionscript.

Thanks,
Greg




[flexcoders] Re: Datagrid measureHeightOfItems wrong - DG harbors items that shouldn't be the

2010-03-18 Thread atomilux
Not sure what that means ...

Well, until I find something better - my deadline is fast approaching and I 
don't have time to wait so I figured out a hack. It involves 2 event listeners 
and "jolting" the dataProvider to simulate a manual reordering (which triggers 
the right resizing btw). Also, I need DataGrid reordering to NOT short circuit 
so it detects if you're reordering vs shuffling data from one DG to the other.

Code:


http://www.adobe.com/2006/mxml"; layout="absolute" 
creationComplete="init()">



































--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> You might get more than on e updateComplete.
> 
> 
> On 3/18/10 9:30 AM, "atomilux"  wrote:
> 
> 
> 
> 
> 
> 
> updateComplete failed because the dataProvider came back as null.
> 
> viewMetrics added back in.
> 
> --- In flexcoders@yahoogroups.com  , 
> Alex Harui  wrote:
> >
> > ValueCommit probably isn't the right event.  The DG probably doesn't have 
> > the final width yet so the heights will not calculate correctly.  Maybe try 
> > updateComplete.  Also, you are not factoring in viewMetrics.top/bottom.
> >
> >
> > On 3/16/10 8:08 AM, "atomilux"  wrote:
> >
> >
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>




Re: [flexcoders] Re: Datagrid measureHeightOfItems wrong - DG harbors items that shouldn't be the

2010-03-18 Thread Alex Harui
You might get more than on e updateComplete.


On 3/18/10 9:30 AM, "atomilux"  wrote:






updateComplete failed because the dataProvider came back as null.

viewMetrics added back in.

--- In flexcoders@yahoogroups.com  , Alex 
Harui  wrote:
>
> ValueCommit probably isn't the right event.  The DG probably doesn't have the 
> final width yet so the heights will not calculate correctly.  Maybe try 
> updateComplete.  Also, you are not factoring in viewMetrics.top/bottom.
>
>
> On 3/16/10 8:08 AM, "atomilux"  wrote:
>
>






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


[flexcoders] Skinning Spark Components in Flash CS4?

2010-03-18 Thread Christopher McArthur
I cant find any information on how to skin Spark components from Flash, perhaps 
using something similiar to the Flash Component Kit for Flex3.
 
Here are two examples of Flex Components I would like to build in Flash.
 
1) A normal "Button" skin. Positioning the text label, and creating all of the 
up/down/over/etc states and transitions in Flash.
2) A "container" skin, that has some sort of flash graphic, with a container 
area, where an image is injected into this container from the Flex code.
 
Both of these are things that we currently do in Flex3. But, there is some 
jankiness there, and I like a lot of the stuff in Flex 4's spark, so would like 
to figure out how to do these things with the spark components.
 
Is this possible in Spark? If not what is the expected workflow for the more 
artist-driven components?
 
I did find this article on doing it through illustrator 
http://help.adobe.com/en_US/Flex/4.0/html/WS145DAB0B-A958-423f-8A01-12B679BA0CC7
 .html
But, that didnt make it clear to me how to make it work with a Button skin, or 
do the image injection I referred to earlier.
<>

[flexcoders] What book in Flex would you guys recommend for a newbie ?

2010-03-18 Thread fred44455
I already asked questions on this forum but I rarely get feed backs.
I was told that the Adobe community was a fantastic one but I guess it is very 
much like linux if you are a newbie you are on your own. Anyway I would 
appreciate a recommendation on a good book to learn Flex. Also I was told to 
learn AS3. What Actionscript are you guys referring to?
The AS3 for Flex seems to be totally different with 

[flexcoders] Re: Datagrid measureHeightOfItems wrong - DG harbors items that shouldn't be the

2010-03-18 Thread atomilux
updateComplete failed because the dataProvider came back as null.

viewMetrics added back in.

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> ValueCommit probably isn't the right event.  The DG probably doesn't have the 
> final width yet so the heights will not calculate correctly.  Maybe try 
> updateComplete.  Also, you are not factoring in viewMetrics.top/bottom.
> 
> 
> On 3/16/10 8:08 AM, "atomilux"  wrote:
> 
> 




Re: [flexcoders] Adding more variable information to the FileReference.upload()

2010-03-18 Thread Wally Kolcz

Found it. Adding URLVariables to the upload worked.

On 3/18/2010 7:54 AM, Wally Kolcz wrote:


I am attempting to upload photos using FileReference. It seems to work
file, passing the file to ColdFusion to process the uploading, however I
need to associate the username to the actual file (or its final name).
Can I add a variable to the 'filedata' to include the username from the
application so I can use it in CF to insert into the database?






[flexcoders] Re: Type coercion failed for the same class

2010-03-18 Thread cosmin
Actually, looks like setting the security domain too, for the LoaderContext 
object does the trick. Thanks Alex for the presentation, will study it to 
better understand the ApplicationDomain stuff.

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> See the modules presentation on my blog.
> 
> 
> On 3/17/10 9:37 AM, "cosmin"  wrote:
> 
> 
> 
> 
> 
> 
> Hello all. This is a problem in Flash, actually, not Flex, but i think it 
> might behave the same in Flex. Here's the scenario:
> I have 4 SWF files: main.swf, platform.swf, pluginLoader.swf and plugin.swf. 
> pluginLoader.FLA and plugin.FLA are in the same folder, and share some of the 
> classes. At this point, they only share a PluginEvent class. The flow is 
> this: main.swf loads platform.swf; platform.swf loads pluginLoader.swf; 
> pluginLoader.swf loads the plugin.swf and here the crazy stuff begins:
> 1. plugin.swf adds a listener for a PluginEvent event
> 2. pluginLoader.swf dispatches a PluginEvent event (both swf files use the 
> same file, from the same namespace)
> 3. Type coercion failed error occures.
> 
> One fix I found was to specifi the application domain when using loader.load, 
> and use ApplicationDomain.currentDomain, but that's not working. Here's the 
> loading code:
> 
> var pluginLoaderContex! t:LoaderContext = new LoaderContext();
> pluginLoaderContext.applicationDomain = new 
> ApplicationDomain(ApplicationDomain.currentDomain);
> var mRequest:URLRequest = new URLRequest(pluginURL);
> pluginLoader.load(mRequest, pluginLoaderContext);
> 
> To top it off, if the pluginLoader.swf and plugin.swf are on the same domain, 
> everything works. If they're on different domains, the type coercion appears. 
> Should I use another ApplicationDomain? Any help would be appreciated.
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>




Re: [flexcoders] FMS install issues....

2010-03-18 Thread Tino Dai
Let's see your /etc/ld.so.conf.d or /etc/ld.so.conf

-Tino


On Thu, Mar 18, 2010 at 1:20 AM, grimmwerks  wrote:

>
>
> Not quite Flex but related...
>
>
> I'm having issues with installing my FMS setup on gnu linux -- I'm getting
> the old nspr libraries not found... the strange thing is that I *do* have
> them installed, and can find them via locate...
> ..but for some reason ldd fmscore does not find them at all
>
> [ps22094]$ sudo updatedb
> [ps22094]$ locate libnspr4.so
> /usr/lib /libnspr4.so
> /usr/lib /libnspr4.so.0d
> [ps22094]$ locate libplc4.so
> /usr/lib /libplc4.so
> /usr/lib /libplc4.so.0d
> [ps22094]$ locate libasneu.so.1
> /home/grimmwerks/FMS_3_5_1_r516 /libasneu.so.1
> /lib /libasneu.so.1
> /opt/adobe/fms /libasneu.so.1
> /usr/lib /libasneu.so.1
> [ps22094]$ locate libplds4.so
> /usr/lib /libplds4.so
> /usr/lib /libplds4.so.0d
> [ps22094]$ ldd fmscore
> linux-gate.so.1 => (0xe000)
> libpthread.so.0 => /lib32 /libpthread.so.0 (0xf76ed000)
> libnspr4.so => not found
> libplc4.so => not found
> libplds4.so => not found
> libasneu.so.1 => not found
> librt.so.1 => /lib32 /librt.so.1 (0xf76e4000)
> libdl.so.2 => /lib32 /libdl.so.2 (0xf76e)
> libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75fd000)
> libm.so.6 => /lib32 /libm.so.6 (0xf75d8000)
> libgcc_s.so.1 => /usr/lib32 /libgcc_s.so.1 (0xf75cd000)
> libc.so.6 => /lib32 /libc.so.6 (0xf74a2000)
> /lib /ld-linux.so.2 (0xf770c000)
>
>
>
> Garry Schafer
> grimmwerks
> gr...@grimmwerks.com
> portfolio: www.grimmwerks.com/
>
>
>
>
>
>  
>


[flexcoders] Re: Reuse a LabelFunction

2010-03-18 Thread valdhor
You could write the Item Renderer as an MXML component or an
ActionScript class.

I have created a sample of both types that do the same thing. Sometimes
it easier to do it in MXML; Sometimes AS is the best way. With this
trivial example, both are about the same. Pick whichever way you like
the best.

DateRendererAS.as
package ItemRenderers
{
 import mx.controls.*;
 import mx.controls.dataGridClasses.DataGridListData;
 import mx.formatters.DateFormatter;

 public class DateRendererAS extends Label
 {
 private var myDateFormatter:DateFormatter = new DateFormatter();

 public function DateRendererAS()
 {
 super();
 myDateFormatter.formatString = "DD/MMM/";
 }

 override public function set data(value:Object):void
 {
 if(value != null)
 {
 super.data = value;
 text =
myDateFormatter.format(value[DataGridListData(listData).dataField]);
 }
 }
 }
}

DateRendererMXML.mxml

http://www.adobe.com/2006/mxml";>
 
 
 
 



And here is an application to try them out with (Change the itemRenderer
to DateRendererAS to try the AS version)

http://www.adobe.com/2006/mxml";
layout="vertical">
 
 
 
 
 
 
 
 
 
 




--- In flexcoders@yahoogroups.com, Angelo Anolin 
wrote:
>
> I do know a bit of using itemrenderer.. Inline that is..
>
> if you could post some example, I'd greatly appreciate it.
>
> would the itemrenderer be an as file or would it be inline as well?
>
> Thanks.
>
> Angelo
>
>
>
> 
> From: valdhor valdhorli...@...
> To: flexcoders@yahoogroups.com
> Sent: Wed, 17 March, 2010 14:41:19
> Subject: [flexcoders] Re: Reuse a LabelFunction
>
>
> Use an itemRenderer instead.
>
> If you need help creating one, let me know.
>
> --- In flexcod...@yahoogro ups.com, Angelo Anolin 
wrote:
> >
> > Hi FlexCoders,
> >
> > I have created a labelfunction which I use in my datagrid to format
the display value.
> >
> > 
> >
> > And this is the AS function
> > private function labelFunctionTest( itm:Object, col:DataGridColumn)
:String
> > {
> > return df.format(itm. DataFieldNamefor Col1);
> > }
> >
> > Is there a way so that I could reuse the same label function to
other datagrid columns?  As you can see from the script above, I am only
using the function to Col1 for the datagrid.  How would I be able to
specify the datafield if I am going to reuse the same with other
datagrid columns?
> >
> > Thanks.
> >
>



[flexcoders] multicolor in single line chart

2010-03-18 Thread Krunal Panchal
Hi All,

Is it possible to have multicolor in single line chart.

Suppose i have line chart. there will be break point after that break point my 
line color will be different.
 
Thanks in advance.

Regards,



Krunal Panchal | *panchal_...@yahoo.com



  

[flexcoders] Adding more variable information to the FileReference.upload()

2010-03-18 Thread Wally Kolcz
I am attempting to upload photos using FileReference. It seems to work 
file, passing the file to ColdFusion to process the uploading, however I 
need to associate the username to the actual file (or its final name). 
Can I add a variable to the 'filedata' to include the username from the 
application so I can use it in CF to insert into the database?



[flexcoders] Re: using custom components

2010-03-18 Thread hgnowhg
thank you. Yeah, I've seen those but how do I use something created in 
catalyst? It gives me a bunch of mxml files that replace the jpeg or png files 
you'd normally have. How do I use those? I get an error w/ this:

upArrowSkin: Embed(source="../assets/scrollUpArrow2.mxml");

but when I replace it w/ a .png file there are no problems. 


--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> Check these two sites out for good examples of custom scrollbars for 
> datagrids...
> 
> http://www.switchonthecode.com/tutorials/flex-fun-advanced-datagrid-topics
> 
> http://www.pixelbox.net/2008/06/02/skinning-scrollbars-in-flex-3/
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "hgnowhg"  wrote:
> >
> > newbie here, using flex 4.
> > 
> > I've seen many posts about creating custom components but none really 
> > explain how to use them in a text box or datagrid. How do I use my custom 
> > scrollbar in a datagrid?
> > 
> > In my mxml application I have in the opening application tag the following: 
> > 
> > xmlns:custom="org.custom.*"
> > 
> > In my datagrid, I've tryed setting verticalScrollBarStyleName to my 
> > component's name, which is "customSroll". I have no idea where to go from 
> > here.
> > 
> > thx!
> >
>




[flexcoders] Add an DisplayObject to tabNavigator ???? Any idea ???Any help

2010-03-18 Thread Nini7016 Nini7016

Hello :)

I created two tabs, in each tab i added a chlid which is DisplayObject. 
Unfortunatelly, it added the DisplayObject only for one tab et not the other. 
Although i added the same object ..

There is my code : 

private function createTab(tabNavigator : TabNavigator, obBpmn : DisplayObject, 
obBpel : DisplayObject ) : void
{



var canvasBPMN: Canvas= new Canvas();
canvasBPMN.percentHeight = 100;
canvasBPMN.percentWidth = 100;
canvasBPMN.label = "BPMN";
canvasBPMN.addChild(obBpel);

var canvasBPEL: Canvas= new Canvas();
canvasBPEL.percentHeight = 100;
canvasBPEL.percentWidth = 100;
canvasBPEL.label = "BPEL";
canvasBPEL.addChild( obBpel );


tabNavigator.addChild(canvasBPMN);
tabNavigator.addChild(canvasBPEL);
}

in the browser, we notice that it added the DisplayObject obBpel only to 
canvasBPEL tab...

Any idea please

However, i tried to add a button as a chlid to canvasBPMN and it was 
sucsseffully addedSo i don't why it didn't add the DisplayObject 


Any help please 


Thanks 


  
_
Consultez gratuitement vos emails Orange, Gmail, Free, ... directement dans 
HOTMAIL !
http://www.windowslive.fr/hotmail/agregation/

[flexcoders] Scroll Problem

2010-03-18 Thread criptopus
I hope this is a better explination of my problem than the last time...

In the following code how do I make the 1000px blue box to scroll in the 100% x 
100% central area with scroll bars. I have played around with 
verticalScrollPolicy but I must be missing something.


http://www.adobe.com/2006/mxml"; layout="vertical" 
verticalGap="0">











- Thanks
- Stephen