[flexcoders] Access TWAIN scanners from Air

2008-01-20 Thread Javier de la Torre
Hi all, I would like to access the TWAIN API from an AIR application. I have been looking around and the only way I have found it is by using Artemis. Although accessing from Java would be great, there are great APIs out there, the Artemis connection looks very preliminar and with a deploying

[flexcoders] Calling COntrol

2008-01-20 Thread NileAge, Mail
Hi all How can I call a control inside a custom component from another component Ex: If I have a button control with ID BtnID inside a certain component How can I call this id from another component

[flexcoders] Make a loader

2008-01-20 Thread NileAge, Mail
Hi all How can I make a loader in flex while binding data

[flexcoders] flex profiling

2008-01-20 Thread ezderman
Hi, Does anyone has tips or links of how to analyze flex profiling. I have problem with my application. every time I am adding a component or Module to my page, the memory usage in the profile indicates increase. The memory usage does not go down. Even when when I am not interacting with the

[flexcoders] Re: Get fields from dataProvider

2008-01-20 Thread markgoldin_2000
Still not sure how to get this information out. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 18 Jan 2008, markgoldin_2000 wrote: I am executing this line of the code: var ClassInfo:Object = ObjectUtil.getClassInfo (gridObj.dataProvider); but I am

RE: [flexcoders] Re: Get fields from dataProvider

2008-01-20 Thread Dale Fraser
ClassInfo[row].columnName But this will give you the same result without the ClassInfo use gridObj.dataProvider[row].columnName Regards Dale Fraser From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, 21 January 2008 12:56 AM To:

[flexcoders] Re: Get fields from dataProvider

2008-01-20 Thread markgoldin_2000
But the list of columnName(s) is what I am trying to get. --- In flexcoders@yahoogroups.com, Dale Fraser [EMAIL PROTECTED] wrote: ClassInfo[row].columnName But this will give you the same result without the ClassInfo use gridObj.dataProvider[row].columnName Regards

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-20 Thread Gary Smith
After more testing I have now reported this as a bug, you can follow and vote for this bug to be fixed, it seems that it was a cell rendering problem, so please all vote for this to be fixed http://bugs.adobe.com/jira/browse/SDK-14361 -- View this message in context:

[flexcoders] FileReference crashing firefox on linux testing old fp versions on linux

2008-01-20 Thread mydarkspoon
Hello, I'm using FileReference to upload file, the swf euns as expected under windows XP OS X but when using linux Redhat with firefox 2, it crashes... This happened when using flash player 9.0.45 However with fp 9.0.115 firefox doesn't crash but, it acts as if the upload operation is

[flexcoders] Re: Calling COntrol

2008-01-20 Thread simonjpalmer
you can either add a public method to your custom control which exposes the button or, better still, performs whatever task you want to perform or you can probably get at the button via something like myCustomControl[BtnID] The first way is more object oriented than the second, but unless your

Re: [flexcoders] Re: addchild

2008-01-20 Thread [EMAIL PROTECTED]
I'm still missing something very basic. Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx.* classes completely ? Doesn't Flex use actionscript 3? Doesn't it do animation? I bought lots of other books too, thinking they

[flexcoders] Using modules in Actionscript

2008-01-20 Thread duncan mcmillan
Folks I want to make a module in actionscript and have read that you need to extend the moduleBase class to do this. What I want though is to make the module a composite component which usually extends the UIComponent. Does this mean the only way you can do this is to extend the ModuleBase

[flexcoders] Re: Make a loader

2008-01-20 Thread simonjpalmer
I think you probably need to give us a bit more of a clue... I'd love to help but I have no idea what you're talking about. --- In flexcoders@yahoogroups.com, NileAge, Mail [EMAIL PROTECTED] wrote: Hi all I want make a loader for flex controls such as label, links while binding the data

RE: [flexcoders] Re: Make a loader

2008-01-20 Thread NileAge, Mail
Hi all I mean that I want to make a loader like this as u can see in this is but I want it for each label or link image001.jpg

RE: [flexcoders] Re: addchild

