[flexcoders] first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
I have a component which breaks up a picture into a tilelist. It works great, except, the first picture does not show up. The renderer is a canvas with an image (subclasses add other images). It grabs the appropriate image from the parent component. (This image is dynamically created from a

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
: Move the setImage into commitProperties and you should be good to go... override protected function commitProperties():void{ super.commitProperties(); setImage(); } --- In flexcoders@yahoogroups.com, mattgarland2000 alias@ wrote: I have

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
=testImage; } --- In flexcoders@yahoogroups.com, mattgarland2000 alias@ wrote: Thanks, that makes sense, but it does not work here, unfortunately. I think I might try to defining some states for the renderer and see if using states takes care of this if it is some weird

[flexcoders] Re: first tile of tilelist does not show up

2009-11-18 Thread mattgarland2000
[mailto:flexcod...@yahoogroups.com] On Behalf Of mattgarland2000 Sent: Tuesday, November 17, 2009 11:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] first tile of tilelist does not show up I have a component which breaks up a picture into a tilelist. It works great, except

[flexcoders] HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread mattgarland2000
I am using a horizontallist as an answer bar in an e-learning app. The designer wants the answer boxes to stretch according to content (all should have the same size, and there is a minimum). This works fine when the dataProvider is set. BUT there is another requirement: after a wrong answer

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread mattgarland2000
with that. --- In flexcoders@yahoogroups.com, mattgarland2000 al...@... wrote: I am using a horizontallist as an answer bar in an e-learning app. The designer wants the answer boxes to stretch according to content (all should have the same size, and there is a minimum). This works fine when the dataProvider

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread mattgarland2000
).dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, outsideCollectionChanged); private function outsideCollectionChanged(evt:CollectionEvent):void{ invalidateDisplayList(); } --- In flexcoders@yahoogroups.com, mattgarland2000 alias@ wrote: I am using a horizontallist as an answer

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-24 Thread mattgarland2000
, as well as less time-consuming mystery. Thanks all! Matt Garland. --- In flexcoders@yahoogroups.com, mattgarland2000 al...@... wrote: I am using a horizontallist as an answer bar in an e-learning app. The designer wants the answer boxes to stretch according to content (all should have the same

[flexcoders] E4x finding virtual leaf nodes

2009-11-24 Thread mattgarland2000
My XML is a series of nested activities. I want to find LEAF activities, that is, activities without activity descendents. Something like this: xml..activity.(descendents('activity').length()==0) But of course that does not work. I've always been unsure about the scope in predicate filter...

[flexcoders] excluding symbols from sub swf

2010-06-04 Thread mattgarland2000
In my main swf, I have a (CS4) library item with the class of Dog. It's just a movie clip with a picture of a dog inside it. In the sub swf, there is a also a dog on the stage. It's necessary that the item in the sub swf be in the library or components panel, because my designer likes dogs.

[flexcoders] Re: excluding symbols from sub swf

2010-06-05 Thread mattgarland2000
Builder, Flash, or the new jsfl API. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: -externs option On 6/4/10 6:09 PM, mattgarland2000 al...@... wrote: In my main swf, I have a (CS4) library item with the class of Dog. It's just a movie clip with a picture

[flexcoders] Best way to load Flash swfs from a network drive into an AIR app...

2011-12-08 Thread mattgarland2000
...given this situation: The Flex/AIR app is an in-house e-learning course editor. It handles course preview by loading a course swf and injecting it with xml. The course swf is AS3 and it operates during preview like it does on the web--it gets an xml manifest, then loads other swfs (smart

[flexcoders] app:/file.swf not being loaded into HTMLLoader (AIR)

2011-12-09 Thread mattgarland2000
It's not showing up. I have a simple html file in src directory (preview.html) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en body div id=flashContent

[flexcoders] Re: app:/file.swf not being loaded into HTMLLoader (AIR)

2011-12-09 Thread mattgarland2000
I had to wait until the load before I added it to the display list...:) --- In flexcoders@yahoogroups.com, mattgarland2000 alias@... wrote: It's not showing up. I have a simple html file in src directory (preview.html) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3