ActionScript function not visible to Javascript

In the example
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683&sliceId=2
there is a flash movie that we created using flash 2004 and
actionscript 2.0 that should expose a function that javascript can
call for clipboard functionality in firefox.
The movie is created and displays with a little test text box
but the function is not showing up as available to the javascript
(firebug) and its not executing.
We followed the documentation as closely as possible, so does
anyone have ideas of little common things that could have been left
out or ways to troubleshoot this kind of issue?
We're new to flash/actionscript but very familiar with
javascript/web interface development...so anything no matter how
elementary, please feel free to advise!
Thanks in advance for your time and knowledge!
Va.
Update:
Trying a few things that I've seen, I believe that
ExternalInterface is not available to my ActionScript, so the
callback function does not expose anything to Javascript.
I am using Macromedia Flash MX 2004, which uses Flash 7. Here
are my new questions:
- Is ExternalInterface available in Flash 7?
- If yes, are there configuration settings might need
tweaking?
Thanks for reading and any suggestions!

This is a known issue of CEP (Common Extensibility Platform, a DLL that supports displaying extensions). Code like “document.cookie” in HTML extension is invalid because CEF (CEP integrated CEF3 to display HTML Extensions) intentionally disables cookies on "file://..." for a variety of reasons.
However, CEP stores cookies at:
Windows: "C:\Users\yourusername\AppData\Local\Temp\cep_cookies"
Mac: "/Users/yourusername/Library/Logs/CSXS/cep_cookies"
Please let me know if more information is needed, thanks

