Customizing DataGrid component in Flash CS3 using AS3

Can anyone please explain how to customize the DataGrid
component in Flash CS3 using AS3???
How do you remove/change the grid lines for the rows and
colums?
How do you remove/change the border?
My day has been lost searching for this answer. Flash
Documentation is worthless and Google finds nothing with regards to
AS3. ASDGRH.
Thanks in advance,
TedWeb

I hope you've found a resolution to this by now, but I just noticed the discussion title when posting a captioning issue.
In a nutshell, create a listener on your FLVPlayback module with a VideoEvent.SKIN_LOADED event. You'll also need to set the showCaptions in your FLVPlaybackCaptioning object to true. Apparently, if the captions are set to false when the player object loads the skin, the captions aren't recognized and your captions toggle will require an extra click to activate the captions.
Here's the link to another discussion on the same topic with all of the details:
http://kb2.adobe.com/cps/402/kb402452.html
Also, have you had any issues with the caption button in the FLVPlayback skin not showing up? That's my current issue. Here's the discussion for it:
http://forums.adobe.com/thread/796423?tstart=0

Similar Messages

  • Tracing Captivate 4 variables in Flash CS4 using AS3

    Hello. I've googled this 9 ways to Sunday and can't find an answer. I'm hoping one of you can help.
    I have a very simple Captivate 4 quiz with one question. I embed the Captivate SWF file in a Flash file, which plays fine. However I am struggling with tracing one of the Captivate variables in the Flash file using AS3.
    All I want is for Flash to read the Captivate variables so I can continue developing my quiz in Flash (building additional functionality Captivate does not provide).
    The variable I'm attempting to trace is cpInfoAuthor.
    I've attempted:
    trace(root.cpInfoAuthor);
    trace(root.movie.cpInfoAuthor);
    var cpAuthor = MovieClip(root).cpInfoAuthor;
    All of the above examples error out: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    Captivate preferences are set to publish in AS3.
    Anyone with an explanation?
    Be splendid, Jodie.

    Hi Jodie,
    I'm not exactly 100% proficient in AS3 but to me it looks like your statements are wrong.
    Since you are loading your Captivate SWF into a Flash SWF then (root) actually refers to your Flash SWF. I guess that you are loading your Captivate SWF into a movieclip on your Flash stage and that movieclip has an instance name,
    You would therefore need to grab the variables like var cpAuthor = yourLoaderMovieClip.cpInfoAuthor;
    See if that doesn't do the trick for you.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • DateChooser Component for Flash CS3, AS3.0

    Where and how do I get the datechooser for Flash CS3, AS3.0?

    which version of flash cs3 do you have?

  • Custom List component in Flash builder 4.5

    Hi,
    Am new to Flash builder 4.5. I want to create a custom list component. In that i have some queries.
    They are,
    1. What are the basic procedures/steps to be followed for Component development in Flash builder 4.5
    2. What are the approaches to the component development in Fladh builder 4.5?
    3. Is there any reference sutes available?
    Thanks,
    Manikandan

    http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_06.html
    you could also search blogs for custom component creation. There might be many implementations for your learning/usage.

  • Flash CS3/CS4 (AS3) Components

    On the gskinner blog (
    http://www.gskinner.com/blog/archives/2007/05/variable_scroll.html)
    there is a posting about an update to the new components for Flash
    CS3/CS4 which would allow the components to be skinned easier (I
    think). Can from Adobe comment on why this update has not bee
    rolled into the Flash IDE itself?
    Thanks,
    Sean

    Problem is not in your windows 7 OS, since i was working CS4 and now i m working with CS5 in windows 7 only. And i feel more comfort with this new OS. May be you hardware configuration might not be support to new technology like windows 7 and Flash CS5. Beca it is need high hardward configuration

  • How to consume Web  Services in flash CS3 in AS3?

    flash without WebServiceConnector in AS3, how this can be
    possible? Some Third Part component? or I will have to resign to me
    to use Microsoft ATLAS?
    returns
    Macromedia please!!!!!

    These might be good places for you to start.
    [User|http://help.sap.com/saphelp_nw04s/helpdata/en/80/45da9619d24b61bb869c31ef3b780a/frameset.htm]
    [Protecting Access to the Web Dynpro Application Using UME Permissions|http://help.sap.com/saphelp_nw04s/helpdata/en/f3/a64d401be96913e10000000a1550b0/frameset.htm]
    -Michael
    Edited by: Michael Shea on Sep 2, 2008 8:24 AM
    Edited by: Michael Shea on Sep 2, 2008 8:25 AM
    Fix link

  • How to use MS Access database in Flash CS4 using AS3

    Hello everyone,
         I need help for how use the MS Access database in FlashCS4 and I want to save and retrive the data from the database and display in the Flash window.
    Thanks with,
    Viswa.

    http://www.northcode.com/blog.php/2011/05/06/Using-ADO-Data-Sources-in-Flash-Projectors

  • Flash CS3 w/ AS3 - Arrow key navagation help!

    First, I'll appologize in advance for my lack of experience
    in Flash. I've used the product for about 2 weeks now to put a
    presentation together so my knowledge is still pretty thin.
    Here's my problem:
    I've created a Flash presentation that I hope to be able to
    navigate using only the arrow keys and enter -- no other keys. The
    reason being that this will be run using a remote control. The
    navigation works fine, but I seem to need to hit the "tab" key in
    order to first set keyboard focus on the first item on the stage. I
    have to do this every time I jump to a new menu (new keyframe in
    the timeline) and new button objects are displayed onscreen.
    How can I set the keyboard focus on an item on the stage
    without having to hit "tab"? I've tried stage.focus(),
    button.setFocus(). I've tried playing with the FocusManager. So far
    I've had no luck (I wish I had tracked everything I had tried so I
    can list it).
    I also tried creating a blank stage with three button
    components. In that example, I simply could not use the keyboard at
    all.
    Any thoughts or help would be appreciated.

    try stage.focus = mc
    (where mc is the instance name of the first menu item)
    Do you ever actually click on those item you are trying to
    set focus too? If your nav is really all just arrows and enter then
    I would think you should take a differnt approach...lots of ways
    you could do it, such as setting up an array of values and having
    the arrow keys move you through the array and enter would perform
    it's action based on the current selection.

  • Creating flash cs3 component

    Hi,
    There is great and easy way to create flash based component
    in flash cs3 using action script 3.0.
    I am going to make a simple My button component which will
    behave likely same as flash native button component.
    You can modify this according your requirement this is just
    you give an idea about how we can go for creating a component in
    flash cs3.
    Follow these steps…
    1. Create a fla file and save this file with any name
    2. Create a movieClip and draw a rectangle shape on first
    frame.
    3. Right click on movieclip in library, select linkage
    4. Provide class name in text field area [MyButton] (you can
    use any name here which should matched with your class)
    5. Click Ok button
    6. Write class [MyButton]
    (you can copy and use this)
    * author @ sanjeev rajput
    * [email protected]
    * A flash action script 3.0 based component without extending
    UIComponent class
    package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import fl.motion.Color;
    public class MyButton extends Sprite{
    private var _tf:TextField;
    private var _Label:String="My Button";
    private var _bgColor:uint=0xCCCCCC;
    private var _rollOverColor:uint=0xFFCCCC;
    private var _borderColor:uint=0x000000;
    private var _borderThickness:int=1;
    private var _width:Number = 100;
    private var _height:Number =100;
    private var _background:Sprite;
    public function MyButton() {
    init();
    createChildren();
    initEventListeners();
    draw();
    //-------------property section [Start]
    [Inspectable]
    public function set Label(lbl:String){
    _Label=lbl;
    draw();
    public function get Label(){
    return _Label
    [Inspectable]
    public function set bgColor(color:uint):void{
    _bgColor=color;
    draw();
    [Inspectable]
    public function set borderColor(color:uint):void{
    _borderColor=color;
    draw();
    [Inspectable]
    public function set borderThickness(thickness:int):void{
    _borderThickness=thickness;
    [Inspectable]
    public function set rollOverColor(color:uint):void{
    _rollOverColor=color;
    //-------------property section [End]
    private function init():void {
    trace('welcome');
    _width = width;
    _height = height;
    scaleX = 1;
    scaleY = 1;
    removeChildAt(0);
    private function initEventListeners():void{
    addEventListener(MouseEvent.MOUSE_OVER, eventHandler);
    addEventListener(MouseEvent.MOUSE_OUT, eventHandler);
    private function eventHandler(event:Event):void{
    if(event.type == MouseEvent.MOUSE_OVER){
    toggleColor(_rollOverColor);
    if(event.type == MouseEvent.MOUSE_OUT){
    toggleColor(_bgColor)
    private function createChildren():void {
    _background = new Sprite();
    _tf = new TextField();
    _tf.autoSize = "center";
    _tf.selectable=false;
    addChild(_background);
    addChild(_tf);
    protected function draw():void {
    toggleColor(_bgColor);
    _tf.text = _Label;
    _tf.x = Math.floor((_width - _tf.width)/2);
    _tf.y = Math.floor((_height - _tf.height)/2);
    //width = _tf.width;
    private function toggleColor(color:uint):void{
    _background.graphics.clear();
    _background.graphics.beginFill(color, 1);
    _background.graphics.lineStyle(_borderThickness,
    _borderColor, 1);
    _background.graphics.drawRoundRect(0, 0, _width, _height,
    10, 10);
    _background.graphics.endFill();
    public function setSize(w:Number, h:Number):void {
    _width = w;
    _height = h;
    draw();
    7. Now right click again on your movieclip in library and
    select component definition.
    8. In class name text field provide same class name
    [MyButton]
    9. Click on ok button
    10. Right click again on movieClip in library and select
    Export SWC file.
    11. Same your exported SWC file in (For window only)
    [c:\Documents and Settings\$user\Local Settings\Application
    Data\Adobe\Flash CS3\en\Configuration\Commands\
    12. Now just open another new flash file open component
    panel/window reload component you will your component in component
    panel with MyButton name.
    13. Drag your custom component on stage provide inputs form
    property window and text it.
    Enjoy!

    Lt.CYX[UGA] wrote:
    > if anyone is using Flash CS3, try creating a flash
    movie, using the FLVPlayer
    > component to play an flv video and make it an executable
    projector. Run it
    > fullscreen and watch how the screen just stays black
    when the video should
    > appear. If you stay windowed, it works fine.
    >
    >
    steps to reproduce:
    > 1. create flash movie
    > 2. put an FLVPlayer component on a frame that's not the
    first (for testing
    > purposes)
    > 3. before the projector reaches the frame with the
    FLVPlayer component, change
    > it to fullscreen (by script or CTRL+F)
    >
    >
    observed behaviour:
    > not only the video doesn't play, but the whole screen is
    black until the
    > player goes back to windowed mode
    >
    >
    expected behaviour:
    > video should play
    >
    >
    remarks:
    > if you skip step 3, video plays correctly
    >
    Works just fine.
    Made new movie, on frame 2 places Full screen action, on
    frame 5 placed video component
    and stop(); action attached to frame. Projector pops large
    following by video playing
    just fine.
    I tried variety, first frame, many frames, all on one. Not
    able to reproduce your problem.
    Works on first go.
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Flash CS3 and Javascript

    A couple of weeks ago, I wrote in another thread about how
    Flash CS3 (using AS3) can directly handle javascript. I must tell
    you that this direct handling is limited. You cannot call custom
    javascript functions from html this way. If you need to call
    function in your html, you must still use ExternalInterface.
    Flash CS3 has a new function called navigateToURL().
    navigateToURL() is part of the flash.net package and is
    asynchronous (does not return any kind of value).
    Let's say you want to throw a simple javascript alert message
    to a user. You need to first make a call to the URLRequest
    constructor and pass it a string value that uses javascript
    protocol. In the alert example, you'll be calling the string
    "javascript:alert('Your first AS3 javascript call');" To those
    familiar with HTML, this will look very very familiar. All put
    together, it looks something like the code below....
    This idea can be expanded on and added to custom event
    handlers in classes for buttons and other things in your projects.
    Remember though that you must call the javascript code as it
    appears in the javascript protocol. So to open a popup window,
    you'd need to use window.open( blah, blah, blah ). Personally, I
    still use ExternalInterface to call my Javascript functions (if I
    need them at all). The only reason I use navigateToURL is when the
    browser I'm using does not support ExternalInterface.
    Anyhow, the code for the above example is down below. If you
    have questions, post them here.

    k,
    my post 2+ weeks ago was adrenaline driven and premature. the
    example I just gave was the code I was talking about. Why I ever
    posted that URLLoader was capable of javascript interaction is
    beyond me. I know better. The purpose of my post was simply to
    answer questions I've been getting in my e-mail and to clarify my
    original post 2 weeks ago.
    As I stated, navigateToURL is meant for specific scenarios
    just as getURL was in AS1 and 2 which was replaced by navigateToURL
    in AS3. This would be more for the Linux users and the a-typical
    O/S users where ExternalInterface is not supported by the browsers
    on those operating systems. I do not condone using navigateToURL or
    getURL. I will always recommend external javascript files and
    ExternalInterface. My apologies for leading anyone on with my
    premature run-off of the typing finger.

  • Pdf in Flash CS3

    Hi everyone,
    Is there a posibility to open an external PDF in Flash CS3
    using AS3?
    I would very much appreciate some help.
    Thanks,
    Dan

    Please help
    What is a pdfpath? How can make it work?
    navigateToURL(new URLRequest(file.pdf), "_blank"); does not
    do anything

  • 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

  • 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.

  • How to disable a particular list item in flash cs3

    Friends,
    I need a small help on list component in flash cs3.
    assume that i have 5 items in my list and i want to disable 3,4,5 items from mylist box. how to do this ??
    item 1 -- enabled state
    item 2 -- enabled state
    item 3 -- disabled state
    item 4 -- disabled state
    item 5 -- disabled state
    using flash cs3, i want to achieve this , how to do this ?? any ideas pls..
    Rajesh

    Hi Rajesh,
    I've seen your query all over the internet, so I should warn you I don't believe it's possible to disable a List Item.
    For that you should use Josh Tynjala's open source Advanced List (http://code.google.com/p/flextoolbox/downloads/list).
    Best Regards,
    Filipe.

  • Arabic project in CS3 with AS3

    dear friends,
    i need to create an arabic project in flash CS3 with AS3 coading. i am using normal version of flash. i need your advice,
    1) do i need middle east version to type and get arabic text?
    2) if i can use the same software and show the arabic text or enter the arabic text in run time what should i do? pls advice me.
    tell me how can i manage with the existing software and do the arabic project. i typed arabic text in this CS3, al the text is coming as broken, output also broken.  pls help me..
    Thanks in Advance,
    Syed Abdul Rahim

    Hi Syed,
    You need to install Adobe Illustrator ME (Middle East Version), otherwise the arabic text will appear as detached letters.
    Adding arabic fonts will not do the trick by itself.
    As far as i know, there is no other way, and i am not sure if there is Flash ME.
    And in case you cannot get this version you could always try typing it in MS Word and tracing it in Illustrator or Flash.
    Regards,
    Marc

Maybe you are looking for

  • Problem with ipad 2 and push notifications

    Hi, first of all excuse me for my english but i am italian. I have a problem with my ipad 2 16gb only wifi, i have activated the push notifications of several app (like twitbird or IM+) but when i close this app i don't receive the pop up notificatio

  • How do i transfer data from windows to ipad

    my ipad was shut down and re started all data was saved on windows computer how do i transfer them back to i pad .need help to do this thanks

  • Mix landscape and portrait in one report

    Is it possible to have a container report have a mix of subreports that are portrait and some landscape?   Is it possible to embedd the printer portrait/landscape control characters on each subreport so it prints properly?   ...or something to print

  • Can I change providers of my Office 365 Business?

    I have a customer with Office 365 Business who wants to use me as his retailer for this service instead of his current provider, is there any way of changing this or do I have to set this up as a new service? Thanks for your help. Peter

  • Get Currently Online Users

    Hi, ERROR ====== Portal Runtime Error An exception occurred while processing a request for : iView : N/A Component Name : N/A com/sap/ip/collaboration/core/api/ume/portal/IRTCAwarenessService. Exception id: 03:13_21/03/06_0110_1728550 See the details