Reference to FLVPlayback Skin object

So I have a problem with the FLVPlayback. I'm using a
customized version of the SteelOverPlaySeekMute skin, and it works
very well. The only problem is, that Macromedia coded the
FLVPlayback.skinAutoHide poorly, in that it only hides when an
onRollOut is triggered for your FLVPlayback. However, if the
FLVPlayback is the same size as your Stage, this will NEVER get
triggered. I'm finding a way around this by using a MouseListener
with a setInterval to hide the controls by changing the
FLVPlayback.skin to an empty string, and then back to my custom
skin when the mouse moves again. However this is a very clunky
method of handling it, and when the skin first loads back again
after hiding, the playback handle is at the begining and then jumps
to the right position. It's kinda ugly.
So is there any way to reference my skin object so I can set
the _alpha property or something, or do I need to go and code my
own custom UI?

Hi all ,
I'm totally no where by this statement :
" In Practice, a reference argument is anothercopy
y of a reference to the Orginal object "
can any one please explain me further ?In Java there are two kinds of variables. Onewhich
holds the value of a primitive (like say an int)and
another which holds a reference to an object.
Both types of variables are passed in the same wayto
methods. A copy of the content of the variable is
assigned to the method parameter. So in the case ofa
primitive it's a copy of a value and in the caseof
an object its a a copy of a reference.Sorry , But I remember I read in java all the
arguments are by Value and NOT by reference .....
Is that diff for object and primitive type ?Arguments are passed by value.
As UJ said, that value might be a primitive, or it might be a reference. A variable's value is NEVER an object in Java.
http://javadude.com/articles/passbyvalue.htm
http://java.sun.com/developer/JDCTechTips/2001/tt1009.html#tip1
http://www.javaranch.com/campfire/StoryPassBy.jsp
http://www.javaworld.com/javaworld/javaqa/2000-05/03-qa-0526-pass.html
http://www-106.ibm.com/developerworks/library/j-praxis/pr1.html
http://www.cs.toronto.edu/~dianeh/tutorials/params/
http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#38698
http://radio.javaranch.com/channel/val/2004/05/21/1085125887000.html

