Dynamic Embedded Character Sub-Setting ???

Hi All,
I have instruction movies with 30 plus languages that I will be uploading to YouTube. I have Flash CS5 - AS3 - Player 10 req.
I need to add only the font groupings (Latin, Cyrillic, Chinese, etc.) needed for the language specified and ideally only those characters that are being used by the selected language when the file is processed/complied.
1. Can I programmatically add the characters being used to the internal list of embedded characters? Even if I have to run it twice to get it into the Library Font Object?
2. Can I programmatically set the language grouping? I know I can turn layers that call different fonts off and off.
3. Does the embedded character subsetting have a character limit? I can always make a utility to read the XML tags the have my displayed text and make a file or clipboard that I can paste it into the library. But, this is slow and tedious when you have 30 plus languages and 30 plus movies. I am trying to automate this whole process and limit inspection and non-automated testing.
When I use this on a users CD, all fonts will be in a shared SWF. The fonts are over 8mb in size.
I have a small issue with the #2 method - I have the potential need have Unicode characters in a text string that is in a ASCII based programming language. (FYI - the programs parser is smart enough to process the text string embedded in the code). I would hate to burden the movie with all the Chinese Characters or my newbie users/programmers (cough, cough) of my movie template with the task of ensuring that all characters a truly emdded and supported.
Thanks,
Jim

A few points:
(1) The point of embedding fonts in a PDF file is to make it possible for the PDF file to be properly displayed and printed by recipients of the PDF file that don't have the same exact fonts you do. Adobe recommends subset embedding of fonts whenever possible for highest quality display and printing of PDF file text. The subsetting includes only the glyphs you use and thus can save considerable file size. (For example, the Arial font in Windows is over 700K in size including all the glyphs for not only Western Latin languages, but also Cyrillic, Greek, Arabic, and Hebrew alphabets. Subsetting usually reduces the amount of the font embedded to 25K or less for typical documents.)
(2) You don't own the fonts. You own a license to use the fonts. That is a very important difference!
(3) Remember that PDF is a “final form file format” with very limited editability. If you need to do any extensive editing, you should have the source file, whether .AI (for Adobe Illustrator), .INDD (for Adobe InDesign), .DOCX (for Microsoft Word), etc. to you. You are responsible to getting a license for the fonts used in these documents if you don't already have one.
          - Dov

