use the graphics property and draw an ellipse into it with the drawEllipse
method
- Original Message
From: David Buitenveld <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, April 11, 2007 4:02:36 PM
Subject: [flexcoders] oval canvas
Hi A
When a Flex application in a browser
communicates with a php page for the first time a session is created.
This is the same behavior as user receiving a PHP page in their
browser.
- true , but the session is created only if the php installed in your server
is configured to auto start a session
only objects that inherit the Container class have this functions. When i have
a situation like yours, I usually do something like :
if ( obj is Container)
{
//code here
}
and it works fine. It is possible not to work if your object
was originally an Object , and you further created your
obj
You can not use mxml to draw basic shapes because you have no components for
these shapes. You have to use action script and draw into components graphics
object. I needed once basic shapes at objects and created my own components
that deal them, after that they could be used from mxml.
regards
You also must check your build file for the 'use-network' flag. Quote :"A SWF file can access one type of external resource only, either local or over a network;
it cannot access both types. You determine the type of access allowed by the SWF file
using the use-network flag when you compil
Check the manuals , developers guide and building flex components , there is plenty of documentation.However , for your particular case , just add a click listener to the button , and on it do something likevar foo:Button = new Button();container.addChild(foo);for the shape thing , for each shap
n the doc on creating item editors:
http://livedocs. macromedia. com/flex/ 2/docs/0863. html
But it probably deserves a section on its own. We should be able to
add something for the next release.
Stephen
--- In [EMAIL PROTECTED] ups.com, dordea cosmin <[EMAIL PROTECTED] ..> wro
All visual components that extend the UIComponent have the parentApplication property which is what I think you need.For more information check http://livedocs.macromedia.com/flex/2/langref/mx/core/UIComponent.html#parentApplication- Original Message From: boy_trike <[EMAIL PROTECTED]>To
Thanks for your reply. I wasn't aware that you actually have to write in the code "implement IFocusManager" to have focus enabled. I took a look in the UI component source code and in the Button component source code and saw what I had to do.Now back to my original question, is this specified an
9 matches
Mail list logo