@yahoogroups.com flexcoders%40yahoogroups.com,
bhaq1972 mbhaque@ wrote:
I have an itemRollover event handler in my datagrid.
This datagrid also has some invisble columns (i made them visible=false
during the datagrid's initialize event)
Now if I make col0 invisible, and col1
sometimes setting the dataprovider to null (or new Object) worked for me.
partsGrid.dataProvider = null;
partsGrid.dataProvider = partsListCollection;
or
set the dataProvider in another event like creationComplete.
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
I think
Referring back to your lessons is no different to what you would do if you were
learning any new skill (eg learning English or French). You will keep doing
that until you become familiarand then you move to more complex stuff.
My suggestion would be keep looking at examples, try them out.
But, pressing Print Screen and then pasting it into an image container would
be much nicer and more consistant.
Have you checked out Andrew Trice's BitMapData blog. Very clever stuff.
Just an idea. When someone presses the PrintScreen button, call
his function getUIComponentBitmapData() to
into the image container.
I check out the blog just incase there is some other magic there...
Cheers,
Nick
On 25 March 2010 09:31, bhaq1972 mbha...@... wrote:
But, pressing Print Screen and then pasting it into an image container
would
be much nicer and more consistant.
Have you
your class Car looks okay and so does you syntax to instantiate it and method
call.
try this. Create an Application(test.mxml) in the same folder location as your
Car.as file.
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Button label=test click=test()/
Doesn't make sense. I just tried it out and it works for me in an ActionScript
project as well.
Clearly, you Car class constructor takes 2 arguments, and its being passed 2
args in the instantiation.
If you are using flexbuilder try click ProjectClean (this will build the
project like its
interested in
reading through it...
I've just googled Andrew Trice BitMapData blog getUIComponentBitmapData
but can't find what you've mentioned.
Cheers,
Nick
On 25 March 2010 10:43, bhaq1972 mbha...@... wrote:
I think i'm barking up the wrong tree. I misread your question
I don't have a suggestion but wanted to know if you found anything useful to
help your problem?
We had one customer who had this problem on one of their pc's. But I never got
to the bottom of what was happening. It became a low grade issue (as it was
only one pc). I couldn't replicate the
Why does this work
s:Group width=100% height=28
s:Rect top=0 right=0 bottom=0 left=0
s:fill
s:SolidColor color=0x4960a6 /
/s:fill
/s:Rect
/s:Group
But this doesnt?
s:HGroup width=100% height=28
s:Rect
s:fill
s:SolidColor color=0x4960a6 /
/s:fill
HGroup, but feel free to file a bug at http://bugs.adobe.com/flex/
and Adobe can look into it.
Peter
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of bhaq1972
Sent: Thursday, April 22, 2010 4:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex
would need a layout that uses absolute positioning, while
vertical, horizontal and tail layout are automatic layouts and don't use
absolute positioning.
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Fri, Apr 23, 2010 at 9:45 AM, bhaq1972 mbha...@... wrote
I am setting the width of a Spark Panel to zero but I can still see it.
Halo Panel does not have this problem.
Any ideas?
Thanks in Advance.
Here's a simple example
?xml version=1.0 encoding=utf-8?
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
Sorted...
I need the property clipAndEnableScrolling=true
for the main panel to be set.
s:Panel id=MainPanel
s:layout
s:VerticalLayout clipAndEnableScrolling=true
/s:layout
/s:Panel
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
I am setting the width of a Spark
I have a set of button skins which all look like the following skin
s:SparkSkin
xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
fx:Metadata
[HostComponent(spark.components.Button)]
/fx:Metadata
s:states
s:State name=up /
('downSkin')
/
/s:SparkSkin
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Apr 27, 2010 at 12:47 PM, bhaq1972 mbha...@... wrote:
I have a set of button skins which all look like the following skin
s:SparkSkin
xmlns:fx=http
Hasn't worked.
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote:
If it does not work try replacing getStyle with hostComponent.getStyle.
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Apr 27, 2010 at 1:43 PM, bhaq1972 mbha
I did this little test. It should help.
s:Panel id=panel1 title=panel width=50% height=50%
s:controlBarContent
s:Label text=Label appears in Control Bar/
/s:controlBarContent
/s:Panel
s:Button click=test() label=add/
fx:Script
![CDATA[
public function test():void
{
var
to be set in curly braces like:
source.up={getStyle('upSkin')}
Sorry!
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Apr 27, 2010 at 3:03 PM, bhaq1972 mbha...@... wrote:
Hasn't worked.
--- In flexcoders@yahoogroups.com flexcoders
try
newObject.setStyle(skinClass,
getDefinitionByName(spark.skins.spark.TextInputSkin));
instead of
newObject[skinClass] = spark.skins.spark.TextInputSkin;
--- In flexcoders@yahoogroups.com, Netaman rtigr...@... wrote:
I stripped away most of the code and just have all the pertinent parts.
Hi
I'm trying to create a ButtonBar skin which looks like a halo LinkBar skin.
However, i'm having a few issues with trying to create the separator graphic.
So far my ButtonBarButton skin has a Label.
1) Do I create the separator graphic in updateDisplayList()? If so can someone
help with a
/
/s:stroke
/s:Line
s:Label id=labelDisplay x=20 y=0 ..other attributes /
/s:Group
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
Hi
I'm trying to create a ButtonBar skin which looks like a halo LinkBar skin.
However, i'm having a few issues with trying to create
I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is
small ...so the end buttons don't show.
When I set the selectedIndex to one of the end buttons...its not coming into
view.
How can I ensure the selectedItem is in view?
thanks
s:HGroup
s:ButtonBar id=buttonbar1
@yahoogroups.com, Alex Harui aha...@... wrote:
Maybe put the ButtonBar in a Scroller or put a Scroller in the ButtonBar skin?
On 5/11/10 1:14 AM, bhaq1972 mbha...@... wrote:
I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar
is small ...so the end buttons don't show
.layout.horizontalScrollPosition +=
buttonbar1.layout.getScrollPositionDeltaToElement(buttonbar1.selectedIndex).x;
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, May 11, 2010 at 9:14 AM, bhaq1972 mbha...@... wrote:
I have a spark ButtonBar
Generic form
var item:String = xmlLC.getItemAt(i).collectionID; ??
Try this
var item:String = xmlLC.getItemAt(i)[collectionID];
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Actually, the dpID is different for each xmllistcollection being passed.
For
sorry, i meant
var item:String = xmlLC.getItemAt(i)[collectionID];
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
Generic form
var item:String = xmlLC.getItemAt(i).collectionID; ??
Try this
var item:String = xmlLC.getItemAt(i)[collectionID
Just wondering,
Can someone tell me which layout/container is being used for Featured
Projects section in Tour De Flex (Under Introduction to Flex What's
Possible).
thanks
Anyone?
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
Just wondering,
Can someone tell me which layout/container is being used for Featured
Projects section in Tour De Flex (Under Introduction to Flex What's
Possible).
thanks
In flex 3
I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar.
var button:Button = new Button();
this.titleBar.addChild(button);
whats the equivalent to this in Spark?
one way i'm thinking of is using a basic layout, and positioning the buttons
where I want.
Just wanted
Thanks Alex
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
Use a Custom skin for the Panel
On 6/3/10 8:13 AM, bhaq1972 mbha...@... wrote:
In flex 3
I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar.
var button:Button = new Button
I added a Panel component into a NavigatorContent
public function aMethod():void
{
var nc:NavigatorContent = new NavigatorContent();
nc.addElement(myPanel);
}
Now, in another method I want to access this NavigatorContent
eg
public function anotherMethod(myPanel:Panel):void
{
var
:
Or make nc a property of the class so you can use it in any method.
--- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
Try myPanel.owner
On 6/9/10 8:23 AM, bhaq1972 mbhaque@ wrote:
I added a Panel component into a NavigatorContent
public function
thanks
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
nc = null;
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
myPanel.owner is the same as myPanel.parent so that won't work.
Making it a property would work. What would the disadvantages
do a google on
IFrame Alistair Rutherford
this might help
--- In flexcoders@yahoogroups.com, sridhar s sweetsrihe...@... wrote:
How to integrate a HTML page inside the flex,
i tried a lot using iframeetc but everything redirects to another page ,
i need the HTML page inside the
a whitewashed code example let me know.
Randy
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
myPanel.owner is the same as myPanel.parent so that won't work.
Making it a property would work. What would the disadvantages be with using
myPanel.parent.parent.parent (a trace shows
Or you might want click the Use Flex 3 compatibility mode checkbox
under properties / compiler
--- In flexcoders@yahoogroups.com, Peter DeHaan pdeh...@... wrote:
If you're using Flex 4, I'd probably use the s:BorderContainer instead. It
gives you a lot better control over the border
I am trying to migrate
Flex 3
mx:VBox verticalScrollPolicy=off horizontalScrollPolicy=off
to a Flex4 s:VGroup
However, VGroup does not have verticalScrollPolicy or horizontalScrollPolicy.
What do I use, to ensure scrollBars don't show on my VGroup.
Thanks
Anyone know why styling is not being applied to this Flex4 example (a modified
example from livedocs)?
thanks
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
s:layout
s:VerticalLayout
.
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
Anyone know why styling is not being applied to this Flex4 example (a
modified example from livedocs)?
thanks
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
or
borderVisible : false;
--- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote:
Have a look at textInputStyleName style
http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName
-
no probs. my answer was based on flex 4 (i havent been using flex 3 for a long
time)
cheers
--- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote:
There is no borderVisible style for DateField, it exists only for
DateChooser, only in Flex 4 SDK and only in default skin theme
I have created a very simple MyTextInput
MyTextInput.mxml
-
?xml version=1.0 encoding=utf-8?
s:TextInput xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
fx:Declarations
!-- Place non-visual
, bhaq1972 mbha...@... wrote:
I have created a very simple MyTextInput
MyTextInput.mxml
-
?xml version=1.0 encoding=utf-8?
s:TextInput xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
the class in solemn ActionScript.
--
Best regards,
Andriy Panas
On 14 July 2010 13:41, bhaq1972 mbha...@... wrote:
I have created a very simple MyTextInput
MyTextInput.mxml
-
?xml version=1.0 encoding=utf-8?
s:TextInput xmlns:fx=http://ns.adobe.com/mxml
I have a very simple question about Spark TextInput.
s:TextInput text=Highlight this text and see what color the text is
focusedTextSelectionColor=black/
When I use focusedTextSelectionColor=black
I want the the colour of the text to be white (like it is in flex 3 and lower)
How do I achieve
Why does the red error box not show when I have this
DefaultGridItemEditor(dg.itemEditorInstance).errorString = error;
but does show when I have this
DefaultGridItemEditor(dg.itemEditorInstance).textArea.errorString = error;
How would I go about making the datagrid.selectedItem the ONLY editable row?
A bit like making individual columns editable by setting GridColumn.editable.
Thanks
BH
, bhaq1972 mbhaque@ wrote:
How would I go about making the datagrid.selectedItem the ONLY editable row?
A bit like making individual columns editable by setting
GridColumn.editable.
Thanks
BH
the grid data provider with the
changed row value.
Sent from my iPhone
On Aug 24, 2011, at 10:56 PM, Amy amyblankenship@... wrote:
How would a user edit a row that is not selected?
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
How would I go about making
headerText=col4/
/s:ArrayList
/s:columns
/s:DataGrid
s:HGroup
s:Button id=btn1 label=lock row click=lockRow() /
s:Button id=btn2 label=unlock row click=unlockRow()/
/s:HGroup
/s:Application
--- In flexcoders@yahoogroups.com, bhaq1972
I have problem with the IGridItemEditor.save() method.
According to the docs for save()...if the data isn't valid, then the data isn't
saved and the editor is not closed.
So I setup an example to test this, and its seems ok. However, once I enter
valid data and hit the Tab key, I expect the
I'm doing the same thing as you, I don't even cast my object and it still works.
I did do a simple test using [RemoteClass] but I can't remember it sorry.
I just saw it as different approaches in achieving the same end result.
--- In flexcoders@yahoogroups.com, Nick Middleweek nick@... wrote:
I get a runtime error when I set the gridcolumn.visible property during a
datagrid initialize event. There is no problem's
if its the first gridcolumn. Looks like a bug?
Can anyone suggest a workaround?
s:DataGrid initialize=makeColumnInvisible()
s:columns
s:ArrayList
).
--- In flexcoders@yahoogroups.com, valdhor valdhorlists@... wrote:
The column probably hasn't been created yet. Try the creationcomplete event
of the datagrid.
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
I get a runtime error when I set the gridcolumn.visible property during
and follow up with a validateNow()
call.
On 10/6/11 1:11 AM, bhaq1972 mbhaque@... wrote:
The problem doesn't exist if the code is executed in the preintialize or
creationComplete event. However, I didn't want to mention that because it
takes the focus away from what looks like
and columns on the
fly in ActionScript. Why bother having columns in memory that you don't use?
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
The problem doesn't exist if the code is executed in the preintialize or
creationComplete event. However, I didn't want to mention
thanks for the clarification.
--- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote:
Even columns with visible=false get instantiated when declared in MXML.
On 10/10/11 3:36 AM, bhaq1972 mbhaque@... wrote:
Yes agreed. In our newer applications we do that.
Just
Does anyone know if the drag drop functionality will feature in the next
release of spark datagrid?
GridColumn doesn't have the textAlign style. Instead we can do this -
s:GridColumn id=col dataField=etc
s:itemRenderer
fx:Component
s:DefaultGridItemRenderer textAlign=right color=black/
..
How can I do this in actionscript? I've tried the following but doesn't work
var
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
GridColumn doesn't have the textAlign style. Instead we can do this -
s:GridColumn id=col dataField=etc
s:itemRenderer
fx:Component
s:DefaultGridItemRenderer textAlign=right color=black/
..
How can I do
this is a simple example, it might be useful. Basically, all i'm doing is
increasing the panel height everytime i add a row into the datagrid.
?xml version=1.0 encoding=utf-8?
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
401 - 462 of 462 matches
Mail list logo