I have a project where I have draw vectors in a new layer.
When I run the swf the stage layer always appears on top. How can I get the vector layer to appear on top?
Plus I have a problem in moving the stage layer to an exact position.
This is the code I have for the images on layer 1
regards
F
1. //image container
2. var thisThumb:Sprit e = new Sprite();
3. //add image
4. thisThumb.x=1;
5. thisThumb.y=400 ;
6. var ldr:Loader = new Loader();
7. //ldr.x=1; this is what I want
8. //ldr.y=640;
9. var urlReq:URLReque st = new URLRequest(this One.src);
10. trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);
11. ldr.load(urlReq );
12. //assign event listeners for Loader
13. ldr.contentLoad erInfo.addEvent Listener(Event. COMPLETE, completeHandler );
14. ldr.contentLoad erInfo.addEvent Listener(IOErro rEvent.IO_ERROR , errorHandler);
15. thisThumb.addCh ild(ldr);
16. thisOne.addChil d(thisThumb);
When I run the swf the stage layer always appears on top. How can I get the vector layer to appear on top?
Plus I have a problem in moving the stage layer to an exact position.
This is the code I have for the images on layer 1
regards
F
1. //image container
2. var thisThumb:Sprit e = new Sprite();
3. //add image
4. thisThumb.x=1;
5. thisThumb.y=400 ;
6. var ldr:Loader = new Loader();
7. //ldr.x=1; this is what I want
8. //ldr.y=640;
9. var urlReq:URLReque st = new URLRequest(this One.src);
10. trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);
11. ldr.load(urlReq );
12. //assign event listeners for Loader
13. ldr.contentLoad erInfo.addEvent Listener(Event. COMPLETE, completeHandler );
14. ldr.contentLoad erInfo.addEvent Listener(IOErro rEvent.IO_ERROR , errorHandler);
15. thisThumb.addCh ild(ldr);
16. thisOne.addChil d(thisThumb);
Comment