Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 01-27-2010, 03:17 PM   #1
Chapo's Avatar
Join Date: Jun 2008
Posts: 567
Default Calling a swf issues (action script 2)

OK.... i have a header made in flash, its 950 x 175 px. For every button in the header a swf is called in into a specif frame. The problem is that when the swf loads it does but not full size of 950 x 650 but it loads in the same header size. How can i make this work, hit the button and swf comes in in full size ?

this is the code of one of the buttons in my header:

var container:MovieClip = createEmptyMovieClip("container", getNextHighestDepth());

var mcListener:Object = new Object();
mcListener.onLoadInit = function(target_mc:MovieClip) {
trace("movie loaded");

var MCL:MovieClipLoader = new MovieClipLoader();

MCL.loadClip("Diving.swf", container);
People laugh at me because i'm different, but i laugh at people because they are all the same
Chapo is offline   Reply With Quote

Thread Tools
Display Modes

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

All times are GMT. The time now is 06:41 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com