Targetting a div on a page from an .swf file

Imagine I have an swf file on an html page.   Beneath it I have a div called "container".  I would like to hit a button in the flash file and have the contents of the container div change.  I've done a similar thing with frames or iframes in the past, but I'm thinking there is a way to tell flash what div I am targetting.  I would love to see the answer in AS3 since I'm trying to get myself away from many years of using AS2. 
Thanks!

use javascript to change your div contents and the flash externalinterface class to communicate between actionscript and javscript.

Similar Messages

  • I am trying to delete pages from a PDF file. I opened the bookmarks, selected the pages to delete and choose Edit Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    I am trying to delete pages from a PDF file. I opened the bookmarks in the PDF file, selected the pages to delete and choose Edit > Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    Resolved

  • Move group of pages from one InDesign file to another InDesign File using VB.Script

    Dear team,
    I am trying to move group of InDesign pages from one indesign file to another indesign file using vb.script.
    I have written the code like
    Dim Pages=IndDoc.Pages
    Dim Mytype=TypeName(Pages)
    Pages.Move(InDesign.idLocationOptions.idBefore,IndDoc1.Pages.LastItem)
    but it is giving an error as method Move is not a member of Pages 
    please give mme the solution to move the Multiple pages or a group of page from one Indd to another Indd.

    Hey Peter, if I wan to move several page that part of Auto Flow text, I checked the "delete page after moving" but the content still there, not deleted.
    Is there any way to delete it automatically, just to make sure I have moved that autoflowed page?

  • Which Version of Adobe do I need to be able to "extract" a page from a existing  file and save/download to another file?

    Which Version of Adobe do I need to be able to "extract" a page from a existing  file and save/download to another file?

    Acrobat Pro or Standard.

  • Saving One or Two pages from a PDF file

    How do I save one or two pages from a PDF file that have been emailed to me? 

    Hi molalla98,
    The task that you are trying to perform is not possible via Adobe Reader, You would require Adobe Acrobat to extract the pages from Multi-Page PDF and save it accordingly.
    ~Pranav

  • Screensaver from Flash (.swf) file?

    Does anyone know how to make a screensaver from a .swf file?
    Thanks!

    Try
        public function setPlayerLabel(param1:String,param2:String,param3:String):void
          sentMessage_txt.text = param1;     // no quotes
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How do I print 2 pages from a pdf file and enlarge it

    how do i print 2 pages from a file and enlarge it  to email

    Hi stevebulldog,
    Do I understand correctly that you'd like to extract two pages from a PDF, and then send them via email?
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see http://www.adobe.com/products/acrobat.html.
    I'm not sure what you mean by "enlarge" it. When your recipient views the PDF, they can enlarge the view (zoom in on the PDF) by choosing options from the View menu in Acrobat or Reader.
    Best,
    Sara

  • Using forms button to insert a page from an attachment file?

    Could somebody point me in the right direction so that I can understand how to approach the following task?
    I want to create a form that has a button that a user can press if a particular condition is met.
    For example if it is raining outside the user will press button "A" and a specific page, taken from an attached file, containing a picture of an umbrella will be inserted after the current page.
    If it is sunny outside then the user will press button "B" and a different page, taken from the same attached file, containing a picture of a beach will be inserted after the current page.
    I think I know that I need to use a JavaScript application level function.
    Is there an easier way of achieving the same result?

    Hi Jari,
    Thanks for your response - apologies for now replying sooner.
    I decided to remove the pages in the application builder and then implement the changes using an application export as suggested - went smoothly.  I used the Advisor to check the application which highlighted some additional redundancy that I needed to take care of resulting from removing the pages.
    Thanks
    Karl

  • How do I convert a selected nomber of pages from a pdf file?

    How do I convert only selected pages of a pdf file?

    One way would be to open the PDF with Acrobat XI Pro. Then from Tools - Pages use the feature that supports page extractions to a new PDF.
    Use this new PDF as the "source" PDF for Acrobat's File - Save As Other to export to a supported file format.
    Be well...

  • How can I delete pages from a pdf file

    How can I delete pages from a pdf file

    Hi timk,
    None of the Acrobat.com online services allow you to edit a PDF file. But, in checking your account, I see that you purchased an Acrobat Standard subscription, and you can certainly use that to edit a PDF file.
    Have you downloaded and installed Acrobat Standard? It sounds to me as though you may be opening the PDF file in Adobe Reader, rather than Acrobat. (Reader doesn't allow you to edit PDF files.)
    If you haven't already, download and install Acrobat from https://cloud.acrobat.com/acrobat. Then, make sure that you're opening your PDF files in that rather than Reader, when you want to edit them.
    Please let us know how it goes!
    Best,
    Sara

  • How can I save one specific page from a .pdf file into it's own .pdf file?

    I've got this 4 page pdf file, and I need to save just one page from it.  I know that there's the option of using the select tool and doing a copy/paste to an image file, but I'm trying to keep it as a .pdf and I can't seem to figure it out.  Any help would be much appreciated.

    Perhaps this solutions workability will depend a lot on what type and generation of PDF you got and the tech built into the program suggested....
    But ! (never-the-less)
    You could try to see if the "Free PDF to Word Doc Converter version 1.1" will work for you....
    I know it will not get you a single page .PDF but if the program works you could get a .Doc of which you might have the possibility to save a single page after editing it !(?)

  • How do I save a single page from a PDF file?

    I am trying to save as a pdf file, a single page from an existing PDF file that has 4 pages. How do I do that?

    In Acrobat: Tools - Pages - Extract.
    In the free Reader: Not possible.

  • Why a docx converted from a PDF file did not convert 1+ page from the source file?

    In trying to work with data from several PDF files, I subscribed to Adobes's online facility to convert source.pdf to output.docx. Output.docx is missing more than a page of data I need. I don't understand why this is happening.
    I tried then to convert source.pdf to output.xls and the data in output.xls was repeating itself, for example:. This date value  04/22 was converted to:
    04/2204/2204/2204/2204/22
    Could any one here help me with these issues?

    Hi rivalg,
    Do you know how that PDF was created? The quality of the conversion depends largely on the quality of the PDF. It sounds as though you may be experiencing some font-related issues. As a test, you can try converting the file from within Adobe Reader with OCR disabled, as described here: How to disable Optical Character Recognition
    Note, however, if the PDF was created from a scanned document, and doesn't contain selectable text, you won't be able to select that text in the converted Word document. (OCR converts scanned/image text to selectable/editiable text). Nonetheless, it's a good test.
    As for the .xls output, it sounds as though the PDF isn't tagged to show the various cells in the table. Again, it depends on what created the PDF. Not all PDFs are created equally, alas.
    Please try converting with OCR disabled, and see how that goes. If we need to, we can take it from there.
    Best,
    Sara

  • Call a javascript function (in ASPX) page from a javascript file

    I have a javascript file (viewer.js) situated in Scripts/viewer.js My
    default.aspx has a javascript functions that calls a c# function in the
    default.aspx.cs ( it sends a http webrequest)
    Now I want to call from the viewer.js the function in default.aspx which calls the c# function.
    How can I handle this in my viewer.js?
    I need to do this because I work with 3D objects and the select event is on the viewer.js
    When I select the 3D object it needs to call the function in default.aspx...
    Scripts/viewer.js
    function ClickPickItem(item) {
    $("#properties").show();
    /*Call function App() */
    Default.aspx
    function App() {
    PageMethods.Connect(callback);
    Default.aspx.cs
    [WebMethod]
    public static string Connect()
    string rsp = DigestAuthFixer.GrabResponse("http://<username>:<password>@nextbus.mxdata.co.uk/nextbuses/1.0/1");
    ... CODE TO MAKE HTTPWEBREQUEST}
    Sorry if I'm not clear enough
    I don't see another option like this
    What I need to do?
    Thanks!

    If my understanding is not wrong, you are trying to call a Javascript function in a separate script block from a linked Javascript page. rite?
    When it comes to Javascript, all scripts will be posted to the client side browser and we can access any method between pages provided those JS files are linked to the page.
    So you can directly call
    App()
    function from your
    ClickPickItem()
    function.
    Please try and let us know your result.

  • How do you data merge a specified page from an .indd file

    Hi,
    I'm using ID CS6  creating a number of documents that will include various pages from other .indd documents; i see the best way for me to do this as a data merge.
    I can get the data merge to work absolutely fine, pulling in relevant images and text etc, and also pulling in the relelvant .indd documents; what i can't do is specify which page of the .indd file i want to show, so i'm always getting the first page. Is there a way to specify a page to merge, as opposed to only the first one?
    Thanks in advance...
    P.S. I'm right in thinking you can't merge snippet files aren't I...as i can't get that to work...

    I don't know of a way to specify a page of an ID document during a data merge. But interesting note: during my experimentation, the second page of the ID doc was being used in the data merge. Then after changing other variables in data merge workflow, the first page of document was used. I don't know what triggered the page change, and unfortunately can not repeat.

Maybe you are looking for