use the image class ffrom the flex framework it will load and display your image
image = new Image(); image.source = http://localhost:5080/SnapShot/user.jpg tileList = new TileList(); tileList.addChild( image ); On Thu, Aug 13, 2009 at 3:20 PM, Varduhi Sargsyan <[email protected]>wrote: > Dear all , > I 'm very new in AS3/flex programing > I have to take some snapshots from video stream , save them as .jpg or > .png files > on red5 server which I have done already .Also they must appear next to > each other on AS3/Flex interface which I have every time I click "take a > snapshot" button. > the following code doesn't work somehow, plz point to the wrong thing > here > > loader=new Loader(); > snapshot=new UIComponent(); > loader.load(new URLRequest("http://localhost:5080/SnapShot/user.jpg")); > this.snapshot.addChild(loader); > this.snapshotCanvas.addChild(snapshot); > > any help will be appreciated, thanks > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > >
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
