Resize the Extension Panel is not Flex at all, simply scales stage layout controls

Hello

I have this problem with Extension panels in Fireworks compiled with the Flex 4 SDK. When the Panel is first opened, it has the right dimensions and orders are prepared correctly. If I resize at all, he starts instead of prepare its controls to take advantage of the new space. Appears not to occur when you use mx:Application Flex 3, Flex only 4. Any ideas?

Before resizing:

First.PNG

After resizing:

after.PNG

In this case regardless of the container Application control that I use - mx:Application, mx:ApplicationWindow, cs: CSXSWindowedApplication and so on.

My MXML Application is as follows:

<?xml version="1.0" encoding="utf-8"?>
<cs:CSXSWindowedApplication
  xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
  xmlns:cs="com.adobe.csxs.core.*" xmlns:s="library://ns.adobe.com/flex/spark"

  <!-- Setting width & height are the only way I can get it to show properly when first opened. -->
  width="200" height="200" historyManagementEnabled="false" showStatusBar="false">

  <s:Button label="Click Me" />

</cs:CSXSWindowedApplication>

So they key is apparently to have this as an indicator of the compiler:

-includes=mx.managers.systemClasses.MarshallingSupport

And in applicationComplete:

CSInterface.instance.autoThemeColorChange = true;

Also use CSExtension as your base class/component application.

Tags: Creative Suites

