Flash CS5 custom component

Hello,
I have a problem since I improved my version of Flash (CS3 to CS5). I created a component in which there are several parameters. My problem concerns parameters which are "Number" type. It appears to no longer be managed the same way since CS5. Indeed, if I pass a value greater than 1, the value retrieved in actionscript is 0. It seems that the values of "Number" type for CS5 should be as follows 0 <= x < 1.
Is this a bug? How to pass a value greater than 1 (eg: 800) ?
Thank you in advance.

I would if we could - but we need support for unicode characters.  Our primary language is Nepali using the Devanagari script, which is not supported by Classic Text (the written language is all about complex ligatures - often up to five multibyte characters are rendered as one).

Similar Messages

  • Using Flash Catalyst Custom Component in Flash Builder

    I created a custom component in  Flash Catalyst that is intended to be used in the way that one would use  a BorderContainer in Flex/Flash Builder. Can anyone advise me how I  might go about doing this?
    many thanks,
    Mark

    And also there's a lot of new content to help every one started at http://www.adobe.com/devnet
    If you're a CF/Flex developer you're gonna enjoy the new content here too
    http://www.adobe.com/devnet/flex/flex_cf.html?devcon=f3

  • Flash CS5, custom SWC without inlining TLF textLayout? (adds 125KB)

    I have a set of custom UI elements that are used in a number of activities, and want these maintained separately but linked into the activity on compile.  Basically an external library that can be linked to by all activities.  My understanding is that a SWC is the correct way to implement this.
    I have created a bare-bones example of this duplication problem, download here.  The following description is based on this example.
    The "shared.fla" has a library symbol with a linkage id (which is actulaly just a TLF Textfield).  Compiled to SWF this is 52KB (all of which is flashx.textlayout.* TLF actionscript bytes) + 153KB textLayout_*.swz.  Compiled to SWC this is 397KB.
    The "activity_link_swc.fla" displays this shared library symbol on the stage, and links to the "shared.swc".  This creates a 179KB swf file.  This filesize is the same if the Runtime Shared Library Settings default linkage is either "RSL" or "Merged Into Code" - obviously the inclusion of my "shared.swc" automatically inlines the textLayout code.
    If instead of linking to the SWC I just copy all of the SWC's library contents into the activity, of course this gives a SWF size the same as the "shared.fla" - 52KB + external textLayout.swz - 127KB smaller (assuming the swz file will be cached locally, and that's the whole point of SWZ files).
    Is there any way to get this to work?  Having a compile time shared library of assets, without incurring a penalty for touching the mess that is TLF?

    I would if we could - but we need support for unicode characters.  Our primary language is Nepali using the Devanagari script, which is not supported by Classic Text (the written language is all about complex ligatures - often up to five multibyte characters are rendered as one).

  • When I change a property name in a custom component, the flash compiler throws a ReferenceError.

    I'm building a custom Datagrid component, and I had three parameter properties: _columns [Collection], _headerHeight [Inspectable], and _rowHeight [Inspectable]. This all compiled fine, but I needed to change things about the _columns variable, and it made sense to instead create _columnData to store data from a DataProvider. Now it throws a ReferenceError every time I try to Test Movie, saying that the property columnData can't be created, despite listing it in the parameter list in the Flash Professional IDE.
    The only thing I can imagine is that Flash is somehow caching an earlier version of my class, but that the Flash IDE is correctly updating itself according to my metadata when I rebuild the component. I've cleared out all the stuff from ~/Library/Application Support/Adobe/Flash CS5/CodeModel, restarted Flash, even built the component from scratch (using the same class) in a new FLA - nothing has worked.
    The code causing errors is copied below:
    private var _columnData:Object;
    private var _headerHeight:Number = 40;
    private var _rowHeight:Number = 40;
    [Collection(collectionClass="musicone.components.data.DataCollection", collectionItem="musicone.components.controls.datagrid.DatagridColumn", identifier="item")]
    public function get columnData():Object {
         return _columnData;
    public function set columnData(value:Object):void {
         _columnData = value;
         var _forceClass:DataCollection = value as DataCollection;
         //updateColumns();
         draw();
    [Inspectable(type="Number", defaultValue=40)]
    public function get headerHeight():Number {
         return _headerHeight;
    public function set headerHeight(value:Number):void {
         _headerHeight = value;
         draw();
    [Inspectable(type="Number", defaultValue=40)]
    public function get rowHeight():Number {
         return _rowHeight;
    public function set rowHeight(value:Number):void {
         _rowHeight = value;
         draw();

    I would reccomend that you not use scenes for that purpose, not exactly sure why  but scenes are unreliable. Try putting all of your content in one scene, one timeline and just add a few stop() 's at the end of each "scene", then in your code remove scene2 and scene3 three references, and you'll possibly need to change frame anchors/targets also if you have them.
    The error indctates that you have called an object that does not exist at the time the code is run, check where you placed your code, should be frame one, scene1, and also check if you have objects entering the stage down the timeline, that do not enter in frame 1, possibly the movieClip? if so add another keyframe on your actions layer on the same frame as the object and enter the call function for it there.

  • Importing a custom component from Flash Catalyst with Assets

    I am experimenting with Flash Catalyst to see if it would work well for us to create components for Flash Builder to use. As a test I created a very simple component with a Pie Chart and a button and exported it as a fxpl file. In Flash Builder I created a Flex library project and imported the component to it. When I tried to use the component in a trivial test app it gave me an error, saying 'Could not resolve <graphics:fc_pie> to a component implementation', presumably because it had not put the component files in the right place of the library tree - by default they were put in a folder at the same level as components but with the name of the component, below which it had a components folder and an assets folder. If I move the files in these folders to the corresponding folders under src then it works fine.
    The question is, how do I get Flash Builder to do this correctly? I assume I'm missing something obvious but I am a real Flash Builder Novice and this process is about evaluating which tools to use. Sorry if I'm being a numpty. I'm using Flash builder 4.5 and Flash Catalyst CS5.5.
    Any help much appreciated.

    If you look in the library panel, there should be an entry for your custom component - probably something like CustomComponent1.mxml. Drag this out onto the artboard to create a new instance of the component.
    In the case of a custom component, you can't change much on the second instance. If you have something like a text input skin though, you can change the text it is displaying for each instance.
    We are working on making this sort of thing easier in the future, so stay tuned

  • How do I reuse a custom component in Flash Catalyst?

    All-
    I'm sure this is easy, I simply can't figure it out.  I've created a custom component in Flash Catalyst with two states, open and closed.  I'd like to reuse this component in my app with different text assest.  How is this done?  Duplicating the component isn't available in this version...do I need to recreate the whole thing with different text?
    Cheers,
    `me

    If you look in the library panel, there should be an entry for your custom component - probably something like CustomComponent1.mxml. Drag this out onto the artboard to create a new instance of the component.
    In the case of a custom component, you can't change much on the second instance. If you have something like a text input skin though, you can change the text it is displaying for each instance.
    We are working on making this sort of thing easier in the future, so stay tuned

  • Custom envelope for sound not working? Flash CS5

    I'm trying to set a custom envelope for a sound in Flash CS5. I can bring up the envelope editor fine. But, I find that all the control points are after the end of the sound itself. If I click on the waveform to create a new control point, the point momentarily appears where I click it, then automatically jumps to the end of the waveform. If I try and drag any of the control points from after the waveform to during it, they just automatically pop to the end of the waveform.

    Strange. After I wrote the previous post, Flash crashed. And now after starting it up again, the Custom Envelopes are working properly.

  • Can I import a custom component from Flash 8 into Flex?

    'm creating a custom Flash Video Playback component in Flash
    8 using AS2. I understand that I cannot import this to Flex as
    stated in Livedocs: "You can use SWC files created in Flash 8 only
    for skinning, not as components. Until the next version of Flash is
    released, you can only use SWC files created in Flex 2 as
    components."
    But now that Flash 8 supports AS3 with the new Adobe Labs
    add-on, if I create the custom component using AS3 in Flash 8, can
    I then import it and use it in Flex 2.0.1?
    Any help is appreciated,
    Thanks!

    I was going through my libraries trying to find the quick test I did when I was dabbling with the kit and I can't find it anywhere at all.
    If I recall this was the pdf that I read to get it to work properly with CS3 and Flex 3 I don't know if you have read it already or if it will help, but it is the only thing I know for sure helped with the process.
    http://download.macromedia.com/pub/labs/flex/3/flexbuilder3_componentkit_docs_121207.pdf

  • Export Flash CS5 component to Flash Builder

    Hello there .
    I'm having some troubles exporting a movieClip made in Flash CS5 Professionnal to Flash Builder.
    I created a simple movieclip name test : rectangle and textinput inside name "title", then command ->convert symbol for Flex. Everything looks good. I publish the .swc and import it in Flash Builder.
    Everything is good when I just add the MovieClip :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:local="*">
    <local:test />
    </s:Application>
    but when I try to set a value to the title <local:test title="Title" />, I get the following error : (sorry it's in french =O)
    Description Resource Path Location Type
    Initialiseur pour 'test' : les valeurs du type flash.text.TextField ne peuvent pas être représentées dans le texte. TestComponent.mxml /TestComponent/src line 5 Erreur Flex
    Google translate:
    Description Resource Path Location Type
    Initializer for 'test': values of type flash.text.TextField can not be represented in the text.TestComponent.mxml / TestComponent / src line 5 Error Flex
    There are a lot of tutorial showing how to integrate Flash Builder & Flash Cs5 but not so much tutorial about how you can import Flash CS5 component into Flash builder :/
    Hope you can help me

    Nevermind stupid question
    title points on TextField and not on .text property... of course -.-

  • Creating a component in Flash CS5

    Hi,
    How can I create a component using Flash CS5? I have tried to follow various documents I have found on google and went about it in the following way:
    1. I created an empty FLA.
    2. I created a MovieClip containing some graphics, and named the MovieClip "MyTestComponent" in the Library.
    3. I selected the MovieClip's properties in the Library and selected "Export for Actionscript", and made the MovieClip inherit from fl.core.UIComponent.
    4. I saved the FLA in the directory "C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Components" and restarted Flash. At this point I would expect that the MyTestComponent component would show up in the Components panel, but it did not.
    5. I tried to publish the FLA as an SWC file and place the SWC file in the same file as above. According to my understanding, both this and the step above should have worked, but it did not.
    So, what am I missing?
    Also, where can I find an up-to-date documentation on how to create components to be used in Flash CS5?

    I managed to get it work at the end...
    First, the components directory was at this location:
    C:\Users\<username>\AppData\Local\Adobe\Flash CS5\en_US\Configuration\Components
    Then, to make a component out of a MovieClip, right click on the MovieClip in the library and select "Component Definition" and check the checkbox "Display in Components Panel". What I did then was to right click on the MovieClip and selected export swc file, and saved it in the directory above. This exported only one Component, which was fine for me. Probably it would be possible to do something similar to save a library of components as a .fla or .scw or so, but I don't know the details.

  • Flash CS5: unable to drag component to stage or library

    We are the developers of a complex Flash component (http://www.openspace-engine.com) which worked without issues on Flash CS3 and CS4. Now, in Flash CS5 (both Mac and Windows versions) we have found a couple of problems at author-time, so any help would be appreciated.
    -1-
    After installing the mxp file containing the component, when trying to drag the component from the Components panel to the stage, or to the Library panel, it doesn't work. There's no way to import the component!
    -2-
    If we open an existing FLA (created with Flash CS4), the component doesn't show correctly at author-time: you only get a black frame, instead of the expected result (it should show a white background with a logo in the middle). When compiling, everything works fine.
    Any ideas? Thank you.

    The described issues have been reported to Adobe, which was able to replicate and to fix them. Simply install the latest Flash update.
    Thank you to the Flash development team.

  • Seek Bar Component Flash CS5

    Hi, I've been trying to use the seek bar component in Flash CS5.
    I've managed to use create my own play and pause buttons using the following code:
    playbtn.addEventListener(MouseEvent.CLICK, fl_ClickToPlayVideo);
    function fl_ClickToPlayVideo(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component
              video.play();
    pausebtn.addEventListener(MouseEvent.CLICK, fl_ClickToPauseVideo);
    function fl_ClickToPauseVideo(event:MouseEvent):void
              // Replace video_instance_name with the instance name of the video component
              video.pause();
    I've dragged the SeekBar component onto the stage and given it an instance name of "mySeekBar".
    I have then referenced this in the Actionscript as follows:
    video.seekBar = mySeekBar;
    However, the seek bar doesn't work. It displays but there is no slider etc.
    Can anyone help me out as I have very little knowledge of Actionscript!
    Thanks.

    Hi, couldn't quite get everything in two screenshots:
    1. FLV & properties:
    http://gyazo.com/df0848ed58e3b86c15a9f3ea51cd13c0
    2. Seekbar selected & properties
    http://gyazo.com/c54da21cfc29727f2ea0a38f5d794926
    3. Actionscript in "Actions" layer
    http://gyazo.com/92bd65d25dff0c027a04bd3f1b62542a
    Thanks.

  • My custom component works great in cs5 but cast a #1009 error in cs5.5!

    Hello,
    some time ago i made a very useful component in flash cs5 called TimelineLoading:
    you can drag it from the library to the stage and set some properties in the inspector (CIRCLE or BAR loading, color, size, etc...).
    It does the loading of your timeline, showing the progress in a very nice way, and then goes to frame 2 when loading ends.
    It has always worked perfectly, but now, when i try to use the exact same component in Flash CS5.5 it throws a 1009 error, even before starting anything.
    here is the error: Error #1009: at MainTimeline/__setProp___id0__Scene1_Layer1_0()
    you can find the component here:
    http://code.google.com/p/riccardosallusti/downloads/detail?name=TimelineLoading_1_2.mxp&ca n=2&q=#makechanges
    install it with the Extension manager, then drag it to the stage on frame 1, place a big image in flame 2 with a stop(), change the loading type to BAR in the inspector, and then publish.
    note: leaving the default loading type to CIRCLE, does not throw any error but the loading doesn't work.
    If you try it in cs5 everything works fine.
    Thanks
    P.S. tried on Windows 7 and MAC osx 10.6.8

    I tried that but I keep getting this error message:
    VerifyError: Error #1053: Illegal override of createGeometry in flashx.textLayout.elements.FlowGroupElement.
    ReferenceError: Error #1065: Variable _11f1d66f38eb234da07a684678bb07c1e6cff9d15441f91af33073b7534701e8_flash_display_Sprite is not defined.

  • Custom Component Locking Up in Flash Player

    I am able to create the custom component just fine and in the
    Flex application it looks to sit in the root application just fine.
    Renders with no errors as well. When I view it live nothing is in
    it's place AND the Flash player locks up. I am using it to populate
    a view stack VBox but it still doesn't seem to fly outside of that.
    Any thoughts?
    Jon

    Please post your code so we can have a look at it. Both the
    component and you Main Application files.

  • Flash CS5.5[Publish Settings]: How to include custom Metadata tags in swf?

    In Flash CS5, the 'Publish Settings' for the fla had an 'Export SWC' checkbox that took care of that.
    The option is missing. Why was it removed and how can  that be done in 5.5?

    Thanks sinious, but, it doesn't work.
    Let me elaborate on what I want to do:
    I'm trying to create a swf in Flash CS5.5, that's using a flex library (swc) that relies on Metadata tags (anotations).
    I need to use the metadata tags in my as3 code (in the fla), and They need to be compiled into the swf (by Flash CS5.5 compiler...).
    Although, when I load that swf, the metadata tags aren't compiled into it (I'm using describeType to check if tags are available in the swf).
    In flex, I would use the '-kepp-as3-metadata+=' compiler setting to do that, in Flash CS4 & CS5 I used the 'Export SWC' in the publish settings, but that's removed (WHY???).
    Checking XMP Metadata didn't change that, the tags are still not included in the compiled swf.
    Anyone?

Maybe you are looking for

  • Streaming Office 2013

    Hi All, I've been working on building and streaming an App-V version of Office 2013 Standard (VL) though the Click-To-Run setup.exe /download and setup.exe /packager codes. I created a custom configuration file as such - <Configuration> <Add OfficeCl

  • AI effects: Feather versus gaussian blur? which is raster or vector?

    i`m looking at feathering versus blurring. both in illustrator effect drop down menu. from what I I understand the blur/gaussian blur under photoshop effects (in illustrator) will pixelate the edge gradation, but the illustrator effect "feather, will

  • Missing Firewire - for video output

    Am trying to run out a tape of a timeline, or else, run out via firewire to my standalone Sony DVD recorder. Confronting the "MISSING APPLE FIREWIRE 720 ...". Noticed a lot of posts concerning this. And yes, I have upgraded from 4.5 to 5.1. So I just

  • Transferring DRM free music to Motorola V3xx

    I just got a new cell phone. I wanted to transfer music from iTunes on my Mac to this cell phone. how do you do it? I'm asking this question because I read somewhere that the Mac won't recognize this cell phone if connected by the data cord. Is this

  • Arranging playlists.

    I subscribe to a pod cast and have several problems with it. First and foremost, the playlist I created for it WILL NOT allow me to change the order of the items. Secondly in downloading the pod casts it will only allow me to reverse the order of ALL