# 3D perspective issue

**URL:** <https://forum.kirupa.com/t/3d-perspective-issue/330819>\
**Category:** flash\
**Created:** [March 21, 2013, 12:19pm UTC](https://forum.kirupa.com/t/3d-perspective-issue/330819 "2013-03-21T12:19:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![griphino](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@griphino](https://forum.kirupa.com/u/griphino)\
**Post date:** [March 21, 2013, 12:19pm UTC](https://forum.kirupa.com/t/3d-perspective-issue/330819/1 "2013-03-21T12:19:02Z")

</div>

[COLOR=#000000][FONT=verdana]Hey there,[/FONT][/COLOR]  
[COLOR=#000000][FONT=verdana]I am doing project in Flash and I have two swfs. One is loading another one. The one that is being loaded utilizes 3D tween, i.e. 3D perspective. Swfs have different sizes of stage - 700x500 and 1000x600px. [/FONT][/COLOR]  
[COLOR=#000000][FONT=verdana]  
The problem that I have is following: when swf is loaded, 2D objects are okay. However 3D tweened objects are shifted. I was not able to come with proper solution, nor able to find some. Any help will be appreciated. Thank you in advance.[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]George.[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]Sample AS3 code from swf that is loading 2nd swf is following:  
[/FONT][/COLOR]

```auto
[COLOR=#000000]var loader:Loader=new Loader();[/COLOR]
var mcExternal:MovieClip;
this.addChild(loader);
loader.load(new URLRequest("ani.swf"));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,swfIn);
function swfIn(e:Event):void {
    mcExternal=loader.content as MovieClip; 
[COLOR=#000000]}[/COLOR]

```

[COLOR=#000000][FONT=verdana]  
[/FONT][/COLOR]
