Agha,
You need to use Itemrenderer to render your checkbox control inside your
gridview:
mx:DataGridColumn headerText=Testing width=100 textAlign=center
mx:itemRenderer
mx:Component
mx:CheckBox label=Test change=outerDocument.checkbox_changed() /
/mx:Component
/mx:itemRenderer
Hi, All
I have a couple of questions about FMS
(1) can i connect a remote FMS in my local PC with an internet connection?
(2) I was creating a chat romm.
I have a remote SharedObject, it stores all chat history. when only one client
app runs, it works very well, the SharedObject fired
Hey Valdhor... Thanks for your reply, that's really helpfull...
I've looked up default.css and this is all it is...
.headerDragProxyStyle
{
fontWeight: bold;
}
Do you how I can find out what CSS attributes can be used with the
.headerDragProxyStyle CSS style and against other Flex
Hey Angleo,
Just curious here but what's the outerDocument. prefix for on the change
2009/10/15 Angelo Anolin angelo_ano...@yahoo.com
Agha,
You need to use Itemrenderer to render your checkbox control inside your
gridview:
mx:DataGridColumn headerText=Testing width=100
Hey Angleo,
Just curious here but what's the outerDocument. prefix for on the change
event for?
Cheers,
Nick
2009/10/15 Angelo Anolin angelo_ano...@yahoo.com
Agha,
You need to use Itemrenderer to render your checkbox control inside your
gridview:
mx:DataGridColumn
I have a complete event on two swfLoaders.
Once both of the swf loaders have dispatched their complete events I call a
method to calculate their content's width and height.
Something like this:
myWidth = mySwfLoader.contentWidth;
myWidth += mySwfLoader2.contentWidth;
I get an intermittent
I have also tried this with one SWFLoader and had the same problem.
I have since added a timeOut of a 200 milliseconds before checking the content
height and width, and it works fine.
However I hate having timers in my code and would much rather work off an event.
Please let me know if you
You may have to use an item renderer that looks for a value such as selected on
the item it's rendering.
Then by updating the object in the data provider will case it to redraw.
There may be a simpler way though.
Also make sure you have variableRowHeight set to true ;)
Rob
--- In
I wouldn't modify any styles in the defaults.css file. I would create a new
style and apply it to the headerDragProxyStyleName parameter.
I learned what I know from documents like:
http://livedocs.adobe.com/flex/3/html/help.html?content=styles_01.html
Try a callLater so you are checking on the next frame.
--- In flexcoders@yahoogroups.com, rob rob_mcmich...@... wrote:
I have a complete event on two swfLoaders.
Once both of the swf loaders have dispatched their complete events I call a
method to calculate their content's width and
Hi again :)
In fact, this didn't fully work... it only implemented a green
backgroundColor...
The border styles were completely ignored, Mmmm?...
:)
2009/10/15 Nick Middleweek n...@middleweek.co.uk
e.g. By chance I just tried this and alas it worked but my question now is
is
Ahhh... :)
Sorry about this thread... I've just removed the backgroundColor, tried it
again and the black border has appeared.
I've tried adding a color: #FF; but that seems to be ignored no matter
what I do?...
So I'm still stuck and confused :)
Cheers,
Nick
2009/10/15 Nick
An item renderer is a component and has its own scope. outerDocument is a
reference to the renderer's parent document. You use it to access public
properties of the parent.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com
Cheers Steve,
I didn't modify the default.css - I created a new one with the same name at
the top of the MXML file that contains the Adv DataGrid...
Thanks for the links...
Nick
2009/10/15 valdhor valdhorli...@embarqmail.com
I wouldn't modify any styles in the defaults.css file. I
Ah ok... Thanks Tracy...
Is that a bit like Application.application ?
2009/10/15 Tracy Spratt tr...@nts3rd.com
An item renderer is a component and has its own scope. “outerDocument”
is a reference to the renderer’s parent document. You use it to access
public properties of the
Hi all,
I just downloaded AIR 1.5.2 SDK.
I had made sure to change my application descriptor file to the 1.5.2 namespace.
When I do an export release build, this is the error msg that I got:
Error creating AIR file: 102: ERROR, http://ns.adobe.com/air/application/1.5.2;
Does anyone else getting
I tried callLater(), but had the same issue as before. Perhaps the next frame
is too soon.
I think as the SWF is in another process (virtual machine), callLater won't
work.
I either need a way to tell if the content height and width are exact or an
event to listen to.
The time out works, but
Thanks guys. how do i get the list of all checked rows from the datagrid?
On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek n...@middleweek.co.ukwrote:
Ah ok... Thanks Tracy...
Is that a bit like Application.application ?
2009/10/15 Tracy Spratt tr...@nts3rd.com
An item renderer is
I want to create more than one class in a single .as file, but finally this
is not allowed!
I read at
http://livedocs.adobe.com/flex/3/html/help.html?content=basic_as_2.html the
follow rule:
In a single ActionScript file, you can define only one class in the
package. To define more than one
Alex,
I've been doing some testing with this app in trying to recreate this ocx
error. I've monitored both memory consumption and cpu. The browser memory
never gets above 90mb, event after a few hours of running. The cpu spikes a
bit when resizing and interacting with the various lists, but
Hello,
At the moment I've been doign this kind of thing for my buttons...
mx:Button id=callBack icon=@Embed(source='assets/select_address.png')
... /
But I've been asked to change it so that the icon path can be changed using
a FlashVar, perhaps using CSS?...
I'm ok with FlashVars but I'm not
I have a client who often points to html websites as examples of what
they like and (as you all know) the browser page always fits the content
(with or without scrollbars).
Anyone been successfully building flex or flash apps using javascript
to mimic html page behaviour - shrinking the
it's giving me below error
Description Resource Path Location Type
Could not resolve mx:Component to a component implementation. comp.mxml
Flex_FB/src line 238 Flex Problem
mx:DataGridColumn headerText= dataField=select sortable=false
editable=false resizable=false textAlign=center
Really wouldn't advise using this type of in-line approach for a
checkBox itemRenderer. Alex's blog shows a prefered manner:
http://blogs.adobe.com/aharui/item-renderers/
http://blogs.adobe.com/aharui/item-renderers/
-TH
--- In flexcoders@yahoogroups.com, Agha Mehdi aghaime...@... wrote:
Look at the dataProvider. You're using the select property of the
items, so loop and look.
-TH
--- In flexcoders@yahoogroups.com, Agha Mehdi aghaime...@... wrote:
Thanks guys. how do i get the list of all checked rows from the
datagrid?
On Thu, Oct 15, 2009 at 7:14 AM, Nick Middleweek
Hello,
I have a problem with INSERT INTO sql function in Php Script when I use amfphp :
$query=INSERT INTO utilisateurs (Last, First, Adress) VALUES ('$last',
'$first', '$adress');
When I use 3 parameters (Last, First, Adress) it is working but with more than
3 parameters it is not
This should send you in the right direction...
http://blog.benstucki.net/?p=42
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:
Hello,
At the moment I've been doign this kind of thing for my buttons...
mx:Button id=callBack
That's a PHP problem. Does it work outside of AMFPHP?
--- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@...
wrote:
Hello,
I have a problem with INSERT INTO sql function in Php Script when I use
amfphp :
$query=INSERT INTO utilisateurs (Last, First, Adress) VALUES
You can start with this:
http://www.kontain.com/fi/entries/684/the-flash-height-problem-and-how-to-solve-it/
It should at least get you started down the right path (I think)
-Nathan D.
--- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
I have a client who often points to html
Take a look at this post a made a while back
http://tech.groups.yahoo.com/group/flexcoders/message/146653
This will show you one way you can do it.
--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:
Hello,
At the moment I've been doign this kind of thing for my buttons...
so this is what I am doing. it gives me A term is undefined and has no
properties.
public function brigFiles_clickHandler(_comp:CheckBox):void
{
var dp:Object = datagrid.dataProvider;
var cursor:IViewCursor=dp.createCursor();
while( !cursor.afterLast )
{
I have a custom font I would like to use for my preloader, but I would like
to implement it without having to use Flash IDE. I know the exact text I
need to write, it is only 6 characters long, but later on in the app I will
need the entire set of chars of that font. What is the best way to go
Thanks Steve! :)
you never fail :)
2009/10/15 valdhor valdhorli...@embarqmail.com
This should send you in the right direction...
http://blog.benstucki.net/?p=42
I'm trying to think of the name of this feature so I can log a Jira for it...
When using Eclipse with Java, you can use alt/option to move intelligently
through code.
For example: assuming ^ is your insertion point in Java:
Math.floor(^
alt-left
Math.^floor(
In Flex though, the behavior is
No definitely not, but I am curious what your specific use-case is to want
that. How would you be able to find a class without opening every file to
see if it is in there?
On Thu, Oct 15, 2009 at 12:33 AM, dennis den...@anel.cc wrote:
I want to create more than one class in a single .as
I don't think this is a bug, I will explain you why: ALT+LEFT/RIGHT is the
shortcut for history navigation, ALT+LEFT brings you back to were you were.
If you want to move word by word, try: CTRL+LEFT/RIGHT
If you want to go to the beginning or the end of the line, just use the
begin and end keys
Nathan D wrote:
You can start with this:
http://www.kontain.com/fi/entries/684/the-flash-height-problem-and-how-to-solve-it/
It should at least get you started down the right path (I think)
-Nathan D.
Thanks Nathan, interesting article.
Paul
--- In flexcoders@yahoogroups.com, Paul
Swapping out stuff at runtime involves getting a handle on a compatible
asset... like:
[Embed(another_image.png)]
private var foo:Class;
The exchange would be something like:
this.setStyle( backgroundImage, foo ); // where this¹ is your Application
context
The key is getting familiar with the
I'm curious to know what the algorithm is behind an associative array or
dictionary look up. I'm assuming that associative arrays and dictionaries are
sorted when they are created and then something like a binary search is used to
do the look up. Can anyone confirm that this is true or offer
Hi All,
I have a arrayCollection of class Pet,
and i have a child class Dog extends Pet,
is there a way to convert the arrayCollection of Pet to arrayCollection of
Dog?
--
View this message in context:
http://www.nabble.com/cast-convert-to-a-child-class--tp25917283p25917283.html
Sent from the
Hi,
I am embedding a graphic at compile using the Embed metatag in an AS3
project using Flash Builder 4. It compiles in both Beta 1 (build
4.0.0.7219) and Beta 2 (Flex 4-Beta 2 4.0.0.10485) - but in beta 2 it
throw runtime errors.
Here is how I embed:[Embed(source='/image_assets/ui/arrow.gif')]
coder3 wrote:
Hi All,
I have a arrayCollection of class Pet,
and i have a child class Dog extends Pet,
is there a way to convert the arrayCollection of Pet to arrayCollection of
Dog?
If your array references Pet objects, you cannot cast them as Dog()
because they aren't Dog objects.
If
It works when compiling using interface in flex - using all sdks.
I get the problem when I compile using ANT, so it is most likely my own doing.
My build.properties file:
SRC_DIR = ${basedir}
DEPLOY_DIR = ../bin-debug
# Flex 4-Beta 2 4.0.0.10485Tue Sep 22 2009
# Flex 4-Beta 1 4.0.0.7219
I had this problem once and it turns out that when you are using Flex builder
it does some magic to the build path. This does not happen when you build
with ant and I had to move some files around so that mxmlc could find
everything. I believe that mxmlc can only see the src path and its sub
Thanks,
I had the problem which prevented ant from seeing the asset files, and that
was fixed by adding a slash to the front of the asset path. That problem
caused a compile error. This error only happens at run-time and only after
compiling with recent builds using ant. I also tried using
Holy Crap, someone other than myself is using JRun and LCDS. Awesome! I
can't help you with your problem as I have never used PostgreSQL, but could
I get your contact info as I have never ran across anyone using JRun outside
of ColdFusion development.
Feel free to contact me at
Hi, All
I try to set SharedObject.data.msg to an arraycollection, by
SharedObject.setProperty(), and it works when only one client application runs.
But when another application runs, the SharedObject lost its data.
What is more odd, when i set SharedObject.data.msg to a string, it works very
Hello.
I have an array of images that I create from an array of byte array. I also
push each image onto a visible display object on the screen. For some reason I
can't get the image to actually print using the Flex Print Job.
I swear it was just working. Here is my print code. Anything
Thanks!
On Thu, Oct 15, 2009 at 2:30 PM, Rick Winscot rick.wins...@zyche.comwrote:
Swapping out stuff at runtime involves getting a handle on a compatible
asset... like:
[Embed(another_image.png)]
private var foo:Class;
The exchange would be something like:
this.setStyle(
49 matches
Mail list logo