[ID JS] convert to button

Hi All.
I'm locking for the method that make the opposit action of "Button.convertToObject ()"
I need to convert pageItems in buttons, is it possible?
thanks
Ivan

var myMenuCenter=app.menuActions.item("$ID/$$$/Command/Destroy FormField");
myMenuCenter.invoke();
You will need to select the object and then try something like this. There is probably a better way to do this but this should get you pointed in the right direction. This is in CS6

Similar Messages

  • Why is XML content disappearing when converting to button?

    I've never had this issue before but when I try to convert a group of objects containing XML or just the text box containing XML content into a button the XML content vanishes from the Structure panel. Usually when clicking "convert to button" everything stays normal and the XML doesn't vanish and stays linked etc. Is this a glitch or is there some odd setting that's causing this?

    I work strictly with arial and times new roman.
    I think all of the problems were with times new roman. I didn't see much of a pattern and what I did see was sporadic. There were problems in regular paragraphs and tables as well.
    As suggested I installed all updates to Frame and after focusing on incorporating my reviewers' PDF comments I just PDF the manual again and found no problems! Yay! 
    I agree about the inefficiency of searching forums; it's easier to start a new thread.
    I had no idea about Google's advanced search page . . . nice to know.

  • Right-click-Interactive-Convert to button. menu click

    Hi,
    How would I click a menu item.  For example, I want to click right-click-Interactive-Convert to button from my plugin when the user hits ok.

    Jabanick,
    The procedure was modified for iTunes 11.  Here are the updated instructions:
    http://support.apple.com/kb/PH12367

  • Convert PDF Button missing in Outlook 2010 *tried everything*

    Hello,
    I have Office 2010 and Acrobat Pro X on Windows 7
    I don't have the Adobe buttons in the ribbon in Outlook, (nor in other Office apllications, but that's ok). I can't right click on an email in Outlook and have it converted to PDF because I don't have this option.
    I tried everything:
    I went to the Add Ins in Outlook, the AdobePDFMAker Com is not there.
    I tried adding the dll (both the OfficeAddin and the PDFMOutlook dlls) Outlook 2010 tells me that they are not recognized Office AddIns.
    I tried registering the DLLs (Both of them as well), only the OfficeAddin would be registered, the PDFMOutlook would give me an error.
    I restarted, tried, and restarted again, nothing is working. I basically went through the possible steps on this page: http://helpx.adobe.com/acrobat/kb/pdfmaker-unavailable-office-2007-office.html
    No result.
    If anyone can help, I would be quite quite grateful!
    Nino

    Are you on Vista?  I am seeing different things on Adobe.com talking about how v7 is not compatible with Vista.
    I think I remember someone in the past also mentioning that v7 does not work with Office 2007, although we never had issues with that, when we were still on v7.
         Brenna Olwine
        [sig deleted by host]

  • Text getting squished on convert to button

    Hi,
    Im trying to make some buttons. Ive made a primitive rectangle and a text object with rosewood std font. Then I put the text over the rectangle the rectangle is a little bigger ussualy about a pixel more in width and height than the text in size.
    The problem is when I do convert to symbol(Button) the text gets all squished, I have no idea why.
    Anyone know what is going on?
    Thanks

    Not sure I understand I need it to be a button nnot a movieclip because Im going to use it as a button an need the differenet states (up,down,over)

  • Convert to Button Stopped Working

    I've converted 16 title texts into buttons, but the last two titles will not covert. When I click on them I do not get an option to convert. I've closed and opened the project, deleted and rebuilt the titles and still get the same problem.
    How can I get past this?
    Rick

    I figured out what I had done wrong almost as soon as I clicked send on the question. You can only have 18 buttons total on one widescreen page in Encore. Although I was under that limit, I had deleted two previous buttons from the menu monitor--- but not from the LAYER. Once I deleted the layer in which the buttons resided, I was able to rebuild my 17th and 18 buttons. I'm happy now.
    Thanks for your help Rick!!
    Rick

  • Converting to button Arrays

    Basically, I have a FLVplayer called vidPlayer and 3 dynamic text fields that put text in when they are clicked.
    I want to be able to keep the button clicked in the 'over' state, and to do this I believe arrays are needed?
    Also, an array might be easier, as there is a lot of code to sift through.
    below is the code for the buttons in my flv;
    //video player script
    function fenwick(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/Fenwick.flv";
    function moneyshopGold(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/MS_Liquid_Gold.flv";
    function nottsplayhouse(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/Nottingham-playhouse.flv";
    function severntrent(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/Severn-Trent.flv";
    function IB_blists(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/IB_blists-hill.flv";
    function IB_enginuity(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/IB_enginuity.flv";
    function IB_placeexplore(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/IB_placetoexplore.flv";
    function IB_greatyear(event:MouseEvent):void{
    vidPlayer.source = "flvs/adver/IB_great-year.flv";
    //text script
    function fenwicktext(event:MouseEvent):void{
    textBoxTitle.text = "Fenwick";
    function fenwicktext2(event:MouseEvent):void{
    textBoxName.text = "Sofa Sale";
    function fenwicktext3(event:MouseEvent):void{
    textBoxDescription.text = "Fenwick’s Furniture Sales advertisement is an example of how a simple and effective, yet stylish TV ad can be created without breaking the bank.";
    function moneyshopGoldtext(event:MouseEvent):void{
    textBoxTitle.text = 'The Money Shop';
    function moneyshopGoldtext2(event:MouseEvent):void{
    textBoxName.text = "Gold to Cash";
    function moneyshopGoldtext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for The Money Shop";
    function nottsplayhousetext(event:MouseEvent):void{
    textBoxTitle.text = "Nottingham Playhouse";
    function nottsplayhousetext2(event:MouseEvent):void{
    textBoxName.text = "Adverts";
    function nottsplayhousetext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for";
    function severntrenttext(event:MouseEvent):void{
    textBoxTitle.text = "Severn Trent";
    function severntrenttext2(event:MouseEvent):void{
    textBoxName.text = "Broadband";
    function severntrenttext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for";
    function IB_bliststext(event:MouseEvent):void{
    textBoxTitle.text = "Ironbridge";
    function IB_bliststext2(event:MouseEvent):void{
    textBoxName.text = "Blists Hill";
    function IB_bliststext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for";
    function IB_enginuitytext(event:MouseEvent):void{
    textBoxTitle.text = "Ironbridge";
    function IB_enginuitytext2(event:MouseEvent):void{
    textBoxName.text = "Enginuity";
    function IB_enginuitytext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for";
    function IB_placeexploretext(event:MouseEvent):void{
    textBoxTitle.text = "Ironbridge";
    function IB_placeexploretext2(event:MouseEvent):void{
    textBoxName.text = "A Place to Explore and Enjoy";
    function IB_placeexploretext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for";
    function IB_greatyeartext(event:MouseEvent):void{
    textBoxTitle.text = "Ironbridge";
    function IB_greatyeartext2(event:MouseEvent):void{
    textBoxName.text = "A Great Year";
    function IB_greatyeartext3(event:MouseEvent):void{
    textBoxDescription.text = "This was an advert for";
    //event listeners
    scrollbox.content.btn_fenwick.addEventListener(MouseEvent.CLICK,fenwick);
    scrollbox.content.btn_fenwick.addEventListener(MouseEvent.CLICK,fenwicktext);
    scrollbox.content.btn_fenwick.addEventListener(MouseEvent.CLICK,fenwicktext2);
    scrollbox.content.btn_fenwick.addEventListener(MouseEvent.CLICK,fenwicktext3);
    scrollbox.content.btn_moneyshop_LG.addEventListener(MouseEvent.CLICK,moneyshopGold);
    scrollbox.content.btn_moneyshop_LG.addEventListener(MouseEvent.CLICK,moneyshopGoldtext);
    scrollbox.content.btn_moneyshop_LG.addEventListener(MouseEvent.CLICK,moneyshopGoldtext2);
    scrollbox.content.btn_moneyshop_LG.addEventListener(MouseEvent.CLICK,moneyshopGoldtext3);
    scrollbox.content.btn_nottsplayhouse.addEventListener(MouseEvent.CLICK,nottsplayhouse);
    scrollbox.content.btn_nottsplayhouse.addEventListener(MouseEvent.CLICK,nottsplayhousetext) ;
    scrollbox.content.btn_nottsplayhouse.addEventListener(MouseEvent.CLICK,nottsplayhousetext2 );
    scrollbox.content.btn_nottsplayhouse.addEventListener(MouseEvent.CLICK,nottsplayhousetext3 );
    scrollbox.content.btn_severntrent.addEventListener(MouseEvent.CLICK,severntrent);
    scrollbox.content.btn_severntrent.addEventListener(MouseEvent.CLICK,severntrenttext);
    scrollbox.content.btn_severntrent.addEventListener(MouseEvent.CLICK,severntrenttext2);
    scrollbox.content.btn_severntrent.addEventListener(MouseEvent.CLICK,severntrenttext3);
    scrollbox.content.btn_IB_blists.addEventListener(MouseEvent.CLICK,IB_blists);
    scrollbox.content.btn_IB_blists.addEventListener(MouseEvent.CLICK,IB_bliststext);
    scrollbox.content.btn_IB_blists.addEventListener(MouseEvent.CLICK,IB_bliststext2);
    scrollbox.content.btn_IB_blists.addEventListener(MouseEvent.CLICK,IB_bliststext3);
    scrollbox.content.btn_IB_enginuity.addEventListener(MouseEvent.CLICK,IB_enginuity);
    scrollbox.content.btn_IB_enginuity.addEventListener(MouseEvent.CLICK,IB_enginuitytext);
    scrollbox.content.btn_IB_enginuity.addEventListener(MouseEvent.CLICK,IB_enginuitytext2);
    scrollbox.content.btn_IB_enginuity.addEventListener(MouseEvent.CLICK,IB_enginuitytext3);
    scrollbox.content.btn_IB_placeexplore.addEventListener(MouseEvent.CLICK,IB_placeexplore);
    scrollbox.content.btn_IB_placeexplore.addEventListener(MouseEvent.CLICK,IB_placeexploretex t);
    scrollbox.content.btn_IB_placeexplore.addEventListener(MouseEvent.CLICK,IB_placeexploretex t2);
    scrollbox.content.btn_IB_placeexplore.addEventListener(MouseEvent.CLICK,IB_placeexploretex t3);
    scrollbox.content.btn_IB_greatyear.addEventListener(MouseEvent.CLICK,IB_greatyear);
    scrollbox.content.btn_IB_greatyear.addEventListener(MouseEvent.CLICK,IB_greatyeartext);
    scrollbox.content.btn_IB_greatyear.addEventListener(MouseEvent.CLICK,IB_greatyeartext2);
    scrollbox.content.btn_IB_greatyear.addEventListener(MouseEvent.CLICK,IB_greatyeartext3);
    Hope someone can help!
    Cheers
    Dan Williams

    learning to use arrays would be helpful for you but, that won't help you keep a button in its over state after it's clicked.  you need to use movieclip buttons for that.

  • Converted Path to Button Border Allways hidden

    A bunch of paths are imported from Illustrator to Flash and converted to Button Symbols. The Stroke is set to Hairline (0.10) Light Gray and the Fill to solid White for all of the paths. When the file loads the Fill colors are provided from an XML file and can be Red/Blue etc. My problem is that the Solid Fill covers/hides the Stroke/borders.
    As workaround I copied all paths to another layer placed on top of the symbols layer. So all symbols are behind and the top layer simulates the borders.
    Is any way to make the Symbols border to be displayed without having that extra layer? I tried using very Heavy/Thick border setting but still the fill is hiding it.

    Ned,
    Thank you immensely for looking into this. It took me a couple of extra days to try few things. Here are my latest findings:
    I have no problem at all running the file. Everything is as intended except the buttons borders.
    If I preview the output/movie into Flash or Browser I can see the buttons borders. It doesn’t matter if the color is the original White fill or any other color.
    If I include the file in the ASP page I also can see the borders when the XML file is empty (each button is a room on a floor plan and when the SQL query returns no room then no button is re-painted) and all rooms stay (again) the original White fill.
    If any room is found and the button is repainted then the borders disappear. This made me think that the buttons are not re-painted the correct way. Here are the few lines of code involved in the process:
    for each (var Zone:XML in myXML.zone)
                var ColorUp:ColorTransform = new ColorTransform();
                ColorUp.color = Zone.@up;
                var ColorOver:ColorTransform = new ColorTransform();
                ColorOver.color = Zone.@over;
                for each (var btn:XML in Zone.room)
                            myButton = getChildByName("btn_" + btn.@number);                                
                            if (myButton != null)
                                        myButton.upState.transform.colorTransform = ColorUp;
                                        myButton.downState.transform.colorTransform = ColorUp;
                                        myButton.overState.transform.colorTransform = ColorOver;
    Thank you again!
    Tin

  • How can I centralise text on button?

    Hi
    I made button graphic using some fill effects, and then wanted to add some text to it. Of course I could just put a text frame on top of it and group them, then convert to button, and that works fine. The problem is when I want to add the rollover effect. I just wanted to add a simple glow effect for this, but if I used a grouped item, it places the glow effect on both items in the group, including the text, ruining the graphic.
    I could type the text directly into the button graphic to avoid these double effects, but then I cannot align the text vertically within the button, because unlike text frames, graphics frames do not offer a vertical alignment option.
    The only viable option seems to be to place and addition graphic into the rollover effect from a file, which seems to be over-complicated and messy. Intuitively I would have thought a rollover state could be created simply by dragging another graphic into that position - but that's not possible either,
    Does anyone have any tips on how to achieve this?
    Jason
    [edit]
    I've solved the problem by using baseline shift, but this does not seem to be the right way of going about it to me...

    JasonDD210 wrote:
    I could type the text directly into the button graphic to avoid these double effects, but then I cannot align the text vertically within the button, because unlike text frames, graphics frames do not offer a vertical alignment option.
    Try this: do not apply the glow effect to the group, only apply it to the background form. To do this, only select the background form with the direct selection tool and open effects window.

  • Buttons don't work: InDesign CS& interactive PDF

    Hi, i'm creating an interactive PDF book in InDesign CS6, it's a simple plain text + images book
    I added some buttons on the first page that work as a table of contents (each button redirects you to a diferent page).
    And one at the bottom of the master page I'm using (so you can see it on every page of the document) that sends you back to that table of contents.
    They are simple objects converted to buttons, with the option "go to destination" active and with a certain Hyperlink Destination asigned each.
    The first time I exported the document they all worked perfectly, but then after I made some minor changes to the document and exported it again, they didn't work. The curious thing is that I have 2 more buttons at both sides of the page that have the "Go to next/previous page" that ARE working. So my guess is that it has something to do with the Destination option or the destinations themselves.
    Here I explain how I did it:
    1. Went to the page I wanted the destination.
    2. Click on the Hyperlinks menu then "New Hyperlink Destination"
    3. Added its name and clicked OK.
    - Did the same with every page I wanted in my index -
    4. Went to the page designed to the table of contents.
    5. Created a text box with the Type Tool.
    6. Converted it to a button in the Buttons and Forms panel.
    7. Added a "Go to Destination" action to it.
    8. Selected its respective Hyperlink Destination i made before.
    - Did the same with every other button of the table of contents and that one at the bottom of the page that takes you to it -
    9. Exported the document as an (Interactive) PDF.
    And that's it. The 2 buttons that have the "Go to Next/Previous page" action work, but the ones that have the "Go to Destination" action don't. There are no layers, there are no other objects stacking over them nor behind, just the buttons against the background.
    I tried with Bookmarks instead of Hyperlink Destinations, but didn't work.
    I tried making them Hyperlinks directly with the Right Click menu then, Interactive option, then "New Hyperlink" and selecting the page I wanted them to go, but hey didn't work either.
    And to make a classic table of contents from the Layout menu, wouldn't make much difference because I still have that one button that takes you to that page where I have my table of contents, and it will be still not working.
    Can anyone help me? Has anyone had the same problem?
    Thank you!

    Exactly the same thing I am experiencing. Can someone please help?

  • Syntax error while doing Convert data in LSMW

    Hi experts,
          I am using direct input method for uploading customer master records. After display read data step, when i click Convert data button, i get a runtime error saying that:
          the data object "LEGACY_CUSTOMER_MASTER" has no component called "OLD_CUST_NO", but there is a component called "SAP_CUST_NO".
        But actually we do not need OLD_CUST_NO field, so i did not include it while maintaining source fields. Someone plz help. I urgently need to resolve this.
    Thanks.

    Hi ,
    I think you have declared the filed old_cust_no in the maintain field mapping step may be in global declaration or in the mapping section of hte field. Without the use of filed OLD_CUST_NO you wont get the syntax error. Check the sysntax error in field mapping step and delete the unwanted field.Check the filed mapping section carefully based on the error.
    Thanks.

  • Help With Buttons In Adobe Flash CS4

    Hello, I am trying to create a satellite map where the user scrolls over each satellite button and displays an overlay and some information about the satellite.
    I have got a test site where you can look at what I am trying to do. (home.exetel.com.au/jasdemo)
    The first map has the satellites on the equator and the second one is the map with Overlays of where the satellites cover.
    When the user scrolls over each Yellow spot on the equator I want the overlays and information to be different for each button.
    At the moment I have a problem where you scroll over where the overlay sits and it still comes up which I don’t want only when you scroll over each yellow spot on the equator.
    Each spot on the maps have been converted to buttons, they all have a mouse over keyframe so the name of the satellite can show up.
    The First map on my test site works fine except no overlays for each spot and no information which I need.
    Hope I make sense...
    Please either email me or post me back if you need more information or if you have a solution to this..
    Thanks

    Im not sure what you mean sorry ill link my .fla file and you can see what I have done.
    Link to file
    http://www.mediafire.com/?z3ryzt0za0z
    Justin

  • HYPERLINKED BUTTONS not working in swf exports

    I have created an flip catalog with majority of the product images converted into buttons and linked into web pages. On the preview inside indesign the when the buttons were click they direct me to the web page but when exported as swf file the buttons no longer works. I tried exporting the file in interactive pdf, fortunately the buttons are working. What might have caused the buttons not to function on the swf file? I am using indesign cs5. Please help. thanks in adv ance.

    Does this thread help?

  • Convert text in PDF to pure black

    Hi all,
    I have spent hours researching this with little to show for it, so I thought it's time to ask for help.
    I am dealing with a situation where I need a batch solution to change the color of all the (vector) text in a PDF document to pure black.
    From my research, I understand that:
    1) It is not possible to do this in JS.
    2) If I simply wanted to change the color of text from color to grayscale, I can use "Convert Colors" under Print Production to change the color space.
    3) I can select the "edit text & images" command, select all objects in the page, and change the font color to black. But this method requires repeating the same for every page, and is not practicable for PDFs with many pages.
    I have experimented using different conversion profiles (Gray Gamma, Dot Gain), but in all cases, I have been unable to change the color of text to black. It remains at gray, or is changed into a different shade of gray.
    My question here is this:
    When I select an object and go to the color tab of the Object Properties box, I see "Black & White" as one of the color spaces that I can choose to convert to in the drop down list. See screenshot immediately below:
    If I choose "Black & White", and click the "Convert Colors" button, the text gets converted to pure black. But this method only works object by object.
    But under the "Convert Colors" in "Print Production", the "Black & White" option which is available earlier is not available. See screenshot immediately below:
    Why is that the case and what can I do if I want to batch convert all the text in my PDF doc to the "Black & White" color space so as to change the color of the text to pure black?
    Thanks.
    Best,
    Jay

    Hi Jay ,
    Which version of Acrobat are you using?
    If it is one of the old versions ,try updating it the latest one and see if that helps.
    Launch Acrobat>Navigate to Help>Check for updates.
    The second image that you have sent ,there is an option as "preserve black" in the same dialog box.Check mark that option and see if it helps.
    Let us know how it goes.
    Regards
    Sukrit Dhingra

  • Fastest way to create buttons from TOC entries?

    I am trying to make a TOC interactive by applying rollovers and links to each entry. What is the fastest way to create buttons out of each entry? Would the "create outlines" command be appropriate? As it stands now, I am copying an entry, pasting it into a new frame, aligning it over the original entry, then converting to button and applying behaviors. There's got to be a more efficient way to do this!
    Using CS3 Design Standard.
    Thanks for any help you can provide.

    Matt,
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Sorry about the attachment. Not sure what happened
    See
    Announcement: File Attachments temporarily disabled
    above. The "temporarily" was an understatement at the time -- this has been in effect for, what? the past 2 years? Now it's just a poignant Daily Reminder of Jive's many shortcomings.

Maybe you are looking for

  • Upgraded to iOS8 and now two iPhones that use the same apple id are receiving the same calls

    I have two iPhone 5s, one for work and one for personal use. Since upgrading to iOS8 I am now receiving work calls on my personal phone as well as my work phone , so both phones are ringing at the same time. I'm looking to stop receiving work calls o

  • How can I use metric units in Page Setup dialog box?

    When I go to my Page Setup dialog box, in Margins tabs, I see that I can specify the margins in inches. However, in my friends PCs, I have seen Page Setup dialog boxes that use millimeters for handling margins. How can I make my version of Firefox to

  • I can't get the google tool bar for 5.

    It says Google tool bar does not work.

  • Failure to start

    Lightroom 3.4 on XP. After using LR for a month or more, on startup, I got the  Windows error messge that asks if you want to tell Microsoft.   Upon clicking on a lrcat file name or trying to start LR from the start menu I get a banner that says     

  • Informix 2 Oracle... charset problem?

    Hi, i'm tring to migrate data from informix 9 to oracle 9.2 but while migrating 2 tables i 've got this errors: ORA-01401: inserted value too large for column and ORA-01461: can bind a LONG value only for insert into a LONG column The same procedure