Switching pages from flash-gui

I tried to switch to a page using a flash-button inside an rma which functions as a gui.
To do so I use an external interface call:
var jsCaller:Object = ExternalInterface.call("eval","this.pageNum = 1;");
I use eval frequently to call various methods within my document-script and so far it has never failed me. However, in this case, when I push the button, acrobat crashes.
It seems to switch to the page (at least the scrollbar indicates that) but before anything from that page is actually shown, acrobat crashes. The version I use is Acrobat 9 Pro Extended (version 9.1.0). I tested this in reader 9.4 and found the same behaviour.

Yes it does, and it will. The problem is that by switching pages the Flash annotation is disabled, but both Flash and Acrobat expect the externalInterface function to have a return value. As the Flash Player instance is killed halfway through the handshake, it takes Acrobat down with it. Probably should've fixed it, but it's not a major priority, as;
(1) hardly anyone uses it, and if they do they find out very quickly they can't
(2) it crashes in a safe-ish way, so there's no exploitability in the bug
One way around it is to call a doc-level function from AS which itself fires off a short delayed function call to set the pageNum value, so you can return the handshake to Flash *before* the page changes and the link gets severed. If your SWF is running in a pop-up window and set to manually disable, then it'll be fine.

Similar Messages

  • Re: Switching pages from flash-gui

    One way around it is to call a doc-level function from AS which itself
    fires off a short delayed function call to set the pageNum value, so you
    can return the handshake to Flash *before* the page changes and the
    link gets severed.
    Once again an extremely simple task made incredibly complicated. So this is a known bug noone cared to fix? Not quite what I would expect considering the retail-prize of Acrobat Pro Extended.At least I know what's going on now.
    So thanx anyway.
    Is there a chance this is at least fixed in Acrobat X?
    BTW: A separate forum on Acrobat Flash would probably be a good idea (just like there is one for 3D-Features). I'm always unsure where to post such problems specifically involving flash in the acrobat context. As the documentation on this subject is very limited imho, there's probably loads of problems to discuss.

    Yes it does, and it will. The problem is that by switching pages the Flash annotation is disabled, but both Flash and Acrobat expect the externalInterface function to have a return value. As the Flash Player instance is killed halfway through the handshake, it takes Acrobat down with it. Probably should've fixed it, but it's not a major priority, as;
    (1) hardly anyone uses it, and if they do they find out very quickly they can't
    (2) it crashes in a safe-ish way, so there's no exploitability in the bug
    One way around it is to call a doc-level function from AS which itself fires off a short delayed function call to set the pageNum value, so you can return the handshake to Flash *before* the page changes and the link gets severed. If your SWF is running in a pop-up window and set to manually disable, then it'll be fine.

  • Stop pages from flashing

    Hello
    I have added a blue textured background to my RoboHelp pages
    When I view the pages, they flash white and then load the blue background.
    the background image is on 19kb.
    Does anyone know of a way to make it so my pages wont flash?
    Thanks so much inadvance for any advice or help

    Yeah, I can be a brat.
    On a more serious note, I'm not sure of exactly what you are seeing. Are you able to use something like Jing or Screenr to record a video showing us? You can just post a link to the video.
    Click here for Jing
    Click here for Screenr
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Trying to call MM_showHideLayers on container HTML page from Flash

    I'm designing a site that is mostly in Flash, but I would
    like to show some content by changing the visibility of a layer on
    the HTML page that contains the swf file. I have tried
    on (press)
    {ExternalInterface.call("MM_showHideLayers",'testerbox','show');
    and
    on (press)
    {ExternalInterface.call("MM_showHideLayers('testerbox','','show')");
    and I have tried
    on (press)
    {getURL("javascript:MM_showHideLayers('testerbox','','show')");
    My HTML page code is below. Can anyone tell me what I am
    doing wrong and point me in the right direction? Can this be done?
    Is there a better way to display large amounts of highly formatted,
    dynamic content from within Flash without loading a new page or
    resorting to a pop-up window? I really want it to look and feel
    like it is all part of the same page, and I need more tags than I
    can use in a Flash textbox. Thanks in advance :-)
    Teri
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <script type="text/javascript"
    src="swfobject.js"></script>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_showHideLayers() { //v6.0
    var i,p,v,obj,args=MM_showHideLayers.arguments;
    for (i=0; i<(args.length-2); i+=3) if
    ((obj=MM_findObj(args
    ))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style;
    v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
    //-->
    </script>
    <style type="text/css">
    <!--
    #testerbox {
    position:absolute;
    width:200px;
    height:115px;
    z-index:6;
    left: 69px;
    top: 42px;
    background-color: #FFFFFF;
    visibility: hidden;
    -->
    </style>
    </head>
    <body bgcolor="#FFFFFF">
    <table width="316" height="180" align="left"
    cellpadding="0" cellspacing="0">
    <tr>
    <td
    background="../images/innerpage/sidebar-bg-iframe.jpg">
    <div id="testerbox">My test</div>
    <div id="flashcontent" align="center">
    <p>
    You must have Flash Player to use this feature.<br>
    <br>
    <a href="
    http://www.macromedia.com/go/getflashplayer"
    target="_blank">Click
    here</a> to download or upgrade your Flash Player
    </p>
    </div>
    <script type="text/javascript">
    // <![CDATA[
    var so = new
    SWFObject("leaders.swf","leaders","316","180","6");
    so.write("flashcontent");
    // ]]>
    </script>
    </td>
    </tr>
    </table>
    </body>
    </html>
    Text
    Text
    Text
    Text

    Hi, did you get a solution to this problem, i am having a similar issue with the MM_showhidelayers not working in IE6, it works fine in IE8?
    the code im using on a flash button is:
    on (press) {
    import flash.external.ExternalInterface;
    ExternalInterface.call("MM_showHideLayers('menu','','show','menu_back','','show' )");
    Thanks
    Gary

  • Problem open new html page from flash

    Hello,
    in IE7 and IE8 block popup lock my external link(page html)
    I use GetUrl(url,"_blank") but not it works
    Why?
    i use flash cs4
    With firefox it work

    thank you for response,
    i have used correct command but not it works.
    It Works, in my popup setting are setting "CUSTOM" not MEDIUM
    thank you

  • Cant Stop Flash Page from flashing repeatedly (making website)

    Well first off here is my script so far on the page:
    http://pastie.org/2896198
    Using Pastie to keep amount of text on thread low to make things easier to read.
    Here are the errors I get everytime I try to debug or Test Movie:
    http://uploadpic.org/storage/2011/4YMJ4ivivUUNtZZouD62dH8uT.jpg
    Here is the fla file:
    http://www.mediafire.com/?1k664584nyhab74
    Also maybe if you can help a bit with it heres the check list that this is graded on. Also no I am not trying to make you guys do my work for me its just he gave us this project but I have been at work (17) and unable to finish it at all. Please help I dont want  a bad GPA this ending semester.
    http://s3.amazonaws.com/edmodo/Slough/checklist2.pdf?AWSAccessKeyId=0CRWCTVCWB17SQPJGB82&E xpires=1321850730&Signature=XebyjmJdAN41LxokZVOWySCQWLE%3D
    If you know how to fix the problems if you could please fix them an upload them back and send it.
    I have been working on figuring this out all weekend an cant get it still.
    If you are able to help thanks so much because I have to go to bed right now an turn this project in for school tommorow and I really want an A otherwise I will get a F for final semester.
    The project is also due tommorow:(
    (THIS WAS ALSO MADE IN FLASH PROFESSIONAL CS4)

    You have your actionscript pasted into three different places. You only need the one at the bottom of your timeline in the Actions layer. Remove the others.
    You have two sets of frame markers, one set in the Pages layer, which is correct and a second set in the menu layer where each frame is labeled "page". Get rid of those markers.
    Extend the frames in the Actions layer to match the rest of the movie. Get rid of the extra keyframes in the background layer.

  • How to invoke a HTML page from a GUI application.

    Use JFrame to devewlop a GUI.
    Add a Button to the GUI.
    Click the ADD Button.
    Add ActionListener to the Button.
    Click ADD Button.
    A HTML page with a hard coded path like index.html has to open in a browser.

    Hi there,
    get Runtime Environment at action performed.
    after getting Runtime execute following command,
    Runtime.exec("iexplore.exe","java.sun.com");
    u should specify location for iexplore.exe and url as parameter to pass to browser.
    I think it might work for u,
    Dhwanit Shah

  • Error while displaying PCUI page from SAP GUI

    Hi,
    I did a new development in a SAP GUI report program such that when the report program is called in Portal, on clicking a button, PCUI application for service order will appear. This I did by calling the function module CALL_BROWSER and passing the URL
    (for eg:- http://...../irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?NavigationTarget=/roles/com.sap.pct.crm.ServiceManager/ServiceCycle/nf/ServiceOrders/BSPOrdersManager&DynamicParameter=CRM_OBJECT_TYPE%3DSERVICEPROCESSCRM%26CRM_BOR_TYPE%3DBUS2000116%26CRM_OBJECT_ID%3DFD3A2213D9F449CE83D7AF4EDCF642BA%26CRM_LOGSYS%3DCRD100%26sap-syscmd%3Dnocookie%26CRM_LOGSYS%3DCRD100%26CRM_BOR_TYPE%3DBUS2000116)
    This is working fine when the connection is HTTP but when the connection is HTTPS, a new window is opening with Portal header details but the PCUI application is not opening.
    Do I have perform any additional steps to get the application opened up in HTTPS connection?
    Thanks & Regards
    G.Raja

    Hi Matthew,
    Thanks for your reply. The CRM version is CRM 4.0 SP6. Unfortunately the notes could not be used in our scenario.
    The URL is created by us and the function module CALL_BROWSER is called to display the PCUI application. The PCUI application is not getting displayed if the connection is secured (HTTPS) connection.
    Thanks & Regards
    G.Raja

  • Implementing osmf HTMLMediaContainer into HTML page from Flash Proffessional

    Integrating communication between osmf and javascript via HTMLMediaContainer using Flash Proffessional
    Quite new to this
    Hello may someone please explain how this is done exactly, Not quite understanting the samples and examples, I get the  onHTMLMediaContainerConstructed function but after that, Im quite lost on the javascript inside the HTML body tags!! is this body tag javascript needed if im using flash professional...please help
    Thanks evryone

    Hi GeekTumiso,
    i'm searching for documentation too ... i want to understand if i can load external html element to make an html player skin, but there is not documentation or good example :-(
    any suggestions?

  • Problem Targeting Frame From Flash

    Seems to be a new problem.
    Trying to open a html page in a frameset page from flash
    seems to have stopped working correctly. It's opening in a new
    window every time.
    HOWEVER, did notice if I publish to a live server, seems to
    work fine. Just makes for testing locally a pain.
    Have not upgraded flash lately in either safari or firefox
    which both are experiencing this issue. (think I still have flash 8
    player)
    This is a site I've been developing for several weeks and was
    just working fine as of about 10 days ago.
    Anything new happen lately? (like the IE embed object issue
    earlier this year)
    Any insight or confirmation of this would be
    appreciated.

    ok so my flash as3 is incorrect.
    what should it be?

  • Need help stopping home page from appearing

    Hello:
    I've designed and programed the site www.pawsandclawspets.com
    but I can't figure our how to keep the home page from flashing when
    going from one page to the next. I have all my movies loading onto
    a level above it and don't want to hide the home page entirely as I
    am using the nav at the top on all the pages.
    Any thoughts?
    Thanks!

    boss33 wrote:
    > Hi pple, need help here.
    >
    > Trying to make a site that uses scriptaculous and a few
    other scripts like
    > prototype and a few more.
    >
    > The thing is I can't seem to get the first image to
    randomize on the site. So
    > I've decided to discard that idea and move over to
    making the home page one of
    > my other pages specifically the "beauty" or as I call it
    the art page.
    >
    The first image on your page is this:
    <img id="logo" src="
    http://test.inspiringmen.com/images/logo.png"
    ... />
    onload=function(){
    var imgs=[
    "/images/logo.png",
    "/images/another.png",
    "/images/yetanother.jpg",
    "/images/onemore.jpg"];
    document.getElementById("logo").src=imgs[(+new
    Date())%imgs.length];
    This assumes that the "images" folder is at the root level of
    your site.
    You may add or remove image paths from the "imgs" array at
    will.
    Mick

  • Javascript call from Flash in modal dialog window

    Hi.
    As I see it's impossible to call Javascript function from
    flash in modal dialog (opened with showModalDialog), neither with
    getURL nor with ExternalInterface.call.
    The only solution I found (in my case it's enough, I only
    need to refresh some DIV content in the page from flash) is to
    catch error in the modal dialog (Javascript window.onerror) and
    then do some operations.
    I'm intereseted: is this for security reason on Win XP SP2? I
    didn't found any solution, but is there any?

    Hi Gary,
    Actually I'm not very sure that whether it is the VS issue if it still has this issue in a new Environment.
    To make sure that it is not the VS setup file issue, one idea is that you could re-download your VS2013 Pre version here:
    http://www.visualstudio.com/downloads/download-visual-studio-vs
    And then re-install it again. Test the result. Hope that it is not the VS setup file issue.
    If still no help, really sorry for that I couldn't repro this issue in my side. But
    you can submit this feedback to Microsoft Connect feedback portal:
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,Microsoft
    engineers will evaluate them seriously. You could share this project in your report, the product team members would troubleshoot and repro this issue.
    You will get email notification for update in your connect report.
    If you submit it, please share us the link here, so we could get the latest information from the product team members.
    Sincerely,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Safari on iPad Air 2 flashes random pages from history

    iPad Air 2 64GB WiFi running 8.1.3
    When I open Safari, a random page from my history (usually from days or weeks ago) flashes on the screen for 1/2 second and then shows the current webpage.
    I've cleared History and Website Data in Settings>Safari. Still does it. Safari even flashes pages that should have been cleared In that process!
    I then restored the iPad as a new device through iTunes. Still does it.
    I've had the iPad since November. It never did this until January. Hopefully the next iOS update will take care of it. Very annoying.

    Forgot to mention- this happens upon launching Safrari from either a "quit" state or "background" state.

  • Switching from Flash to Flash Catalyst/Flex

    For the last few years I have been developing applications for project reporting. To explain this in simplest terms, my clients give me hundreds of reports and supporting documents, graphics, videos, etc. which I then condense and reorganize into a presentation/application in Flash. The project is then published as an .exe to be burned to CD ROM or DVD along with any supporting files and is then distributed to project stake holders, investors, etc.
    I'm considering the possibility of a switch from Flash to Flash Catalyst/Flex and want to outline what my needs are, here in the forum, in hopes that others now using Catalyst/Flex can help me decide if this is an appropriate move.
    Features needed:
    1. Basic animation, transitions, etc.
    2. Full Navigation (up to 3 levels) for up to 300 slides.
    3. Keyboard navigation (PageUp/PageDown) to navigate sequentially through the entire presentation.
    4. Linking into other applications and documents - Word, Excel, Power Point, etc.
    5. Full Screen Mode
    6. Slide Show Mode
    7. Search Features
    8. Slide sharing (via email)
    9. Video and audio w/controls
    10. Pan and Zoom w/controls (panning and zooming of graphics and .swf files)
    11. Scrolling (scrolling of text, graphics and .swf files)
    12. Interactive forms
    Can anyone please comment specifically on these features and wether or not they are possible using Catalyst and/or Catalyst/Flex in combination.
    Thank you all for any insight or suggestions.
    John

    With the exception of making fre-form animations (like a cartoon for example), everything you can do in Flash can be done in Flex considerably faster.
    The downside is that Flex applications (especially ones designed in Catalyst) are generally larger, and consume more memory. Personally, I never publish anything made in Catalyst without optimizing it in Flash Builder first.
    If the drop in operating performance isn't a deal breaker (most of the time you can't even notice it), then I would certainly consider moving to Flex going forward on new projects.

  • TS4036 I deleted Pages from icloud on my iphone.  the next time i was on my ipad it flashed and all of the files disappeared.  did i deleted them from icould without realizing it?  are they gone forever or is there a way to restore them?

    I deleted Pages from icloud on my iphone.  the next time i was on my ipad it flashed and all of the files disappeared.  did i deleted them from icould without realizing it?  are they gone forever or is there a way to restore them?

    Welcome to the Apple Community.
    If you mean you deleted the files from Pages on your phone whilst using iCloud, then yes they will disappear from Pages on your iPad too.
    If you simply deleted the app from your phone, if you were using iCloud then they should not have disappeared from your iPad.
    It's not clear from your post, which of these you did.

Maybe you are looking for

  • Error in loading a node

    Hi Experts, When i try to open a node(for example: a folder in portal content) its giving the error: <b>"Could not load or refresh node Tree creation failed on node:<location>"</b> How can i resolve this? valuable answers will b rewarded. Thanks in a

  • App problem urgent

    hi i am making pmt to vendor through app,while doing proposal run,the message is displaying that proposal has been schedule and job was cancelled can anybody help me guna

  • Web Object Widget non-functional?

    Hello again! So I'm trying to use the web object widget to pull up a surveygizmo survey (which provides handy web links, HTML embeds, java embeds etc.), but it's not loading up. It works only when in previews within Captivate. Once published, it does

  • Import dialog shows iPhone twice, and photo list only shows outlines

    In Aperture 2.1.2 I have been able to import photos from my iPhone until just recently. Now the import dialog shows three choices of import devices/locations, Local Disk, RJH iPhone and a second RJH iPhone. If I select either iPhone the main window d

  • While loop doesnt start

    Hi, its me again. Still working on the same program. The program just reads some values and puts them into an array. This is timed, but not exaclty correct. It waits for 10ms and then counts 10 up one the time-variable. When u have a measurement time