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
:
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
=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
[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
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
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
).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
, 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
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...
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.
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
...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
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
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
14 matches
Mail list logo