Similar Messages

  • FlvPlayback Skin Custom Button calling external function

    Hi,
    I have a custom movie clip in the flvplayback skin and I am looking for a way to call an external js function. This is what I got inside the skin
    my_object.addEventListener(MouseEvent.CLICK, externalFunction);
    function externalFunction(){
        ExternalInterface.call("ExternalFunction");
    Unfortunately, the ExternalFunction is not being called at all. What am I missing here?
    Any help is highly appreciated. Thanks

    Here you go.
    <div id="customEngine_Container" style="z-index: 10001; border: 0px none; width: 400px; height: 550px; position: fixed; bottom: 100px; right: 100px;">
    <object width="400px" height="550px" id="customEngine_Container_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param name="movie" value="customEngine.swf"><param name="quality" value="high">
    <param name="FlashVars" value="movieUrl=customEngine-demo-video.flv&amp;skinUrl=customSkin.swf&amp;width=400&amp;height=550&amp;">
    <param name="menu" value="false"><param name="wmode" value="transparent">
    <object width="400px" height="550px" id="customEngine_Container_o" type="application/x-shockwave-flash" data="customEngine.swf">
    <param name="movie" value="customEngine.swf">
    <param name="quality" value="high">
    <param name="FlashVars" value="movieUrl=customEngine-demo-video.flv&amp;skinUrl=customSkin.swf&amp;width=400&amp;height=550&amp;">
    <param name="menu" value="false"><param name="wmode" value="transparent">
    <a href="http://www.adobe.com/go/getflash">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player">
    </a>
    </object>
    </object>
    </div>
    May I ask, how is it relevant to AS skin calling JS?

  • Closing references to front panel objects

    Short version of my question: are programmatically generated references to front panel objects (controls, etc.) automatically disposed of when the VI exits?
    More details: I'm recursively retrieving references to all the controls on the front panel.  (I say recursively because I'm also getting the individual controls from clusters, subclusters, and so on.)  I then return an array of control references, which does not include the references to clusters--only standalone controls or the actual controls themselves contained in clusters.
    Do I need to explicitly close the references to clusters that this VI generates, or is it unnecessary since the VI will run briefly, return an array, and then exit?
    Or another scenario: in a subVI I open a reference to the parent VI.  Do I need to close that reference at the end of the subVI, or is it pointless because the reference will be disposed of when the subVI exits anyway?
    (I did find this article, which I think addresses my question, but I'm not sure.)
    Thanks,
    peppergrower 

    http://forums.ni.com/ni/board/message?board.id=170&thread.id=159571&view=by_date_ascending&page=1
    Jean-Marc
    Jean-Marc
    LV2009 and LV2013
    Free PDF Report with iTextSharp

  • Is there a way to use/fix FLVPlayback skins provided with the product?

    Some of the "skins" for the FLVPlayback component cannot be used as delivered in the Flash Professional CS5 package.
    For instance, if you try simply to run the .swf file: MinimaSilverPlayBackSeekCounterVolMuteFull.swf in Program Files/Adobe/Adobe Flash CS5/Common/Configuration/FLVPlayback skins/ActionScript 3.0, you get the following error message:
    VerifyError: Error #1014: Class fl.video::UIManager could not be found.
    Such a skin cannot be used in a published application (though it will work within the Flash IDE in Test mode).
    Not all the skins have this problem. However, at least all of the Minima prefixed ones do. Of course the one I wish to use is broken. Is there a way I can fix this? If I try to publish the corresponding .fla (in FLVPlayback skins/FLA/Action Script 3.0 I get "Warning: unable to load SWC FLVPlaybackAS2.swc".

    Well I don't really understand the position you are taking here. Did you try to run the examples I gave?
    I will be a sport, though, and back up here and explain more fully.
    I had originally built a rather trivial application to experiment with the FLVPlayback component. I did this with AS-3, by the way.
    As I tried different skins I found, strangely, that when I used one of the Minima ones (for instance, the one that I listed several times above), that it would run fine in the IDE in test mode, however when I ran the published application it would not run correctly. It generated instead this error message about the fl.video class not being found.
    In trying to determine the cause of this, I found that this same error would be generated, just by trying to run the Minima skin (swf) in the Flash player by itself. And sure enough those skins that did NOT have the problem with my trivial app also did not generate any error when the swf was run in the Flash player.
    So, as you hopefully can see, I took my application out of the equation here. The question of interest is why do some of the unmodified swf skin files generate the class not found error and can they be fixed (or is there anything I can do to fix them) so that error does not happen. I had even tried to use the original FLA file for the skin (as I described in my earlier post) and recompile it. However that caused a compile error (listed in the original post) that is indicative of some AS2 being mixed in, possibly from some sub-component.
    So I guess all I was hoping for was that you would try to run the AS3 Minima...swf skin listed earlier straight from the product installation. Just run it with the Flash player. If it doesn't generate the error for you then perhaps there is something odd about my CS5 installation, or environment, or ...
    If you don't want to try this, that is your perogative. Perhaps someone else can/will. Or perhaps I can submit this as a bug? (I do not know the mechanism for that)
    I am not trying to be argumentative here. Rather, I have tried to isolate the issue. I don't know how else I can make this clear.

  • Sales order with reference to a custom object

    Hi all experts, I have a question.
    I want to create a sales order with reference to a complete custom object created in the CRM system. The custom object has a unique number assigned to it. How can I use the reference of this custom object in my sales order?
    In other words, can I use a field in the sales order which will be storing this custom object number? If yes, which field can be used? If no, how else can this be achieved? Thanks in advance.

    Animesh,
    You have two options:  Use the external reference number field on the Sales order if it is not be being used, however if you capture the customer's PO number you are probably aleady using that field.  Otherwise I would do what you said and create a new Z-field via the EEWB and store your external reference number there.
    If the custom object number was 10 digits alpha numeric, you could possibly create a custom partner function, but I really don't recommend it.  The z-field will give you better performance for reporting, and future processing.  I would put the z-field field in the CUSTOMER_H segment of the document.
    Take care,
    Stephen

  • Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.

    Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.
      intially i created view object named EmpByEmail.........for that EmpByEmail1 is created in datacontrols....i deleted EmpByEmail in demo.model by mistake and i created again with same name EmpBYEmail another view object...again another EmpByEmail2 is created in datacontrols.....
    while i am running i am getting following error:::::::
    Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.

    Hi,
        Please seasrch for the EmpByEmail1 file in ur project and remove all the details in the Page Def and UI and then try again.
    Due to the EmpByEmail1 existance in page Def this may occur . It may help , still if it was not working then I am sorry for that.

  • Modify Flvplayback skin with counter problem

    Hi
    I am trying to customise a FLVPlayback Skin that has a counter in it, (MinimaFlatCustomColorPlayBackSeekCounterVolMute.fla)
    If i modify any of the skins without a counter there is no problem however when i try to publish one of the skins with a counter i get these compiler errors:
    Warning: unable to load SWC FLVPlaybackAS2.swc
    1046 type was not found or was not compile time constant: NetstreamPlayOptions
    Any ideas?
    cheers
    Grant

    Hi,
    Someone had found a workaround
    "Just remove all from your source paths in the publish settings when  you look to ActionScript 3.0 setting for your Skin FLA ! ( as default  you can see here some path to video folder where is SWC files)"
    but the counter prolem remains as the counter does not work in this case ...
    may be someone has a better solution can reply ...
    Cheers

  • Non-Standard Buttons in FLVPlayback skin

    I posted this before but I don't think I explained it very
    well. I'm trying to add a non-standard button to my FLVPlayback
    skin, but it's not showing up. Can you add new buttons (with new
    functionality) to FLVPlayback skins or can you only edit the
    existing ones? This should be similar to adding a logo, does anyone
    have a tutorial or anything on adding a logo to an FLVPlayback
    skin?

    Look
    Here Edit the bar at the bottom of the Skin FLA, and add what
    you want to that... unlock all layers, select all, then resize, add
    a layer and put what you want. Then when selecting a skin for your
    FLVPlayback component, select Custom Skin, and target it.

  • Can one reference points to many objects?

    HI friend:
    Can I use one object reference points to all objects defined in same class? Because sometimes I only want to access some instance methods and they require a object reference to access. And it doesn't matter which object it is. For example:
    I have a table class:
    public class Table
    int tableNo;
         int tableSize;
         String tableSta;
         String reserName;
         public Table(int n, int s, String c)
              tableNo = n;
                        tableSize = s;
                        tableSta = c;
    Somewhere in the future, I will define a search method (a non-static method) inside table class and it doesn't really matter which object I use to call this method. Because the searching target is all the objects of this Table class. Is it possible to create 50 table objects from another class and use one object reference points to all these objects created and use that reference to access the search method?
    Here is the coding in another class:
    for (int i=1; i<=20; i++)
                   table = new Table(i, 2, "vacant");
                   for (int i=21; i<=30; i++)
                   table = new Table(i, 4, "vacant");
    for (int i=31; i<=50; i++)
                   table = new Table(i, 8,"vacant");
    Can I use table as object reference to access search method?

    Because if the method is static, it can't process instance variables, such as Table objects. But when I implement the search() method, it should search all table objects. That's why I don't want make the method static. :-)

  • How to add [playheadtime / totaltime] to FLVPlayback skin

    I need to add [playheadtime / totaltime] to my FLVPlayback
    skin so that I can see it while the video is in fullscreen mode.
    Thanks in Advance,
    Siraj R Khan
    [email protected]

    Answer: You can add your movieClip or button to FLVPlayBack
    component, like i did.
    uFlvPlayer.addChild(PlayTime_txt);
    It works in FullScreen mode now.

  • BSP Exception: Missing reference when converting data object ZZxx

    Hi there,
    I have created these new Z fields and tried to include them in a field group. These fields did appear, but they are highlighted with a red box, with the above text in the tool tip.
    Does anyone know what it means??
    Thanks

    I believe they were generated by EEWB - or could've been added manually to the CRMD_CUSTOMER_H. This error only occurs on the Currency fields...something to do with reference field but I just can't find what is wrong with this. I searched up SAP notes and found the following the closest match: -
    <b>Symptom</b>
    when trying to scroll down in the result list in the F4 for the Ibase the error error "BSP exception : Missing reference when converting data object amount.  Correct the entry" occurs.
    <b>Other terms</b>
    CRMT_BSP_IBASE_TREE_NF, data object amount
    <b>Reason and Prerequisites</b>
    This happens due to inconsistancy in structure
    <b>Solution</b>
    Please follow the below steps manually.
    1. Go to tx:SE11
    2. Select data type "CRMT_BSP_IBASE_TREE_NF" in change mode
    3. Select component AMOUNT in 'Components' tab
    4. Go to "Currency/quantity fields" tab
    5. Replace 'Reference table' entry from 'CRMT_BSP_IBASE_DETAIL'
       to 'CRMT_BSP_IBASE_TREE_NF'
    6. Save and activate

  • How Does On Reference An Array Of Objects?

    Howdy!
    Ive read through Flex 2's help and also through the wonderful
    book 'Developing Rich Clients With Flex' for topics relating to
    this question but very strangely with no luck (and I assume it's
    quite straight forward)! So hopefully you chaps can help...
    Now, to get a value from an object model is very straight
    forward -
    quote:
    <mx:Model id="MyModel">
    <Inbox>
    <Message>
    <Sender>[email protected]</sender>
    <Subject>Blah Blah</Subject>
    <Content>This is the content of the
    email!</Content>
    </Message>
    </Inbox>
    </mx:Model>
    To get the <Sender> value its a simple case of -
    quote:
    MyModel.Inbox.Message.Sender
    Because obviously 'Sender' is just an object. But when I have
    an array of objects like so -
    quote:
    <mx:Model id="MyModel">
    <Inbox>
    <Message>
    <Sender>[email protected]</sender>
    <Subject>Blah Blah</Subject>
    <Content>This is the content of the
    email!</Content>
    </Message>
    <Message>
    <Sender>[email protected]</sender>
    <Subject>Blah Blah</Subject>
    <Content>This is the content of the
    email!</Content>
    </Message>
    </Inbox>
    </mx:Model>
    How do I reference the individual 'Sender' objects?
    Any help would really perk up my day :-)
    Thanks

    Thank you kindly!
    Just one more question (i'd select a different forum but it's
    related to this)...
    How would I loop through e.g.
    MyModel.Inbox.Message.Sender[n], from within a dataProvidor for a
    repeator?
    I'm basically creating a UI which is based on template data
    stored in an external data model which is using nested loops -
    Data Model
    quote:
    <TemplatesConfigurator>
    <Template label="Elite II" table="tbl_Category" id="2"
    description="Elite II So Quote Template 00038_TMP_V9">
    <Category label="Heading - Base System Elite"
    table="tbl_CategorySub" id="1">
    <CategorySub label="Base System" table="tbl_CategorySub"
    id="4">
    <Parts1 label="08639" table="tbl_Template"
    id="1"></Parts1>
    </CategorySub>
    <CategorySub label="Elite II (included in base system)"
    table="tbl_CategorySub" id="5">
    <Parts1 label="05356" table="tbl_Template"
    id="2"></Parts1>
    <Parts1 label="03703" table="tbl_Template"
    id="3"></Parts1>
    <Parts1 label="05904" table="tbl_Template"
    id="4"></Parts1>
    <Parts1 label="06327" table="tbl_Template"
    id="5"></Parts1>
    <Parts1 label="06767" table="tbl_Template"
    id="6"></Parts1>
    </CategorySub>
    </Category>
    <Category label="Heading - Support Contracts &
    Warranty" table="tbl_CategorySub" id="28">
    <CategorySub label="Support Contract Options "
    table="tbl_CategorySub" id="29">
    </CategorySub>
    <CategorySub label="Warranty Options"
    table="tbl_CategorySub" id="30">
    </CategorySub>
    </Category>
    </Template>
    </TemplatesConfigurator>
    Repeaters
    quote:
    <mx:Repeater id="r1"
    dataProvider="{TemplateConfiguratorData.lastResult.TemplatesConfigurator.Template}">
    <mx:Form height="100%" width="100%"
    horizontalScrollPolicy="off" paddingBottom="0" paddingLeft="0"
    paddingRight="0" paddingTop="0" backgroundColor="#ffffff"
    verticalScrollPolicy="auto">
    <mx:Label
    text="{TemplateConfiguratorData.lastResult.TemplatesConfigurator.Template.label}"
    fontWeight="bold" fontSize="13" paddingBottom="0"/>
    <mx:Text
    text="{TemplateConfiguratorData.lastResult.TemplatesConfigurator.Template.description}"
    fontSize="10"/>
    <mx:Repeater id="r2"
    dataProvider="{TemplateConfiguratorData.lastResult.TemplatesConfigurator.Template.Categor y}">
    <mx:Label id="SubHeadings" text="{r2.currentItem.label}"
    fontWeight="bold" fontSize="12"/>
    <mx:Repeater id="r3" dataProvider="{
    TemplateConfiguratorData.lastResult.TemplatesConfigurator.Template.Category[0].CategorySub}">
    <mx:Label text="{r3.currentItem.label}" fontWeight="bold"
    fontSize="10"/>
    </mx:Repeater>
    </mx:Repeater>
    </mx:Form>
    </mx:Repeater>

  • Showing Hand cursor in  FLVPlayback Skin

    How can we show hand cursor in FLVPlayback Skin for Flash 9?
    I have tried giving "MC.buttonMode = true" but it didnt help.
    Any suggestions?
    Thanks in Advance,
    Siraj Khan
    [email protected]

    Flash & Flash 9 provide you ready-made skins for
    FLVPlayback component. It includes Play/Pause button, Volume bar,
    Scrub, FullScreen button etc. By default when a user moves the
    mouse over any of the components / buttons it doesn't show mouse
    turning as hand cursor. I hope it clarifies the your doubt. Kindly
    let me know if u need further clarifications.
    Thanks for responding,
    -Siraj

  • Custom FLVplayback skin buttons

    I have searched all over the web and have found multiple site
    with titles about customizing the FLVplayback skin. But they all
    seem to fall short when it comes to loading a developers own
    custome graphics.
    Now, I might have just simply missed the boat or I am
    overlooking the obvious. But I can't seem to find any examples or
    details about how to use my own custom graphics created in
    photoshop, and put them in place of the default graphics used in
    the Flash provided skins.
    I ma looking for someone to suggest a book on this subject or
    link to a detailed tutorial on how this is done.
    Thanks

    erm.. You just need to grab the single buttons from the
    component library and replace the graphics with your owns. It's
    also explained in the help file of Flash how to do that.
    If you need any help, let me know.

  • FlvPlayback Skin displayheadTime/totalTime Text Modification

    Hi,
    I want to separate the time_txt inside the counter_mc into two objects. One displaying just the displayheadTime and the other the totalTime.  I want to do this on the skin file.  What my problem is I can't seem to find the part where the text is being set at all. If someone can point me to at least what file/source I should be looking at that would be deeply appreciated.
    I am using CS5/FlvPlayback 2.5
    Thanks

    Hi folks,
    Well as a last resort I did what I did with my previous post. That is to loop through the children of the skin. I wish there is a more easier way to do this.  If you guys have any ideas I'll be glad to try it out.