Similar Messages

  • How Automate Dynamically Embedding Customer Names from a List into PDF Footer?

    Mavens,
    After discovering that a PDF training workbook of mine has been widely copied (without authorization), I'd like to "personalize" future versions of this artifact with the customer/user name dynamically embedded in each PDF's footer.
    Based on your experience, what is the easiest, quickest & most economical way to: generate a set of PDFs (from a "Master") where each individual PDF is personalized with a user/customer name in the footer (e.g., "This document is licensed to {FRED BLOTZ} at {BIG COMPANY, Inc.}. Duplication or distribution is not authorized.").
    The desired workflow is:
    1. Create an MS-Excel Workbook with a list of all trainee (user) names.
    2. Open some type of "PDF Personalization" tool.
    3. Provide the path to the "Master PDF" to the tool.
    4. Provide the name of the customer (company) to the tool.
    5. Provide a path to the MS-Excel Workbook with list of individual's names.
    6. Provide a path to a folder where the tool should write the generated PDFs.
    7. Click a button ("Generate Personalized PDFs").
    Then...distribute individualized PDFs to trainees.
    Is there a tool out there somewhere which provides the desired solution?
    Thank you in advance for your experienced-based suggestions.
    Plane Wryter
    PS: While I fully appreciate the on-going discussions regarding the merits/lack-of-merits of DRM, etc...if you elect to reply to this request...please be so kind as to focus on the question as presented and avoid clambering onto a soapbox to "rant" about DRM...or suggest increasing the fee to the customer (a big firm that only pays "per-trainee" fees) to cover distribution. Thank you.

    go to database, show sql query. please paste the query in here it will be easier to help you
    if you cant seem to get it from there, go to database, database expert and edit the command file. (if that is the dataset you are using) copy and paste that.

  • Dynamic embedding of view in used component

    Hi All,
    I have a scenario were i have to provide print functionality to all the views of an existing web dynpro component. This component has around 20 views. I have developed a new component for the print functionality were i am using BSP to fire the CTRL+P function.
    But the problem is how do i get the view at runtime in my print component.....?
    I tried passing the view controller reference to the print component through context binding, but i am unable to embed the view through the reference in to the print component view container element.
    Is there any way i can acheive this....???
    Any help will be appreciated..!
    Regards,
    Runal

    hi Runal ,
    have a look at this video presntation for dynamic embedding of views :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/5cb731e7-0b01-0010-1792-fbe5f55e39d2
    or
    I wud suggest u to procced like this :
    1 In design time , insert all ur views inside ur tansparent container
    2 * initially set all ur view to invisible* , for this :
    Re: Making UI elements visible at runtime based on events.
    a) make a context attribute of type WDUI_VISIBILITY
    b) bind this attribute wid ur view
    c) set the view to invisible by setting the context attribute to '01' using set_attribute method
       DATA lo_nd_cn_visiblesuper TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_visiblesuper TYPE REF TO if_wd_context_element.
        DATA ls_cn_visiblesuper TYPE wd_this->element_cn_visiblesuper.
        DATA lv_ca_visible LIKE ls_cn_visiblesuper-ca_visible.
    *   navigate from <CONTEXT> to <CN_VISIBLESUPER> via lead selection
        lo_nd_cn_visiblesuper = wd_context->get_child_node( name = wd_this->wdctx_cn_visiblesuper ).
    *   get element via lead selection
        lo_el_cn_visiblesuper = lo_nd_cn_visiblesuper->get_element(  ).
    *   get single attribute
        lo_el_cn_visiblesuper->set_attribute(
          EXPORTING
            name =  `CA_VISIBLE`
            value = '01').
    // context attribute CA_VISIBLE under node cn_visible set to invisible
    3 nw based pn ur condition , whn u wanted to do dynamic embedding , at tht time make ur view visible inside ur appropriate method
    this wud do
    rgds,
    amit

  • Dynamic embedding of DTD in DOM

    Hi
    I am parsing the below XML which is uploaded by the user.
    <?xml version="1.0"?>
    <carList  name=””>
    <car>
    <name/>
    <model/>
    <cost/>
    </car>
    </carList> Similarly user can upload even truck.xml or flight.xml, which are having seprate DTDs for validation.
    I have a DTD to validate the XML file provided by the user. But I dont want the user to know about this validation and DOCTYPE element will not be available in XML file
    ( <!DOCTYPE car SYSTEM "someurl/car.dtd"> ).
    DOM provides option only to enable validating (setValidating(boolean). But, Is it possible to set the DTD file too dynamically ???

    hi Runal ,
    have a look at this video presntation for dynamic embedding of views :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/5cb731e7-0b01-0010-1792-fbe5f55e39d2
    or
    I wud suggest u to procced like this :
    1 In design time , insert all ur views inside ur tansparent container
    2 * initially set all ur view to invisible* , for this :
    Re: Making UI elements visible at runtime based on events.
    a) make a context attribute of type WDUI_VISIBILITY
    b) bind this attribute wid ur view
    c) set the view to invisible by setting the context attribute to '01' using set_attribute method
       DATA lo_nd_cn_visiblesuper TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_visiblesuper TYPE REF TO if_wd_context_element.
        DATA ls_cn_visiblesuper TYPE wd_this->element_cn_visiblesuper.
        DATA lv_ca_visible LIKE ls_cn_visiblesuper-ca_visible.
    *   navigate from <CONTEXT> to <CN_VISIBLESUPER> via lead selection
        lo_nd_cn_visiblesuper = wd_context->get_child_node( name = wd_this->wdctx_cn_visiblesuper ).
    *   get element via lead selection
        lo_el_cn_visiblesuper = lo_nd_cn_visiblesuper->get_element(  ).
    *   get single attribute
        lo_el_cn_visiblesuper->set_attribute(
          EXPORTING
            name =  `CA_VISIBLE`
            value = '01').
    // context attribute CA_VISIBLE under node cn_visible set to invisible
    3 nw based pn ur condition , whn u wanted to do dynamic embedding , at tht time make ur view visible inside ur appropriate method
    this wud do
    rgds,
    amit

  • How to find a sub-set of bytes in sequence of bytes.

    I want to know if it's posible to find a sub-set in a sequence of bytes.
    Let me explain me:
    I have the following sequence of bytes
    45 44 43 42 41 00 00 45 44 43 53 44 45 43 42 41 00 00
    ����������������� ��������������
    And I want to know how many times the sub-set "45 44 43 42 41" is at that sequence, of course in this example the answer is two. I know that I can use and automata but I'm trying to find another solution.
    -Daniel

    zkropotkine wrote:
    Hunter, thanks a lot a use my own algorith (an automata but very simple and manteinable one). The problem is that I evaluate your help as useful but at the end of the day your idea help me to resolve the problem. So if you wan't your "dukes" please put a new message in order to give you the dukes (I can't do that in your previous post).
    Thanks everyone... again.Ha, I'm glad it was helpful. I'll tell you what, I just need one more point to get my yellow star, so how about you give me one, and split the rest between the other people who helped. :)

  • HT3349 How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    There is no analog to MS Excels print range.  So the next best thing is to plan your data so that you don't need to use print range.  The next best thing after that is to select the range of cells you want to print, then copy, the switch to the application Preview, and create a new document from the clipboard (select the menu item "File > New from Clibboard") then select all, copy then paste to the destination (maybe an email) .
    You can also paste that portion of the table into another table (or a new table) by pasting values only

  • When I load certain websites the the writing is all squashed up. I correct this by changing the character encoding setting. I am using the latest Apple Mac machine. Thanks in advance

    When I load certain websites the the writing is all squashed up. I correct this by changing the character encoding setting. I am using the latest Apple Mac machine. Thanks in advance

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • How to create sub-set of Library for moving to a MBP ?

    Up until now, I have been keeping my images as Managed in the Aperture Library on my G5.
    I need to create a sub-set of my Library for use on a MacBook Pro for an upcoming workshop. I would like to have some of my masters on the MBP drive so that I can work on them while away. When I get back, I would like to be able to merge the modified images/metadata with the main Library. Is this possible?
    If not, another approach would be for me to move the entire Library to the Macbook, but first make all the Masters as Referenced files, and then Consolidate just the Masters I want to have with me back onto the MBP drive.
    Any suggestions on an efficient way to do this would be greatly appreciated.

    Hi Ian,
    The problem with the approach you suggested is that some of the Projects have a large number of Images that I dont want on the MBP drive.
    I suppose I could move the selected images to a Workshop Project, export that Project, and import it into the MBP Libary, then import it back into my main library when I am done.
    Do folders, smart albums, etc get saved when Exporting/Importing Projects ?
    If I move my 5-star images out of my original Projects into a Workshop project, work on them and change the metadata, and then put them back into their original projects later, will all of the changes move with them?

  • Dynamical chehange rman  backup setting

    Hi Experts,
    I want to dynamical change ramn back set to file system from ASM in SAN environment. I do not want to change original ASM backup setting in oracle 10G2 database.
    in RUN block.
    I got an error message when i test it.
    RMAN>
    SET DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "device": expecting one of: "archivelog, auxiliary, auxname, autolocate, autobackup, backup, command, controlfile, clonename, decryption, dbid, duplex, echo, encryption, high, limit, maxcorrupt, maxseq, newname, nocfau, parallelmediarestore, rpc, snapshot, until"
    RMAN-01007: at line 2 column 5 file: standard input
    Thanks for help!
    Jim
    Edited by: user589812 on Jan 6, 2011 7:12 AM

    There is no "SET DEVICE" command. The command "CONFIGURE DEVICE ..." will 'permanently' change the configuration settings (until the next CONFIGURE DEVICE is run).
    If you want a specific backup to not go to the default location, then you should run a separate backup script with BACKUP DATABASE FORMAT and specify the location in the FORMAT.
    Lookup the documentation on the BACKUP command.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#sthref141
    Hemant K Chitale

  • Continuous soundtrack changing over slide sub-sets - how do you do it?

    My apologies for following this up - BUT - I can't find the exact threads you refer to. My problem is that I can't get different songs or playlists to link to different sub-sets of slides so that the soundtrack changes during the slideshow presentation when the new sub-set is reached. For the appropriate su-set I have selected the sub-set in the Navigator and opened the inspector and then dropped the song or playlist in the audio well - BUT - the soundtrack linked to the first slide sub-set plays for the entire slide show and doesn't change to the other soundtracks similarly selected for the other slide sub-sets with other linked playlists. Please help - what am I doing wrong??

    Thank you for the responses to my original queries - I thought it would be productive if I responded and perhaps the issue could be closed. I originally wanted one slide show ( = one file) that had a soundtrack that changed, eg did one iTunes playlist containing 5 songs, and then went to another iTunes playlist containing 2 songs. Keynote cannot do this, and later versions may well be able to as it seems like a sensible addition to the applications existing capabilities. Forget slide sub-sets for now.
    To overcome this "limitation" I used hyperlinks. This requires a separate Keynote file for each set of slide where a different soundtrack is required. That means that one presentation might used numerous Keynote files. Follow the user guide to hyperlink the last slide of each file to the first slide of next file. Activating the hyperlink seemlessly opens the next file which appears as though part of a countinuos slide show - only the music changes to what is required.
    Caution - "clicking" on the hyperlink means "clicking with the mouse" not using the fwd arrow key or anything else. Working this out held me up believe it or not because I kept forwarding to activate the hyperlink.
    I hope this helps any user who wants a changing soundtrack - it is easily and seemlessly doable with this application - thank you to all respondents for your guidance and patience.

  • Dynamic Action character issues.

    Hi,
    I have an issue in Application Express 4.0.1.00.03.
    I am using a dynamic action to populate a field value.
    When I have a £ symbol (ascii 163) it is converted to &#65533; (ascii 65533).
    As far as I can see the issue would be the character set for the ajax request to/from the database.
    How can I change this and get my £ symbols back?
    Regards
    Michael

    Hi Michael,
    your PlsqlNLSLanguage setting is the problem. As per the Oracle APEX Installation instructions http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/otn_install.htm#CHDHCBGI
    The PlsqlNLSLanguage setting determines the language setting of the DAD. The character set portion of the PlsqlNLSLanguage value must be set to AL32UTF8, regardless of whether or not the database character set is AL32UTF8. For example:
    PlsqlNLSLanguage            AMERICAN_AMERICA.AL32UTF8...Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Dynamic rooting (User Record) setting is not working in Nakisa OrgChart SP3

    Dear All
    The Dynamic rooting setting is not working in the Nakisa OrgChart SP3.
    It is giving an error message - "Cannot find the root of your orgchart. The orgchart box may have been deleted or incorrectly specified, or no valid org structure can be found for the selected effective date. Please change the root of the chart or select another effective date."
    We followed the same steps as given in the Admin guide of SP3 (P.no. 109 - shown below)
    In Orgchart --> General Settings:
    * Select the Org chart root value source.
    User Record: Retrieves the record specified in the next step from the employee data element.
    *Do one of the following to define the org chart root:
    If User Record was selected in the previous step, select the field containing the ID of the required organizational object in the employee data element from the User record field drop-down list. For example, if you wish to root the org chart at the org unit of the logged-in user, select the field containing the org unit ID. Hence, we have selected the Org unit ID.
    Note:
    We had enabled single sign-on with logon tickets
    Retained the standard settings in Security Settings --> Employee Source
    Had provided full authorization to the roles
    If we use the "OrgChart Root" option available in 'Orgchart root value source', the org structure gets displayed correctly from the root object defined.
    As this is an standard functionality, Kindly guide us in resolving the issue.
    Regards
    Ravindra

    Ravindra.
    You don't have to and shouldn't always include the username and password parameters for the SAP Connection string.  When you omit them it will use the user's login credentials.
    Remember though that:
    The SAPRoleMappingConnection will need them included in order to get the details for the user in the first place.
    Without the username and password specified in a connection string you can't click the option to test the connection and result in a successful connection.  Remember unable to connect does not necessarily equate to wrongly configured.
    I've filtered the log file for errors and the following entries were flagged up:
    26 Jun 2012 10:00:06 ERROR com.nakisa.Logger  - com.nakisa.framework.utility.Files : deleteFile : java.io.IOException: Unable to delete file: E:\usr\sap\D15\J00\j2ee\cluster\apps\Nakisa\OrgChart\servlet_jsp\OrgChart\root\.system\Admin_Config\__000__THY_SAP_Live_RFC_01\AppResources\attr.txt
    26 Jun 2012 13:13:52 ERROR com.nakisa.Logger  - com.nakisa.framework.utility.Files : deleteFile : java.io.IOException: Unable to delete file: E:\usr\sap\D15\J00\j2ee\cluster\apps\Nakisa\OrgChart\servlet_jsp\OrgChart\root\.system\Admin_Config\__000__THY_SAP_Live_RFC_01\AppResources\attr.txt
    26 Jun 2012 13:43:49 ERROR com.nakisa.Logger  - java.lang.reflect.InvocationTargetException
    26 Jun 2012 13:55:09 ERROR com.nakisa.Logger  - com.nakisa.framework.utility.Files : deleteFile : java.io.IOException: Unable to delete file: E:\usr\sap\D15\J00\j2ee\cluster\apps\Nakisa\OrgChart\servlet_jsp\OrgChart\root\.system\Admin_Config\__000__THY_SAP_Live_RFC_01\AppResources\attr.txt
    26 Jun 2012 14:32:03 ERROR com.nakisa.Logger  - com.nakisa.framework.utility.Files : deleteFile : java.io.IOException: Unable to delete file: E:\usr\sap\D15\J00\j2ee\cluster\apps\Nakisa\OrgChart\servlet_jsp\OrgChart\root\.system\Admin_Config\__000__THY_SAP_Live_RFC_01\AppResources\attr.txt
    26 Jun 2012 15:47:44 ERROR com.nakisa.Logger  - BAPI_SAP_OTFProcessor_LinkedDataElement : The dataelement ( SAPPositionVacancyDataElement ) is not defined.
    26 Jun 2012 15:47:44 ERROR com.nakisa.Logger  - BAPI_SAP_OTFProcessor_LinkedDataElement : while trying to invoke the method com.nakisa.framework.data.Command.getType() of an object loaded from local variable 'p_cmd'
    26 Jun 2012 15:47:44 ERROR com.nakisa.Logger  - com.nakisa.framework.webelement.charting.data.ChartingData : createNodesFromData : Notes Error: NullPointerException
    26 Jun 2012 15:47:44 ERROR com.nakisa.Logger  - BAPI_SAP_OTFProcessor_LinkedDataElement : The dataelement ( SAPPositionVacancyDataElement ) is not defined.
    26 Jun 2012 15:47:44 ERROR com.nakisa.Logger  - BAPI_SAP_OTFProcessor_LinkedDataElement : while trying to invoke the method com.nakisa.framework.data.Command.getType() of an object loaded from local variable 'p_cmd'
    26 Jun 2012 15:47:44 ERROR com.nakisa.Logger  - com.nakisa.framework.webelement.charting.data.ChartingData : createNodesFromData : Notes Error: NullPointerException
    26 Jun 2012 15:47:48 ERROR com.nakisa.Logger  - com.nakisa.framework.webelement.charting.data.ChartingData : createNodesFromData : Notes Error: NullPointerException
    26 Jun 2012 15:47:55 ERROR com.nakisa.Logger  - BAPI_SAP_OTFProcessor_LinkedDataElement : The dataelement ( SAPPositionVacancyDataElement ) is not defined.
    26 Jun 2012 15:47:55 ERROR com.nakisa.Logger  - BAPI_SAP_OTFProcessor_LinkedDataElement : while trying to invoke the method com.nakisa.framework.data.Command.getType() of an object loaded from local variable 'p_cmd'
    26 Jun 2012 15:47:55 ERROR com.nakisa.Logger  - com.nakisa.framework.webelement.charting.data.ChartingData : createNodesFromData : Notes Error: NullPointerException
    At the very least it looks like SAPPositionVacancyDataElement is missing and whilst the other errors around it are unfamiliar I wonder if it might be a good first step to see if you can track down the reference to and existence of this data element?  That being said it looks like your last test occurred well over an hour after this (so you may have already resolved it) and resulted in nothing but information messages.  If that is the case it might be worth "rolling" your log file or manually trimming it to the right time frame when posting it?  Otherwise it can be misleading as people could flag up issues you have already resolved.
    So assuming you haven't tried Luke's suggestion (which should only take a couple of minutes to do) I think you should go back and do so right away .
    Regards,
    Stephen.

  • How to dynamically resize taskflow popup set as inlineDocument.

    I've been trying to figure out how to dynamically set the WindowHeight and WindowWidth of a taskflow deployed as a inlineDocument popup. Sadly, neither the forums nor google came to the rescue so I had to actually figure this one out on my own. But at least now is my opportunity to work up some forum karma! :)
    Sample workspace containing the solution is here: http://www.williverstravels.com/JDev/Forums/Threads/2337969/MaxPopupSize.zip
    General Strategy for Solution:
    - Pull the browser height and width using Javascript
            function browserSize(evt)
              var button = evt.getSource();
              var agent = AdfAgent.AGENT;
              var windowWidth = agent.getWindowWidth();
              var windowHeight = agent.getWindowHeight();
              AdfCustomEvent.queue(button, "customEvent",
                width: windowWidth,
                height: windowHeight
              true);
              evt.cancel();
            }- Using a clientListener and serverListener, pull this information into a managed bean and set height / width in button's setWindowWidth(), setWindowHeight() attribute.
      public void onButtonClick(ClientEvent clientEvent)
        Double dw = (Double)clientEvent.getParameters().get("width")-100;
        Double dh = (Double)clientEvent.getParameters().get("height")-100;
        this.popupButton.setWindowWidth(dw.intValue());
        this.popupButton.setWindowHeight(dh.intValue());
        ActionEvent aE = new ActionEvent(this.getPopupButton());
        aE.queue();  
      }- Due to JSF Lifecycle complications, the managed bean will need to call a different button than the one which holds the client and server listener. It will be the second button (popupButton in the code above) which then calls the popup.
    Props to Frank for the client / server listener tutorial: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf
    Props to Martin Deh for the javascript insights: http://martindeh.blogspot.com/2011/03/dynamic-resizing-for-popup-dialogs.html
    Hope this helps someone down the road.
    Will

    Thanks LovettWB ...
    Your question helped me a lot...  I am able to pass these two parameters width/height to my bean and am able to set it to pop-up :)                                                                                                                                                                                                                                                                                                                                   

  • Dynamically embedded swf, has it ever worked

    I have to repost it. Wondering what adobe will say about it.
    I have tried this for a couple of days. I created a swf object in window.onload (also tried to create it directly while the script was loaded ), then call an AS function from JS. statically embedded swf works for both IE8 and FF, FF also fine for dynamically loading. In IE, this call externalinterface.call("echo", "as returns " + b); always shows "as returns false". The callback function has never worked in other approches with dynamic creation. Anyone has good experience?
    Thanks.
     //js
    <script language="javascript">
    var containerready=false,flashready=false;
    function addLoadEvent(func) {var oldonload = window.onload; if (typeof window.onload != 'function') {
    window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }}
    function embedswf(){
    var a,swf="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'";
    swf+=" codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10, 0,0,0'";
    swf+=" width='215' height='318' id='testswf1' align='middle'>";
    swf+=" <param name='allowScriptAccess' value='always' />";
    swf+=" <param name='allowFullScreen' value='false' />";
    swf+=" <param name='movie' value='testswf1.swf' />";
    swf+=" <param name='quality' value='high' />";
    swf+=" <param name='wmode' value='transparent' />";
    swf+=" <embed src='testswf1.swf' quality='high' wmode='transparent' width='215' height='318' name='testswf1' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' /></object>";
    a=document.createElement("div");
    a.id="swfholder";
    a.innerHTML=swf;
    document.body.appendChild(a);
    containerready=true;
    window.setTimeout(callas, 100);
    } addLoadEvent(embedswf); function echo(p){ alert(p)}  function callas()
    // alert("callas:containerready="+containerready+";fl ashready="+flashready);
    containerready=true;
    if(flashready){
    var a=getswf();
    a&&(a.flashfunc())
    return
    window.setTimeout(callas, 100);
    } function setflashready()
    flashready=true;
    function getcontainerready()
    //alert("getcontainerready:g31="+containerready+";fl ashready="+flashready);
    return containerready;
    function getswf()
    if (navigator.appName.indexOf("Microsoft") != -1)
    return window["testswf1"];
    else
    return document["testswf1"];
    } </script> //as
    import flash.external.ExternalInterface; flash.system.Security.allowDomain("*"); var rtm:Timer = new Timer(500);
    startTest(); function f0():void {
    ExternalInterface.call("echo", "one");
    function timerHandler(event:TimerEvent):void
    if (isContainerReady())
    rtm.stop();
    rtm.removeEventListener(TimerEvent.TIMER, timerHandler);
    setupCallbacks();
    function startTest():void
    if (ExternalInterface.available)
    try
    if (isContainerReady())
    setupCallbacks();
    else
    rtm.addEventListener(TimerEvent.TIMER, timerHandler);
    rtm.start();
    catch(error:Error) {
    trace("An Error occurred: " + error.message + "\n");
    else
    trace("External interface is not available for this container.");
    function isContainerReady():Boolean
    var b:Boolean = ExternalInterface.call("getcontainerready");
    ExternalInterface.call("echo", "as returns " + b);
    return b;
    } function setupCallbacks():void
    ExternalInterface.call("echo","setupcallback");
    ExternalInterface.addCallback("flashfunc", f0);
    ExternalInterface.call("setflashready");

    has it ever worked or is an Adobe bug? anyone knows?

  • Show Keyboard & Character Viewers setting not working

    I like to have access to the Keyboard and Character Viewers in the menu bar; however, the setting on my new MacBook does not work. I have checked the "Show Keyboard & Character Viewers in menu bar" many times and it unchecks itself as soon as I leave the Keyboard tab of the Keyboard setttings in System Preferences.
    Could a preference file be corrupted? (I migrated data from my old MacBook (OS 10.7) to my new MacBook (10.9). Perhaps this has something to do with the problem?)
    Or, is there a command line way to show the preference that might stick better than the checkbox in the System Preferences?
    Any insights would be appreciated.
    Thanks,
    -Robert.

    BikerBob wrote:
    The Input Sources menu has to be enabled to show the Keyboard & Character Views menu, which appears under the Input Sources menu. This was not the case in Mac OS 10.7, which I was previously using.
    However, it is odd that the Keyboard & Character Views option is not greyed out in the Keyboard tab when the Input Sources menu is not enabled.
    Indeed, the way Apple has done this in Mavericks seems both odd and cumbersome.   I think it would be worth telling them so at
    http://www.apple.com/feedback
    The official instructions assume you have already enabled the input sources menu:
    http://support.apple.com/kb/PH13746

Maybe you are looking for

  • No audio for video files in lightroom 4 ?

    i have been importing video files from my canon 7d into both lightroom 3 and lightroom 4 beta.  the video works great in both, but there is no audio in 4 beta.  Audio works fine in lightroom 3.

  • Problem with DLO Dock Deluxe

    I've been trying to get my nano to work with the "On TV" feature of the DLO Dock Deluxe. The nano connects fine to the stereo when in the default dock mode but as soon as I push the mode button on the DLO remote to go to TV mode the nano display slid

  • Caching Query in Portal - Variable set to System Current Date

    Hi, I am facing issue on caching for query in portal in Production. I have query called ABC in production with variable Master valid on for user to chooce the date. This variable is hardcoded value in General Precalculation in variable assigment sess

  • Clone or Healing Brush Tool Creates Ghost Layer or Image - Unusable

    I am using the latest version of Photoshop CS5.5 on a fully updated MacBook Pro. I am having issues with the following tools: Clone Stamp Tool, Healing Brush Tool, More details: Essentially it "appears" that Photoshop is duplicating the layer and the

  • Macbook pro late 2008 hardware upgrade

    Hi, I'm planning to do upgrade my macbook pro late 2008 (2.66 GHz Intel Core 2 Duo 4 GB DDR3 1067 MHz / NVIDIA GeForce 9400M / 320.07 GB Hitachi and Superdrive). I would like to: Upgrade memory from 4 to 8 GB via e.g. two PC3-8500 4GB RAM Chip iFixit