2008-01-20 Thread Jim Hayes
What you need to do in flex is the following: (off top of head and not checked) //make a new uicomponent var uic:UIComponent = new UIComponent(); var squareSize:uint = 100; var square:Shape = new Shape(); square.graphics.beginFill(0xFF, 0.5); square.graphics.drawRect(0, 0, squareSize,

[flexcoders] Horizontal DataGrid ( columns on the left side )

2008-01-20 Thread piotrchruscielewski
Hi I`m googling for an hour and I can`t find - is it possibile to make DataGrid or AdvancedDataGrid to show columns as rows -so that defined 'columns' are shown as rows ( one under ohter) , while rows from dataprovider are shown as columns ? Regards

Re: [flexcoders] Horizontal DataGrid ( columns on the left side )

2008-01-20 Thread Sherif Abdou
Yes, it is possible, You would need to extend the DataGrid and override some of the methods from the DataGridBase and just switch them around. - Original Message From: piotrchruscielewski [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 20, 2008 11:54:27 AM

Re: [flexcoders] Re: addchild

2008-01-20 Thread [EMAIL PROTECTED]
Thanks, that helps alot. Why isn't this in the documentation ? http://livedocs.adobe.com/labs/flex3/html/help.html?content=Drawing_Vector_Graphics_6.html It uses import flash.display.Shape;, not import mx.core.UIComponent; Or if it is somewhere else, where is it ? Here is the simplest

Re: [flexcoders] Re: addchild

2008-01-20 Thread Sherif Abdou
That is if you do an ActionScript Project instead of a FlexProject - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 20, 2008 1:05:32 PM Subject: Re: [flexcoders] Re: addchild Thanks, that helps alot. Why isn't this in

[flexcoders] Re: Using modules in Actionscript

2008-01-20 Thread mydarkspoon
No, you can also extend the mx.modules.Module class which is a layout container. Cheers, Almog Kurtser http://www.kaltura.com --- In flexcoders@yahoogroups.com, duncan mcmillan [EMAIL PROTECTED] wrote: Folks I want to make a module in actionscript and have read that you need to extend the

[flexcoders] rawChildren

2008-01-20 Thread Sherif Abdou
Can someone explain what exactly is the rawChildren property is and when to use it. I have no idea what the API is talking about when it is giving the explanation in ASdoc. Basically if you want to add a shape but not want it to be part of the Container then add it to thr rawChildren?

Re: [flexcoders] Re: addchild

2008-01-20 Thread [EMAIL PROTECTED]
Yes I know, but where is the documentation for a flex project ? Sherif Abdou wrote: That is if you do an ActionScript Project instead of a FlexProject - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 20, 2008 1:05:32

RE: [flexcoders] Re: addchild

2008-01-20 Thread Jim Hayes
I can only guess that it's assumed that if you're doing a flex project, then you're going to be using either a standard component, an extension of one, or a completely custom one. In that case, you'd be inside that component as it were (eg writing code in a component that extended

[flexcoders] Link Event

2008-01-20 Thread Sherif Abdou
how come this never triggers the Link event ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApp() mx:Script ![CDATA[ import mx.core.UITextField; private function initApp():void{ var t:UITextField = new UITextField();

[flexcoders] Custom components toolbox - organise into subfolders

2008-01-20 Thread hmmmbeer3
Hi, I'm pretty new to Flex, but am creating a whole lot of [specially plumbed] custom components. My designer is now complaining that the Custom branch of the Components tree has too many items, that are not grouped logically. Is there a way to create subfolders or some other organisation of

[flexcoders] Re: Clock Killer

2008-01-20 Thread markcavins
How would you created it as a global. I have tried to reference it but I have only found that if I call it twice that it won't work --- In flexcoders@yahoogroups.com, Mark Rausch [EMAIL PROTECTED] wrote: Why do you create a new timer in stopTimer()? You should make minuteTimer a global

Re: [flexcoders] Re: May I click a button to ScrollDown in TileList

2008-01-20 Thread shaun
Hi, Change the x value for the canvas or whatever component your tile list is added to. flexawesome wrote: Any suggestions? Cheers --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hi there, I am using TileList to build my simple application, is there a way to

Re: [flexcoders] Access TWAIN scanners from Air

2008-01-20 Thread shaun
Javier de la Torre wrote: Hi all, I would like to access the TWAIN API from an AIR application. I have been looking around and the only way I have found it is by using Artemis. Although accessing from Java would be great, there are great APIs out there, the Artemis connection looks very

Re: [flexcoders] Access TWAIN scanners from Air

2008-01-20 Thread Jeff Tapper
a colleague of mine has written an app to do this with AIR and Artemis and a handful of java classes. its pretty sweet. If used properly, AIR is anything but a joke. At 08:43 PM 1/20/2008, you wrote: Javier de la Torre wrote: Hi all, I would like to access the TWAIN API from an AIR

[flexcoders] Re: Make a loader

2008-01-20 Thread Nick
--- In flexcoders@yahoogroups.com, NileAge, Mail [EMAIL PROTECTED] wrote: Hi all I mean that I want to make a loader like this as u can see in this is but I want it for each label or link I don't see any image, it seems to be pointing to some 'space.gif'. Are you just trying to create a

[flexcoders] Re: rawChildren

2008-01-20 Thread ben.clinkinbeard
rawChildren is where you put things that you don't want the container to measure/size/layout. Items in rawChildren are also not accessible via container.getChildAt() and other methods like that. The best example I can personally give is in the context of flexmdi. To make the windows resizable we

[flexcoders] Hide Track in HSlider Component.

2008-01-20 Thread flexawesome
Hi there, Is there any way to hide the track in HSlider? Something like track.alpha = 0 thank you

Re: [flexcoders] Hide Track in HSlider Component.

2008-01-20 Thread Sherif Abdou
from the looks of it, the methods that create the track are private so you would not be able to access them, i guess the only way would be to copy the entire Slider Class and just manually remove the calls for the track methods but I am no expert. - Original Message From: flexawesome

Re: [flexcoders] Access TWAIN scanners from Air

2008-01-20 Thread shaun
Jeff Tapper wrote: a colleague of mine has written an app to do this with AIR and Artemis and a handful of java classes. its pretty sweet. Good for them. If used properly, AIR is anything but a joke. Properly being the import part of that statement. What you describe above is a hack to

Re: [flexcoders] Hide Track in HSlider Component.

2008-01-20 Thread Sherif Abdou
actually i think you can just create a custom skin and change the trackSkin style so set its alpha, check under mx.skins.halo.SliderTrackSkin so extend the Border class and do your own methods or just override the stuff in the SliderTrackSkin - Original Message From: Sherif Abdou

[flexcoders] Extend HBox's (or HList?) Horizontal scrolling

2008-01-20 Thread mlharrisn
Hi, I'm looking for a little direction. I'm developing a slideshow thumbnail navigation, and instead of using the normal horizontal scroll bars, I'd like to have the thumbs automatically scroll left or right and have the speed of the scroll accelerate as you go toward the outside edges, and slower

Re: [flexcoders] Extend HBox's (or HList?) Horizontal scrolling

2008-01-20 Thread Sherif Abdou
It depends on how many pictures, I read somewhere ( I think the Flex CookBook) that a List does not load all its children automatically only the ones that are visible vs HBox where all the children are loaded up no matter if they are being seen or not. I think you will get better performance

RE: [flexcoders] Access TWAIN scanners from Air

2008-01-20 Thread Tim Ashworth
Hi Shaun, You're absolutely right, use the right tool for the right job. But making a general statement like AIR is a joke is gonna get a response. Just as if you said Flex sucks or Silverlight - that sounds cool ;) tim _ From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Flex and SCORM

2008-01-20 Thread John
Hi there, Has anybody achieved or got any advice on SCORM'ing a Flex package? Thanks in Advance, John

[flexcoders] Simple sprite creation not working

2008-01-20 Thread jrag0n
Hello, When I try to draw a circle on the screen by calling a script that's in the mxml, it works fine: mx:Button label=Button click=createSprite1(); right=10 top=10/ and public function createSprite1():void { var visual:Visual = new Visual(); var ref:UIComponent = new

[flexcoders] PDF Files

2008-01-20 Thread John
Hi there, I would like to be able to launch a pre-produced PDF document from my Flex app, has anybody done this and if so, can you please advise me?