Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7041621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:04:05+00:00 2026-05-28T02:04:05+00:00

I exported a swf using Unity3D 3.5 preview. I can not change the dimensions

  • 0

I exported a swf using Unity3D 3.5 preview.

I can not change the dimensions when I load in as3 (Adobe Air 3).

When the swf loads appears the logo of unity with loading, that resizes to 730×750! Great ok! But when the loader of unity ends the swf resize for the stage size (1920×1080). =/

I set the resolution to 730×750 in Unity3D.

Any ideas? Tks!

My code in as3:

    public function mc_produto_swf() 
    {
        var loader:Loader = new Loader();
        loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderComplete);
        var url:URLRequest = new URLRequest("Sapato_01.swf");
        loader.load(url);
    }

    public function loaderComplete(event:Event):void
    { 
        var cont:MovieClip = MovieClip(event.currentTarget.content);
        cont.width = 730;
        cont.height = 750;

        this.addChild( cont );
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:04:06+00:00Added an answer on May 28, 2026 at 2:04 am

    I post the same question in the Unity3d forums and the user “UnityRalph” help me:

    Our content isn’t really a resizable display object as it uses Stage3D (we probably could make it take displaylist width, height, x, y, though, thinking about it).

    For now what you can do is UnityShared.swc: http://forum.unity3d.com/threads/116650-UnityShared.swc-Communicating-between-Unity-Flash-Content-and-AS3

    The loader you can use from the swc allows specification of size and stage to size or not.

    Works for me, but i tried change the position x and not work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to skin a Flex button using a MovieClip exported as .swf from
I have exported data .xls file using as3. var xml:ArrayCollection; xml=Labneuron8.lastResult.Response.Terminal as ArrayCollection; var
I'm using Flash CS5 and I have a problem with my exported SWF file:
I have exported datatable to Excel successfully. Now I have to change some cell
I have a report to be exported in excel, pdf and word using jasper
I exported a database schema from one server using SQL Developer (Tools-> Database Export).
I have exported email mesages to excel by using a macro. By using Mid
I have just exported a table using phpMyAdmin and I have tried to import
using php i exported report in excel.But got stuck in merging cells. i want
I exported a table to a server but I can't find the table. Maybe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.