Adobe asked for my code regarding this issue. I have since posted it on my blog. Also, I noticed another post on Adobe forum regarding the 'same' problem...browser crashes when loading swfs w/ swfloader
Take a peek...maybe it's something obvious. http://www.missiondesign.net/yikes/index.cfm/2006/11/22/SWFLoader-Bug-Well-see Thanks, Dallas --- In [email protected], "dallasweb" <[EMAIL PROTECTED]> wrote: > > Maybe this is a possible bug in swfloader component. I've created some > basic(no script) swf8 files and have loaded them dynamically into my > Flex app using swfloader and no crash. > > --- In [email protected], "dallasweb" <dallasweb@> wrote: > > > > Daniel...thanks for the interest. > > > > The content I'm loading are Captivate swf's. > > > > For grins, I just made 5 swf's(Flash 8) with a large image embedded, > > no script, one key frame each with the image. Still managed to crash > > the browser. > > > > --- In [email protected], Daniel Wabyick <daniel@> wrote: > > > > > > > > > Curious what is in the SWF content that you are loading. Is it AS3 > code > > > or AS2 code? > > > > > > Wondering if you try loading completely basic Flash 8 SWF's > without any > > > code if it will still crash. > > > > > > Regards, > > > -Daniel > > > > > > > > > > > > dallasweb wrote: > > > > > > > > Matt..thanks for the reply. I changed the mx:Image tag to > mx:SWFLoader > > > > and while in debug mode I can see it unloading swfs at different > > > > intervals. (wasn't doing that using mx:image) With that change to > > > > swfloader it still crashes the browser. > > > > > > > > If I use mx:image and change the source dynamically, does that > 'load' > > > > the swf...or overwrite it with the newest selection? where only > one is > > > > 'loaded' at a time. > > > > > > > > --- In [email protected] > > > > <mailto:flexcoders%40yahoogroups.com>, "Matt Chotin" <mchotin@> > wrote: > > > > > > > > > > Check to see if you're leaking memory (watch the task manager) > > as you > > > > > click through the movies? Maybe some old movies need to be > unloaded > > > > > explicitly? > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > > > From: [email protected] > > > > <mailto:flexcoders%40yahoogroups.com> > > > > [mailto:[email protected] > > > > <mailto:flexcoders%40yahoogroups.com>] On > > > > > Behalf Of dallasweb > > > > > Sent: Tuesday, November 14, 2006 8:19 AM > > > > > To: [email protected] > <mailto:flexcoders%40yahoogroups.com> > > > > > Subject: [flexcoders] Loading multiple swfs crashing browser > > > > > > > > > > > > > > > > > > > > I really thought this would be easier than it has been. Maybe > it is > > > > > and I just can't see the forest yet....anyway...thanks in > > advance for > > > > > your patience. > > > > > > > > > > I'm attempting to 'replicate' Jesse Wardens Captivate player in > > Flex. > > > > > It's not that I don't like your player Jesse...but our users can't > > > > > seem to figure out that they need to click a drop down to > select new > > > > > sections. Your player rocks.;) > > > > > > > > > > Here's what it looks like so far: > > > > > > > > > > I'm loading a XML doc using HTTPservice (myRequest.send(); gets > > called > > > > > on app init). > > > > > <mx:HTTPService id="myRequest" useProxy="false" > > fault="faultHandler()" > > > > > result="resultHandler()" /> > > > > > > > > > > resultHandler(): myDG.dataProvider = > > > > > myRequest.lastResult.captivate_playlist.swf; > > > > > > > > > > Then I'm using a datagrid component to display available captivate > > > > > movies. > > > > > > > > > > <mx:DataGrid x="10" y="10" width="100%" height="100%" id="myDG" > > > > > change="onDataGridChange(event)"> > > > > > <mx:columns> > > > > > <mx:DataGridColumn dataField="name" sortable="false" > > > > > headerText="Title" /> > > > > > </mx:columns> > > > > > </mx:DataGrid> > > > > > > > > > > When a user clicks a datagrid row, call onDataGridChange() which > > does > > > > > this: > > > > > // > > > > > swfDisplay.source = myDG.selectedItem.src; > > > > > > > > > > Which updates the source value of mx:image > > > > > <mx:Image width="100%" height="100%" maintainAspectRatio="true" > > > > > scaleContent="true" id="swfDisplay" /> > > > > > > > > > > There are no complie or runtime errors. When clicking through the > > > > > datagrid grid many times..(which users will > > > > > do) the browser crashes...IE, Firefox, Safari, [MAC or XP] > > > > > > > > > > The way I set this up made since to me, but I'm a brand new Flex > > > > > coder. Any insight is appreciated. > > > > > > > > > > > > > > > > > > >

