Re: [flexcoders] Re: I just ran software update on Mac OS X, now FB cannot locate the debugger

2008-10-21 Thread Troy Gilbert
it actually runs MyApp.swf?debug=true isnt it supposed to be MyApp-debug.swf ? In Flex Builder 3, both SWFs have the same name but debug includes ?debug=true. Troy.

Re: [flexcoders] I just ran software update on Mac OS X, now FB cannot locate the debugger

2008-10-21 Thread Troy Gilbert
I just ran Software Update, and I am not sure what updates occured, but I believe Firefox might have. No, it's whenever iTunes updates. They use Safari + Flash plug-in for browsing the iTunes Store. Whenever iTunes updates it forcibly updates the Flash player (bad updater!). Very frustrating.

Re: [flexcoders] Re: I just ran software update on Mac OS X, now FB cannot locate the debugger

2008-10-21 Thread Troy Gilbert
3) I installed Flash Player 10, and I am getting that error, as well I've not been able to find a link to a debug Flash Player 10... a blog I saw suggested that Flash Player 10 is both regular and debug, but I kinda doubt it (since there's a reference to a debug player for CS4). I'm guessing we

Re: [flexcoders] Re: Every second time I debug my app, Flex closes Safari :(

2008-10-15 Thread Troy Gilbert
FB on OSX has a lot of drawbacks - on win, the help gets its own window (so it doesn't get killed by the debugging), syntax colouring works better, images actually appear in design mode all the time, it builds a lot faster (iMac in BC spanks my mac pro in OSX), the text editor doesn't lag

Re: [flexcoders] Re: Efficiency and objects in the display list

2008-10-15 Thread Troy Gilbert
I've also tried making the components UIComponent based instead of using Canvas (as I believe it's a little more lightweight) but it doesn't seem to make a huge difference. I'd have one UIComponent-derived object (Canvas would be fine) as the parent, and have your 50-60 dynamic objects be

Re: [flexcoders] Re: Every second time I debug my app, Flex closes Safari :(

2008-10-15 Thread Troy Gilbert
It would be really nice to have FlexBuilder truly cross-platform. Eclipse itself seems to do it reasonably well. You know, if someone ported FlashDevelop to OSX/Linux, it would really put the pressure on Adobe to improve their game. Also, I never use FB as a plug-in to Eclipse. But if I did,

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-30 Thread Troy Gilbert
Ah, interesting. This seems related, but different. I was just setting URLRequest.data to a ByteArray directly. In your case, if I understand application/x-www-form-urlencoded correctly, then zero bytes should just be replaced with %00. Have you filed a bug? I'd like to add that to my Adobe

Re: [flexcoders] Loading images fron cache ?

2008-09-30 Thread Troy Gilbert
Does the URLLoader or URLStreamLoader be able to extract the image directly from cache , when images are in cache with expires date in the future ? When the Flash Player is running in the browser it uses the browser's network stack for all HTTP requests. So, it's up to the browser whether or

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Troy Gilbert
The byte array seems to be truncated to the location of that byte. In general, any ByteArray sent as a data property payload of a URLRequest seems to be truncated to the location of the first zero byte. I've confirmed this by checking the Content-Length header of the POST request (in fact, if

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Troy Gilbert
We're also working around this by Base64-encoding, but this is clearly less than ideal. It definitely seems like a Flash Player bug. We ran into this when doing AlivePDF REMOTE saves (i.e., bouncing the file off the server). Do you know when you ran into this, Troy? I tested our particular

Re: [flexcoders] Programming 101: event target

2008-09-24 Thread Troy Gilbert
I am just wondering why, in ActionScript, the subject of an event is called a target? Is it kind of counter intuitive? In Java, it is called source, which sounds much more understandable to me. Best I can figure is it came from some events like mouse clicks which are targets, but that's

[flexcoders] Flex Builder Help on Mac falls a bit short

2008-09-11 Thread Troy Gilbert
I began using Flex Builder under Windows (v2) and found the context-sensitive help, like in all good IDEs, a lifesaver. Under FB/Win, if I put the cursor under an API function and hit F2, the help would take me right to the function. And, the help was launched in its own app/process. Finally, when

Re: [flexcoders] Jigsaw Puzzle Component

2008-09-05 Thread Troy Gilbert
Hi! Im trying to build a jigsaw but Im not very successfull. What I tried to do was to load a Bitmap and then use BitmapData and FlexSprite. Unfortunelly the way I was using (Graphics API), didn't worked, so, I would like to ask a few sugestions about it. Thanks in advance I can't find a

Re: [flexcoders] Drawing shapes with holes and applyng them as mask in AS3

2008-08-29 Thread Troy Gilbert
I need to draw a shape with a hole, and need to apply it as a mask to an image. Im doing this with Flex. The hole in the mask is dynamically created, thats why Im not using flash to draw a movieclip as my mask. I guess the follow-up you posted answers your question, but wanted to throw in

Re: [flexcoders] Re: Drawing shapes with holes and applyng them as mask in AS3

2008-08-29 Thread Troy Gilbert
It works until you apply it as a mask... It must work as a mask because that's exactly how I use it in my code, to cut a circle out a box. What results do you get when you use it as a mask? Troy.

Re: [flexcoders] Button Rounded Corners TL, BR

2008-08-26 Thread Troy Gilbert
There's no style for that. You can create your own skin. And Flexlib includes an EnhancedButtonSkin that does exactly this (plus tons of other things): http://code.google.com/p/flexlib/ Troy.

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-26 Thread Troy Gilbert
I'm a bit confused by those telling the original poster to go complain to Eclipse... Flex Builder is not free. If there's a bug in Flex Builder, even if it relates to something Adobe didn't develop, Adobe is certainly responsible for the bugs because they took our money for an application with a

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-26 Thread Troy Gilbert
I'm a bit confused by those telling the original poster to go complain to Eclipse... It sounds to me like you aren't confused, you just disagree. :-) Touche... Troy.

Re: [flexcoders] No Scroll Bar in Browser

2008-08-26 Thread Troy Gilbert
No comment on the wisdom of the default setting. I agree. I think it's much more appropriate to have your Flex app scroll with the browser's scroll bars than with a built-in Flex scroll bar (for full-app scrolling). It's not only a faster/smoother scrolling experience, it's more in-line with

Re: [flexcoders] Get all class definitions in a loaded swf ?

2008-08-26 Thread Troy Gilbert
There is no way to find out the classes in a SWF (not without a lot of work). Really? That's very disappointing. The information is there (the Player finds it, obviously), and is *far* easier for the Player to grab than whatever hoops I'd have to jump through... kinda feels like a hole that

Re: [flexcoders] Get all class definitions in a loaded swf ?

2008-08-26 Thread Troy Gilbert
I think it will always be more efficient to do the legwork and put descriptions in the SWFs. Introspection/Reflection APIs generally aren't fast. Reflection APIs generally aren't fast because they're written in the same language (or run in the same machine, virtual or otherwise) as the code

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-14 Thread Troy Gilbert
It may not be an EcmaScript4 implementation, but that's just semantics. ES4 is becoming Harmony, which is a new project with a unified working group, but it is the continuation of what we know as ES4. So, if it makes you feel better, think of AS3 as an early preview of Harmony! ;-) Troy.

Re: [flexcoders] Re: Observing collections

2008-08-14 Thread Troy Gilbert
To repeat what someone said earlier, this exact issue is already addressed quite cleanly by the aforementioned Observe tag (and it's more advanced version ObserveValue). I think the Observe/ObserveValue tags are easily useful enough that their inclusion in BindingUtils (or wherever mx:Binding is

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-14 Thread Troy Gilbert
This is not true. Much of ES4, things like packages and lots of other stuff is going away. Sorry, wasn't aware of that. I guess that makes since, though, since Crockford's focus seems to be on the script focus of JavaScript and less on developing it as a large scale language (hence the removal

Re: [flexcoders] Re: Observing collections

2008-08-14 Thread Troy Gilbert
I don't believe either of them would call a function when the contents of a collection changes (as opposed to the collection itself). The modification Dennis offered would. Sorry, completely missed the point, didn't I? ;-) You're right, what you're looking for would be useful as well! ;-) I'll

Re: [flexcoders] The end of ActionScript 3 as an EcmaScript 4 implementation

2008-08-14 Thread Troy Gilbert
To me #4 the idea that classes work the old way is also a big deal, though exactly what that means I am not entirely sure. AS3 changed its class model in what I think was a good way. I'd hate to go back. I think Harmony is a move in the right direction for moving forward JavaScript (I agree

Re: [flexcoders] Re: Observing collections

2008-08-14 Thread Troy Gilbert
I'm fascinated by what makes sense declaratively, and what doesn't. Flex is a great playground for the two styles. That's exactly why I (and likely you) found the AS3-based event handler method distasteful (from your original post): you're forced to do something best expressed declaratively in

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Troy Gilbert
Check out BulkLoader: http://code.google.com/p/bulk-loader/ It's designed for doing exactly this, as well as handling a lot of other common cases (like loading SWF, images, etc. and automatically returning the DisplayObject, etc.). It includes accumulated progress information, etc. Pretty

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Troy Gilbert
You need to call collectionData.refresh() when the data property changes for the itemRenderer. One way to do it would be: I always wonder what's the best practice for this. I would think that collections would have this built into them... why would one want to put a filter function on a

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Troy Gilbert
In theory, if you have [Bindable] or [Managed] items in the collection, or call itemUpdated appropriately, you do not need to call refresh() again when an item's properties change. I was wondering about the binding of the ArrayCollection itself, not the elements it contains (which works as

Re: [flexcoders] Re: Anyone have a good resource on singletons?

2008-07-21 Thread Troy Gilbert
I'm trying to find information on using singletons in AS3/Flex. I've got an .AS file set up but I'm having issues calling the data/functions within that function in other classes. Does anyone have a good resource on the web for creating and using singletons? As others have probably pointed

Re: [flexcoders] Customizing TreeItemRenderer

2008-07-10 Thread Troy Gilbert
So, is TreeItemRenderer really that much of a black art? Has no one done any interesting modifications of that component? Maybe a good indicator that it's a hard to customize component? Maybe this would be a good opportunity for a solid Adobe tut on the subject... Troy.

Re: [flexcoders] Why are icons typed as Classes and not just class factories?

2008-07-09 Thread Troy Gilbert
Factories came late to the party and we couldn't retrofit everything. One of the things we wish we could do-over. Understood. Anyone done the dirty work of allowing dynamic classes to be created? Seems like it'd be entirely doable by generating the bytecode for a class, giving it a unique

Re: [flexcoders] Using Flex as a Flash IDE

2008-06-13 Thread Troy Gilbert
To all those suggesting FlashDevelop... yes, if I were using Windows I'd be using it, no doubt. But I'm on a Mac. I've been using TextMate and love its editing, but miss code-completion and automatic imports, etc. Troy. On Thu, Jun 12, 2008 at 9:32 PM, Fajar S [EMAIL PROTECTED] wrote: if you

Re: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Troy Gilbert
I'm not sure if it applies in this case, but TileList definitely has some bugs in its measuring and layout code (or at least did in Flex 2 -- not sure if they fixed it). In particular, when calculating its preferred width it basically does (itemRenderer.width + horizontalGap) * numColumns. That's

Re: [flexcoders] Re: Flex Credit Card Processing

2008-06-13 Thread Troy Gilbert
Flex using HTTPS is as secure (and is equivalent) to an HTML page using HTTPS. So, if you're basically creating the equivalent of an HTML FORM in Flex, then it's perfectly suite (and is equivalent as far as the backend is concerned) to doing the same thing in HTML. So, for example, if you use

Re: [flexcoders] Re: Using Flex as a Flash IDE

2008-06-13 Thread Troy Gilbert
Is there any documentation on how to use [FlashDevelop] with Flex? I couldn't find any. Google flashdevelop flex... there's plenty of unofficial documentation. Also search the flashdevelop.org website/forum and you'll find plenty of discussion on it as well. Troy.

Re: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Troy Gilbert
I couldn't find a horizontalGap property on TileList, and trying to manually add a tag when the code hinting said no just resulted in a compiler error. Sorry, strike all my FUD about TileList... I was think of Tile (which I was using inside of a scrollable container to get a smooth, fractional

Re: [flexcoders] Thinking about going to the dark side....Apple Mac Book

2008-06-04 Thread Troy Gilbert
How many Flex developers here are using a Mac for development? I, too, was a diehard MS guy (not a fanboy, just used many of their products) up until I got a MBP in June 2006 (first generation with Intel chips). I used Parallels because many of my tools were Windows licenses -- actually, it was

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-06-03 Thread Troy Gilbert
It sounds very heroic. I'll keep and eye out for further enlightenment. Is this forum a philosophical debate or a support list for a technology? Come on, Paul... bothered by Scott's presence? Come on, we're writing webapps, not planning federal monetary policy or surgical regimens. There are no

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-31 Thread Troy Gilbert
Overreacting maybe, but not silly. Microsoft has many years of playing nicely ahead of them before they get benefit of the doubt. We don't have to give MS the benefit of the doubt... just Scott. And over the last year or so, I've not seen anything from Scott that would suggest we should give

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-30 Thread Troy Gilbert
Just for a moment I thought this was the flex coders forum rather than an extension of the MS marketing effort.. Okay, be nice, it's on-topic... the thread had lead to a question of whether it was possible to develop in Silverlight for free (in the same way its possible to develop in Flex for

Re: [flexcoders] The High Score Problem

2008-05-29 Thread Troy Gilbert
This has been debated *eternally* in game circles since the advent of networked games, and I've followed these discussions for at least the last decade. The conclusion is always the same and is not disputable: in a broad-based, open competition (such as a web-based game for prizes, e.g. a casino

Re: [flexcoders] The High Score Problem

2008-05-29 Thread Troy Gilbert
don't use SWFEncrypt on the scoring SWF until right before you send it to the user and have SWFEncrypt use a different seed value for its obfuscation; this ensures that the SWF's checksum (or any other fingerprinting the user could do on the SWF) can't be used to detect repeats in the

Re: [flexcoders] The different between generial Flex 3 and Flex 3 Profesional?

2008-05-28 Thread Troy Gilbert
I believe it has a 'non compete' clause, but we're not looking to use a single platform solution regardless of cost. It may, it may not. Doesn't really matter, though. If you made a product that competes with an MS product then realistically you can afford to pay $150 to purchase a commercial

Re: [flexcoders] Dictionary bug

2008-05-28 Thread Troy Gilbert
XML read/write is much slower than access of other class instances. If you're going to do lots of reading and writing, I would consider converting the XML data to object data. As an aside, is there any reason why Adobe hasn't provided API for serializing to/from XML and typed-objects? This

Re: [flexcoders] Dictionary bug

2008-05-28 Thread Troy Gilbert
Dammit, why didn't I think of strings to one-entry dictionaries? Genius! Alex, that's why you're the judge, and I'm the law.. talking.. guy :) Collecting the empty dictionaries would be a pretty simple job to do on a timer using something similar to your background thread code too. I think