Similar Messages

  • Component Palette - User Defined Functions not visible

    I have created a simple class for a User Defined Function I want to add into a Transformation process in my BPEL process.
    I followed this tutorial - https://blogs.oracle.com/bwb/resource/custom_xpath_functions/Creating_Custom_XPath_functions_with_JDeveloper_FullPost.ht…   to create the extension and add it in to JDeveloper
    However when I open the Transformation editor I have no option in the component Palette for User Defined functions.
    I am currently on 11.1.1.7. However this was working on 11.1.1.6 but this also has stopped.
    Does anybody have any suggestions of where I should look.
    Any help much appreciated
    Cheers
    Owen

    Hi Raja,
    Prior to trying Gordons option of unmarking and remarking them i would suggest you do a little more investigation as this can potentially change the field names in XL report and if you have any reports using them they may stop working (it can add a post fix of _1).
    Firstly, what are the fields set as in the User Defined Fields window in XL reporter?  Light Dimensions, Dimension Attribute or Measure?  If its a Dimension Attribute for example on the Business Partner UDF, it will not be visible in the tab section but should be shown if you drag and drop the Business Partner dimension in the report, then right click and choose display more attributes (dimension attribute UDFs will be in this list).  Light Dimensions and Measures should appear in the tabs.
    If they are set as a light dimension or measure and are not in the tab section, has this only just started happening or have they never been visible?  If its just started happening, having you recently upgraded to a new patch?  If so, in future you need to run a script on the Company and Common database prior to the patch upgrade.  If you did not run these scripts you will need to do Gordons solution but as I say, if any reports have UDFs in these may not work after and you will have to manually edit them.
    Regards,
    Adrian

  • Why cookies are not visible to javascript since 14.2 in HTML5 extensions?

    Using Photoshop 14.2
    Before 14.2:
    console.log(document.cookie); // this wasnt working
    $.ajax('https://some/api/endpoint',{
            success: function(d,s,r) { console.log r.getResponseHeader('set-cookie') } // this was working - I could read cookie
            type: 'post',
            data: { email: '[email protected]', password: 'somepasswd' }
    After 14.2:
    Neither options work...
    Just cant read cookie in javascript - but I am sure cookies work because on other api calls cookie is sent to server...
    And I am sure that cookies options 'httpOnly' is set to false.
    Even in chrome debugger under 'network' tab I cant see any cookies returned from server after api call.
    Did Adobe change something with cookie management?
    I need this to allow user to remember his account and auto login in extension. I know that cookies persist only during Host session but before 14.2 I could at least read cookie, save it to the file and after Host Application restart read the file and add cokkie to ajax call header... Now I cant do anything...

    This is a known issue of CEP (Common Extensibility Platform, a DLL that supports displaying extensions). Code like “document.cookie” in HTML extension is invalid because CEF (CEP integrated CEF3 to display HTML Extensions) intentionally disables cookies on "file://..." for a variety of reasons.
    However, CEP stores cookies at:
    Windows: "C:\Users\yourusername\AppData\Local\Temp\cep_cookies"
    Mac: "/Users/yourusername/Library/Logs/CSXS/cep_cookies"
    Please let me know if more information is needed, thanks

  • Component Palette --- "User Defined Extension Functions" not visible

    I added a User-Defined XPath Extension Function in JDeveloper 11.1.1.3.0 --> Tools > Preferences > SOA As given here http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_appx_functs.htm#BEIHEBIJ
    But I am not able see "User Defined Extension Functions" section itself in the component palette. Do I need to enable anything for see the section.
    Can somebody help.
    Thanks

    Hi,
    I am trying to create user defined extension function in JDeveloper 10.1.3.4 to be used with the Oracle ESB.I have followed the documentation provided by the Oracle to resolve this issue without any success can you please help me in providing me the details how did you resolved this issue.
    Anticipating your earliest reply
    regards
    Narasimha

  • Call Actionscript function from Javascript

    Can anyone show me a simple example of calling an
    actionscript function from within javascript? Everything I have
    found searching online refers to using the ExternalInterface but I
    was sure I also read that Adobe Air does not support it. I am
    currently using htmlloader to load a html page containing
    javascript into an <mx:HTML>. But I cant seem to touch the
    actionscript functions from within javascript. I am specifically
    trying to work with the FCKeditor that I have integrated so if
    anyone has any examples other methods of integrating the editor I
    would love to see them as well.
    Thanks!

    Let's assume u have embeded swf object named "flashObj"
    <embed src="MYSWF.swf" quality="high"
    width="100%" height="100%" name="flashObj"
    play="true"
    loop="false"
    quality="high"
    allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.adobe.com/go/getflashplayer">
    </embed>
    On each time onblur is called it invoke AS function
    myActionScriptFn
    window.onblur = function() {
    if(flashObj != null){
    flashObj.myActionScriptFn(navigator.appName);
    You need to add a listener in Action Script code
    ExternalInterface.addCallback("myActionScriptFn",
    myActionScriptFn);
    public function myActionScriptFn(appName:String):void
    // Any code here
    Regards

  • Function and attribute tabs not visible in ppoma_crm

    Hello Experts,
    Function and Attribute tab at the sales organization level is not visible in PPOMA_CRM transaction code for one of the user.
    Is it due to some authorization issue ? or anything else ?
    Before taking a system trace for that specific user, I would like to know if we are missing anything functionally
    Kindly revert
    Thanks and Regards
    DJ

    Hi DJ,
    Please see note 926540 - Missing Organisational units
    But from your description this does not seems to be the exact symptom.
    Yes I would advise to run a SU53 authorization check.
    Best regards - Christophe

  • Navigation buttons are not visible and lost it´s functional

    I have an intercative document that i have exported from Indesign. On every page their should be an navigation buttons with functions like
    next , previous , last page etc. Everything works on a PC but on the Mac the buttons are only visible on the first two pages and on the 80 other
    pages they are not visible, but I get the hand with the index finger when i put the pen/mouse on the location where they should be but they have also
    lost their function? Can anyone help me here?

    What you're seeing may be related to a known bug with InDesign CS6: http://forums.adobe.com/message/4482056#4482056

  • Class functions of .jar library not visible..

    hi...
    i have created some classes in the default package. i then created a jar file of the whole project and imported this jar to another project as library..The classes of the imported library are visible..however i am not able to see any of the functions of that class....despite everything being public....wat cld be the problem..?

    Ok i have shifted it to a different package...still the methods are not visible..i can see all the classes but none of their methods...all are public...is there ne MANIFES editing problem...?

  • Shared HP 3180 scanner function on a SnowLeopard server is not visible in other Lion Macs.

    Hello,
    I shared a HP C3180 (Printer+Scanner) on a server running SnowLeopard. While I can still scan from other SL-machines via the preview application, the scanner is not visible from machines running Lion. Printing from Lion is no problem, but it just does not show up as a scanner in the networked devices list of preview and image capture applications. Any idea?
    rgds,
    Frank

    Having very similar problem and have not solved it yet. Got some diagnostic info, though.
    I downloaded the Bonjour Browser on the Lion Mac. IT can see the scanner service being offered by the Snow Leopard Mac. But the System Perferences - Print & Scan cannot (although it see the printer part of the all-in-one just fine; it works, too). Neither can Image Capture.
    For what it is worth, downloaded latest all-in-one driver from the vendor. Vendor says it is for Lion. Doesn't seem to make a difference. Sigh ...

  • Lightbox Gallery previous and next not visible

    I'm still looking for a solution to the other Lightbox Gallery question I posted earlier, but in the meantime I've copied files from the application support folder mentioned before and have the gallery working up to a point.
    It works perfectly well locally in Dreamweaver Live View but having uploaded the files to the server the gallery functions without displaying the Previous, Next or Close tabs. They're active but not visible which makes me think there is a failure to load the icons
    http://www.yellotestbed.co.uk/shtml/photo_gallery.shtml
    Thanks

    Looks like you need to fix the links to those images in your javascript.
    You have a mix of "images" and "Images" for the directory names in the links. It looks like your actual folder is capital "i" Images. Your local files will work fine, because your OS sees no difference between "images" and "Images" however your server treats them as two different directories so you're getting 404 File Not Found errors because it is looking for a directory that doesn't exist
    File names should be all lower case with no special characters ($%&* etc). You should also use hyphens and underscores instead of spaces to avoid issues like this.

  • Flash is not visible when transparent is set to true

    Hi everyone. I'm writing an application in HTML and
    Javascript which uses <OBJECT> and <EMBED> to display a
    flash. The flash is invisible when transparent = false in the
    application settings xml file.
    I used the following to HTML code to display the flash:
    quote:
    <p width="100%" align="center"><embed pluginspage="
    http://www.adobe.com/go/getflashplayer"
    src="
    http://www.yourminis.com/Dir/GetContainer.api?uri=yourminis/yourminis/mini:youtube"
    wmode="transparent" width="370" height="280"
    FlashVars="height=270&xheight=280&xwidth=370&width=360&uri=yourminis%2Fyourminis%2Fmini%3 Ayoutube&swfurl=%2Fwidget%5Fyoutube%2Eswf&"
    type="application/x-shockwave-flash"
    allowScriptAccess="always"></embed><br /></p>
    This is a flash file that is designed to run on a domain
    other than where the flash file is hosted on. More information on
    the flash at
    http://www.yourminis.com/minis/yourminis/yourminis/mini:youtube
    So the question is... how do I display a flash file when
    transparent is set to true?
    OS: Windows XP
    CPU: Intel Centrino Pro

    This means that the SWF is written so that it only works when
    embedded in a web page. When you add the SWF to the stage as a
    stand-alone display object using addChild() it is not being hosted
    in the web page.
    You have 2 options:
    1. Modify the SWF code (if possible) to remove the
    ExternalInterface requirement. You can write code in your AIR
    application javascript to subscribe directly to events from the SWF
    using addListener() and call functions directly on the SWF object
    (Flash/Actionscript is not my primary development environment... so
    if I have gotten the terminology wrong I apologize, but I HAVE
    written a flash application that worked as I describe). My SWF
    actually works embedded in HTML or not using the code "if
    (ExternalInterface.available) {
    ExternalInterface.addCallback("setIsPlaying", setIsPlaying ); }"
    2) Somehow add a HTMLLoader in a new child window (with
    transparent = false) to the stage as a new child. I have not yet
    figured out exactly how to do this, so If anyone can provide
    information on how to do this, I too would be appreciative.

  • Flash file not visible in web page

    Hello,
    I'm Udayakumar from chennai (India). I created some flash
    files and uploaded in web site. That are working properly in India
    only. But not visible in other countries. What's the problem? I'm
    exporting in swf format with following settings.
    Version - Flash player 8, Loard orfer - bottom up,
    Actionscript version - actionscript 2.0, options - compress movie,
    local play back security - local files only.
    And I'm inserting the swf files in html pages using plugin
    commands. (ie)
    <embed width="100" height="100" src="images/x.swf"
    menu="false">
    So I can't able to understand, why was the flash files are
    not visible in other countries?
    Pls explain me......
    My email id - [email protected], [email protected]
    Thanks & Regards
    P. Udayakumar

    You will need the following in your HTML (with modifications
    to target your document) ...
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="pudaya enter your document width here" height="pudaya enter
    your document height here" id="pudaya enter swf file name here
    (without ".swf" extension)" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pudaya enter swf file name here
    WITH ".swf" extension" /><param name="quality" value="high"
    /><param name="scale" value="noborder" /><param
    name="bgcolor" value="#pudaya enter background color as hexidecimal
    here" /><embed src="pudaya enter swf file name here WITH
    ".swf" extension" quality="high" scale="noborder" bgcolor="#pudaya
    enter background color as hexidecimal here" width="pudaya enter
    your document width here" height="pudaya enter your document height
    here" name="pudaya enter swf file name here (without ".swf"
    extension)" align="middle" allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    All of the above will be generated with all values in place
    using the "Publish Settings" function in Flash if you check HTML as
    one of the export settings.

  • Print button is not visible in RDLC report

    hi
    I am developing web application in Visual studio 2012 ,.net framework 4.5,C#.net
    I have designed RDLC report for web application,in report viewer i have given showprint button = true, in browser print is not visible in all the browser.
    How should i give Email functionality in report,is there any sample code for email.
    How to overcome the above two problems,print and Email
       <rsweb:ReportViewer ID="ReportViewer1" runat="server"  Font-Names="Verdana" Font-Size="8pt" 
                InteractiveDeviceInfos="(Collection)" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" 
                    BackColor="#CCCCFF" ShowPrintButton="true"  ShowPageNavigationControls="True" 
                ShowBackButton="True" ShowCredentialPrompts="True" ShowDocumentMapButton="True" ShowExportControls="True" 
                ShowFindControls="True" ShowParameterPrompts="True" ShowPromptAreaButton="True" ShowRefreshButton="True" ShowZoomControl="True"  >
               <LocalReport ReportPath="Report1.rdlc" >
                       <DataSources>
                           <rsweb:ReportDataSource />
                       </DataSources>
                    </LocalReport >
            </rsweb:ReportViewer>
    Thanks&Regards,
    Radhika

    Hi Om Prakasah,
    If I understanding correctly, you created a ReportViewer report, but you can’t see print icon when you run the report in browser. If so, please follow these steps:
    If you can’t see the print icon either when running the report in visual studio, you may have set ShowPrintButton to False in Properties window, then please set it to True.
    If there is print icon in visual studio but not in browser, please update the .NET Framework on your web server to the latest version, because the print icon is by default hidden in some version of browser. For more information, you can refer to the relevant
    link below:
    http://blogs.msdn.com/b/selvar/archive/2013/12/20/reportviewer-2012-control-not-showing-print-icon-when-viewed-from-ie-11-desktop-mode.aspx
    If the problem is not resolved, i would appreciate it if you could give us detailed description of your problem, it’s better to provide the version of ReportViewer and browser, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu

  • Graph which should display the data of a view object not visible

    Hi,
    I have a main page which contains a <af:panelAccordion> component with three <af:showDetailItem> components. Each of these <af:showDetailItem> components contain a page fragment. In each of these page fragments are a <af:table>, <dvt:pieGraph>, <dvt:lineGraph> and a <dvt:areaGraph> which represent data of view objects.
    In the first <af:showDetailItem> window all components are visible. But when I click on another <af:showDetailItem> all components are visible except the <dvt:areaGraph>. Weird is when I insert a <af:commandLink> into the page fragment without any functions. Also the link doesn't invoke any mehtod and partial submit is set to false. Now when I click on this link the <dvt:areaGraph> with its data become visible and show the data.
    The area graph and the line graph have partial triggers set to the table. Because when another row in the table is selected, the area and line graph should show data which is dependent on the selected row of the table.
    Has anybody an idea?
    Thanks in advance!
    Edited by: user13061309 on 27.07.2010 06:53

    Hi Frank,
    thanks for your response.
    I created a fragment-based flow and dragged it onto the main page as a region component. The main page contains the panelAccordian with its showDetailItem's. Each of the showDetailItem components of the panelAccordian contain such a region component.
    Now I set the partial trigger's property of the region component pointing to the showDetailItem component which contains the region but nothing changed. The graph is still not visible at the first click on the detailItem. I also set the trigger's property of the region component pointing to the panelAccordian but also nothing happens.
    Regards
    Michael
    Edited by: user13061309 on 06.08.2010 03:00

  • IMac G5 17" is DOA... drive not visible in Disk Utility

    About a week after my computer went out of warranty (OS 10.3.9), I have been experiencing random complete system meltdowns every 5 or 6 months. It begins while using the search feature, the beachball spins for 8-10 minutes then pulls search results. Following that, the system stalls on every task, and restarts with the blinking "?" folder. In the past, a re-install of the OS was a frustrating, but simple solution.
    Last Friday, this happened for the fourth and final time. Upon attempting to re-install the OS, the install froze, locking up the computer. When I restarted to try to re-install the OS, the drive was not visible in the Disk Utility. It isn't visible in any Mac utility that I have tried, nor Disk Warrior.
    I just replaced the SeaGate 7200 hard drive with a refurbed one, and the problem continutes--the drive is not visible to the install.
    Is this 2-year old Mac now a paperweight? With the market resale value of this machine only about $500-600, I can't stomach spending a third of that to have something repaired, for all of this to potentially happen again.
    Is it terminal? Has anyone else experienced this?
    I'm really bummed out. As a Mac user for the last 15 years, I can't bear the thought of spending another 2 grand on a computer that will let me down again. I'm tired of the Pee Cee world hazing me as it is, and episodes like this don't make it any easier. Someone please tell me there is a solution...
    doug

    It DID break down a week after I received a call from Apple asking me to purchase an extended warranty. I wouldn't make that up.
    It's on 10.3.9 because, in typical Apple fashion, 10.4 came out a WEEK after I bought my computer. I never bought the upgrade software from Apple just out of anger that a new computer was shipped with obsolete OS installed when a new version was hitting the shelves so soon afterwards. I work on 10.4.10 here at the office, and never missed the "features" at home. For $179, it wasn't something that ever screamed to be a necessity for a home computer.
    The drive wasn't necessarily refurbed, but it was "recycled" and bought cheap to find out if it could be a simple solution. For $35, it was an easy attempt to figure out what was wrong with the computer. It didn't solve the problem, and was much cheaper than throwing money at it without knowing what was wrong.
    At this point, I'm trying to save this box from becoming landfill. I bought a Dell PC laptop this past weekend for a third of what I paid for this iMac, and when it breaks down or obsoletes itself in 2 years, it won't be so difficult to swallow getting rid of it for something new.
    I'm going to open this up again this afternoon to check the test LEDs and see if I can spot anything.
    Don't get me wrong, I love Macs, and always will, but I can't any longer justify spending $2000 on a home computer. They are disposable appliances, and if they aren't going to come from the factory with warranties long enough to last through their lifetime, then it's difficult to spend that much money on a computer than only needs MORE money spent to maintain functionality.
    I'll post back with my findings later today after I crack this open. Thanks for the assistance so far.
    doug

Maybe you are looking for

  • How to write '\n' in text file instead of newline

    Hello Everyone, I am trying to write 'C:\DOCUME~1\nXXX\LOCALS~1\Temp' in a bat file using client_text_io but *'\n'* in the path is taken as a new line character and the path is broken into two lines and written to the file. Hence my bat file doesnt w

  • BTFON support 24/7 Helpdesk closed no mention o...

    Just started to think about using FON  service as it has been magically enabled on my Homehub. I need my orginal email  and password to login, this has been lost in the mists of time  as just use BT as a connection.   Found this on bt website "To get

  • Video - can you have more than one per session?

    Can I have more than one video in a logic session - like one at the top of a session then 5 minutes later drop another in? I know Pro Tools has multiple video tracks. How do composers out there deal with new cuts etc?

  • Zen Xtra Software Probl

    Hi... i had bought a few weeks ago a Creative Zen Xtra with 60GB, i had bought it in Italy but with the different languages it isnt any problem to use it! The Zen Xtra is international isnt it's My Problem is the Software, the CD where is in the pack

  • OBIEE 11G Web Services - How to find Catalog Object Type

    Hi All, I am trying to access the Web Catalog objects available in OBIEE 11.1.1.5 through the Web Services API. I am able to read object names in "/shared" folders using the getSubItems() web service. My objective is as follows 1. Categorize catalog