Re: [flexcoders] Re: Security sandbox violation

2010-05-26 Thread Alex Harui
If you use relative paths, it might work when local, but I don’t think it will. Don’t test it with SWFLoader, it always converts relative paths to absolute which is guaranteed to be blocked when local. On 5/25/10 3:48 PM, Richard Rodseth rrods...@gmail.com wrote: Sorry :) That seems to

Re: [flexcoders] DataGrid ItemRenderer Problem

2010-05-26 Thread Alex Harui
Try outerDocument On 5/25/10 10:16 PM, jmfillman jmfill...@verizon.net wrote: I have an itemRenderer: mx:DataGridColumn headerText= dataField=remove width=20 mx:itemRenderer fx:Component mx:Image source=assets/Remove-32.png height=20 width=20 useHandCursor=true buttonMode=true

Re: [flexcoders] Re: how to adjust mouse wheel scrolling for custom itemrender?

2010-05-26 Thread dorkie dork from dorktown
where are you adding this? can you supply more details? On Mon, May 24, 2010 at 8:27 AM, valdhor valdhorli...@embarqmail.comwrote: private function onMouseWheelEvent(event:MouseEvent):void { event.delta += event.delta 0 ? -50 : 50; }

[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread itaid1
If you mean mouseEnabled=true (lowercase 'm', with quotations marks around the boolean value) as shown below, then, it doesn't make it work, otherwise please explain where to put 'MouseEnabled=true'. s:Label id=labelDisplay left=5

[flexcoders] Skins in FB4

2010-05-26 Thread Shabir Gilkar
Hi All, How to use theme created in Flash CS4 in FB4? I have created my project theme but i dont know how to export it to mak it usable in FB4. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com URL:

[flexcoders] Re: Data grid vary column sizes

2010-05-26 Thread valdhor
I never found any examples on the web. I am trying to do this now and have my own strategy which may or may not be the best. In my case, my Data Grid has a max of around 30 rows - I don't think my strategy would work for large data sets. So, what I am thinking is to use a mono-spaced embedded

Re: [flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread Fotis Chatzinikos
in flex 3 the hand curson needs mouseChildren = false not true... Not sure if it applies to spark thought... give it a try On Wed, May 26, 2010 at 11:07 AM, itaid1 ita...@yahoo.com wrote: If you mean mouseEnabled=true (lowercase 'm', with quotations marks around the boolean value) as shown

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-26 Thread valdhor
Basically, yes. What I do is iterate over all the children in the current view (myModule.getChildren). Depending on the type of object, I run different code. For example, if the object is a datagrid I grab the dataprovider and search that. If it's a text field, it is way easier. It can get

[flexcoders] Re: Security sandbox violation

2010-05-26 Thread valdhor
Why not just keep networking on and access the local file with a local URL? mx:HttpService url=test.xml ... --- In flexcoders@yahoogroups.com, Richard Rodseth rrods...@... wrote: Thanks. That's good to know about. It seems, though, that one has to choose between allowing local access or

[flexcoders] Re: ItemRenderer factories, on the fly resetting

2010-05-26 Thread valdhor
Wow, Amy. This is the first time I have seen you top post. Have you been assimilated? (Resistance was futile) --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: Check out TileList_withStyle. http://flexdiary.blogspot.com/2008/08/tilelist-with-stylefunction.html. I think this

[flexcoders] Re: Flash Player Detection / ServerSide

2010-05-26 Thread valdhor
I don't use SOAP directly from Flex - I use AMF calls to PHP and PHP to call the Web Service. I can detect an AMF call at the server from the Content-Type header (application/x-amf). --- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote: Does anyone have any knowledge

[flexcoders] Re: Custom keyboard navigation on AdvancedDataGrid

2010-05-26 Thread valdhor
Try: switch(event.keyCode) { case KeyBoard.RIGHT: myADG.horizontalScrollPosition += 1; break; case KeyBoard.LEFT: myADG.horizontalScrollPosition -= 1; break; } http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGridBas\

[flexcoders] Re: how to adjust mouse wheel scrolling for custom itemrender?

2010-05-26 Thread valdhor
In my application I have a applicationControlBar at the top of the screen and a space to load different modules below. In a module that needs a faster scroll speed, I add an event listener in the init handler... private function onInit():void {

[flexcoders] Re: Custom keyboard navigation on AdvancedDataGrid

2010-05-26 Thread Paul
That is basically what I came up with for the solution last night. Thank you! dataGrid.addEventListener(KeyboardEvent.KEY_DOWN, myKeyDownHandler); function myKeyDownHandler(event:KeyboardEvent):void { var position:Number; if (event.keyCode == Keyboard.RIGHT) { position =

[flexcoders] Update Insert via DataServices

2010-05-26 Thread Stephen
If I have list a table in a datagrid using data services in flex 4 how do I update insert or delete in that datagrid/table. Usually I use HTTPServices so have a array collection to work with but there is no array collection this time. all i have is an obj:Object containing the insert or update

Re: [flexcoders] Update Insert via DataServices

2010-05-26 Thread Evan Klein
You would use the dataservice.addItem() and dataService.deleteItem() methods. Then, if autoCommit=true is not on you'll need to do a dataService.commit() to send these transactions to the server. You'll need this - LCDS Manual:

[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread Amy
try mouseChildren=false. --- In flexcoders@yahoogroups.com, itaid1 ita...@... wrote: Hi I'm using this inside a spark skin class, but the mouse does not change when hovering over the control. Tnx -Itai s:Label id=labelDisplay left=5 fontSize=16

[flexcoders] Re: Data grid vary column sizes

2010-05-26 Thread stephen_anson
following link looks like what you need. Another variation is to use TextMetrics to figure out the size of the text. hth cheers Steve Anson http://groups.google.com/group/flex_india/browse_thread/thread/7b546ff1cf7f94b8?pli=1 --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

[flexcoders] Intuitive search UI ideas?

2010-05-26 Thread Nick Middleweek
Hi, I was wondering if anyone has done any good search UI components? I'm about to start one for a project but I'm raising questions early about the handling of date/ numeric ranges and perhaps multiple ranges of fields values. Our normal search panels are generally just a bunch of fields that

[flexcoders] Re: Data grid vary column sizes

2010-05-26 Thread valdhor
Ok, got it working the way I want. I decided to use Letter Gothic Line font from http://www.fontparade.com/index.php?page=themecat=29 as it looked better (To my eye) than Monaco. At the same time as I send my request for data to the server from Flex, I also send a request for Column Names And

[flexcoders] Big surprise! 4-

2010-05-26 Thread Jon Santos
Dear friend, How are you doing recently? One of my Japanese friend recommended me a website(snnsn.com),there they have all kinds of electronic products,such as computers,phones,cameras,TVs and so on,they have very good quality and competative prices,I just bought a sony computer,they have a

Re: [flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-26 Thread Baz
valdhor, are you going to open source your solution :) :) :) :) :) On Wed, May 26, 2010 at 6:01 AM, valdhor valdhorli...@embarqmail.comwrote: Basically, yes. What I do is iterate over all the children in the current view (myModule.getChildren). Depending on the type of object, I run

Re: [flexcoders] Re: Security sandbox violation

2010-05-26 Thread Richard Rodseth
That's how I started I out and will most likely end up. But getting the error while debugging (which has since gone away) and reading the responses here indicated it shouldn't work. On Wed, May 26, 2010 at 6:06 AM, valdhor valdhorli...@embarqmail.comwrote: Why not just keep networking on and

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-26 Thread valdhor
I would but I would need to break everything out and make it more generic. At the moment, I don't have the time. Someday, I will. --- In flexcoders@yahoogroups.com, Baz li...@... wrote: valdhor, are you going to open source your solution :) :) :) :) :) On Wed, May 26, 2010 at 6:01 AM,

[flexcoders] draw an arc

2010-05-26 Thread Mark
I need to draw an animated arc in Flex. So I have 2 points and the arc needs to draw over a period of about 1.5 seconds or so. I can't even find a good demo for Flash, let alone Flex. Does anyone know how to go about doing this? Thanks, Mark

Re: [flexcoders] draw an arc

2010-05-26 Thread Jake Churchill
I've seen it done before where the arc is not technically smooth but it's a bunch of connected straight lines in very short increments (like 4 lines per degree). The math is a total pain. If you end up doing something like that, get ready to re-learn geometry and trigonometry. Flex 4 has

Re: [flexcoders] draw an arc

2010-05-26 Thread Oleg Sivokon
package examples { import flash.display.Graphics; import flash.display.Sprite; import flash.events.Event; [SWF(width=320, height=320, backgroundColor=0x00, frameRate=31)] /** * Spiral example. * @author wvxvw */ public class Main extends Sprite { private var _angle:Number = 0; private var

Re: [flexcoders] draw an arc

2010-05-26 Thread gabriel montagné
For a more Flexy approach, check this out, http://gist.github.com/414884 Which uses, http://github.com/mamapitufo/pistacho/blob/master/src/com/mamapitufo/display/Shapes.as This one fills the wedge, but you can not do the beginFill / endFill and instead configure a lineStyle and moveTo / lineTo

[flexcoders] Re: Duplicate Session Detected Error

2010-05-26 Thread Dharmendra
Gregor, thanks for the reply.what is the best way to tacle this issue without affecting the funcnality. --- In flexcoders@yahoogroups.com, Gregor Kiddie gregor.kid...@... wrote: It's to get round a session based issue. If you roll BlazeDS back to 3.0.0.544, you'll get the version

[flexcoders] Re: Update Insert via DataServices

2010-05-26 Thread Stephen
So is this built into Flex Builder 4 or do I have to download something else? --- In flexcoders@yahoogroups.com, Evan Klein e...@... wrote: You would use the dataservice.addItem() and dataService.deleteItem() methods. Then, if autoCommit=true is not on you'll need to do a dataService.commit()

[flexcoders] How greedy/lazy is the GC?

2010-05-26 Thread rinogo2
Hi, all! I've noticed some odd behavior with my flex/flash applications - it seems that as program execution continues, the flash runtime requires increasingly more memory, even if memory leaks are theoretically eliminated. An example in one of my applications can be observed here:

Re: [flexcoders] Re: Update Insert via DataServices

2010-05-26 Thread Evan Klein
No, Flex does not have DataService out of the box. It is part of LiveCycle DataServices. On Wed, May 26, 2010 at 7:37 PM, Stephen sd_br...@ntlworld.com wrote: So is this built into Flex Builder 4 or do I have to download something else? --- In flexcoders@yahoogroups.com

Re: [flexcoders] How greedy/lazy is the GC?

2010-05-26 Thread Alex Harui
GC is lazy/opportunistic and doesn’t always collect everything. If you have time read the various posts on my blog dealing with memory leaks and memory management. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui On 5/26/10 4:46 PM, rinogo2 warpr...@warproof.com

[flexcoders] Re: How to show a hand cursor when mouse over a s:Label control ?

2010-05-26 Thread itaid1
Nope, doesn't work. s:Label id=labelDisplay left=5 fontSize=16 fontWeight=bold styleName.up=upStyle styleName.over=overStyle styleName.down=downStyle

[flexcoders] Problem building a very large AIR file

2010-05-26 Thread kevinmacdonald98126
We are building an educational product that is very rich in media. The entire product includes almost 25,000 files totally 600MB. Ideally, we want to bundle all this content with the AIR application into one big AIR file so that we can use Adobe's side-car installers for both Windows and Mac.

[flexcoders] AIR file size limitation

2010-05-26 Thread kevinmacdonald98126
After encountering problems with our 600MB application I came across this post http://forums.adobe.com/message/820311, indicating that there is an unresolved problem with large AIR files. I was able to package and sign my application into a single AIR file, but it fails to install with the same