Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Thread Tools Rate Thread Display Modes
Old 09-21-2006, 10:19 AM   #1
Registered User
Join Date: Sep 2006
Posts: 1
Question loadMovie() does not work when AS1 appl is loaded into the Flex2 application

Hi to all!
I want to load my old AS1 SWF into the Flex2 application. Old application consists of loader, which uses loadMovie() function to load required SWFs and images.
Flex2 application does load old loader:
<mx:Image id="sw" source="{myViewerUrl()}" width="950" height="600" scaleContent="false"></mx:Image>

but old loader doesn't load other SWFs into it.
E.g.: "test.swf" has the following code on the main timeline:

this.box = this.createEmptyMovieClip('box', 1);
url = 'test.swf';

While if I do
trace('this.box.loadMovie = ' + this.box.loadMovie);
it prints out
this.box.loadMovie = [type Function]

But test.swf is not loaded.

Can you advise me, please, what to do to allow loadMovie() from AS1 to work when loaded into Flex2 application ?

Thanks in advance,
lubko is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loadMovie in mcHolder doesn't work thede ActionScript 1.0 (and below) 8 12-04-2007 02:45 PM
detecting if a movie has loaded when loaded with loadMovie d3f3c73d ActionScript 1.0 (and below) 6 05-20-2002 08:01 PM
LoadMovie - Variable to Jump to specific frame # in loaded swf gruvdaddy ActionScript 1.0 (and below) 2 04-12-2002 07:11 PM
Using Preloader with loadmovie causes SOUND to not work mw_work ActionScript 1.0 (and below) 0 03-19-2002 12:47 PM
duplicating a movie clip or library item within a movie loaded with loadMovie() Six ActionScript 1.0 (and below) 0 07-19-2001 02:04 AM

All times are GMT. The time now is 07:08 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.