RE: [flexcoders] Re: Modules and RSLs Which is Better for Large Database application

2009-04-10 Thread Gregor Kiddie
You want to read up on the following articles http://livedocs.adobe.com/flex/3/html/help.html?content=modular_2.html http://livedocs.adobe.com/flex/3/html/help.html?content=modular_2.html http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_1.htm l

[flexcoders] Re: Cairngorm Question

2009-04-10 Thread nathanpdaniel
Wrap your head around the idea that the model controls the view. Even the data portions. You should bind your combo box dataprovider to the model property storing that data (from server based on combo box 1 selection). Why you don't need cairngorm for enabling? You can just set you're 2nd

[flexcoders] Re: Tile will automaticly scroll to make component full visible

2009-04-10 Thread rockorgames
hmm forget it, now that i stopped to think about it with a little calm i managed to it.. im so stupid for not realizing something so idiot lol --- In flexcoders@yahoogroups.com, rockorgames eguilhe...@... wrote: hm.. suppose i have a tile like this: mx:Tile height=171 width=205 x=0 y=0

[flexcoders] Re: repeater error that i dont understand

2009-04-10 Thread stinasius
not sure what you are saying. try making it a little more understandable

[flexcoders] Re: Marshall Plan: Loading images from byteArray

2009-04-10 Thread rob_mcmichael
Your code didn't match the description. How so? I changed the names of the swfs, but other than that, that is the error I am getting when trying to load the bytearray of a PNG using a swf loader? I'd take the bitmapdata, write it to a bytearray, pass the bytearray across shared events,

[flexcoders] Re: Need help processing XML into Flex app

2009-04-10 Thread Jim
Tracy, With the children approach, I get: Error #1009: Cannot access a property or method of a null object reference. Could this be due to the fact that there are multiple Roles nodes and not just one, so that Roles isn't really a parent node except to one specific child? That is:

[flexcoders] flex chart problem

2009-04-10 Thread Vikram Singh
chart having dynamic Yaxis and Xaxis range. max range is get from database. problem is if max. Yaxis is small like(3,2,1), it will display in decimal sequence. (1, 1.2, 1.4, 1.6, 1.8, 2, 2.2like) want to display only pure numbers in charts. I have tried many things but not get it. Is there

[flexcoders] Suggestion to enable adobe TV to be more effective

2009-04-10 Thread Brad Bueche
I may just be showing my ignorance here (and, if so, please point that out to me). 1) Enable the video's to be downloaded. 2) Enable them to be downloaded as podcasts. I would imagine that a great many people do not have the ability/infrastructure/funds to be connected all the time. [Yes,

[flexcoders] Re: Suggestion to enable adobe TV to be more effective

2009-04-10 Thread valdhor
And a note for the developer... I go to tv.adobe.com using Windows XP, Firefox 3.0.8 and Flash 9.0.124 debug. I then click on the word Flex in the top right and get this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] Re: Cairngorm Question

2009-04-10 Thread Kusunam, Srinivas
Nathan Claudieu, Thanks for the response. After I posted my question I started reading and thinking how to correct this and came up with the same idea Nathan suggested. I started refactoring everything and so far it is going great. On Apr 10, 2009, at 3:46 AM, nathanpdaniel

[flexcoders] embedding mapquest location

2009-04-10 Thread flexnewbie999
I'm writing a real estate application. I'd like to be able to either look up a location using the address location or save a URL to be passed to MapQuest. Is there a way to embed a MapQuest map in an existing Flex UI component or pop up the MapQuest map in a separate window without leaving the

RE: [flexcoders] flex chart problem

2009-04-10 Thread Jake Churchill
You can set the type of vertical Axis you want to use. The LinearAxis class takes an interval property which might be what you are looking for. Here is an example (take from Adobe’s livedoc examples): http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_08.html

[flexcoders] Re: SQLite:Simultaneous multiple-insert in async mode with a single DB connection?

2009-04-10 Thread Amy
--- In flexcoders@yahoogroups.com, handitan handi...@... wrote: Alright fellas, Spill out the secret. When I do the multiple-insertion simultaneously, those operations just stopped and any new transaction-transaction op request is ignored. My idea so far is to put any new

[flexcoders] TileList with page number

2009-04-10 Thread christophe_jacquelin
Hello, How to make a tile list of images with several pages like a search in Google ? Thank you, Christophe,

Re: [flexcoders] embedding mapquest location

2009-04-10 Thread Brad Bueche
Not sure how tied you are to mapquest but yahoo has an AS3 API to their maps. There is also a 2 (going to be 4) part series in Flex Authority magazine on how to work with it. brad On Thu, Apr 9, 2009 at 6:48 PM, flexnewbie999 vgp...@gmail.com wrote: I'm writing a real estate application.