Similar Questions

  • Run Scripts of Actions of the Extension Panel

    Please forgive my lack of experience with scripting. I'm especially a writer of paste copy - cut.

    I have an extension Panel for my users in Photoshop that contains buttons to items of menu and tools. I have also two buttons that run scripts which have been fulfilled Actions scripts. What I've learned, it's that these buttons on the extension Panel do not work if the action of two scripts are not loaded in the action panel.

    What I would like to ask you is for scripts to run without having to the load in the Actions Panel. Is what I have in my file hotscript.jsx to one of the Actions below. How would this code does not require scripts to be loaded in the Actions Panel?

    function selShade()
    {var idPly = charIDToTypeID( "Ply " );
        var desc3 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref2 = new ActionReference();
            var idActn = charIDToTypeID( "Actn" );
            ref2.putName( idActn, "Shade" );
            var idASet = charIDToTypeID( "ASet" );
            ref2.putName( idASet, "Shade" );
        desc3.putReference( idnull, ref2 );
    executeAction( idPly, desc3, DialogModes.NO );
    }
    

    The Second script is the following:

    function selCreatepdf()
    {var idPly = charIDToTypeID( "Ply " );
        var desc14 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref6 = new ActionReference();
            var idActn = charIDToTypeID( "Actn" );
            ref6.putName( idActn, "Before After Presentation" );
            var idASet = charIDToTypeID( "ASet" );
            ref6.putName( idASet, "Before After PDF" );
        desc14.putReference( idnull, ref6 );
    executeAction( idPly, desc14, DialogModes.NO );
    }
    

    I hope that this is possible, because it would eliminate my users having responsibility of the Actions in the Actions Panel.

    Thanks in advance for your help - Sam

    Hi Sam,

    I strongly support the advice of Chuck. Your ScriptingListener code should be equivalent to:

    function selShade() { app.doAction("Shade", "Shade") }
    function selCreatepdf() { app.doAction("Before After Presentation", "Before After PDF") }
    

    in other words, you call Actions loaded into ActionSets - if they are not loaded, your calls fail.

    I strongly support the advice of Chuck. If you have done the actions, or in any case if you have stocks yourself, you could automatically convert it into javascript using script xbytor ActionToJavascript.jsx (find xtools download here on SourceForge). Then put the code and just call these functions, no need to have users install actions more (and by the way, your code will be a little more watertight).

    Hope this helps,

    Davide Barranca

    ---

    www.davidebarranca.com

    www.cs-extensions.com

  • Cannot resize the front panel

    I can't resize the front panel to a smaller window.  I put in (0,0) minimum window size, unchecked maintain proportions and to scale all objects.  I had originally put the size of the minimum window to 1012 x 616.  When I close the window property and re - open the settings still collated (0,0) while they are saved, but I am unable to reduce the size of window smaller than 1012 x 616.

    Also, there is open space on both sides in both dimensions, so I'm not running in the front panel objects.  What property/properties miss me that locks the minimum panel size?  One last thing is that I'm able to resize windows from any SubVIs I the same project and edit the minimum window size them and they respond as expected.

    Thank you

    Very strange

    comics ctrl + A, ctrl + C, ctrl + N, ctrl + E and ctrl + V solves everything.

    NOR should open with a debugger that vi... Oh where is that entry again heep peek ini thing...

    [Edit: here]

  • Controls on the front panel does not work

    In the attached vi (I've stripped down to simplify things), I have a problem with the controls on the front panel does not when you click on the control to acquire it. It of probably something obvious but got me to loss.

    Thank you

    It is probably because you are in the State to acquire until you're done absorbing.  Meanwhile, none of your other events can run.  You have events to acquire: let the mouse.  There is a setting for "Panel before locking up the end of the occurrence of the event.  Given that the event cannot process until your State acquisition is completed, the façade will be locked.

    I would recommend another loop for the acquisition of your data.

  • Panel close? Event causes the front panel for not responding

    I am trying to create a simple program. Some time ago loop that generates random numbers, just so that I can see it is running. An "Exit" button is connected to an output of the while loop Terminal. The event structure is also in this loop, which intercepts "Close panel?" and don't know, then said of faithful son in the while loop output terminal. To be more precise, the output terminal takes an OR statement that takes the button leave and this Structure of Boolean event as inputs. When I run the program, the release button does not respond, however, with the highlight the part of structure of the program event execution seems to work. Sorry if I'm bad at explaining, any help is appreciated.

    I guess my real question is, how do correctly implement you that a button exit stops the loop and clicking on the red x or File: Close is ignored and rather does the same thing as your Exit button.

    The problem is that you don't have a case of timeout in the structure of your event, so he's sitting there, waiting for any registered event (in your case, the only recorded event is the closing of Panel event).  He reads your button to quit once, you should see if you run with execution highlighting.  The while loop can not continue until all that it ends and the structure of the event may not finish until an event occurs.

    A better solution than adding a timeout event is to add an event to change the value of the button exit.  Put the Quit terminal inside the case of the event and the wire which, in the same tunnel connected to stop the while loop.  If you do this there not need timer loop as the structure of the event will be sitting there waiting until the Quit button or Panel is closed.  However, if you want to add more code inside the while loop that will run continuously, then you will need a time-out event (that can take the place of waiting since the timeout will regulate the timing of the loop).

  • Re Windows XP: At the opening of the hearts, the window is very small. How can I increase the window to fill the screen. Double click on the top panel does not work.

    Re Windows XP: At the opening of the hearts, the window is very small.   How can I increase the window to fill the screen.   Double click on the top panel does not work.

    Hi Rosa,.

    The size of the window for Hearts is actually design in Windows XP.

    However, there is a solution. You can follow these steps:


    Step 1

    a. first of all, copy the game.

    b. click Start, all programs, games.

    c. right-click on the game of hearts .

    d. Select Properties from the list.

    e. press the button find the target on the next window.

    f. right click on the highlighted file and select copy.

    g. then paste the copy on your desktop.

    h. right click on your desktop.

    i. Select Paste from the list.

    Step 2

    Finally, we will change the resolution for the game setting:

    a. right click on the game you just pasted on your desktop.

    b. Select Properties from the list and click the Compatibility tab.

    c. put the check box marked "run in 640 x 480 screen resolution.

    d. now whenever you want to play, click on that game on your desktop and it opens in mode full screen using the widest possible cards and numbers.

    Hope the helps of information.

  • The extensions Manager does not recognize products CC 2015 installed on mac

    Given that I've updated all my programs adobe to CC (2015)

    Extension Manager is no longer their watch programs installed and so cannot use/reinstall first extension

    I'm on a MacBook Pro with the latest OS 10.10.4

    Creative cloud shows everything is updated but I can't seem to make it work.

    The extension manager is not supported for 2015 of CC. Please see this link: Adobe Exchange

    Do not use Extension Manager to install and instead use the CC desktop application. There has been a lot of posts on this topic so far, so please check the previous discussions for more information.

  • The extensions Manager does not see Adobe Photoshop CC 2015?

    96EESahc43k (1).jpg

    The extensions Manager does not see Adobe Photoshop CC 2015. All applications using ustanovliny creative cloud

    That's right, that it is no longer supported. Please refer to this article: Adobe Exchange

  • The extensions Manager does not in 2015 CC

    Just installed CC 2015, but the extensions Manager does not work.   I've deleted and reinstalled and it still does not work.

    Hi Alfredo.

    See a related discussion on the same topic: Re: Extensions CC2015 gone

    I heard the team there are some problems with the Add-ons and the command line tool, and the team is trying to solve. I'll let you know as soon as I have an update.

    See Adobe Exchange for official communication on the extensions Manager.

    Thank you

    Devendra

  • The snippet Panel does not show in Dreamweaver CC 2014 - using Mac - why?

    It's weird - I used the extract workspace, the snippet panel shows not - not even if I try to open it via window-> extract.

    I've updated my Dreamweaver 2014 at the latest version.

    Can someone help me?

    I solved it myself.

    In the configuration file, there are folders named "workspace" and "WorkspaceMac".

    One that I have renamed in 'work-backup space' and the other to the 'workspace '.

    Now, it works perfectly!  Weird!

  • I keep getting the "this connection is not approved" in all the sites when I use Firefox on windows laptop 36.0.1 8. How can I overcome this.

    I keep getting the "this connection is not approved" in all the sites when I use Firefox on windows laptop 36.0.1 8. How can I overcome this.

    Hi vijaysampath, please make sure first that the date, time, and time zone are set correctly on your system. If this does not solve the problem (or it is already set correctly), a possible solution depends on different factors:

    • What is the error code indicated under Technical Details on the error page?

    in case the error code is equal to sec_error_unknown_issuer, please try to add an exception on the bottom of the error page to verify the certificate, as shown on the attached screenshot:

    • What information about the issuer of the certificate contain?

    Please take these two pieces of information. Thank you!

  • When windows starts, the user name is not displayed, almost all programs do not work, or I get a message saying that they do not have authorization to run the service

    When windows starts the user name is not displayed, almost all programs do not work, or I get a message saying that they have permission to run the service, sometimes windows not loading some programs of initialization and I can't turn off the pc by using the start menu, when it arrives, sometimes everything works normally when I turn on the pc except of my antivirus (avast!) and firewall (comodo) , they are responsible, but avast! said that the service is disabled and when I him there is a message saying that he had ceased to maximize or in an inconsistent state and comodo said that the application of the agent is not running.

    My Windows is XP Professional SP3.

    Thanks in advance.
    (Sorry for my English)

    * original title - I have starting problems I've ever had and I can't find a TomTom.*

    Salvation exodus REV,

    You did it of any material changes or software on the computer before this problem?

    I recommend you to uninstall Avast! & Comodo temporarily from Add / Remove Programs. Later, check to see if the problem persists.

    To uninstall Avast!, you can use utility aswClear to uninstall Avast!.

    For more information, refer to this link: Uninstall Utility

    You can not install Comodo since Avast! has a built-in & antivirus firewall.

    Hope the helps of information.
    Please post back and we do know.

  • Ok.  The printable tutorial does not seem to explain how to add layouts replacing / screens. It has been my intention add additional provisions / screens once the basic site became operational. Can you help me?

    Ok. I have a handle on my site with the publishing refresh in the browser. Yet to learn though. The printable tutorial does not seem to explain how to add layouts replacing / screens. It has been my intention add additional provisions / screens once the basic site became operational. Can you help me?

    Please specify a little more than if you are referring to versions available phone/tablet of the site you want to add to your site from Muse.

    These links would be useful:

    http://helpx.Adobe.com/Muse/tutorials/creating-mobile-layout-designs-Muse.html

    TS http://TV.adobe.com/watch/Muse-Feature-Tour/Adobe-Muse-Designing-for-Smartphones-and-table.

    https://www.YouTube.com/watch?v=_Bq1hViogS4

    Thank you

    Sanjit

  • Viewer Panel does not work at all (CS5 Mac OS 10.6.8 GTX285)

    The viewer panel displays any video at all, never.  Everything else seems to work very well.  Am I missing a switch or similar?  Can anyone help?  Try to move the FCP, but it kinda turns out to be a problem!

    Ok.

    Capture a DV using Premiere Pro clip.  Report results.

  • Extension Panel do not display in the window of the InDesign Extensions

    I finally managed to discover Maria Gutierrez' tutorial on building a plug-in. The < sarcasm >demo very cleverly< / sarcasm > does not provide any instructions or a downloadable sample for the manifest.xml file or the < my project > .mxml file. In fact, I had to freeze the image and manually write what I saw in the demo.

    I followed his instructions to copy the bin-debug folder (in fact, it only gives instructions for MAC, and I copied them in the folder 'C:\Users\ < user > \AppData\Roaming\Adobe\CS5ServiceManager\extensions\' on my Windows 7 according to the "using the Adobe Creative Suite 5 SDK" PDF.) I also set the registry value to enable debugging.

    When I opened InDesign, I couldn't see my extension in Windows-> Extensions.

    However, if I copied the extension directly in the file "D:\Program Adobe InDesign CS5\Plug-Ins\Panels", the extension has appeared in the list and worked fine.

    I csaw_indesign.swc refernenced correctly in my list of libraries and < host name = "IDSN" Version = "7" / > in my manifest.xml.

    I'd appreciate some help here.

    TIA

    mlavie

    Have a look here:

    http://www.Adobe.com/content/dam/Adobe/en/DevNet/creativesuite/PDFs/CS_SDK_Guide.PDF

    Looks like your manifest file has errors or is in the wrong place.

    Bob

Maybe you are looking for

  • Problem loading of Satellite A660

    Hello! After CMOS, do not load my charger and leads IN AD is running and the battery led is intermittent mix orange led with white led... If I don't have the battery in the laptop my pc switched off 10 seconds after the CMOS. More if I turned off my

  • How can I change the color of the plots (lines, points) in the collection Scattergraph plot

    For example, I go through a foreach loop and draw two points. How to distinguish this set of plots of the yet to come? How can I change the style, color and have separate lines (instead of on the line connecting everything) for each of my plots? I do

  • Transfer to external hard drive?

    How can I transfer emails selected as 'Good' currently in Windows Mail on an external hard drive?

  • media drive problems

    Hi when I first media Player, it takes at least 10 minutes to play the first song I chose, some time it will come with answers do not? After that the 1st song comes on, it works fine? This problem seemed to just getting started on his own a week ago?

  • BlackBerry Z10 error "too many devices are connected to this account.

    I just bought a new z10, I used BIS of my network too. But when I created my email to work through Microsoft Active Sync, z10 me "too many devices are connected to this account" ... What can I do now for this problem?