RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Soenke Rohde
Are you using modules? This looks like an ApplicationDomain problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Freitag, 2. November 2007 12:18 To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex is quite

[flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
Another strange error from flex: TypeError: Error #1034: Type Coercion failed: cannot convert mx.charts.series.items::[EMAIL PROTECTED] to mx.charts.series.items.PieSeriesItem. at mx.charts.renderers::WedgeItemRenderer/set

[flexcoders] Re: Integrate ANT script with the Flex Builder debug (F11) key [bump]

2007-11-02 Thread superabe superabe
On 11/1/07, superabe superabe [EMAIL PROTECTED] wrote: I use ant buildfiles for my Flex projects. A typical application would usually involve an ant script that builds a few lib swcs and then finally builds the swf. I'd like to integrate this as part of the Flex Builder IDE, meaning when I

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Soenke Rohde
Ok, and do you use modules? Did you try a clean in FB? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Freitag, 2. November 2007 13:07 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex is quite flakey

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Soenke Rohde
What do you mean by I've loaded my application again? Did you reload a module or did you refresh the browser? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Freitag, 2. November 2007 12:29 To:

[flexcoders] Help--Volume Control

2007-11-02 Thread stephen ...
hi..hw to control volume using Hslider...explain with som examples... regards stephen __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[flexcoders] Flex/ActionScript wrapper for Pownce API

2007-11-02 Thread kaiser.marco
Hi all, there is a wrapper for the new Pownce API http://blog.pownce.com/2007/10/30/pownce-public-api/ available. This is an alpha release, so work on it is still needed, but it should already be able to handle most of the request options. Read more about the wrapper here http:// .

[flexcoders] Q: Issues generating AS proxy classes from WSDL

2007-11-02 Thread Adam Bradley
I'm having trouble Importing a Web Service using the WSDL wizard. I've followed the recommendations in http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72catid=651threadid=1303339highlight_key=ykeyword1=WSDL but still am unable to generated the Proxy code I need. The WSDL

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
I was simply assigning some XML to a pie chart. I've loaded my application again and the error hasn't occurred - I have no idea why it popped up once?! Thanks, Mark From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sunil Bannur

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Decoursey
I mean FlexBuilder on windows is eclipse 3.1 and subclipse requires 3.2. On Nov 2, 2007, at 9:13 AM, Samuel R. Neff wrote: What do you mean Subclipse doesn't work with Flex Builder? Our whole team uses Flex Builder and Subclipse without problems (some use FB standalone, some use plugin

[flexcoders] Charting: adjust y-axis range automatically when changing x-axis range

2007-11-02 Thread imjackson84
Hi, I have a stock market line chart with a CategoryAxis (representing dates) along the bottom and a LinearAxis up the side. My chart has the option of adjusting the date range, which is done by switching the category data provider for the x-axis, but keeping the actual line series data provider

RE: [flexcoders] Re: Prevent Mouse events

2007-11-02 Thread Alex Harui
We do this by setting a flag when we dispatch the faked event so the blocking handler doesn't block. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of workmichal Sent: Friday, November 02, 2007 7:47 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Flex 2.0.1: Calling all Flex Masters for this interesting printing format issue

2007-11-02 Thread handitan
Does anyone have any ideas/suggestions to tackle this printing issue? I hope my explanation was clear enough. Thank you for reading. --- In flexcoders@yahoogroups.com, handitan [EMAIL PROTECTED] wrote: I have been trying to solve this issue for days but still couldn't find the right

[flexcoders] Re: Q: Issues generating AS proxy classes from WSDL

2007-11-02 Thread Peter Farland
Forgetting about Flex for a moment, I first tried loading your WSDL using Eclipse WTP 1.5.5 (based on Eclipse 3.2.2)'s Web Service Explorer and it reported 100s of errors and warnings. I'd independently try to use Axis's WSDL2Java tool first to see if that can generate Java proxy stubs for this

Re: [flexcoders] Submit Flex Applications

2007-11-02 Thread Aly Sidi
Hi Dave, Its not prime time yet, but its a Sports Management application with a facebook twist. Everything from League Management with Mapping, to Team managementm and Players can upload photos and YouTube Videos. I would be more than happy to set you up with a beta account if you would like to

[flexcoders] Re: Prevent Mouse events

2007-11-02 Thread workmichal
Thanks guys, the idea behind this is to control the app by simply dispatching events. so for example i can initiate drag and drop between grids by dispatching mouse down and mouse move events, however the problem is that when i start moving a mouse than manual events are in conflict with actual

Re: [flexcoders] DisplayObjects Layout problem

2007-11-02 Thread Daniel Freiman
Components are resized by their parents, so even if an object is updated/measured it will not be resized until the parent is updated. I'm not sure what the timing of the parent updating is relative to adding a child. After calling 'addChild()' and before calling 'layoutWindowsHorizontally()' try

RE: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Jim Hayes
Paul, do you have the project | properties | flex compiler | copy non-embedded files into output directory checkbox checked (it's the default) ? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Decoursey Sent: 02 November 2007 13:58 To:

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Booth
You can select the older version of subclipse (1.0.6 I think) to add to FB on windows. I did it a few weeks ago and it works well. On 02/11/2007, Paul Decoursey [EMAIL PROTECTED] wrote: I mean FlexBuilder on windows is eclipse 3.1 and subclipse requires 3.2. On Nov 2, 2007, at 9:13 AM,

[flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread lrdvadersith
ApplicationServiceSoap is my code - it is the class I quoted a few posts earlier. In this case, it is not the first time the class is running, but it is the first time the function is running. It is long (256 lines), but here are what I think are the relevant parts: package

[flexcoders] Is there a way to make the AIR release version show stack traces?

2007-11-02 Thread Andy Goldstein
We have compiled our SWF with -debug=true, but when we package it as an AIR file and install it, we do not see the stack trace window when errors occur, making our application behave unpredictably, and our users are unable to quickly identify the issue. Is it possible to have installed AIR

RE: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Samuel R. Neff
What do you mean Subclipse doesn't work with Flex Builder? Our whole team uses Flex Builder and Subclipse without problems (some use FB standalone, some use plugin version of FB). Sam -- We're Hiring! Seeking a passionate developer to join our team

[flexcoders] Re: Problem with Webservice Introspection Wizard in FB 3 Beta 2

2007-11-02 Thread Randy Martin
After searching the bug database, this is already a bug that has supposedly been fixed, but I guess the fix won't be available until the next beta release. According to the bug report, if you don't select the soap1.1 port, the Finish button is supposed to be disabled, but it's not. I can live

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Decoursey
Ok, send me a disk image of your setup... because I think you are full of it. I've tried it with the plugin, with subclipse, on a mac, on windows, on a toaster (ok I made that one up) and in all cases it copies that directory into the build directory. Why is this not configurable? Paul

Re: [flexcoders] Re: Prevent Mouse events

2007-11-02 Thread Daniel Freiman
This method intercepts right mouse clicks using javascript, so it should be adaptable for left/all mouse clicks. Although I have to agree with Alex, I other than right mouse clicks, I can't think of a situation where this wouldn't be overkill. http://code.google.com/p/custom-context-menu/ - Dan

[flexcoders] DisplayObjects Layout problem

2007-11-02 Thread Daniel
Hey guys, I'm working in an application where I need to layout a bunch of panels called 'windows'. The container of this panels is another panel called 'panelContainer'. I need to layout the windows horizontally, vertically or absolute, depending of the button pressed byt the user. Of course I

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Soenke Rohde
Ok, and that's where you run into an ApplicationDomain problem. Check Alex's blog http://blogs.adobe.com/aharui/2007/03/modules.html and read the part about ApplicationDomain. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Decoursey
Totally unrelated. But good guess. The .svn folder from the html- template is what is being copied. The only way I can see to stop it is to turn off generating the HTML template, but I need the template to be generated, I have support javascripts in it. Paul On Nov 2, 2007, at 9:48 AM,

[flexcoders] Re: Q: Issues generating AS proxy classes from WSDL

2007-11-02 Thread Adam Bradley
--- In flexcoders@yahoogroups.com, Adam Bradley [EMAIL PROTECTED] wrote: I'm having trouble Importing a Web Service using the WSDL wizard. I've followed the recommendations in

RE: [flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread Alex Harui
I don't think I saw where deletApplicationCallback gets assigned. Maybe others have suggestions as to how to do this w/o blind callbacks. Callbacks of type Function lose compile time type checking and can become a pain to manage, but shouldn't be the problem here.

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Alex Harui
It is the fact that wedgeItemRenderer needs to be in the main app or in a shared code module. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Friday, November 02, 2007 6:58 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
Yes, the size has increased, but due to the assets we've embedded the increase isn't too noticeable. I don't think the shared code module is going to be easy to implement because the widgets will be developed by 3rd parties, so if we did that we'd have to add a dependency onto their development.

RE: [flexcoders] Cannot convert Event to ResizeEvent

2007-11-02 Thread Mark Ingram
They're all created in AS. The error hasn't occurred today. I've just put in a fix similar to the WedgeItemRenderer because I think the Resize Event error is due to a widget / SWF loaded into the main app. Thanks, Mark From:

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Decoursey
Subclipse doesn't work with Flex Builder, and I wouldn't use Eclipse for anything else. I'll check it out though. I do think all these suggestions are nice, but they all just ignore the real problem, there is an issue with FlexBuilder and it should be resolved, not worked around. Paul

RE: [flexcoders] Re: Flex 2.0.1: Calling all Flex Masters for this interesting printing format issue

2007-11-02 Thread Alex Harui
The recommended practice is to define the fontSize on the column and not the label. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of handitan Sent: Friday, November 02, 2007 8:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
That's great, thanks Alex. For future group reference, here is some code I have in the main App file: // FIX: For 'Cannot convert IStroke to Stroke' import mx.graphics.IStroke; private var dummy1:IStroke; // FIX: For 'Cannot convert PieSeriesItem to PieSeriesItem' import

Re: [flexcoders] Help--Volume Control

2007-11-02 Thread Edward Yakop
hi..hw to control volume using Hslider...explain with som examples... Actionscript? or mxml? If it's in actionscript. [code] _volumeSlider = new HSlider(); _volumeSlider.minimum = 0; _volumeSlider.maximum = 100; _volumeSlider.snapInterval = 5; _volumeSlider.liveDragging = true;

RE: [flexcoders] Cannot convert Event to ResizeEvent

2007-11-02 Thread Alex Harui
It might be that if you set up those listeners in MXML, it is generating the wrong code. Can you make a mini-test case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent: Friday, November 02, 2007 2:34 AM To:

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
As in, I've closed the browser then relaunched it via Flex Builder. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Soenke Rohde Sent: 02 November 2007 12:04 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex is quite

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
We don't use modules as such - but we do have widgets - which are Flex applications within the main Flex application. One of the widgets is a charting widget. We simply pass some XML data to the widget and it displays it in a chart of the user's choice. One of which is a pie chart. Sporadically

[flexcoders] Re: Flex is quite flakey (spurious errors!)

2007-11-02 Thread candysmate
Yesterday, while creating a function, my keyboard buffer started operating backwards. I typed :void and it came out as doiv:. This is the second time that I've seen this. I simply closed and reloaded Flex (2.01) and carried on as usual. Had it been halloween it would have really freaked me out!

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Sunil Bannur
Not sure what you are trying to do, but series.items gives you the list of all pieseriesitems in the series. Can you pls. post a code snipped, which is giving this error. Thanks -Sunil From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] how to determine if a component is offscreen in a Canvas?

2007-11-02 Thread Alex Harui
It might be more important when you do this calculation. Flex is an invalidating framework meaning that when you add children, it invalidates the parent container and it is later that the parent container reacts and puts up scrollbars. I would try catching the updateComplete event and then you

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Mark Ingram
Hmm, thanks for the link, I've gone through the presentation and I'm still a little puzzled, I use LocalConnection to simply send the XML string from the main application to the widget. I wait for the complete event to fire from the SWFLoader, then I register for the applicationComplete event to

RE: [flexcoders] Re: Why can't I dispatch a different event from an event handler?

2007-11-02 Thread Mark Ingram
Embarrassingly, yes. Thanks :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: 01 November 2007 18:04 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Why can't I dispatch a different event from an

RE: [flexcoders] Flex is quite flakey (spurious errors!)

2007-11-02 Thread Alex Harui
Right. I don't think it'll fix your resizeEvent prob, but you never know. Now if you look at your main app's swf, it should have grown considerably as it now has a bunch of charting code in it. If you don't like that, then you have to go to a shared code module.

[flexcoders] how to determine if a component is offscreen in a Canvas?

2007-11-02 Thread Brian
I'm using a Canvas where I'm adding components dynamically at absolute positions, which may increase the size of the canvas beyond it's parent container. When this happens, scrollbars are created, as expected and desired. I'm trying to figure out if the component I just added are offscreen, in the

RE: [flexcoders] how to determine if a component is offscreen in a Canvas?

2007-11-02 Thread Mike Krotscheck
I'd probably do it using getBounds and the Rectangle class's comparison methods. var canvasBounds :Rectangle = myCanvas.getBounds(myCanvas.parent); var componentBounds:Rectangle = myComponent.getBounds(myCanvas.parent); and then either if(canvasBounds.contains(componentBounds)) or

Re: [flexcoders] Wrapper .svn copies BUG!

2007-11-02 Thread Paul Decoursey
My FB rejected 1.0.x. I do have it installed on my Mac version and I find that it kind of sucks, but it's not entirely their fault. I cannot use it for the most part because it seems to do everything based on the root repository and I don't have access to that. I only have access to

[flexcoders] Re: Flex 2.0.1: Calling all Flex Masters for this interesting printing format issue

2007-11-02 Thread handitan
Thx Alex! You're the man! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The recommended practice is to define the fontSize on the column and not the label. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] Re: Tree: Removing expand triangle from select nodes

2007-11-02 Thread djdyland
Thanks for your help guys, Adding in a customITreeRenderer seems to fix the problem. It looks like this.. package { import mx.controls.treeClasses.*; import mx.collections.*; public class CustomTreeItemRenderer extends TreeItemRenderer { // Define the

[flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread lrdvadersith
If I comment out the body, I get the same error at the same place. For grins, I also tried renaming the method in case deleteHandler was somehow reserved. Same result. At this point it looks like the ActionScript compiler (or maybe the flash player) reacts differently based on method order, but

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Jim Hayes
Yes, that would be nice! For what I've been doing a synchronous convertToBitmapData(bytes:ByteArray):BitmapData would be really nice as well. If only because using a loader seems a bit wrong when you've already loaded (or otherwise have) a byteArray. I have to admit that I've not actually checked

RE: [flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread Alex Harui
verification occurs just before the call. It looks at the code in the body to make sure it looks reasonable. If you comment out the body, what happens? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lrdvadersith Sent: Friday, November

RE: [flexcoders] Re: Prevent Mouse events

2007-11-02 Thread Alex Harui
If you have an obj that is listening and blocking, you'd set a flag on that obj before dispatching the event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of workmichal Sent: Friday, November 02, 2007 9:09 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] Maximum Image Width able to be displayed

2007-11-02 Thread Greg Giacovelli
Wow that's sort of not cool but great to hear I am not losing my mind. Thanks! :) So what I am doing is basically loading a 15Kpx wide gif or jpg image and using it as a film strip. (Legacy data format that I can't really change) And I am trying to render subsections of that image by sliding it

[flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-02 Thread Aldo Bucchi
woo I just saw the video [1] damn. list... how come I see so little buzz on this!!!?? It is THE biggest thing I have seen so far related to the flash player. Bu, bu, please!!! - is this real? - when should we expect this to hit the street, if ever ( we

[flexcoders] [Mac] Copy and Paste in Camino

2007-11-02 Thread Evan Bellinger
Is anybody else unable to copy and paste text in Camino (on the Mac)? Does anyone know if Camino is even supported? Copy and paste doesn't work for any sort of editable text field (textinput, textarea, etc). It works for FireFox and Safari, but not Camino (using the latest version 1.5.3).

Re: [flexcoders] Maximum Image Width able to be displayed

2007-11-02 Thread Jon Bradley
On Nov 2, 2007, at 3:11 AM, greggiacovelli wrote: Hi, I have been trying to figure out a way around this for a few weeks. It seems there is an undocumented limit of around 8192 px wide images that can be rendered inside of the flash player. Is this an undocumented limitation or is there a way

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Jim Hayes
Oops, sorry, this one makes slightly more sense (first thing in the morning, not even finished my first cuppa...) private var _ldr:Loader private function myTest():void{ //get ByteArray from Image Component content var testBM:Bitmap = testImg.content as Bitmap; var myByte:ByteArray = new

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Jim Hayes
After reading some previous posts, it appears that the best way to convert a byte array into a Bitmap is though the loader class... In my debugging it fails silently, but I get the follow message when I try to look into the vars (Error: Error #2099: The loading object is not sufficiently

RE: [flexcoders] Cannot convert Event to ResizeEvent

2007-11-02 Thread Mark Ingram
Hmm, there are no resize listeners on the system manager. There are a couple listening on the stage, but they all expect an event:Event parameter. Like I say, even when the code bases are the same, it does't work on my computer, but does work on a colleagues. Thanks, Mark

[flexcoders] Charts: Specifying Series Effects in ActionScript

2007-11-02 Thread cuddlygunchi
Hello, I have a LineChart and I would like to use the SeriesSlide effect. If I create my LineSeries in mxml, I can specify the showDataEffect and hideDataEffect for this. mx:LineSeries showDataEffect=.../ However, I create my series dynamically in ActionScript and cannot find the equivalent

[flexcoders] setChildIndex issue

2007-11-02 Thread Daniel
Hey guys... I'm working in a application were I need to let the user set the order of 3 panels using drag and drop. These panels are inside a container. The children of the container are another container that I don't need to do any of this (always in the position 0 of the children array) and the

[flexcoders] Re: FDS ManualSync and AS [Managed] Metadata

2007-11-02 Thread Jeff Glass
I have some questions about manual sync with LCDS 2.5.1. --- In flexcoders@yahoogroups.com, Jeff Vroom [EMAIL PROTECTED] wrote: One other difference is that the refresh fill process - i.e. where the server refreshes fill methods after an insert or update or explicit refreshFill call is made

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Alex Harui
Yeah, things are working, but really there should be a loadBytes() API on mx:Image/SWFLoader to save you a step. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Friday, November 02, 2007 3:16 AM To:

[flexcoders] Re: Flex/ActionScript wrapper for Pownce API

2007-11-02 Thread kaiser.marco
Oops, the Rich Text Editor screwed up the link. Here is the link again to the Pownce API wrapper: http://blog.makesoft.de/2007/11/powncelib-actionscript-3-library-for-pownce/ Sorry... --- In flexcoders@yahoogroups.com, kaiser.marco [EMAIL PROTECTED] wrote: Hi all, there is a wrapper for

RE: [flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread Alex Harui
Yes, could be bug in the compiler. Can you turn this into a small test case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lrdvadersith Sent: Friday, November 02, 2007 10:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

[flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread lrdvadersith
deleteApplicationCallback is injected by the user of the service, but my hunch is that it isn't a problem because the deleteHandler never gets called. The verify error appears to be happening when Flex is trying to make the call to the deleteHandler - if I put a breakpoint inside the function, it

Re: [flexcoders] Maximum Image Width able to be displayed

2007-11-02 Thread Jon Bradley
On Nov 2, 2007, at 12:30 PM, Greg Giacovelli wrote: So what it seems is going on is that it renders the image, clips it, and then displays the visible region and applies a mask over the rest. However the render fails so the rest of the steps are just wasted cycles. I have a fix to just

[flexcoders] Re: Prevent Mouse events

2007-11-02 Thread workmichal
Thanks Alex, but I dont't understand. Are you setting a flag on the event? I think that setting a flag in user code will not stop the stage from listening to mouse move event or mouse move event from dispatching. Can you please clarify? For example, i am dispatching mouse move event like this:

RE: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-02 Thread Mark Ingram
Quake in Flash. Quite awesome :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: 02 November 2007 16:30 To: flexcoders@yahoogroups.com Subject: [flexcoders] Aha... did someone say C/C++ to AS3???

[flexcoders] mx:Text - how to get number of lines of text?

2007-11-02 Thread Paul Booth
Hi, I have an mx:Text control and I want to know the length of the last line. I can do this with the following: var metrics:TextLineMetrics = myTextControl.getLineMetrics (indexOfLastLine); Trouble is, I don't the right value for 'indexOfLastLine' because I don't know how many lines there are

[flexcoders] Maximum Image Width able to be displayed

2007-11-02 Thread greggiacovelli
Hi, I have been trying to figure out a way around this for a few weeks. It seems there is an undocumented limit of around 8192 px wide images that can be rendered inside of the flash player. Is this an undocumented limitation or is there a way to get around it? Basically the player just renders

Re: [flexcoders] Maximum Image Width able to be displayed

2007-11-02 Thread Daniel Freiman
The 8191px limit has been confirmed. The 2880 limit is on instantiating BitmapData objects, but the player allows for the existence of BitmapData objects larger than 2880. So if you can get the player to create a BitmapData object for you that is larger than 2880 then you're in the clear. I'm

[flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread lrdvadersith
I'm not sure I could. On the one hand, I can make an entry point to the Soap class that doesn't need the classes above it, but on the other, this problem happens on the return of a web service. If I strip out the Web Service, the handler code wouldn't be called in the same way. Steve --- In

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-02 Thread Jon Bradley
On Nov 2, 2007, at 12:30 PM, Aldo Bucchi wrote: It is THE biggest thing I have seen so far related to the flash player. It's cool, no doubt. There are questionable elements to that demonstration. Although it was primarily running in the Player, it's likely that the actual rendering was

RE: [flexcoders] mx:Text - how to get number of lines of text?

2007-11-02 Thread Alex Harui
That's not an exposed API. Probably worth filing a bug as your not the first to ask for it. For now, subclass Text and get to the underlying TextField From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Booth Sent: Friday,

RE: [flexcoders] Re: Tree: Removing expand triangle from select nodes

2007-11-02 Thread Alex Harui
isBranch didn't work? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djdyland Sent: Friday, November 02, 2007 10:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tree: Removing expand triangle from select nodes Thanks

[flexcoders] moving a LinkBar

2007-11-02 Thread Ric Aruffo
I have a LinkBar that I need to move from the bottom of the screen to the top of the screen when the user clicks on one of the items in the LinkBar. Then once it gets to where it's going, disable the move effect so that it doesn't get repeated when the user clicks another item in the same

[flexcoders] how to refer to Flex components in ActionScript?

2007-11-02 Thread Brian
There is a section of the Flex 2 Developer's Guide (- Using Flex Programming Language - Using ActionScript - Working with Flex components - Referring to Flex components ) that talks about referring to flex components via the id of that component. The example given uses inline script, but it states

Re: [flexcoders] how to refer to Flex components in ActionScript?

2007-11-02 Thread Scott Melby
Brian - If you have your components nested within other components (like a VBox, HBox, etc.) then I believe you would have to get to them through their parent. For example: myview.mxml mx:Panel id=myTopPanel mx:TextField id=myTextField ... myview.as { ... var

[flexcoders] conflicts resolution for flex data service and hibernate

2007-11-02 Thread ggyao2005
I have two classes, Survey and Question. Both of them have version attribute. Class Survey reference a collection of Question. When I add new Question object into the collection reference in Survey, then I commit. e.g. surveyServiceervice.fill(surveys, survey.all, []); var survey:Survey =

RE: [flexcoders] AMFPHP Flex 3 Beta

2007-11-02 Thread Kevin Aebig
Well I've exposed a dump of the actionscript object easily enough that's being returned and the object in PHP is just a result from a MySQL query. I can get at the data currently, but if you notice down below, there aren't any named references for the columns, which make it nearly impossible

RE: [flexcoders] Re: VerifyError: Error #1025: An invalid register 5 was accessed.

2007-11-02 Thread Alex Harui
Can you make the site available to me? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lrdvadersith Sent: Friday, November 02, 2007 11:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: VerifyError: Error #1025: An invalid

RE: [flexcoders] AMFPHP Flex 3 Beta

2007-11-02 Thread Samuel R. Neff
ah, that's the format the old Flash Recordset class used so it makes sense that AMFPHP would use the same format. Fluorine provides support for both that style and for ArrayCollection of Object instances which is more Flex friendly. My suggestion would be to create a Recordset implementation

RE: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-02 Thread Matt Chotin
The demo was on a custom Flash Player but my understanding of the only real change is that he made some performance improvements in our ByteArray class (that we can hopefully incorporate into a future release). As part of the demo I believe the sound was not actually coming out of the Player, but

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-02 Thread Jon Bradley
On Nov 2, 2007, at 4:27 PM, Matt Chotin wrote: The demo was on a custom Flash Player but my understanding of the only real change is that he made some performance improvements in our ByteArray class (that we can hopefully incorporate into a future release). As part of the demo I believe

[flexcoders] Why is mouseOut being called?

2007-11-02 Thread dbronk
I have a very basic Canvas. It has a VBox that holds some text and then under that is a HBox that holds some other test. The canvas has both mouseOver and mouseOut events defined. I also tried rollOver and rollOut and get the exact same thing. When I move my cursor in between the text lines in

[flexcoders] Function to generate TitleWindows

2007-11-02 Thread George Georgiou
Hi there, I have this simple function that is used in my application to generate a TitleWindow. private function loadAddCustomerForm():void { var form:addCustomer=addCustomer(PopUpManager.createPopUp( this, addCustomer , true)); var dx:Number = (mainPanel.width - form.width)/2; var

RE: [flexcoders] AMFPHP Flex 3 Beta

2007-11-02 Thread Kevin Aebig
You and me both. Thanks a lot for your help. I'm going to look into whether or not I've set up AMFPHP properly, as well as contact some of the develops to see if perhaps I can hack away at the source to return back something more useful. Wrapping the results is still on the chopping block though.

[flexcoders] disable buttons with icons

2007-11-02 Thread George Georgiou
Hi there, I have a form with a 'Save' button. I have also placed an icon with this button using the 'icon='/assets/save.gif' attribute. By default I have this button disabled and I enable it only when validation returns success. This works great! However, I have noticed that although the button

Re: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Kevin
Thanks for all your help on this. To answer your question Alex, no we are not using JPEGEncoder in our app, that was just to do a test that could easily get us the ByteArray data that we know is a valid image. I will try the listener approach. I guess I thought that wouldn't be needed

RE: [flexcoders] Why is mouseOut being called?

2007-11-02 Thread Deepa Subramaniam
Mouse events bubble. Tou're seeing mouseOver/mouseOut events from the HBoxes, VBoxes, UITextFields, etc that are children of the Canvas. You can determine if the Canvas is the display object processing the event by querying the currentTarget property on the event object. -Original

[flexcoders] Stream upload directly back to server

2007-11-02 Thread Kevin
Since it is not possible to upload data directly into the client without going through a server, I am wondering if it would be possible to have our servlet directly stream the data back to Flex and grab it with the UPLOAD_COMPLETE_DATA event. On the Java end we are trying something like

RE: [flexcoders] Convert ByteArray to Bitmap

2007-11-02 Thread Alex Harui
Please file a bug at bugs.adobe.com/jira so we can see if we can squeeze loadBytes onto SWFLoader before 3.0 closes down. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Friday, November 02, 2007 3:10 PM To:

RE: [flexcoders] disable buttons with icons

2007-11-02 Thread Alex Harui
Set disabledIcon=... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of George Georgiou Sent: Friday, November 02, 2007 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] disable buttons with icons Hi there, I have a form

RE: [flexcoders] moving a LinkBar

2007-11-02 Thread Deepa Subramaniam
Use a boolean flag to track whether the LinkBar has already received its first click (in which case play the move effect) or not. private var clickedOnce:Boolean = false; private function handleClick(event:ItemClickEvent):void { if (!clickedOnce) {

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-02 Thread Aldo Bucchi
Jon, Well, I am leaving the cool factor away, but it is still cool. Honestly, I don't really care about porting quake or any other super pop tech... neither sound nor graphics rendering software. Porting the ranking system of a bw version of pacman is already scary enough! As you point out,

[flexcoders] Repeaters and ListCollectionViews

2007-11-02 Thread simonjpalmer
Is it possible to use a ListCollectionView as the dataProvider for a Repeater? I think the answer is no because I can't get it to work, but I wanted to make sure that it is not just me writing buggy code. Thanks Simon

  1   2   >