Maybe you are looking for

  • F-03 Acc.Clear with Purchasing Doc. line item variant

    Dear All, I like to ask about T.Code F-03 Clear G/L Account Execute the report with specific accounting document number, and process the open item after the report shows list of open item for the specific document, I choose line item variant "Purchas

  • RDS 2008 R2 / Load Balancing, My 1st Setup. Help.

    I currently have a 2008 R2 RDS server setup with around 100 people accessing, unfortunately we're starting to see 100% CPU spikes which are lasting for long periods of time making the whole RD experience painful for the end users.  I've pinpointed th

  • Abt Selection Screen

    Hello Experts.. m facing a strange problem.. On my selection screen, I have given 3 select-options for SD No, Item No and WBS Element. So when I enter range in SD NO along with in Item No and execute the report, it simply neglects the range of Item n

  • Migration erp system aix to windows

    Hi, I want to migrate my erp system on another platform. Now I am able to migrate my database. But I am not able to migrate my application Application version is 11.5.10.2 If any body knows please help me. Currently we are using Aix server and wants

  • [solved] Unexpected EOF error while reading

    Hi I created a bootable jumpstart DVD for x86, and erverything works up to the extract of the flash archive. During the extract, I receive this error: Extracted 2046.00 MB ( 92% of 2208.35 MB archive) Extracted 2047.00 MB ( 92% of 2208.35 MB archive)