[flexcoders] FlashPaper in SWFLoader

2006-10-25 Thread Nick Collins
I'm having problems loading a FlashPaper document into a SWFLoader. It loads just fine, but the scaling isn't as I'd like it. Instead of scaling like it does when you load it into a browser window, where the controls stay the same height and just the viewing area scales, the FlashPaper

Re: [flexcoders] FlashPaper in SWFLoader

2006-10-25 Thread Darron J. Schall
If you're using Flex 1.5, use the FlashPaperLoader class from Matt Chotin: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=117 If you're using Flex 2, it's a lot trickier. Normally, you resize the FlashPaper.swf by using the FlashPaper API [1], and just calling the

Re: [flexcoders] FlashPaper in SWFLoader

2006-10-25 Thread Nick Collins
Yeah, I did something similar to that but ran into problems with it loading multiple instances of that flashpaper loader swf where it kinda crapped out, so I was looking for a way to just load in the Flashpaper swfs (cfreport generated) directly. On 10/25/06, Darron J. Schall [EMAIL PROTECTED]

Re: [flexcoders] FlashPaper in SWFLoader

2006-10-25 Thread Darron J. Schall
The solution I used was to just create a unique id when you want to load a FlashPaper.swf, and pass that value to the loader. The AVM1/AVM2 communication channels then use that specific id so that you can load multiple isntances of them without interfering with each other. As and aside, we're