Flex Builder is required to change a flex application?

Hi, I made an application swf with Flex Builder 3 using mxml files. Now I have to deliver the application to a designer in my division, so I would like to know, if he wants to modify the application, should it use Flex Builder as well? Adobe CS3 wouldn't be enough?

I wonder if he can change the design you in flex builder in the tab design (drag drop component...)

Thank you

Well, to answer your question topic, Flex Builder is not necessary to change the code MXML or ActionScript that make up a Flex Application.

You can use Notepad - or any editor of text and re - compile against the SDK command line.  There are also alternatives, FDT comes to mind as one.  There are also a few plugins for Visual Studio.

None of this solves your real concern.  As far as I know, there are no tools in CS3 [or 4] which will give you a 'Designer-style' access to a Flex Builder project.

It looks like you want Flash Catalyst; However, it is still in beta and has limited support of the architecture of the Flex 3 components.

Tags: Flex

Similar Questions

  • Dynamically change the title of the browser in the Flex application

    In order to make my Flex application more accessible to those who use screen reader software, I need to change the text of the title bar of the browser that the user selects different tabs. I thought I could use FlexGlobals.topLevelApplication.pageTitle = "xxx" to it or define a public function in the MXML application file and use topLevelApplication to call it.  However, this does not seem to work, the title bar is not changed. I wonder if this requires flex 4.6 (I currently use 4.5).  Any ideas on how I could do this would be appreciated.

    Hello

    BrowserManager allows to change title and browser header text.

    http://help.Adobe.com/en_US/Flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7cbb.html

  • Simple Newbie Question - download flex applications

    I'm very new guy, sorry for the stupid question. It is my first adventure in Flex.

    I'm working on a graphic spring flex application and I went to show a worker co on his computer and it wouldn't work. I went to the html file in the bin-debug, it works on my machine, but not hers.

    This also got me questioning what I have to download online when I'm done so that it can work.

    The paths of the library are all absolute links on my machine like that

    C:\Program Files (x 86) \Adobe\Adobe Flash Builder 4\sdks\4.1.0

    Any help is really apprieciated. I did a few tutorials, but none of them actually go to upload files.

    Thank you

    Randy

    Hello

    Your Flex program will work on your computer if you are using Flash Builder because it puts in place a 'special' environment to allow you to test your applications at the local level.  These files are all based on mxml and do not work outside the Flash Builder environment.

    For others to access your application, open the Project menu, and then select 'Export Release Build'.  This will create the code html, swf and other files for people using your app.  The main application will be the same name as your project - something like: myApp.html.  (unless you have changed the default application)

  • FlexUnit4 with Flex Application compiled with Flex SDK 3.0?

    The Flex application that I work on is compiled with Flex SDK 3.0.

    Now I want to unit test this application using FlexUnit4.

    I'm not able to find that flexunit4 for Flex SDK 3.0 in downloads page (http://www.flexunit.org/?page_id=14).

    So I decided to download the FlexUnit 4 source code and compile it using the Flex SDK 3.0.

    I downloaded the source code of the page of downloads (http://github.com/flexunit/flexunit/).

    I need help in the compilation of the projects. I want to know what are the configuration changes that I need to run the build.xml ant task in my local machine.

    Please help me out here.

    @crazyghost81 - http://opensource.adobe.com/wiki/display/flexunit/Get+Source+Code

  • How can I display Flash videos without any decoration of Flex application

    I develop a player video flv with Flex3 and have problems to get rid of the decoration of application (frame, border, etc.) as part of a standard Flex application. My video player is 200px x 200px and I just want to see what shows the video, so that the Flex application allocates 200px x 200px.

    It is is not clear to me if this can be achieved via the attributes of tags special resp. or if I have to do something in the area of CSS.

    Thanks a lot for your code. It doesn't have what I thought, but it helped me to find the solution. It is the decoration, but the position of the VideoDisplay which was my problem. I added a width and a height at the request, changed its layout added and absolute x and y for the VideoDisplay, both to zero. And voila I got what I want.

    Then I deleted the attributes of color in the Application and VideoDisplay and have always the same:

    http://www.Adobe.com/2006/mxml"layout ="absolute"width ="200"height ="200">
    ...

    ...

    The ControlBar requires some additional x and y of the attribute values for a perfect overview ;-)

    BTW: Your blog is bookmark ;-)

  • What is the technology used for the integration of java with Flex application?

    How we integrate java into a Flex application or how to build flex applications that use Java as a backend?

    BlazeDs is currently used in businesses to serve the above purpose?

    Or is there a better technology that is used in businesses for the integration of Java with Flex application?

    What is the latest version of BlazeDs?

    Also, please give me a few important article links which shows a sample application in Flex using Java development as a backend.

    Thank you in advance.

    BlazeDS is the way to go. Just google BlazeDS and you will find many examples of link Java to Flex via Remoting and BlazeDS.

  • Save the Flex application as a service

    Hello

    Is it possible to save Flex applications as services? And by here I mean--taking the example of Android - the app is closed, but still running in the background (not visible in the Task Manager).

    The reason why I ask, is that if for example I want to have notifications in real time, of events at certain times or things of the location function, I need the application to be "aware" all the time but taking place as few resources as possible.

    Also, it would have been nice setting to start at system startup and so on.

    Thank you.

    Well, he gives examples of what you can do with this thing, but you can do much more... On a native android app, you start a service at the launch of the system in the background to check what you want to check.

    In this example, we start a service when we start to demand... You can change to start the service at the launch of the system and start the main activity (to launch your swf) from the service!

  • In Flex application feature sometimes works and sometimes does not...

    Hello

    Please help me on this...

    In my flex application features works sometimes and doesn't work sometimes does not...

    In my project, I have 5 sections with 5 separate screens... Each screen is a module of different.

    After logining in the application:

    I'll go to a screen... First time each feature works in this form...

    Ex: I have a screen with datagrid. This user select name from a datagrid job click on the next button...

    According to the name of the selected user work, I display information on the next screen and customer names.customer whose name is a drop-down list box.

    Here is the code:

    public void populateAllOEMCustomers(event:ResultEvent):void
    {

    1) var object_CustomerList:CustomerList = event.result as CustomerList; the values of the object //Assigining the object reference variable result.

    (2) var allOEMCustomersCollection:ArrayCollection = new ArrayCollection(); Variable declaration ArrayColliction referance.

    (3) var i: int = 0;
    (4) var customerComboLabel:Label = new Sun;

    (5) for (i = 0; i < object_CustomerList.arryCollCustName.length; i ++)
    {
    var strCustName:String = object_CustomerList.arryCollCustName.getItemAt (i) m:System.NET.SocketAddress.ToString ();
    var strCustId:String = object_CustomerList.arryCollCustId.getItemAt (i) m:System.NET.SocketAddress.ToString ();

    customerComboLabel = new Sun; Dynamic Declaration of the label.

    customerComboLabel.name = strCustName; Assinging the customer name in the label name box.
    customerComboLabel.text = strCustId; Assingning the customer id in the text box on the Label.

    allOEMCustomersCollection.addItem (customerComboLabel); Addition of Lable in the referace ArrayCollection variable collection.
    }
    customerComboID.selectedItem = ' - ';.
    OEMCustomersComboID.dataProvider = allOEMCustomersCollection;
    OEMCustomersComboID.selectedItem = - 1;

    }

    This feature works very well when I visit the first time on the screen... If you go back to another screen and return to the same screen and click the button following this names combo box customer time has no customer Details... I get Nullpointer Exception and it shows the number of the line 5 (I gave the above code number..)

    If I change the first line of the code to the following: each time the feature above works fine. Not getting no not an error msg...

    var object_CustomerList:Object = event.result;

    If I type cast in specific class (CustomerList), the feature does not work... do null pointer exception... If I type cast to object everything works fine... In my code each time I'm typecasted for the features of the specific class is not working (gettingNullpointerExcepion).

    Please help me on this... I don't get what could be the reason...

    I am using::Flex 3, Flash player 10.1

    Thanks in advance...

    Kind regards

    Satya

    Hi Satya,

    This sometimes as in your case may not work the way you have specified the RemoteClass attribute in your AS class. Because sometimes there may be a case because before it is mapped to a server-side, you are returned to the data and so that you can not get your custom class data but as normal object type.

    So to avoid this, you can map the class server-side for as classes in the Manager PreInitialize itself as shown below:

    Specify the preinitializeHandler in your main application and write the function below. That way, too, you can map as classes on the side server. So you will have no problem referring to your application AS class types.

    You can use the same line for recording of all classes. Using this, you can remove all of the [RemoteClass] attributes on all CLASSES and attach it to the unique place.

    preinitialize = "onPreinitialize ()" "

    private function onPreinitialize (): void
    {
    registerClassAlias ("com.expeditor.ScriptAdmin.Objects.CustomerList", list of clients);
    }

    In the line above the quoted string code refer to the namespace of the class on the server side and the second is your AS class. Also, remember to import the namespace from the correspondent as a class in the file.

    Try this and let me know...

    Thank you

    Jean Claude

  • Best practices for integrating flex application in html

    Hello guys

    I don't know what the best practice is to embed the flex application. We couldn't use the html code in flex builder. You guys edit html of other tools files to integrate the swf file when the application is completed or when there are other ways to do it. Thanks for the reply.

    Hi Jerry,

    Why you couldn't use the html generated code in flex builder. In the html wrapper file generated in FlexBuilder you have SWF embed code directly, as well as javascript Flash Player detection code... If your users do not have the FlashPlayer installed or if they not have the latest version of Flash Player installed, then the application invite users to install the latest Flash player plugin...

    What is the problem that you have obtained the help of the html wrapper file generated in FlexBuilder.

    Thank you

    Jean Claude Chari

  • How to enter text in the text entry box using the virtual keyboard in a flex application

    Re: How to enter text in the text entry box using the virtual keyboard in a flex application

    Hello

    I'm using flash builder 4.

    I designed the virtual keyboard, I have to update the text in the input text permanently area using the virtual keyboard.

    I used the events.i button does a few he's cheating.

    can someone help me tat.

    Thanks in advance.

    I have included my mxml with this program.

    virtualKeyboard. MXML

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = minHeight = "955" "600" creationComplete = "initfunc ()" >
    < fx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    private function initfunc (): void
    {
    B1.addEventListener (MouseEvent.Click, HandleEvent);
    B2.addEventListener (MouseEvent.Click, HandleEvent);
    B3.addEventListener (MouseEvent.Click, HandleEvent);
    B4.addEventListener (MouseEvent.Click, HandleEvent);
    B5.addEventListener (MouseEvent.Click, HandleEvent);
    B6.addEventListener (MouseEvent.Click, HandleEvent);
    B7.addEventListener (MouseEvent.Click, HandleEvent);
    B8.addEventListener (MouseEvent.Click, HandleEvent);
    B9.addEventListener (MouseEvent.Click, HandleEvent);
    B10.addEventListener (MouseEvent.Click, HandleEvent);
    B11.addEventListener (MouseEvent.Click, HandleEvent);
    B12.addEventListener (MouseEvent.Click, HandleEvent);
    B13.addEventListener (MouseEvent.Click, HandleEvent);
    B14.addEventListener (MouseEvent.Click, HandleEvent);
    B15.addEventListener (MouseEvent.Click, HandleEvent);
    B16.addEventListener (MouseEvent.Click, HandleEvent);
    B17.addEventListener (MouseEvent.Click, HandleEvent);
    B18.addEventListener (MouseEvent.Click, HandleEvent);
    B19.addEventListener (MouseEvent.Click, HandleEvent);


    B20.addEventListener (MouseEvent.Click, HandleEvent);
    B21.addEventListener (MouseEvent.Click, HandleEvent);
    B22.addEventListener (MouseEvent.Click, HandleEvent);
    B23.addEventListener (MouseEvent.Click, HandleEvent);
    B24.addEventListener (MouseEvent.Click, HandleEvent);
    B25.addEventListener (MouseEvent.Click, HandleEvent);
    B26.addEventListener (MouseEvent.Click, HandleEvent);
    B27.addEventListener (MouseEvent.Click, HandleEvent);
    B28.addEventListener (MouseEvent.Click, HandleEvent);
    B29.addEventListener (MouseEvent.Click, HandleEvent);
    B30.addEventListener (MouseEvent.Click, HandleEvent);
    B31.addEventListener (MouseEvent.Click, HandleEvent);
    B32.addEventListener (MouseEvent.Click, HandleEvent);
    B33.addEventListener (MouseEvent.Click, HandleEvent);
    B34.addEventListener (MouseEvent.Click, HandleEvent);
    B35.addEventListener (MouseEvent.Click, HandleEvent);
    B36.addEventListener (MouseEvent.Click, HandleEvent);
    B37.addEventListener (MouseEvent.Click, HandleEvent);
    B38.addEventListener (MouseEvent.Click, HandleEvent);
    B39.addEventListener (MouseEvent.Click, HandleEvent);
    B40.addEventListener (MouseEvent.Click, HandleEvent);
    B41.addEventListener (MouseEvent.Click, HandleEvent);
    B42.addEventListener (MouseEvent.Click, HandleEvent);
    B43.addEventListener (MouseEvent.Click, HandleEvent);
    B44.addEventListener (MouseEvent.Click, HandleEvent);
    B45.addEventListener (MouseEvent.Click, HandleEvent);
    B46.addEventListener (MouseEvent.Click, HandleEvent);
    B47.addEventListener (MouseEvent.Click, HandleEvent);
    B48.addEventListener (MouseEvent.Click, HandleEvent);
    B49.addEventListener (MouseEvent.Click, HandleEvent);
    B50.addEventListener (MouseEvent.Click, HandleEvent);
    B51.addEventListener (MouseEvent.Click, HandleEvent);
    B52.addEventListener (MouseEvent.Click, HandleEvent);
    B53.addEventListener (MouseEvent.Click, HandleEvent);

    }
    public void handleEvent (e: MouseEvent): void
    {
    var a: String = e.target.name;
    Alert.Show (e.Target.Name);
    var b:String = null;
    Switch (a)
    {

    case 'Button20 ':
    b = TextBox.Text;
    TextBox.Text = "a";
    TextBox.Text = b + "a";
    break;


    case 'Button21 ':

    TextBox.Text = "b";
    TextBox.Text = b + "b";
    break;


    by default:

    TextBox.Text = "s";
    TextBox.Text = b + "s";
    }
    }

    []] >
    < / fx:Script >

    < s:Panel = "43" x y = "82" width = "527" height = "213" >
    < mx:Button = "71" x y = '86' id = "b1" label = "1" width = "30" height = "24" / >
    < s:Button = "180" x y = '86' id = "b2" label = "5" width = "30" height = "24" / >
    < s:Button = "127" x y = '86' id = "b3" label = "3" width = "30" height = "24" / >
    < s:Button = "99" x y = '86' id = "b4" label = "2" width = "30" height = "24" / >
    < s:Button = "323" x y = '86' id = "b5" label = "0" width = "30" height = "24" / >
    < s:Button = "294" x y = '86' id = "b6" label = "9" width = "30" height = "24" / >
    < s:Button = "265" x y = '86' id = "b7" label = "8" width = "30" height = "24" / >
    < s:Button x = '237' y = '86' id = "b8" label = "7" width = "30" height = "24" / >
    < s:Button = '209' x y = '86' id = "b9" label = "6" width = "30" height = "24" / >
    < s:Button = "42" x y = '86' id = "b10" label = "" ' "width ="30"height ="24"/ >"
    < s:Button x = "382" y = '86' id = "b11" label = "=" width = "30" height = "24" / >
    < s:Button = '353' x y = '86' id = "b12" label = "» largeur" width = "30" height = "24" / > "
    < s:Button = "410" x y = '86' id = "b13" label = "back" width = "76" height = "24" / >
    < s:Button = "157" x y = '86' id = "b14" label = "4" width = "30" height = "24" / >
    < s:Button = "43" x = "109" id = "b15" label = "tab" width = "66" height = "24" / >
    < s:Button = "105" x = "109" id = "b16" label = "q" width = "31" height = "24" / >
    < s:Button = "247" x = "109" id = "b17" label = "y" width = "30" height = "24" / >
    < s:Button '303' = x y = "109" id = "b18" label = "i" width = "31" height = "24" / >
    < s:Button = "361" x y = '110' id = "b19" label = "p" width = "34" height = "23" / >
    < s:Button = "394" x = "109" id = "b20" label = "[" width = "31" height = "24" / >] "
    < s:Button = "191" x = "109" id = "b21" label = "r" width = "34" height = "24" / >
    < s:Button '424' = x y = "109" id = "b22" label = "]" width = "31" height = "24" / > "
    < s:Button = "222" x = "109" id = "b23" label = "t" width = "31" height = "24" / >
    < s:Button = "161" x = "109" id = "b24" label = "e" width = "31" height = "24" / >
    < s:Button = "133" x = "109" id = "b25" label = "w" width = "31" height = "24" / >
    < s:Button = "332" x = "109" id = "b26" label = "o" width = "31" height = "24" / >
    < s:Button = "275" x = "109" id = "b27" label = "u" width = "31" height = "24" / >
    < s:Button = "220" x = "133" id = "b28" label = "g" width = "31" height = "24" / >
    < s:Button '424' = x y = "132" id = "b29" label = "enter" width = "62" height = "24" / >
    < s:Button = "43" x = "132" id = "b30" label = "caps" width = "66" height = "24" / >
    < s:Button = "275" x = "133" id = "b31" label = "j" width = "42" height = "23" / >
    < s:Button = "314" x = "132" id = "b32" label = "k" width = "31" height = "24" / >
    < s:Button = "133" x = "133" id = "b33" label = "s" width = "31" height = "23" / >
    < s:Button = "161" x = "133" id = "b34" label = "d" width = "31" height = "23" / >
    < s:Button = "250" x = "133" id = "b35" label = "h" width = "31" height = "23" / >
    < s:Button = "105" x = "133" id = "b36" label = "a" width = "31" height = "23" / >
    < s:Button = "191" x = "133" id = "b37" label = "f" width = "31" height = "23" / >
    < s:Button = "342" x = "132" id = "b38" label = "l" width = "31" height = "24" / >
    < s:Button = "152" x = "154" id = "b39" label = "x" width = "31" height = "24" / >
    < s:Button = "353" x = "154" id = "b40" label = "'." " Width = "31" height = "24" / >
    < s:Button = "325" x y = "154" id = "b41" label = "," width = "31" height = "24" / >
    < s:Button = "294" x = "154" id = "b42" label = "m" width = "31" height = "24" / >
    < s:Button = "259" x = "154" id = "b43" label = "n" width = "37" height = "24" / >
    < s:Button = '236' x y = "154" id = "b44" label = "b" width = "31" height = "24" / >
    < s:Button = "211" x = "154" id = "b45" label = "v" width = "31" height = "24" / >
    < s:Button = "181" x = "154" id = "b46" label = "c" width = "31" height = "24" / >
    < s:Button = "122" x = "154" id = "b47" label = "z" width = "31" height = "24" / >
    < s:Button = "380" x = "154" id = "b48" label = "/" width = "31" height = "24" / >
    < s:Button '368' = x y = "132" id = "b49" label width = ';' = "31" height = "24" / >
    < s:Button = "396" x = "132" id = "b50" label = "" ' "width ="31"height ="24"/ >"
    < s:Button = "43" x = "154" id = "b51" label = "shift" width = "82" height = "24" / >
    < s:Button '407' = x y = id = "154" "b52" label = "shift" width = "79" height = "24" / >
    < s:Button = "455" x = "109" id = "b53" label = "------" width = "31" height = "24" / >

    < / s:Panel >
    < s:TextInput = "161" x = "27" id = "textbox" width = "253" / >

    < / s:Application >

    Kind regards

    Saran r

    Hello

    http://gumbo.flashhub.NET/keyboard/

    It is a small example of a 'virtual' keyboard that will enter the text into a textinput/textarea component selected. Capslock and shift key States really aren't quite right (really need control shift/cap lock combo), but there is a simple tab and backspace (delete) and enter the function key.

    hope this is useful

    David.

  • Several pages of a Flex application

    I have a Flex application that requires several steps: the user must enter some info in the first Panel, then the user should be directed to another "page" to fill another Panel and then directed to a page displaying the results only. How can I do this? The only way I've gleaned in the videos was turning on and outside visibility. Is there a better way, like linking a different component to an application, or an application to another? Looks like might get confused and cluttered in the design phase. Thank you!

    Yes, you can do it in Flex 3, although the syntax is a bit more complicated (not horribly if). Adobe has streamlined for Flex 4 to make it much more intuitive.

    For Flex 3 videos (http://www.adobe.com/devnet/flex/videotraining/) look in 4 day for these two videos:

  • How to display the current date in a Flex application

    I need to display the current date in my Flex application.  Is there a simple way to do this and post it as a text field or label?  In addition, it can be formatted to display the date as "day of the week, month, day, year"?

    Thank you!

    You can use this page and copy the following code to change the formatString property.

    http://livedocs.Adobe.com/Flex/3/langref/MX/formatters/DateFormatter.html#FormatString

    If this post answers your question or assistance, please mark it as such.

    
    http://www.adobe.com/2006/mxml"
      creationComplete="init();">
      
        
      
      
      
    
    
  • Using Weblogic to deploy the Simple Flex application

    Hello


    I'm deploying a Flex application is simple in a weblogic8.1 server, so that I can use it locally.

    Can someone please guide me where and how to deploy my flex application.

    I'm pretty new to this can any body provide me with a guide or walk up the wise step for me.

    More on what is the url that I need to give in the browser to access the flex app that I deploy on the Weblogic Server.


    (Currently I use IIS - simply copy the .swf file and wrapper html page in to the C:\Inetpub\wwwroot and giving http://localhost/test.html )

    in the browser to access)-how to do this using Weblogic 8.1


    Thank you

    Nash

    Hi Nash,

    I used WebLogic a lot (even if most v9 rather than 8). The main square is in the same location as your JSP files, so in your contenuWeb instead of the src folder. However, you can have structured the JSP pages themselves into folders (I always do on big plans for roughly in line with the menu chocies), in which case I would put the compiled Flex SWC with the JSP in which it is incorporated. In principle it can be elsewhere for example (all files swc collected in one place), but I personally find it easier to keep the page and insert set.

    When WebLogic then deploys the structure of folders to WebContentremains the same, but the src files treated differently to support navigation controller/struts.

    If you update the swc without changing the WebLogic Server part, then you can simply drop the swc altered in the correct location on your server... as long as you can find, because it is usually buried a lot of deep layers folder. But the WebLogic administration console must indicate where the server is looking for the files, and then you can track that down on your hard drive.

    Hope that helps,

    Richard

  • Why can I not see this non-local flex application?

    I'm a CF developer and playing with Flex for the first time. I find it very strange problem. For example: I just made my first file in the demo and I can see very well on the server where I did (yah - I had to do on the server - Flex refuses to install on my desktop, but that's another story) but I can't see it from a distance. Yes, I have Flash 9 installed and work.
    Try you it: you see something else than a white pea green here: http://www.poststat.net/traffic/demo/bin/demo.html ? Source code seems fine. If I swap in a former SWF that carrying on, I got, it loads it very well. If I try to simply load the SWF here (demo.swf) it does the same thing: green white screen.
    That is what it is?
    Please give me some ideas.
    Thank you very much
    Maya

    In fact, you need not additional files. Just the SWF is fine or the html file too if you are the points.

    The question was: a 9,0,0, x version of Flash Player! I had something like 9,0,0,296. The worst was the only way to upgrade to the latest player (9,0,16, x) had to manually reboot then UNINSTALL (requires download of the uninstall program), and then reinstall the latest version.

    So if you see an empty flex application, click on about Flash 9 and verify what version of Flash you have. 9,0,0, x those who seem to be wacky.

  • Centering in the browser Flex application

    I'm trying to focus a flex application size (800 x 600) inside my browser that has resolution of 1440 x 900. I tried to change the style of the body tag in the html but wrapper that does not move the application.

    < style >
    body {margin: auto; overflow: hidden}
    < / style >

    If I change the left margin: 100px, the application moves.

    I want the html wrapper to be visible around the flex application.

    Has anyone seen this problem and know how to fix it?

    It was a good post. None of their solutions worked for me. However I found the answer to my problem by trial and error. The solution, it seems easy enough. Change the default html wrapper body style and set a width explicit on the div and then use the left margin: auto; right margin: auto.

    By default:
    [code]
    [ethical]

    for this
    [code]

    [ethical]

    Specifying the width of the body is the key. If you have a project that is to a specific width, say 800 x 600, the html wrapper doesn't know how to move the automatic margin because he doesn't know how big the embedded application.

Maybe you are looking for