Re: [flexcoders] Dictionary bug

2008-05-28 Thread Troy Gilbert
We have mx.rpc.SimpleXMLDecoder, and some undocumented decoders as well. But those just convert to/from generic objects, right? I'm talking about typed objects (for best performance). All the examples I see with SimpleXMLDecoder go to/from generic objects. I'd actually be cool with code

Re: [flexcoders] The High Score Problem

2008-05-28 Thread Troy Gilbert
Take a screenshot with the score and base-encode it, take a digest (signature) of the whole of it with the score plus some 'secret sauce' as a seed value and then send the lot of it to your server and re-run the process to see if what you received is valid. To add an extra hurdle – you could

Re: [flexcoders] Re: unable to bind to property warnings binding to read-only properties

2008-05-20 Thread Troy Gilbert
We don't recommend putting curly braces around the values of event attributes like creationComplete... that makes it look like databinding even though it isn't. And to finish Gordon's thought: event attributes are already interpreted by the compiler as AS code, not values, so they're

Re: [flexcoders] Re: Custom Cursors causing slowdown

2008-04-25 Thread Troy Gilbert
Just getting back to this, would you recommend upping the framerate on the application then or just put up with the slow cursors. I'm just conscious that upping the framerate will up the CPU usage slightly with Flex but I haven't seen much research into how much difference it will make.

