Sizing a Scene7 flash component

Does anyone know how to size a flash component? I am using the BasicZoom and Flash Flyout Zoom. Both seem to have a ton of unnecessary whitespace around them. I've seen smaller examples, but I haven't been able to figure out how to size them as cq:includes
thanks

The solution I came up with was to override the component and add properties to adjust the size of the Flash canvas and the viewport.

Similar Messages

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • [svn:fx-trunk] 7765: Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.

    Revision: 7765
    Author:   [email protected]
    Date:     2009-06-11 15:58:18 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Fixing up some copyrights, adding copyrights, and fixing up some legal-eese for the Flash Component Kit For Flex.
    Also, updating the MXP to get latest changes to base classes.
    QE Notes: -
    Doc Notes: -
    Bugs: SDK-21670
    Reviewer: No one (just header updates)
    tests: checkintest (seem to fail due to local changes to ScrollBar, which I'm not checking in here)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21670
    Modified Paths:
        flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp
        flex/sdk/trunk/frameworks/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Component.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/Convert Symbol to Flex Container.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/JSFL/MakeFlexComponent.jsfl
        flex/sdk/trunk/frameworks/projects/flash-integration/readme.txt
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
        flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as

  • Using Flash Component

    Will Apple reject a Flash iPhone app that uses a Flash component? I want to create the app with a Flash plug-in component.
    Thanks.

    I don't understand your explanation.
    Is the SWFLoader loading a full SWF or an embedded symbol?  What is an invisible mode and how do you know it is in that mode?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Retrieve changing values from TextInput Flash Component

    Hi,
    I've been banging my head against the wall with this one....
    I've placed aTextInput Flash Component on the stage which
    reads/displays a value from an external text file. So far so good.
    If I enter new text during run-time - editable is set to true
    - the TextInput component updates to reflect what I've typed. BUT,
    how do I retrieve that text to a variable? (I need to save the new
    value back to the external text file).
    Current code:
    myfieldtext = sprite(51).text
    And eventPassMode is set to passAlways
    this retrieves the initial value regardless of what I type.
    Any help appreciated!

    I'm not sure if this all helps, but I had to make a flash
    name input box
    recently. I was getting all sorts of weird results trying to
    get the text
    out of flash. It was giving me all the font info etc, and I
    just needed the
    name. So what I ended up doing is when they were done
    entering the text, I
    put the text into a variable within flash, then pulled the
    data from that
    variable rather than striaght out of the text.
    in director, in the behaviour attached to the flash sprite:
    myText = sprite("nameInput").getVariable( "myNameString",
    True)
    where the sprite is named "nameInput". It seems better to
    name the sprite
    and refer to it that way than using the sprite number, such
    as sprite(51).
    In flash I have the text input field named "textInput", and
    the following
    code attached to the save button. You may have to use a
    different event,
    like when they text input loses focus.
    on (release) {
    var myNameString = "";
    myNameString = textInput.text
    trace(myNameString)
    getURL('event:doEvent,1')
    Timm
    "tayl" <[email protected]> wrote in message
    news:edjutm$ptl$[email protected]..
    > Hi,
    >
    > I've been banging my head against the wall with this
    one....
    >
    > I've placed aTextInput Flash Component on the stage
    which reads/displays a
    > value from an external text file. So far so good.
    >
    > If I enter new text during run-time - editable is set to
    true - the
    > TextInput
    > component updates to reflect what I've typed. BUT, how
    do I retrieve that
    > text
    > to a variable? (I need to save the new value back to the
    external text
    > file).
    >
    > Current code:
    > myfieldtext = sprite(51).text
    > And eventPassMode is set to passAlways
    >
    > this retrieves the initial value regardless of what I
    type.
    >
    > Any help appreciated!
    >
    >
    >

  • Flash Component Problem in D11

    I have a project where I am using flash component CheckBoxes.  I loaded them onto the screen and when I try to make the sprite width of each checkbox wider, the sprite seems to disappear on the stage. If I dont mess with the width, they display just fine and work correctly.
    Is this a common error for flash components in director 11?  Is it even possible to use lingo to adjust a flash component's sprite width?
    BTW - the setting of the Flash Component's sprite width occurs on an exitframe, not on a beginsprite
    Any help or info to point me in the right direction woiuld be appreciated.
    Thanks guys

    I specifically asked you for a file with a single component and a script attached that demonstrated what you were reporting. I asked for this so that I didn't have to waste time wading through extraneous code trying to figure out what was at issue.
    Your problem is that when you set the width, the height drops to zero. I don't know why. In a simple test case with a single component and a behavior attached that sets the sprite.width in the #beginSprite handler this doesn't happen - the width changes and the (original) height is maintained. Perhaps it's a consequence of makeScriptedSprite() - possibly because there is no sprite in place to start with, and therefore no original height to maintain.
    Here is your script "SetStaticProp" with my amendments:
    property pMyLinkInfo
    property pSetMyFlashProps
    property mySprite
    on new me, iNum, bSetProps, lInfo
      mySprite = sprite(iNum)
      pSetMyFlashProps = bSetProps
      pMyLinkInfo = lInfo
      return me
    end
    on endSprite me
      mySprite = VOID
    end
    on exitFrame me
      if pSetMyFlashProps = 1 then
        mySprite.static = not (pMyLinkInfo.enabled)
        mySprite.label = pMyLinkInfo.name
        tHeight = mySprite.height
        mySprite.width = 160
        mySprite.height = tHeight
        pSetMyFlashProps = 0
      end if
    end
    and here is the amended fragment from your "Generate Link Instance" parent script:
      --****Next Line causes CheckBox to go missing********
      --  sprite(CheckBoxSnum).width = 160
      myScript = script("SetStaticProp").new( CheckBoxSnum, 1, duplicate(myInfo) )
      sprite(CheckBoxSnum).scriptInstanceList.add(myScript)
      gItemSelectionList.add(myInfo)

  • Flash Component Loading Problem

    Some times Flash inbuilt Component will not load perfectly. I
    checked in Firfox and for Flash Player 9.0.45.0.
    And i checked in IE8 and flash player 10 then its working
    fine.
    And i worked in Flash CS3. So can any body tell me how to
    resolve this problem for previous version? atleast it should work
    for player 9 and firefox

    Sergius Lashutka wrote:
    > I have an embedded Flash component on my home page.
    Unless www. is added to my
    > address, this component will not load properly. All the
    variables show up as
    > "undefined". But if www. is added to my address
    "www.sergeglass.com", all is
    > well. I really want to fix this to move to the next
    thing. Thanks!
    >
    > Serge
    >
    Serge,
    You need to talk to your host and get them to fix this for
    you. All you
    need is
    http://sergeglass.com redirected
    to
    http://www.sergeglass.com
    Steve

  • Animated Flash Component Scaling when used as Button Skin

    I am trying to skin the overSkin of a Flex Button component with an animated Flash .swc component. (Actually, an Accordion Header, but for all practical purposes the same.)
    All works completely fine, in most cases.  The problem I run into is when I have any objects in the Flash animation moving on and off stage.  When this happens, although the objects cannot be seen when moved off-stage, the viewable area of the Flash animation scales down in either direction, or both, to make room in the button for the objects off stage.
    If I play the animation directly in the application, or a Canvas, everything works fine and no scaling occurs.  But for a Button, where I really need it, I get the constant scaling back and forth as the Flash movie runs.  This can be REALLY annoying when trying to click on a button! (Or you find that you are no longer "over" the button (because it scaled down) so you get flicker back and forth between the Up and Over states.)
    Any ideas on how I can keep this from happening, either on the Flash or Flex side would be much appreciated.
    Pertinent Code:
    [Bindable]
    [Embed(source="assets//btn_StaticHollywood.jpg")]
    private var Film:Class;
    [Bindable]
    [Embed(skinClass="fc.HollywoodWithSearchlights")]
    private var FilmOver:Class;
    animatedButton.setStyle("upSkin", Film);
    animatedButton.setStyle("overSkin", FilmOver);
    <mx:Button id="animatedButton" cornerRadius="0" />
    Note: I tried all assortments of setting dimensions I believe.
    Remember, the Flash component has objects that move in and off the stage from both directions, and this is the cause of the automatic resizing of the Button when it runs.

    I am assuming that you are using Flex 4 and this does not work. In Flex 4, the default theme used is the "Spark" theme. In Flex 3, we used the "Halo" theme. The Halo theme supports styles like borderStyle, but, the Spark theme does not.
    If you want to use these styles, you will need to compile with the Halo theme. You can do this by adding an additional compiler argument -theme=<SDK_DIR>/frameworks/themes/Halo/halo.swc (point to the halo.swc in your SDK installation)
    Joan

  • Integrate flash component into JSP page

    Hi,
    I need to integrate a flash component into my JSP page. flash component is used to put signature via mouse drag. the signature that is put should be captured and stored in DB. can anyone help me how to do it. Thanks in advance...

    I thought about including it in an outputText tag but i never tried it because the output text shouldn't be rendered as html code (by definition).
    Thank you for your brilliant solution, it works fine now.

  • Flash component kit

    I succesfully installed the flash component kit.
    unfortunately the "make flex component" menu is not added. The only
    thing I found was (right click on movie in Library) "export swc".
    Could it be, that it won't work with the German Flash Version?
    regards - m

    I succesfully installed the flash component kit.
    unfortunately the "make flex component" menu is not added. The only
    thing I found was (right click on movie in Library) "export swc".
    Could it be, that it won't work with the German Flash Version?
    regards - m

  • Safari freeze on screen with flash component

    Our website have a few screens that have embedded flash components. For some reason, on Mac OSX 10.5.x, after accessing a certain screen that has flash component, safari screen freezes (javascript is still functional, but you are unable to navigate away from the screen, reload doesn't help either) on another screen that has embedded flash component. It's reproducible on safari 3.2 and 4.0.1. How to troubleshoot this problem?
    Thanks
    Message was edited by: Dev B.
    Message was edited by: Dev B.

    Hi
    Welcome to Apple Discussions
    I suggest posting on the Adobe Flash forums. There, you'll be reaching those employing Flash on their or client web sites.

  • Accessing public properties/methods of flash component

    I've been searching all day trying to figure out how I can go about accessing properties decalared with in a flash component or containers base actionscript class.
    I need to create a fairly complex interface within a part of a flex web app and I think it would be better to create it in flash profressional. I just cannot find any good information on how to get xmxl/flex to play nicely with swf/swc. Maybe it's justs not possible.
    Any help or even a point in the right direction would be greatly appreciated.

    So I ended up answering my own question, but thought I would share how I did it since I can't seem to find any instructions or examples anywhere.
    So what I wanted in the end was a swc file running within my flex app but I need to be able to pull data out of my swc for use with in flex. These are the steps I took to get there. If you read through this and feel there is a better way of achieving the end result please share.
    Start out by adding a Flash Professional Container to your FLEX project (I dont know the difference between Component and Container, all I figured out is Component would blow up when I started adding classes with the Flash Professional project)
    Give the Container and ID. mine is myTest
    Double click and open the Container with in Flash Professional
    Once in Flash Professional go to the Library tab and right click to add a new Symbol.Make it a MovieClip and name it what ever you would like and export it for Actionscript. **I have yet to add more to this but I plan on treating this as my "Stage" or base view.
    Once created drag a new instance into the view. Make sure it is at 0,0 and give it a instance name. You will use this name as your accessor in FLEX
    Right click on your new movie clip in the Library tab and selecet edit class. since all I wanted was a string I created a private string and its public getter method
    private var _dataString:string = "Some string of data";
    public function get dataString():String {
         return _dataString;
    Save your class and close it
    Click the Done button in the .fla window to save your Flash project and return to Flash Builder.
    Now with in the actionscript section of my MXML I can access the string above by myTest.appMain.dataString;    appMain is the instance name of the movieclip I created in Flash Professional.
    Now that I figured this out it seems so trival and shouldnt have taken me so long to figure out. I'm just surprised I couldn't find more info on the web about getting Flash components/containers to work well with in Flex/Flash Builder.
    I hope this helps someone out.

  • Tabbing in and out of a Flash component

    I'm not a Flash developer, but I was wondering if any of you could answer a question that I have so that I can pass the info on to my Flash developer.
    He has created a Flash component to put on one of my HTML pages, but I can't tab in to it from the other HTML elements on the page. When I navigate the page using the tab key, it just completely jumps over the Flash component, even though the Flash component has active elements in it. Also, when I use the mouse to click inside the Flash component, tabbing works, but then I can't tab out of it -- after the last active element, it wraps around back to the top of the Flash component.
    I'm very interested in ensuring that this Flash component is accessible to people that can't use a mouse. What can I tell the developer to do in order for people to be able to tab into and out of the Flash component.
    Thanks for your time.

    Hi Jack,
    This isn't a feature of iPhoto currently (let Apple know if you want it added apple.com/feedback). However, you can achieve a similar affect with Keynote under iWork 09. Drop the picture you want into a keynote slide. Go to the inspector. Go to the build inspector. Choose Effect > Scale. Raise the Scale slider to the desired amount of "zoom".
    Hope that helps!

  • Flash component

    I have a .swf with that contains a linked .flv and a progress
    slider,
    start/pause button and a volume slider.
    When I run the .swf independently, all controls work fine.
    When in Director
    the progress slider only works for a moment as if I did a
    full mouse click
    on it rather than clicking down only and dragging.
    It seems that Director is taking the mouse events back from
    the Flash
    component.
    Any comments?
    Craig

    Hi maurifara,
    Did you try this: Flash
    Hope it helps,
    Regards,
    Tif

  • May i use flash component for develop IPhone application?

    Hi all,
    Actually i have flash cs4 pro, so first i develop my small application using flash component like datagrid, button and input text.
    After my completion my program, I will perches flash cs5 pro. Please suggest?
    Regards,
    Kartikeya Sharma

    it doesn't.
    but you can build iphone apps using flash and you can use flash components to build those apps (which was the answer to the op's question).

Maybe you are looking for

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1. tables: zptable1. types: begin of ty_zptable1,       f1 type zf1,       f2 type zf2,       f3 type zf3, end of ty_zptable1. data: itab type table of ty_zptable1 with header line. data: wa type ty_zptable1. select f1 f2 f3 from z

  • OAS hotel sample, oneEJBHotel

    I have been trying very hard to set up the OAS Sample Hotel Servlet (oneEJBHotel). I didn't have any luck. I get the following error when invoking the servlet through the browser: "A Servlet Error Occurred An unexpected error occured attempting to ru

  • Record mode

    hi friends can any one pls send me notes on bw record mode and with clear steps ...how does it works ...and things like that ....sorry my mail id is   [email protected] thanking you all in advance, kavita

  • Can't delete library

    I deleted songs from several playlists without problem. Then I tried to delete songs from several other playlists. I have tried hitting the DELETE button. I have tried hitting EDIT and then DELETE. Nothing works. The DELETE selection is grayed out. I

  • Can i view video when i record it

    hi there i have a question please iwant to view video from a capture device and record that video at the same time, i make thread in the record class and the lifevideo class but when i try to record, it gives me (javax.media.NoDataSourceException :er