[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" wrote: > > It's not showing up. > > I have a simple html file in src directory (preview.html) > > "http://www.w3.org/TR/xhtml1/DT

[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) http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> It is embedded as a string

[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 ski

[flexcoders] Re: excluding symbols from sub swf

2010-06-05 Thread mattgarland2000
ther using the Flash Builder, Flash, or the new jsfl API. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > -externs option > > > On 6/4/10 6:09 PM, "mattgarland2000" wrote: > > > > > > > In my main swf, I have a (CS4) library item with t

[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. He

[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] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-24 Thread mattgarland2000
ore control, as well as less time-consuming mystery. Thanks all! Matt Garland. --- In flexcoders@yahoogroups.com, "mattgarland2000" 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 co

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

2009-11-20 Thread mattgarland2000
> ReportHorizontalList(this.parent.parent).dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, > outsideCollectionChanged); > > private function outsideCollectionChanged(evt:CollectionEvent):void{ > invalidateDisplayList(); > } > > > > --- In flexcoders@yahoogroups.com, &

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

2009-11-20 Thread mattgarland2000
nd go with that. --- In flexcoders@yahoogroups.com, "mattgarland2000" 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). >

[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 is

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

2009-11-18 Thread mattgarland2000
ui > > From: flexcoders@yahoogroups.com [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

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

2009-11-17 Thread mattgarland2000
> super.commitProperties(); > image.source=testImage; > > } > > > > > > --- In flexcoders@yahoogroups.com, "mattgarland2000" wrote: > > > > > > > > Thanks, that makes sense, but it does not work here, unfortunately. I think

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

2009-11-17 Thread mattgarland2000
ove the setImage into commitProperties and you should be good to go... > > > override protected function commitProperties():void{ > > super.commitProperties(); > > setImage(); > > } > > > --- In flexcoders@yahoogr

[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 loa