Re: [flexcoders] Bindable metadata too smart for its own good!

2008-04-25 Thread Troy Gilbert
[Bindable(someEvent)] then you can control what happens inside the setter. Ah, so if specify the event name, then bindable truly is just metadata, no code-generation, right? That sounds like the info I was looking for... Troy.

Re: [flexcoders] Bindable metadata too smart for its own good!

2008-04-25 Thread Troy Gilbert
Ah, so if specify the event name, then bindable truly is just metadata, no code-generation, right? That sounds like the info I was looking for... Which leads me to think, what exactly is bindable doing for me at that point? If I'm firing the event (and thus creating it), is the metadata

Re: [flexcoders] Bindable metadata too smart for its own good!

2008-04-25 Thread Troy Gilbert
In that case, the bindable(someEvent') tells the binding code which event to listen for before updating anything depending on that property. Gotcha. Good to know about the code generation. Here's a question for ya: If you let Flex fill-in all the binding code (if you don't specify an event

Re: [flexcoders] Event.MOUSE_MOVE poor performer

2008-04-22 Thread Troy Gilbert
Why is Event.MOUSE_MOVE such a poor performer when trying to get a sprite follow the mouse? Can you provide some more details on what poor performance you're seeing? Is the event not firing often enough? Is it not firing when you think it should be? How are you trying to get your sprite to

Re: [flexcoders] flashvars issues

2008-04-19 Thread Troy Gilbert
It seems to keep dying, any ideas? Where does it die? Have you stepped through the code in a debugger? Does it successfully connect and then fail, or does an exception get thrown prior to that? Its much easier for you to see the problem on your end when you step through the debugger. A few

Re: [flexcoders] Re: Custom Cursors causing slowdown

2008-04-16 Thread Troy Gilbert
On that thought I was just wondering if it was possible to use the ExternalInterface to do this? By maybe setting a classname on the Flash object via JavaScript... hm Already tried that (there's another thread where I raise this issue). The Flash Player dictates it's own cursor and CSS

Re: [flexcoders] Letting parents handle drag events

2008-04-16 Thread Troy Gilbert
Is there a reason you can't use capture phase listeners? I definitely can, and that's the solution I'm going to use. It just didn't occur to me because: a) I was working in MXML and was just attaching listeners using attributes. b) DragEvent inherits from MouseEvent, which to me at least,

Re: [flexcoders] Passing query vars to debug url?

2008-04-16 Thread Troy Gilbert
Go menu, Run, Run, Other. Select the app you want to work with. Uncheck UseDefault, and add your parameters to the Debug line. Apply, then debug. I remembered that dialog right after I posted... and made the changes exactly as you described. Thanks. I would like a way to have multiple

Re: [flexcoders] Re: Custom Cursors causing slowdown

2008-04-16 Thread Troy Gilbert
Here's a gallery of the default cursors for Windows (IE Firefox) for the various CSS properties: Yeah, I've seen that one and various others. But they're screen captures from actual apps, and I don't know what the legal issues may be (however minor). For now, I just grabbed the ones Adobe

Re: [flexcoders] Re: graphics object seems to degrade performance

2008-04-15 Thread Troy Gilbert
I am wondering, though, if I would get this for free if I used DisplayObject and the built- in drag events. I am also wondering, if I am saving that much in terms of memory and speed, by rolling my own as it were. If you make each draggable item (each shape) its own DisplayObject then

Re: [flexcoders] Re: MVC - Philosophical question

2008-04-15 Thread Troy Gilbert
I you're talking more generically about the Model of MVC, I do not agree. If your URL is an *implementation* detail of your service (which they are in most cases), then it should be part of your service layer and *not* part of the model. If your URL is a user-centric piece of data, i.e. a

Re: [flexcoders] Custom Cursors causing slowdown

2008-04-15 Thread Troy Gilbert
I wondered if anyone else had experienced similar issues? What you're seeing is your app's actual framerate. Nothing is going slower. Here's why... If you don't specify any custom cursors, Flash just uses the OS's cursor and let's the OS do its standard thing of drawing it (which all modern

Re: [flexcoders] Re: MVC - Philosophical question

2008-04-15 Thread Troy Gilbert
I've always viewed the service layer as part of the model. It exposes model functionality through an API. I don't know if its right or wrong, but I tend to adhere more to a MVCS style of architecture, or even Model-Presentation-Service architecture. I could certainly see the view that the

Re: [flexcoders] Letting parents handle drag events

2008-04-15 Thread Troy Gilbert
Troy - drag events are dispatched to what _you_ attach them to. If you want the event to spawn from a child - but be handled by the parent... you should override addChild in the parent and attach the listener there. Your handler will be in the parent and each child will announce whatever

Re: [flexcoders] Letting parents handle drag events

2008-04-14 Thread Troy Gilbert
So… are you _not_ using the dragSource, dragInitiator or draggedItem provided by your drag/drop events? I would recommend that first before you try to get list items to dispatch events… Uhm, I think you're missing my question. I'm trying to use all of those things, but I can't because I'm not

Re: [flexcoders] Storing object hierarchies in shared objects

2008-04-12 Thread Troy Gilbert
- When serializing an object to the SharedObject, is the whole object hierarchy traversed? For example, if I have a model that stores a ParentObject which has an array of ChildObjects, and I stick the ParentObject in the SharedObject, when I retrieve it will I get back the ParentObject

Re: [flexcoders] Drop anywhere to remove

2008-04-07 Thread Troy Gilbert
that's what I was afraid of - anyone know of any other ways around it? You'll have to create a new DragProxy class to change this behavior. To do this, you'll need to monkey patch (google it, you'll find it) the framework's DragProxy class. Once you do that, you can change the logic it uses for

Re: [flexcoders] Re: Export release build copying PHP files

2008-04-04 Thread Troy Gilbert
None of Builder is open source. So, Adobe folks... can someone tell me specifically what parameters are being passed to the compiler for a release build? I'm guess debug=false and optimize=true, anything else? Troy.

Re: [flexcoders] Re: Changing a property inside of commitProperties?

2008-04-04 Thread Troy Gilbert
Things done in commitProperties() are generally wrapped in a check to make sure the underlying data has changed since last time. So in your myCustomData setter you would set the value of _myCustomData and also set _myCustomDataChanged = true. Then in commitProperties() you would do

Re: [flexcoders] Changing a property inside of commitProperties?

2008-04-04 Thread Troy Gilbert
Why not just have the setter for myCustomData simply set 'label' and other properties rather than doing this in commitProperties()? Yeah, I could definitely do that... I was more interested in doing things the right way, at least in line with convention, and my impression of the convention

Re: [flexcoders] Re: Changing a property inside of commitProperties?

2008-04-04 Thread Troy Gilbert
Setting a label repeatedly could cause performance issues as remeasuring a textbox is said to be fairly expensive. Sure, but the label property already performs this optimization for me, hence why I was simply setting the property instead of tracking a dirty flag. Troy.

Re: [flexcoders] Export release build copying PHP files

2008-04-03 Thread Troy Gilbert
Did you log a bug yet ? What was the number ? Dmitri did: https://bugs.adobe.com/jira/browse/FB-12306 Troy.

Re: [flexcoders] Re: Export release build copying PHP files

2008-04-03 Thread Troy Gilbert
I think that I know why it is happening - when I do the Export release build this smart thing also copies ./php directory from bin-debug. If you look through the bugs related to Export Release Version (the component your bug is filed under) you'll see one from the beta period (from an internal

Re: [flexcoders] Export release build copying PHP files

2008-04-02 Thread Troy Gilbert
*contents* ?!? Not the files themselves ? That's very weird. You're telling me. And its not all files, it's only PHP files. Didn't someone* suggest that you should deploy to a sub-dir (like webroot/bin/) to prevent this happening again ? Yeah, but my point is the bug, not whether or not I

Re: [flexcoders] Re: Flex3: MXML file diffing is slow as a dog

2008-04-01 Thread Troy Gilbert
While comparing mxml files Flex3 just kills itself - 50% CPU usage, takes about 30 seconds to compare 700 lines of code. It didn't happen in Flex2. I've been experiencing the same thing, when comparing with repository *or* local history files. All documents less than a 1000 lines and it

Re: [flexcoders] Export release build copying PHP files

2008-04-01 Thread Troy Gilbert
This makes me so F*ING MAD! Flex Builder has once again *trashed* my webroot with its helpful copying about of PHP files. All of my PHP files are empty now... which, unsurprisingly, completely breaks everything on my development machine. Sure, I can sync back up with the test servers, but I've got

Re: [flexcoders] Re: Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-28 Thread Troy Gilbert
I just encountered the issue again, and went through the process of deleting all the build stuff manually, caches, etc., and nothing helped. So this time I tried flushing the browser cache (actually, disabling it with Firefox extension Web Developer). That worked, it was a browser cache issue.

Re: [flexcoders] Re: graphics object seems to degrade performance

2008-03-28 Thread Troy Gilbert
Are you suggesting I choose a point in time, for instance, when 500 vectors are drawn, then convert them, encode as png file, overlay as another child image, clear the graphics object and let user continue scribbling on newly cleared graphics object?. Reading through this thread reminded

Re: [flexcoders] Re: HitTest - Sprite and Shape

2008-03-27 Thread Troy Gilbert
To clarify this a bit... It's the root Sprite (the one at the top of the DisplayObject hierarchy) that doesn't receive mouse events. Wait... so, the stage receives mouse events, but the root Sprite (which is a child of the stage, right?) (your main class in an AS3 project) does not receive

Re: [flexcoders] Flex Builder 3 OS X - debugger hangs on launch

2008-03-12 Thread Troy Gilbert
I've encountered a really annoying quirk in FB3 on OSX... often, when I choose to debug my project FB hangs at 61% for a minute or so before finally launching the browser (Firefox) and connecting the debugger. I've narrowed it down to putting my laptop to sleep (hibernate, deep sleep) causes

Re: [flexcoders] Re: Strange Flex Builder 3 Plug in behaviour: ctrl-click / F3 broken

2008-03-11 Thread Troy Gilbert
I had a similar problem where I had the Ctrl-Space functionality go wonky on me. It seems I'd just had Flex Builder open too long. When I closed and reopened it, the problem went away. Now I make sure I don't keep FB open more than a few hours at a time. I've experienced the same thing

Re: [flexcoders] FileReference.browse sometimes takes minutes for dialog to open

2008-03-11 Thread Troy Gilbert
In debugging, I have the same issue on my Dell Laptop (WinXP), but not as bad. It normally only take 5 to 10 seconds for the dialog to open on my machine and this seems to only happen during debugging, which is what I wrote it off as… This is on a machine that doesn't have the debug player

Re: [flexcoders] Global keyboard capture?

2008-03-05 Thread Troy Gilbert
stage.focus = null; However, the FocusManager may fight to put the focus somewhere. Ah, yes... I remember using that as my original attempt to fix this last year... I put a stage.focus = null in my enterFrame event handler and the FocusManager continually grabbed it back from me. Yeah, I

Re: [flexcoders] Global keyboard capture?

2008-03-05 Thread Troy Gilbert
This is why Rick's suggestion of both a capture and non-capture phase listener on stage is correct. Which is what I was doing originally, as per the source code in my first post. If a display object has the focus, then is removed from the stage, does it automatically lose the focus (I would

Re: [flexcoders] Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread Troy Gilbert
I clean, shut down Flex Builder, manually go and clear all the cache files from my workspace's '.plugin' folder, rebuild... no good. Ah, I didn't clear *all* the caches... I left one, the searchCaches... which I thought was related to searching the help files or used for quickly jumping

Re: [flexcoders] Re: Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread Troy Gilbert
Did you check whether or not: Menu: Project --- build Automatically is checked? Like I said, I've been developing with Flex for the last 18 months... I'm very aware of build automatically, clean and all of their implications. It's definitely a bug in the caches... Troy.

Re: [flexcoders] Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Troy Gilbert
F*CK! Even though the folder was definitely a linked folder (little icon and all), even though FB just told me it wasn't going to touch my file system, it deleted the contents of my document root. Zap. Instantly. And it didn't move it the trash like a decent human being, it just nuked it

Re: [flexcoders] Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Troy Gilbert
Wow, it really nuked the file system... I'm running on OSX, and my htdocs folder (document root that got nuked) had all its permissions reset to No Access (even though my user account is still the owner/group). Wow, just wow. Okay, FB... forgive me for getting upset. I've had a bad day.

Re: [flexcoders] Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Troy Gilbert
Well… now we know not to keep our development and production versions in the same place. And moving stuff to the trash is a feature of whatever operating system you're using, Linux or Windows or Mac. Any decent programming language will actually *delete* stuff you tell it to. I personally

Re: [flexcoders] Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Troy Gilbert
However, I think there is a reason for FB to change file permissions. I keep the output-bin folder in source control so it is easier to deploy to our internal servers. Usually I keep the compiled files checked out but sometimes forget. If FB did not clear the read-only attribute on the

Re: [flexcoders] Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Troy Gilbert
If you can please file a bug with a test project and detailed steps as to how to reproduce we can certainly take a look. Write back here with the bug number and maybe other folks who are seeing similar issues can vote on it to make sure we're aware of how much impact this is having on folks.

Re: [flexcoders] Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Troy Gilbert
Ah, my bad then. However, I assume you're not using version control software of any kind then. I most certainly am using version control with my source code. The web stuff is developed by an external group and I don't (routinely) access their source control, so it wasn't a quick, easy option

Re: [flexcoders] Global keyboard capture?

2008-03-04 Thread Troy Gilbert
For Flex, use systemManager instead of stage from what i was told and the capture. no idea on combo sorry Doesn't make a difference. The stage should be as low-level as it gets... shouldn't all keyboard events pass through the stage in either the capture or bubble phase? Maybe I'm missing

Re: [flexcoders] Global keyboard capture?

2008-03-04 Thread Troy Gilbert
Keep in mind that something must broadcast the event. a TextInput will broadcast a keyboard event. A container or Application will not. Keyboard events are broadcast by the player. I'm looking to grab (or look at) all of them. It shouldn't be dependent on anyone broadcasting them. Troy.

Re: [flexcoders] Global keyboard capture?

2008-03-04 Thread Troy Gilbert
So – in reality… your implementation may determine which is better to use. But I do have something for you that might help. If you are having problems with the capture/bubbling/target phases you probably need to add two listeners as… You should've read all the way back to my original post...

Re: [flexcoders] Autocomplete in FlexBuilder 3

2008-02-29 Thread Troy Gilbert
guess your project isn't built betwen the save of classA and the edits in classB ? Autocomplete should still work within the same project. If the classes are in two different projects, the autocomplete only shows up once the other project is built. Troy.

Re: [flexcoders] Re: Flex Application Size = 71KB

2008-02-29 Thread Troy Gilbert
William hit the nail directly on the head by what he said. Simple , light applications should be built in Flash, while more complex applications should be created in Flex. And to be clear, because people often muddy this, there's Flex the Framework and there's Flex the Compiler (or mxmlc, or

Re: [flexcoders] Flex Builder 3 vs SDK and Charting

2008-02-27 Thread Troy Gilbert
It states that the Flex 3 SDK has more charting capabilities than the Flex Builder 3. I came across with the same impression. AFAIK, the Flex SDK and Flex Builder 3 Standard have the same capabilities (since Flex Builder 3 Standard uses the SDK!), and I believe Flex Builder 3 Pro has some

Re: [flexcoders] Re: HTTP Methods

2008-02-25 Thread Troy Gilbert
Hum... so it does work with the normal HTTPService without using a proxy? Nope, not at all. If you want the full HTTP verb set you've got to use a proxy. Flash Player only speaks GET and POST, due to legacy issues where browsers used to only speak GET and POST (and some still do as far as I

  1   2   3   >