[flexcoders] cannot load data from http://localhost:37813 ???

2009-04-10 Thread flexaustin
I am making a simple HTTPService call sometimes it works and sometimes it doesn't work. When it doesn't work I get this error: Error #2048: Security sandbox violation: http://rocketship:9675/flash/netmap.swf cannot load data from

[flexcoders] http://localhost:37813 crossdomain needed????

2009-04-10 Thread flexaustin
I am making a simple HTTPService call sometimes it works and sometimes it doesn't work. When it doesn't work I get this error: Error #2048: Security sandbox violation: http://rocketship:9675/flash/netmap.swf cannot load data from

RE: [flexcoders] Re: Marshall Plan: Loading images from byteArray

2009-04-10 Thread Alex Harui
You didn't saw you were stringifying the bytearray. Made me wonder if you'd posted the right code or described your steps correctly. Did you try my steps? If they work, it would save you a few hops. An image is a Bitmap so converting to ByteArray should be single method calls and not a lot

[flexcoders] Re: Need help processing XML into Flex app

2009-04-10 Thread Jim
Tracy, I got it! It turns out that Roles are returned as an array, since the Roles node repeats. So this did it: protected function displayRoles (item:Object, column:DataGridColumn):String { roleList = ; for (i = 0; i item.Roles.length; i++) { roleList = roleList +

Re: [flexcoders] Re: Create XML List by code

2009-04-10 Thread thomas parquier
I think you can get an xml object from your xmllist and then use XML methods, most of them returns xmllist. thomas 2009/4/10 lehaianh1986 lehaianh1...@yahoo.com No, I can't use static string. Depend on my data, I will use regexp to sort and classify items to some groups (like example I

Re: [flexcoders] Re: Suggestion to enable adobe TV to be more effective

2009-04-10 Thread Matt Chotin
Hi folks, I'll forward these to the team. Matt On 4/10/09 6:14 AM, valdhor valdhorli...@embarqmail.com wrote: And a note for the developer... I go to tv.adobe.com using Windows XP, Firefox 3.0.8 and Flash 9.0.124 debug. I then click on the word Flex in the top right and get this error:

[flexcoders] Re: TileList with page number

2009-04-10 Thread Tim Hoff
Hi Christophe, You can figure out how many tiles are in a page by multiplying the colomnCount by the RowCount. Take this number and divide the dataProvider's length by it, to determine the number of pages. You may have to adjust this number; based on the remainder (see mod). From these

Re: [flexcoders] Re: Suggestion to enable adobe TV to be more effective

2009-04-10 Thread Matt Chotin
Also got a note back that they'll look at the errors, but a redesign is also in process that will make the site more standards-based and eliminate many of the usability problems. Matt On 4/10/09 10:12 AM, Matthew Chotin mcho...@adobe.com wrote: Hi folks, I'll forward these to the team.

[flexcoders] Datagrid Goofy Problem cannot select rows

2009-04-10 Thread timgerr
Hello all, I am creating a message board forum and I am using the datagrid to show message topics. I add a new topic, via flex text input box, it gets sent to a PHP Weborb back end and the datagrid will then be updated. So lets say I do not have any topics, I will add the first one, I can

[flexcoders] Re: Marshall Plan: Loading images from byteArray

2009-04-10 Thread rob_mcmichael
You didn't saw you were stringifying the bytearray. Made me wonder if you'd posted the right code or described your steps correctly. Oops sorry about that :p Did you try my steps? If they work, it would save you a few hops. An image is a Bitmap so converting to ByteArray should be

Re: [flexcoders] Cant receive socket data

2009-04-10 Thread John Fisher
hmmm. I could easily append some bytes and see what happens, but not 'til Monday when I go back to work. Thanks! Maciek Sakrejda wrote: Interesting. We ran into this issue with URLStream: http://bugs.adobe.com/jira/browse/FP-748 -- maybe your problem is related? Actually, searching Adobe

[flexcoders] Loading remote font swf from local application

2009-04-10 Thread Aaron Hardy
Hey everyone, Here at work we deal a lot with loading in font swfs at runtime using StyleManager.loadStyleDeclarations(). This works fine when we publish our application to the same server as the font swfs, however while debugging the application on our local machine it fails when trying to

[flexcoders] What's your favorite Tip/Trick ?

2009-04-10 Thread Matthew A. Wilson
I've been using .NET for years and recently started developing in Flex. One thing I've noticed (and maybe it's because I'm new) is that I have to write out just about everything. There were so many things in .NET that the IDE would handle for me. Like I could write a function, like DoThis(),

RE: [flexcoders] Loading remote font swf from local application

2009-04-10 Thread Alex Harui
Well, you'd have to call create() on the factory and then maybe call styleDeclarationsChanged on the StyleManagerImpl. Adobe expects developers to have a copy of the server deployment on their local machines. Then, using relative paths in loadStyleDeclarations should work both during local

RE: [flexcoders] Re: Marshall Plan: Loading images from byteArray

2009-04-10 Thread Alex Harui
Thinking about this a bit more, I wouldn't use loadBytes If the main app had mx:Image id=img / The steps to get the byte array should be: Var ba:ByteArray = img.content.bitmapData.getPixels(); On the other side, if you have said byteArray, and the width and height, then it should be: Var

RE: [flexcoders] Datagrid Goofy Problem cannot select rows

2009-04-10 Thread Alex Harui
That sounds like the uid of each item is the same. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr Sent: Friday, April 10, 2009 12:06 PM To:

[flexcoders] Re: Suggestion to enable adobe TV to be more effective

2009-04-10 Thread Nicolas Noben
Brad, I believe some of Adobe TV are already available as podcasts. Look for Adobe under podcasts in iTunes. I found Adobe Developer Connection. cheers nic -- Nicolas Noben P http://noben.org B http://idletogether.com T http://twitter.com/keyle --- In flexcoders@yahoogroups.com, Brad Bueche

[flexcoders] Problem drag and drop

2009-04-10 Thread soulflow132
Hi. I want to use drag and drop from one panel which contains a titlewindow to another panel. What i can do is to deplace it. But what i want to do is to copy it not move it This is my code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

RE: [flexcoders] Re: Create XML List by code

2009-04-10 Thread Tracy Spratt
First, just build XML then use e4x expressions to return the XMLList that you want. “Create the equivalent string…” does not mean “static”. You can dynamically build your string that represents XML, using whatever run-time logic you need, the pass that string to the top-level XML() function,

[flexcoders] Re: Create XML List by code

2009-04-10 Thread lehaianh1986
Thank all of you, now I see how to build each XML element that I want. Hai Anh --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: First, just build XML then use e4x expressions to return the XMLList that you want. Create the equivalent string… does not mean static.

RE: [flexcoders] Re: repeater error that i dont understand

2009-04-10 Thread Tracy Spratt
First, that you need to debug the problem. Second, that debugging bindings is difficult. Third, the solution is to create a custom component that has all the repeated content inside it, and repeat that. Pass the entire 'currentItem into that custom component via a setter. In the setter, assign

RE: [flexcoders] Re: Need help processing XML into Flex app

2009-04-10 Thread Tracy Spratt
Have you solved the namespace issue? Do you understand what I am asking? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jim Sent: Friday, April 10, 2009 8:11 AM To:

RE: [flexcoders] Re: Need help processing XML into Flex app

2009-04-10 Thread Tracy Spratt
Ok, but that is cheating. I do it myself, but just so you know, looping in XML usually means you gave up trying to figure out the right e4x expression. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] What's your favorite Tip/Trick ?

2009-04-10 Thread Tracy Spratt
Cut and Paste inheritance. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Matthew A. Wilson Sent: Friday, April 10, 2009 1:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Datagrid Goofy Problem cannot select rows

2009-04-10 Thread Tracy Spratt
When you add the topic to the ArrayCollection, are you building and adding an object that is identical to the dataProvider items? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of timgerr

RE: [flexcoders] Tile will automaticly scroll to make component full visible

2009-04-10 Thread Tracy Spratt
Yes, I am sure that is doable. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of rockorgames Sent: Thursday, April 09, 2009 10:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: [flexcoders] Loading remote font swf from local application

2009-04-10 Thread Aaron Hardy
That was the ticket! Thanks! Aaron Alex Harui wrote: Well, you’d have to call create() on the factory and then maybe call styleDeclarationsChanged on the StyleManagerImpl. Adobe expects developers to have a copy of the server deployment on their local machines. Then, using relative

re: [flexcoders] Problem drag and drop

2009-04-10 Thread j...@cfwebtools.com
I'm not 100% sure about this but I just ran into an issue where I wanted to set up all my DragManager.acceptDragDrop(UIComponent) in an init function but it refused to work. DragManager only accepted that once something was actually being dragged so the same might be true for your

[flexcoders] Timer error

2009-04-10 Thread markflex2007
I have following statement public var timer:Timer; But I get error message like Constructor functions must be instance methods I do not have idea why.Please help.Thanks Mark