labelplacement is a property not a style, as is alpha. Try reading some
documentation before diving into workarrounds
http://livedocs.adobe.com/flex/3/langref/mx/controls/ProgressBar.html#propertySummary
P.S. if you`re not using setstyle to set it then you should not put it in a css
file
If your component is static and will never change , children will never get
removed and no new children will be added you could try an absolute
positioning. I do not recommend spacer tho.
On the other hand you could try to make your own component , you say that you
are new to flex so I guess
--- In flexcoders@yahoogroups.com, gmoniey22 gmonie...@... wrote:
Thanks for the reply...I come from a Java background, so creating a custom
component is not scary so to speak...I was just hoping there may be an
easier way to do it directly to the TabNavigator instance.
Also, out of
In case anyone needs a more detailed explanation
the need for getTabAt(tabN.numChildren-1).
We cannot access tabN.tabBar because of it's protected attribute so we cannot
directly get the tabBar's width. That is why we are getting the last-tab's
button instance x + witdh , It's the exact width
After reading your second post with the .addChild I guess this would be
helpful. Here it is
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=addTI()
mx:Script
![CDATA[
import mx.controls.TabBar;
give this a try , the problem may be the return type, struct for successful
and boolean for unsuccessful
cffunction name=loginUser access=remote returntype=struct
//do your stuff
cfset returnValue = structnew()
cfset returnValue.success = false
cfset returnValue.lastResult =
cfif
--- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote:
hello guys before i ask this let me say i know that many people will
probably suggest using online payment systems like paypal but that is
not an option in my case. so this is what i would like to know. i have
a website where
Something like this?
?xml version=1.0?
!-- dpcontrols/adg/ColumnGroupADG2NestedGroups.mxml --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
mx:Script
![CDATA[
import
Wow, first If a different computer on the web could use a
different font you don t have to worry about that, font s are embeded
into the app, not accessed on the user side.
mx:TextArea text={'this'+ '\n' +'is'+ '\n' +'a'+ '\n' +'test'}
width=100% height=100/
\n = new line
OR
mx:TextArea
well, the rte is actually a panel +textarea + controlbar + toolbar
when clicking one of the buttons a function get's called
PRIVATE function setTextStyles(type:String, value:Object = null):void
this function check's if there is a current selection on the textarea
if not set's the style if there
child's height or width can be specified percent wise
width=100%
myComponent.percentWidth = 100;
but if you have to you have to
http://livedocs.adobe.com/flex/3/langref/mx/containers/Accordion.html
quote : headerHeight=depends on header font styles =
Number(myAccordion.getStyle('headerHeight'))
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
mx:Script
![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
This should do the trick
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600
mx:Panel height=75%
mx:Text text=This panel should take up 75% of the
application's height /
/mx:Panel
remote object? result=myfunction(event)
private function myfunction(resulte:resultEvent):void
{
yourArrc = new arrayCollection(ArrayUtil.toArray(resulte.result))
or
mydg.dataprovider = resulte.result (and no variable on dataprovider)
}
dg id=mydg dataprovider={yourArrc} /
--- In
Here you go, i think this is it :) if so, always pay attention to the
absolute and vertical layout of the components
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600
mx:Panel
private function test():void
{
var arr:ArrayCollection = new
ArrayCollection(ArrayUtil.toArray(adg.columns))
var dgcolreference:AdvancedDataGridColumn = arr.getItemAt(0) as
AdvancedDataGridColumn
if(dgcolreference.visible == false)
{
From what I understand, is this what you're looking for? (a quick
example for you get the basic idea. There are better and cleaner ways
to do this.)
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
mx:Script
![CDATA[
import
Hm you also said something about a resize I completely blanked on
that. Are you doing a manual resize of the component? (mouse involved?)
18 matches
Mail list logo