9-Slice scaling not working in FB4?

I just upgraded my FB3 flash project to FB4.7, and saw that my 9-slice symbols (which I exported from an FLA to a SWC) have stopped working.  That is, the whole graphic is now getting stretched. If I use the exact same SWC and the exact same code in my FB3 environemt all is well.
The code is really basic:
var spr:MyRoundedRect = new MyRoundedRect(); // MyRoundedRect comes from the FLA with 9slice scaling
spr.scaleX = 4;
spr.scaleY = 3;
addChild(spr);
Am I missing something? I this a known bug in Flex Builder 4.7?
Anyone else ever encounter this?
Right now, I feel like going back to Flex Builder 3, where the world seemed a better place.

I'm using Flash Builder 4.7 for a pure flash project (ie, no mxml) & all my graphics objects are in a swc that was exported from an FLA. 
I've made some progress with that issue. If I explicitly assign the scale9Grid dimensions in the code, it seems to work:
  obj.scale9Grid = new Rectangle(x,y,w,h)
...but having to do that is a real productivity killer.  Would be nice to use the 9-slice guide setting in the FLA

Similar Messages

  • 9 slice scaling - not working as described

    In order to create a 9 slice scaled object, I have tried
    Flash help and various tutorials on the web and none of them
    produce the result they say they will. All of the instructions say
    basically this:
    Create a movie clip symbol
    Enable 9 slice scaling in its properties
    Open the symbol in symbol editing mode
    Move the guides where you want them to define the
    non-scaleable regions
    Place an instance of the symbol on the stage
    At this point, I am supposed to be able to scale the object
    with the guides taking effect. I have NOT once been able to do
    this, the whole thing always scales and distorts the corners in the
    way the guides are supposed to prevent! One tutorial told me that I
    had to preview the movie and then I could see the result, but that
    was not true either. Is there a step missing? Flash is constantly
    one of the apps where I find tutorials and help often don't produce
    the advertised result.

    Don't know what to tell you. I've never done 9-slice and I
    just looked it up in the help files and it worked both on the stage
    and on publish.
    Do you have Control -> Enable Live Preview checked?
    That is what is needed to see it on stage.
    Are you trying to scale imported bitmap images? They won't
    9-scale.
    Does your clip have nested clips inside it? They won't
    9-scale.
    Can't think of anything else.
    Oddly enough I almost always find the help produces exactly
    the advertised results.

  • Cpu frequency scaling not working and hdd powers down

    Hi,
    I recently made a fresh reinstall on my laptop keeping only my user settings (home directory) but no system-wide settings (/etc).
    Now I have the following issues:
    1) CPU frequency scaling does not work. KDE's PowerDevil tells me, my CPU does not have scaling capability and when I try to start cpufreq, I get this error message:
    # /etc/rc.d/cpufreq start
    :: Setting cpufreq governing rules , cpu 0 1Error setting new values. Common errors: [BUSY] - Do you have proper administration rights? (super-user?)ble_governors: No such file or directory
    - Is the governor you requested available and modprobed?
    - Trying to set an invalid policy?
    - Trying to set a specific frequency, but userspace governor is not available,
    for example because of hardware which cannot be set to a specific frequency
    or because the userspace governor isn't loaded?
    The governor modules are loaded:
    # lsmod | grep cpufreq
    cpufreq_userspace 2096 0
    cpufreq_powersave 942 0
    cpufreq_ondemand 7990 0
    freq_table 2339 1 cpufreq_ondemand
    cpufreq_conservative 9172 0
    This used to work out-of-the box with the previous install so I'm a bit puzzled.
    2) My hard drive powers down after a few seconds of inactivity, just to power up a few seconds later when it's accessed again. The hard drive never powered down on my previous installation. I do not have any power management daemons running and this behavior starts right after booting the machine, before I log in.
    I would like to disable this "feature" since I think it's rather bad for the hard drive's health as well as battery life.
    Any ideas?:)
    EDIT: Cpu frequency scaling is fixed now, forgot to load the acpi_cpufreq module.:rolleyes: There's still the issue with the hard drive, though.
    Last edited by Vortex375 (2010-06-28 14:54:27)

    The HDD thing is caused by upowerd, dunno why though.
    You can try: hdparm -B 254 <disk device>, but that wont solve the problem permanently, only till you plug and unplug again the AC supply.
    you can also try killing upowerd and things will (at least that was the case for me) be alright.
    Maybe this is upowerd bug?
    Last edited by kralyk (2010-06-29 20:44:24)

  • To print an Pie Chart image with more than 1 slice is not working

    Hi friends,
    I'm using a version 12.0.4 and when I try to generate an Pie Chart image with more than 1 slice using the function saveImage() it's not working. The image is only generate when its return is just 1 value (1 peace of pie).
    Anybody help me?
    Regards!

    It's not unique for your setup, but it also happens in 12.0.11, so it's a bug.  Looks like it is throwing a null pointer for some bizzare reason when generating the GIF output by the ImageStorageServlet (per the NW logs). 
    Your best bet would be to log a ticket so it can be patched.
    12.1.7 seems to work fine.
    Edited by: Michael Appleby on Nov 23, 2010 2:39 PM

  • Shift- constrained scaling not working

    Hello,
    When I hold down shift to scale an object or image to keep the proportions constrained, it does not work. This has only recently started to happen and it also happens on photoshop.
    I don't have entourage running, which I read could be a culprit.
    Would I need to reinstall my CS2?
    I am using a Mac Powerbook G4, OSX 10.4.11
    Adobe CS2
    Thanks,
    Mike

    gangamon,
    What Monika said.
    I am trying to keep an updated list of offenders; so far it is as follows.
    Quicktime/iTunes,
    Quicken (Widget),
    Entourage,
    Google Earth,
    Zune,
    Some Firefox Add-ons,
    Spotlight (shortcuts),
    Fetch,
    Hulu,
    Cocktail,
    Cinch.

  • X200: CPU frequency scaling not working in Windows 7 x64

    Hi there, this is first posting here. Trust this issue has not been addressed before--if it has please redirect me to the post where this discussion happening.
    Here is my hardware: X200, P8700, 2.53GHz, 4GB RAM, 7454-32U
    I have just upgraded my RAM from 2GB and clean installed Windows 7 x64 (came with XP x86). I have also loaded all the drivers including the power manager driver and power manager from IBM/Lenovo support/download site. all hardware is working fine.
    My only problem is that the fan is always on--running at about 3340RPM and blows all the time--temps are at around 42-46C. I have noticed that the CPU is quite, but firing at max all the time--does not scale down when no activity. tis happens when I select "power source optimized" on battery and on AC.
    I have noticed that when in XP 32-bit, the CPU will come back at rest to 786MHz--and go up when needed.
    Could someone please help me figure out what is goin gon here? I am so tired of looking and posting on other forums that I am about to go crazy. I love this machine, but my only issue now is this.
    I have also checked the BIOS and set the CPU to "automatic" and Speed Step is on. I am using the latest BIOs version v3.11 Dec 2009.
    Please help me.
    Regards
    S

    Hi Jessica Thank you for the reply and also pointing me to the Upgrade Advisor links-Here is the output for the 64-bit Windows 7 Compatibility assessment--as you see there are no issues with Hardware compatibility. Also I have downloaded all the applicable drivers from Lenovo. The problem still persists.
    if you could link me with the direct access to the power management related drivers from lenovo, ACPI and BIOS drivers I will appreciate a great deal. Also to mention, I have upgraded the BIOS Feb 2010 release, and also the Power manager driver to v3.12 (no fixes in fan speed and CPU freq scaling I am afraid.)
    ====================
    Windows 7 Upgrade Advisor
    Information about upgrading to 64-bit Windows 7
    System
    Details
    Custom installation required
    You'll need to perform a custom installation of 64-bit Windows 7 and then reinstall your programs. Make sure to back up your files before you begin.Go online to get important information about installing Windows 7 on a PC running Windows XP
    Outlook Express
    This program is no longer included in Windows 7. You can get similar programs for Windows 7 from other software manufacturers.Go to the Microsoft website to learn more
    More info from LENOVO
    LENOVO has a website that might give you more information about getting Windows 7 running on your PC.Visit the LENOVO website
    Windows Aero support
    Your graphics adapter supports the Windows Aero user interface.Go online to learn more about Windows Aero
    CPU speed: 2.5 GHz
    Your CPU meets the 1 GHz minimum requirement.
    3.0 GB of RAM
    Your PC meets the 2 GB minimum requirement.
    81.9 GB free space available on C:
    Your hard disk meets the minimum requirement of 20 GB free space for 64-bit Windows 7.       Devices
    Status
    Details
    Conexant 20561 SmartAudio HD
    Conexant
    Compatible
    This device is compatible with Windows 7.
    Intel(R) 82567LF Gigabit Network Connection
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB Universal Host Controller - 2934
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB Universal Host Controller - 2935
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB Universal Host Controller - 2936
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB Universal Host Controller - 2937
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB Universal Host Controller - 2938
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB Universal Host Controller - 2939
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) ICH9M/M-E 2 port Serial ATA Storage Controller 1 - 2928
    Intel
    Compatible
    This device is compatible with Windows 7.
    Intel(R) WiFi Link 5100 AGN
    Intel Corporation
    Compatible
    This device is compatible with Windows 7.
    Mobile Intel(R) 4 Series Express Chipset Family
    Intel Corporation
    Compatible
    This device is compatible with Windows 7.
    Mobile Intel(R) 4 Series Express Chipset Family
    Intel Corporation
    Compatible
    This device is compatible with Windows 7.
    ThinkPad Bluetooth with Enhanced Data Rate II
    Broadcom
    Compatible
    This device is compatible with Windows 7.
    =================================

  • Scaling not working

    Hi - I am new to Azure and struggling with some of the features and hoping someone can help.  
    I am using websites. I have 2 sites that use the majority of resources - one ASP.Net and one MVC.   My visitor pattern is low and lumpy:  in the last 10 days between 50 people on my "game" site (MVC) spending an average of around an hour
    and fewer than 100 on the other site. So traffic is not high.  
    I have my websites set up to scale up if memory > 75% and to scale down if <63 % with 10 minute interval checks and cool down periods. 
    The scale up limits have not been exceeded yet there are now 2 servers active. The chart of use for the last 10 days shows that only once has there been less than 48 hours charged per day, so the scale down rules are not being implemented.  In the new
    portal the chart showing instances indicates a single instance but the numerical panel says 2 instances...
    This all looks wrong - can anyone help explain what I might be getting wrong?.... 
    Christina

    Thanks - I have just written to "Billing" on this - they declined to comment initially as it seemed to be a tech issue but ... 
    "actually on reflection this IS a billing issue because I think I have been over - charged for services, although you may need to get a tech
    person to check my account.
    I had scaling set up on my WebApps with a single metric: memory. The UP rule was at 75%, the DOWN rule at 63%. The smaller chart shows that between 10th and 12th April the scaling metric should have resulted in a reduction of instances.  However I have
    been charged for two instances for that period, and the average for this month has been 43.5 hours per day. From my usage stats the instances increase to 2 on 3rd April and apart from a small dip on 8th April has remained at 2 instances, 48 hours/day and I
    do not believe that my settings justified this for the period in question.
    I would be grateful if you would get this checked."
    As I said earlier I am new (well now 5 months in) to Azure.  I have a small business and am still trying to get confident in the system as its rather different from where I was before. Overall costs are similar when a single instance is in place.  I'm
    quite happy to pay for extra when required have not been confident about scaling working correctly. ... anyway updates have clearly been applied to this area of the new portal so time will tell :-)
    Thanks for your responses. 

  • Key mapping not working in FB4

    In Windows/Preferences/General/Keys..  I've built the following key mapping.  I want to be able to press F9 key on my keyboard, and, whether I'm in Source editor view, or MXML design view, I want to start the compile and run process.  But I can't get it to work.  I've set the preference, and shut down and restarted FB4 several times.  Here is the mapping.  What am I doing wrong?
    Run... F9 ... Editing Flex Source
    Run... F9 ... In MXML Design Mode.
    Neither works.

    DOH!  I found the answer...
    Run Web Application..... F9 ..... In Windows
    works.
    (Easier than Alt-Shift-X, F)  (Although I left that one in there too)

  • Scaling not work correctly in the internet explorer

    Hello every body, I very need your help. I make composition in Edge Animate with resolution 2300*1914 adjust the responsive scaling to both, after saving I look the composition in browsers. In the Chrome and Opera displaying is correct, but in IE and Firefox displays not correct, I fill the stage in red color, so when I open the composition, the filled stage take proportions 100% - width and height, but resolution 2300*1914 applies like transparent layer, and I have overflow horizontal and vertical.
    P.S. I need scaling in persentage because the composition is designed for all resolution

    Are you sure that Firefox isn't using the integrated PDF viewer (pdfjs)?
    Current Firefox versions have enabled a new build-in PDF Viewer and that viewer doesn't have all the features that the Adobe Reader has.
    You can change the action for Portable Document Format (PDF) from Preview in Firefox to use the Adobe Reader or set to Always Ask in "Firefox > Options > Applications".
    You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to disable the build-in PDF viewer and use the Adobe Reader instead.
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them

  • Hardware scaling not working

    I am using Flash Catalyst CS5 and my project includes flash videos(flv-files).
    When I publish it to swf and run it,  the hardware scaling doesnt seem to work in fullscreen mode.
    The videos looks much nicer when I use  the adobe media player to show them in fullscreen mode.
    I get the same result either if I run it on a PC or mac.
    Is there a way to solve this?

    Hi,
    Flash Catalyst only supports fixed dimensions at the moment.  Projects don't scale to the size of the users browser.
    Take a look at this FAQ on liquid layouts.  It may help you.
    http://forums.adobe.com/thread/652613.
    Best,
    Tanya

  • Slice tool not working (Windows)

    Started a trial with Photoshop V11 and I'm having troubles with slicing. Firstly the slice tool isn't in my toolbox, and secondly when I press K which I think is the correct shortcut key - my cursor changes to a circle with a line through it (banned).
    It is happening on any PSD file that I'm opening.
    If I try saving for Web and using the slice tool which is on that toolbar, I can create a box around something but as soon as I finish dragging with the mouse the square disappears. It is as if I really am banned from slicing - and I don't know why.

    Check your view settings to actually show the slices. This may simply be turned off (though the slices would still appear in the "Save for Web" dialog). The shortcut is incorrect for CS4. K has been assigned to 3D item transform. Slice is a subset of the crop tool now, so C is the default shortcut. Feel free to change it back or use a different shortcut set...
    Mylenium

  • Does 9-slice scaling work for "complex" objects in CS3?

    Hi all,
    I'm having serious trouble getting 9-slice scaling to work at all with symbols consisting of more than one path.
    Basically fireworks will always scale the objects outside of the inner area - which defeats the whole purpose.
    Additionally, gradients will not rotate with the symbol but will stay stationary.
    For reference see attached test project I did.
    Isn't this supposed to work?
    Would be great if somebody could shed some light on this.
    Best regards,
    Mike
    edit: I am talking of vector objects...

    Hi Linda,
    thanks for the reference. Why is it so hard to find those pices of information?
    And btw: given all of these restrictions, can we expect the symbols to be of real practical use? I mean - come on: "Text will not work reliably, stray pixels, no live filters, no rectangle primitives".
    Does anyone know whether we can expect these to be fixed in CS4?
    Thanks again,
    Mike

  • Data Slice With Variables- not working

    Dear All,
    We are in BI 7.0.
    We have tried the data slice with variables approach and it is not working for us.
    We need to lock the plan data for the past periods. For  this, We have created a data slice (selection) with variable of type customer exit for fiscalyear/period.  How to populate this variable with the past month's data?. For Bex variables, this can be done in the cmod exits. Can we use the same cmod exits for populating data slice variable too?. If yes, then how this works?.( In case of Bex variable, the variable will be used in the characterics restriction (like fiscper) and hence this is getting filled up by the exit. How this works for the data slice variable?.
    Thanks for any suggestions/help.
    Regds
    velu

    Thanks for your response. Let me clarify one more thing related to this. I have 10 characterstics with a kf 0amount at my Aggregation level and i want to create a data slice to restrict the user not to change the data for the older periods. So, do i have to use all characterstics like my agg level or do i have to use only the fiscal year period?
    and the other thing is that it won't let me use a variable when i select the exit function for the fiscal year period when i created my data slice? where i can specify the variable name? is that at the settings tab or some where else?
    Thanks,
    Srini

  • 9-slice scaling doesn't work with rotation - bug!

    I have a simple graphic, a rectangle with 3 rounded corners with 9-slice scaling applied. When I scale it non-proportionally, the round corners keep their shape as expected. BUT if I then rotate it the round corners lose their shape and become ellipticaly distorted! If I rotate first and then scale the same thing happens. WT...??

    you're correct.
    it doesn't matter whether the scale9Grid is created in the ide or with actionscript.
    it's probably been reported because i think that's been a problem for a long time:  https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Guides for 9-Slice Scaling?

    I want to import artwork from Illustrator to do simple tweens. One of the options is to select Enable Guides for 9-Slice Scaling. I am not at all familiar with this feature in Flash. What is this used for? I am working with CS5.
    Thanks.

    Hi,
    9-slice scaling allows you to specify how scaling is applied to specific areas of a movie clip. With 9-slice scaling, you can ensure that the movie clip looks correct when scaled. With normal scaling, Flash scales all parts of a movie clip equally, and in both the horizontal and vertical dimensions. For many movie clips, this equal scaling can make the clip’s graphics look strange, especially at the corners and edges of rectangular movie clips. This is often true of movie clips used as user interface elements, such as buttons.
    If you have not used this option in Illustrator while creating/editing movie clip symbols, then you can ignore this option while importing the artwork.
    For more details on 9-slice scaling please go through http://help.adobe.com/en_US/flash/cs/using/WSd60f23110762d6b883b18f10cb1fe1af6-7db9a.html
    Thanks!
    ps: please mark this thread as Answered if this is of help to you.

Maybe you are looking for

  • Process Message failed: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.

    Hi I am trying to process an X12 message and I am getting following error. Method : ProcessMessage Message : Process Message failed: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: leng

  • How do I advance to the mid-point in a podcast more quickly than fast-forward?

    There have been time when a slide has appeared that has that function, but the only slide I can find now is for volume.

  • SQLJ and Java Stored Procedures

    Hi, Am very sorry, if I am taxing you too much with Java Stored Procedures!! However, I have struggling with it for more than 3 days or so.So please bear with me I am facing a peculiar problem on the subject. I have deployed a Java Stored Procedure u

  • Help requried plz

    Hi please let me know the table names belongs to SD hr ,fi and co. i mean example vbak,like those table.. and where can find the fields of those tables.. i repeat the question , all i need is the table names as well as their feilds in r/3 to related

  • Disappearing Snippets

    I installed SQL Developer 1.0.1.14 on a Windows 2000 PC. Snippets were visible on the right side of screen, and Snippets option was available on the View menu. I set SQL Formatter options (changed the Max line width) and restarted SQLD. Snippets were