What is a ribbon icon when you create multiple entry points?


I'm trying to follow several entry point into my application:

I'm at the link below:


I'm not able to get a thing here is,

What is the average ribbon icon? How can I make my icon as icon of Ribbon? Is there a procedure to do?

Thank you.


a ribbon icon is the icon of an application on the computer of blackberry desktop (or in one of its subfolders).

unless a project (another point of entry is a project) is marked as a system module it has an icon of own Ribbon.

You can set this icon resembles a normal application icon.

usually the AEPS is marked as the modules of the system, but some applications want to have several symbols on the desktop, to start in a different status, for example.

Tags: BlackBerry Developers

Similar Questions

  • What are the supported items when you use multiple suites?

    Hi all

    I created a plugin that sends the current path to a url,

    his work very well with debugging in Visual studio 2005 and then it is added to the Adobe Illustrator work only once.

    Its transmission, the path is that for a single file. While I was trying for the second time its does not work

    I use more costumes in my plugin






    I use the "'AIURLSuite ' to call the url and calls the url several times while its used only and its only works once with multiple suites. "

    What are the supported items when you use multiple suites? It is necessary to release all the variables and the suites after completing the task?

    Should they come out in the same order in which they are acquired?

    Thanks in advance

    Farida kaid

    As far as I know, there is nothing forcing you to unleash in the same or in front of the order in which you have acquired in. Frankly, in our plugin gain us once, then lock the plugin to prevent it from unloading and don't release suites when we finished. That said, as far as I know, you should be fine to learn/work/output several times.

  • Briefcase icon when you create a new folder

    When I create a new folder in my windows operating system 7.  It does not have a new folder icon but puts a My Briefcase instead of new folder icon, how can I change to the new folder icon.  Before when I clicked on new folder, a folder icon.  Sometimes when new folder is clicked nothing happens.  I started after I installed my WD Passport external hard drive

    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.
    Please let me know if Google Chrome is installed.
  • Trying to understand what he in @incontext: average when you create a variable in a cross tab report.

    Try to understand the cross tab reports.

    I'm looking at 3 different examples.  I have a question about something I see on 2 examples.

    Example 1.
    <? for each group -: / EXPENSE_REPORT/EXPENSE_ITEMS; / DATE? >
    <? [email protected]:G1;current-group()? > <? DATE of? >

    Example 2.

    <? [email protected]:row;. / SAMPLE_ID? >
    <? sort: SAMPLE_ID; ' ascending '; data-type = "text"? >
    <? SAMPLE_ID? >
    <? [email protected]:SAM_ID; SAMPLE_ID? >

    My question is..? [email protected]: creates a variable but what incontext means?

    Sound in the two examples.

    Both create variables but and in example 2 explains the variable SAM_ID will hold the sample_id for this group.

    My question is why - what is needed?

    Thank you


    -is to define a variable 'G1' and him assigning the value of the field Current - group (). The @incontext command maintains the variable located inside the loop... (you can not update but you can simply reference or re - declare)

    You can insert a field (BI Publisher menu - field and select a field from your xml file) and then double click on and click on properties of Word-> help add some text and then edit (delete the existing code or modify the code to what it must be)

    Thank you

    ~ KKT ~.

  • Can someone tell me what I'm doing wrong when you create a native extension for iPad? (Very detailed)

    My company is developing a game for iPhone and iPad using Flash cs5.5 and Air3.0

    The customer requires that certain features be supported - these things as GameCenter, rating, etc... which none are currently supported by flash for the iOS.

    However, they provide us with a bunch of xCode example files on how they want things to work.

    My idea was to bridge the gap in functionality by creating a native extension using the xcode source that was given to me, giving me the required functionality.

    But first, I need to truly CREATE a native extension, even just a base echo/hello everyone... I followed all the steps of various guides and tutorials and I have managed to create an ipa and put it on my iPad 2 to test, but when the program starts, nothing happens, I find myself with a black screen. When I comment on the lines of code that initialize the extension, it fires just fine.

    (and Yes, I even tried to put things in try blocks where there was a mistake - no luck)

    So I hope that someone can read through the process of what I do below and point out what I am doing wrong, or what Miss me.

    What I use:

    Mini Mac running OS x 10.7.2 - this is used to run xCode 4.1 build 4B 110

    PC - Windows 7 home 64 bit - running Flash CS5.5 (version with the 3.0 SDK inside AIR. I also have the sdk 3.0 air in a separate file for the command-line running. (This is my primary development platform)

    The PC has flash builder installed, but I've never really used it, and I don't know how to use it... everything that has been built to date has been done using Flash CS5.5

    So, here's what I did.

    The first thing we do is to create a library static .a on mac.

    I open xcode and create a new project.

    • Select iOS framework and library, then select "Cocoa touch static library.
    • Give it a name, in this case "EchoExtension" and put it in a folder.
    • I then delete the file EchoExtension.h as all the samples I've seen so far do not use.
    • I then add 'FlashRuntimeExtension.h' to the project of the AIR3.0 sdk frameworks folder on my PC
    • I remove everything in my folder ".m", and then, next to several different examples and tutorials, type the following code:





    #include "FlashRuntimeExtensions.h".

    Echo FREObject (FREContext ctx, void * funcData, uint32_t argc, {FREObject argv)

    return argv [0];


    //----------- Extention intializer and finalizer ----------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------ -

    A native context instance is created

    void ContextInitializer (void * extData, const uint8_t * ctxType, FREContext ctx, uint32_t * numFunctionsToTest, const FRENamedFunction * functionsToSet) {}

    Configure the number of functions in this extention

    for ease of reference, set the number of function that will use this extension.

    int FunctionCount = 1;

    set the number of function pointer reference that will use this extention.

    * numFunctionsToTest = FunctionCount;

    create an array to store all the functions that we will use.

    FRENamedFunction * func = (FRENamedFunction *) malloc (sizeof (FRENamedFunction) * FunctionCount);

    create a table for each function entry

    Func [0] .name = (const uint8_t *) "echo"; the name of the function

    Func [0] .functionData = NULL;                    the data type

    Func [0] .function = & echo;             the reference to the real function

    Save the array to a pointer.

    * functionsToSet = func;


    A native context instance is deleted

    void ContextFinalizer (FREContext ctx) {}



    Initialization of each extension function

    void ExtInitializer (void * extDataToSet, ctxInitializerToSet FREContextInitializer *, FREContextFinalizer * ctxFinalizerToSet) {}

    * extDataToSet = NULL;

    * ctxInitializerToSet = & ContextInitializer;

    * ctxFinalizerToSet = & ContextFinalizer;


    Called when the extension is unloaded

    void ExtFinalizer (void * extData) {}



    • I'll then 'product', 'building' and it creates libEchoExtension.a
    • I'm copying this .to file on my PC.

    I am now finished with this abandoned mac of God (* shudder *)
    Back on my PC, I create a folder for my test project. For all the intentions a purposes, we will call this "D:\src\EchoExtension" then I create 2 folders, one called "lib" and one called "app". Lib, it's where I'm going to create the actionscript source for my extension.

    • In my lib folder, I create a new fla in flash cs5.5, called "EchoExtension.fla".
    • I create my lib folder, the following:
      • com\extensions\EchoExtension\EchoExtension.as
      • a folder named 'Build' in which I place my libEchoExtension.a file.
    • I have in my EchoExtension.as file, place the following code:

    package com.extensions.EchoExtension


    import flash.events.EventDispatcher;

    import flash.events.IEventDispatcher;

    import flash.external.ExtensionContext;

    SerializableAttribute public class EchoExtension extends EventDispatcher


    protected var _extensionContext:ExtensionContext;


    * Constructor.


    public void EchoExtension()



    Initialize the extension.

    _extensionContext = ExtensionContext.createExtensionContext ("com.extensions.EchoExtension", "main");


    public void echo(Prompt:String):String


    Return _extensionContext.call ("echo") as String;




    • In my main fla, on the first layer of the time line, I put just the following code to make sure that did get file included when I publish the swc.

    import com.extensions.EchoExtension.EchoExtension;

    var ext:EchoExtension = new EchoExtension();


    • I then opened upwards from my fla publication settings, disable the swf - which I don't need, and check the swc and ensure it generates in my generation folder.  «. "/ Build/EchoExtension.swc.
    • I also updated the player Air 3.0 (which I can do because I managed integrated AIR 3.0 along side my AIR 2.6 and can build both without any problem)
    • I then publish the swc. So far so good. No problems.
    • I then made a copy of the CFC and rename it to EchoExtension.swc.zip, how I extracted the library.swf file and place it in the folder of my generation.
    • I then create extension.xml in case of generation that contains the following code:

    " < extension xmlns =" http://ns.Adobe.com/air/extension/2.5 ">

    com.extensions.EchoExtension < id > < /ID >

    < versionNumber > 1 < / versionNumber >


    < platform name 'iPhone-ARMS' = >

    < applicationDeployment >

    < nativeLibrary > libEchoExtension.a < / nativeLibrary >

    < initializer > ExtInitializer < / initializer >

    < finalizer > ExtFinalizer < / finalizer >

    < / applicationDeployment >

    < / platform >

    < / platforms >

    < / extension >

    • Now, at this point, I'm a little suspicious, because I build for the iPad2... the platform is iPhone... I thought that may be a problem and at some point I have tested the same build on the iPhone4 and had the same results. I also tested using the name of the platform of the iPad-ARM and got the same results... So I don't think that's the problem, but I'm not sure.
    • Now, to make things easier, I created a batch file called "buildane.bat" in my file generation. That's what I use to create my .ane file and it contains the following command line:

    D:\SDKs\AirSDK30\bin\adt-Paquet - target ane EchoExtension.ane extension.xml - CFC EchoExtension.swc - iPhone-ARM library.swf libEchoExtension.a platform

    • I then open a command prompt and run buildane.bat and Ottoman. My donkey is created. My generation file now has the following files in it:
        • buildane.bat
        • EchoExtension.ane
        • EchoExtension.swc
        • EchoExtension.swc.zip
        • extension. XML
        • libEchoExtension.a
        • Library.swf

    Now that I have my swc, donkey and it's time to create my sample application that will be used to test my new extension.

    • I go back to my D:\src\EchoExtension folder and go to the folder app ealier, I created.
    • I then create a new flash project called EchoExtensionTester.fla
    • I open the action script settings, paths to library and add the CFC I created in my D:\src\EchoExtension\lib\build file to my project.
    • On my stage, I create a field called text txtInput, a field of dynamic text named txtEcho, and a couple of buttons called btnClear, btnRuntime and btnEcho
    • I open the first layer of the timeline, and place the following code:

    imports of base.

    import flash.desktop.NativeApplication;

    import flash.events.MouseEvent;

    import flash.text.TextField;

    import the extension of our swc.

    import com.extensions.EchoExtension.EchoExtension;

    the value of our input text to the need the softkeyboard field

    txtInput.needsSoftKeyboard = true;

    Add event handlers to our buttons.

    btnEcho.addEventListener (MouseEvent.CLICK, btnEcho_Click);

    btnClear.addEventListener (MouseEvent.CLICK, btnClear_Click);

    btnRunTime.addEventListener (MouseEvent.CLICK, btnRunTime_Click);

    create our variable expansion.

    var ext:EchoExtension;



    initialize our extension of echo.

    Ext = new EchoExtension();

    } catch (error) {}

    txtEcho.text = 'Error when trying to create new EchoExtension:\n\n' + e;



    Delete the text echo field

    function btnClear_Click(e:MouseEvent):void


    txtEcho.text = "";


    just to test, put the latest version of the air runtime in our text field, so we can make sure we run air 3.0

    function btnRunTime_Click(e:MouseEvent):void


    txtEcho.text += "\nRuntime version =" + NativeApplication.nativeApplication.runtimeVersion; ".


    call the extension, passing all that is in the text input field and get back and place it in our text echo field

    function btnEcho_Click(e:MouseEvent):void


    txtEcho.text += "\n";



    txtEcho.text += ext.echo (txtInput.text);

    } catch (error) {}

    txtEcho.text += "\nError call ext.echo:"+ e;»



    • I save the project, Open Air for the parameters of the iOS, then perform the following settings: (Yes, I know... I'll have to use adt to perform the build, but I need to first create the swf file)
      • File: EchoExtensionTester.ipa
      • AppName: EchoExtensionTester
      • Version 1.0
      • Landscape
      • Full screen on
      • Auto orientation is disabled
      • GPU rendering
      • device: iPad and iPhone
      • RES: high
      • Deployment: I use my certificate and profile provisionging that I use for my main project (that works) and defined for the test of the device.
    • I close the window and save again... but before I publish, I opened newly created "EchoExtensionTester - app.xml" which is located in my app folder.
    • I add the extensions <>< extensionID > com.extensions.EchoExtension < / extensionID > < / extensions > to the XML in the file so now it looks like this:

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    " < application xmlns =" http://ns.Adobe.com/air/application/3.0 ">


    < extensionID > com.extensions.EchoExtension < / extensionID >

    < / extensions >

    < id > EchoExtensionTester < /ID >

    < versionNumber > 1.0 < / versionNumber >

    < file_name > EchoExtensionTester < / name of the file >

    < description / >

    <!-to locate the description, use the following format for the description element. < description > < text XML: lang = "fr" > App English description goes here < / text > < text XML: lang = "fr" > French App description goes here < / text > < XML text: lang = "ja" > Japanese App description goes here < / text > < / description >->

    < name > EchoExtensionTester < / name >

    <!-to locate the name, use the following format for the name element. < name > < text XML: lang = "fr" > insert here the name App English < / text > < text XML: lang = "fr" > insert here the French App name < / text > < XML text: lang = "ja" > insert here the Japanese App name < / text > < / name >->

    < copyright / >

    < initialWindow >

    < content > EchoExtensionTester.swf < / content >

    standard < systemChrome > < / systemChrome >

    < clear > false < / transparent >

    < visible > true < / visible >

    true < fullscreen > < / full screen >

    landscape of < aspectRatio > < / aspectRatio >

    GPU < renderMode > < / renderMode >

    < maximizable > true < / maximizable >

    < minimizable > true < / minimizable >

    < resizable > true < / resizable >

    < autoOrients > false < / autoOrients >

    < / initialWindow >

    < icon / >

    < customUpdateUI > false < / customUpdateUI >

    < allowBrowserInvocation > false < / allowBrowserInvocation >

    < iPhone >

    < InfoAdditions >

    <! [CDATA [< key > UIDeviceFamily < / key > < table > < String > 1 < / string > < string > 2 < / string > < / array >]] >

    < / InfoAdditions >

    < requestedDisplayResolution > top < / requestedDisplayResolution >

    < / iPhone >

    < / application >

    • I save the changes to the xml file and return to Flash. I then publish.
    • The swf file is created as it should be, but then I get the error message:

    Error creating files.

    A native implementation extension 'com.extensions.EchoExtension' required by the application is not found for the target platform.

    • Now, while it is a pain in the rear, I again, this was going to happen because in my reading tutorials and samples, they have all said that you use adt to build the ipa... but that is fine... all I wanted anyway, was the swf, which I now have in my app folder.
    • I close flash because I no longer need and I create a new batch file: (Note: I have change the name of the cert, profile and password for this post)


    "D:\SDKs\AirSDK30\bin\adt" - package - target the ipa-ad-hoc - stores pkcs12 - keystore "D:\src\mycert.p12" - storepass MYPASSWORD-putting into service-profile "D:\src\myprovfile.mobileprovision" "EchoExtensionTester.ipa" "EchoExtensionTester - app.xml" "EchoExtensionTester.swf" - extdir... / lib/Build

    Set dummy = p

    ECHO done

    • I then open a command window in my app folder and run build.bat.
    • I wait about 2 minutes...
    • ...
    • ...
    • YAY! My ipa file was created without error reported so far... Time to copy this bad boy to the iPad and see what happens.
    • I opened iTunes, drag "EchoExtensionTester.ipa" to the applications, then synchronize my device...
    • ...
    • YAY! iTunes installed ipa on the device... and there is a white icon bright and shiney for Echo Extension tester...
    • I open the app... and...
    • nothing.
    • I'm waiting for
    • still nothing.
    • I go to the bathroom.
    • I'll be back... still nothing... just a black screen.
    • I press the home button on the iPad, the app minimized, I restore it... nothing... black screen.

    management of human resources. Time to do some trial and error to see if I can figure out what the distribution.

    • As a test, I opened my fla and I comment out the following lines:
      • Ext = new EchoExtension();
      • txtEcho.text += ext.echo (txtInput.text);
    • I then rebuild the swf... get the same error (don't care)... I then rebuild the ipa using the batch file... and reinstall it on the device when it is made.
    • Exactly the same thing...
    • I opened the xml file... and remove the < extensionID > com.extensions.EchoExtension < / extensionID > line, save and re - run the batch file again... Wait for the ipa ends, then run it on the device.
    • I start the program on the iPad and it starts perfectly... with the exception of the commented line of code actually create and call the extension, everything works as it should. The runtime on the device reports as
    • A test, I opened the .fla save and uncomment the 2 lines, I commented out above... keep the xml file extensionID, I re - publish the ipa... of course, this time, it actually creates the flash API, because the id of the extension is not in the xml file.
    • I put the file API with the extension in place on the ipad code... The fire and make the txtInput text and press the button of the echo. I get the following error:
      • Error calling ext.echo: TypeError: Error #1009
    • I suspect it's because I failed to include the extension in the descriptor... but when I build it with the extensionid in the xml file, I just get a black screen. I'm 99% sure that the context of the extension in the ext object is null (because that's what happens when I run Flash debug without extension lines in the xml)

    And here I am stuck.

    Can someone tell me what I am doing wrong or what I forgot to do?

    Thank you.

    Hi can check you if the CFC of the native extension is linked as external?

    Next image can help locate and change the link type of CFC.

    The issue that many people face here (i.e. extension works fast/interpreter mode and only when they are packed in standard mode) occurs only when the SWC of the NE is not linked externally.

    I hope this helps.

    Kind regards

    Mathyas blabla

    IOS of the AIR

  • Why the Amazon icon will not appear when you create a shortcut

    When I create a shortcut to a Web site; instead of the web logo, I get the blue standard & green "globe".

    How can I correct this (windows 7)?

    Thank you



    You are welcome.

    Shortcuts to sites will initially their own custom icon when you create a shortcut. This icon is called a "favicon.ico" and is stored in the temporary Internet files (TIF) cache, which is where all website files, are stored when you visit them.

    When the user performs a maintenance and removes the TIF cache, all these custom icons are removed with everything else. This will cause the icon of Internet Explorer by default to display on these shortcuts. This also occurs when the maximum allowed disk space has been exceeded and that the files are deleted automatically to maintain the use of disk space.

  • When you create a doc lost the icon sheet top/left.

    The top left icon sheet when you create a doc disappeared when I upgraded from version demo paid...

    Now I can't save as template or doc, so I can't use the fields from the previous version by slightly changing a document,

    I have to put everything from the beginning

    How to get the icon back?

    Hello Aireclaim,

    I believe you are referring to layer model of form field that can be applied to the upper left side overview page. The option is available in the business account only and not in individual account (sending to the signature).

    Kind regards


  • What happened to the image field when you create a field of type of image for the Web application?

    What happened to the image field when you create a field of type of image for the Web application?

    The answer is that the point of the IMAGE has been changed to the MEDIA.

    Sorry, Ian, what research for this discussion, I got no results. All good and thanks for the carillon. Hope everything goes well.


  • The antiVirus icon when you click Won't hold on the screen?

    I did a clean boot and has happened, why?
    I use Microsoft XP Professional 3 Pack
    with Trendmicro antivirus
    Firefox/mozilla and free opneoffice

    Thanks for posting on the Microsoft answers Forum.  I could use a little clarification on your question.  Can you explain the situation in a bit more detail?  What I read, is that when you click the icon for your antivirus it basically does nothing (POP maybe a splash screen but then does not start).  Well, you say you are doing a clean boot.  This could very well be why your antivirus software does not work properly.  Clean boot disable start programs.  If your antivirus has need of one of the elements that has been turned off, which could cause the problem.  I suggest to turn off boot or go through msconfig and find everything that is related to your antivirus and turn them back on. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When you create a new email a first letter of the contact request full email address on frequent contacts.

    original title: contact prompting

    When you create a new email a first letter of the contact request full email address on frequent contacts. How to extend the time, what he remembers of those contacts?

    WinMail remembers only 29 addresses used through the registry. These links will give you a few options.

    How to delete registration completion email in Windows Mail

    How to remove an address from the list of AutoComplete in Windows Mail

  • How do you get the layers work correctly when you create a document merged into the InDesign data merge feature?

    Hey everybody,

    I working on a card game using data with a .csv file merge and spin in unusual behavior when you create a merged document when my master document had layers.  Imagine I had a layer of structure that looks like this:

    Layer has
    -< DataMergeFrameA >

    -Cooked in the static element
    Layer B

    -Cooked in the static element B
    -< DataMergeFrameB >

    -< DataMergeFrameC >

    Layer C
    -Cooked in the static element C

    -< DataMergeFrameD >

    Preview, this hierarchy is respected and the image is superb.

    When I create my merged document that each individual card includes this editable structure:

    Layer has
    -< DataMergeFrameA >

    Layer B

    -< DataMergeFrameB >

    -< DataMergeFrameC >

    Layer C

    -< DataMergeFrameD >

    And the order in which the elements are drawn resembles what happened past:

    -< DataMergeFrameA >

    -< DataMergeFrameB >

    -< DataMergeFrameC >

    -< DataMergeFrameD >

    -Cooked in the static element

    -Cooked in the static element B

    -Cooked in the static element C

    I would * really * like solving this problem without going through a column of data fusion with just the same picture in each area or something stupid like that, especially because some of my other static elements are generic text boxes. Is it possible to apply the stacking order in a merged document?

    I have attached a screenshot of the preview and the merged document.
    * WARNING: The main art is a temporary placeholder *.

    The one on the left is how it looks in preview. The second is the merged document. The major problems are that a) static grass image should appear on the art main and b) main image overlays areas of main text on the left. How can-


    Try moving it all off the master and on the page of document in the model.

  • When you create a test site does immediately go live under the URL it creates?

    Hello world

    When you create a test site does immediately go live under the URL it creates?  "... / [websitename}.businesscatalyst.com' if I paste the URL and try to view the Web site on another computer, it says there isn't.]". It can be accessed by the customer in line once the site is upgraded to a paid subscription?

    Its visible Sam - Yes.

    What is the URL in question?

    If you have the right URL and have something on this test site you can view it.

    The site is entirely live? No, you must pay for it full functionality and have the ability to set your domain to it.

  • I don't see a SQL server in the menu to the bottom when you create a SYSTEM DSN?

    What could prevent me from seeing a list of all the SQL servers in my environment when you create a SYSTEM DSN?

    The drop down menu has only a single SQL Server available. IM using W2K8R2 64 BIT and I have also installed the 64-bit SQL to ODBC client.

    you have dbo on the MSDB and the VCDB?  Whatever it is, no instance DB and no permission you should always see SQL servers in your environment. When you created the DSN system, you used the SQL Native Client not the SQL Server driver?

  • Have a problem when you create or open project

    Only, I could get V1 to work with administrator privileges, otherwise he threw the message "Adobe Premiere Elements has encountered a problem and needs to close"

    So I've upgraded to V10, but now click on the same block with users with administrator privileges.

    Occurs when I try to create a new project (when you click OK after entering the new details) or when you try to open an existing project.

    When you create a new project files and home folders are created before the error message and crash.

    I use Windows XP SP3 with all latest updates.

    So I can't anything with PE10.

    Error code is 0xc0000005

    Flag 0 x 00000000

    Folder 0 x 000000000000000

    Address 0x00000000196cd0a3

    Any ideas?


    Are you using Premiere Elements on a base of home computer a user to a network at work or school? I ask because you wrote "..." his block with the users with administrator privileges. ?

    Let us look first at your computer resources.

    Windows XP Professional SP3 32 bit

    The amount of RAM is installed and the amount of RAM available? How much free space on the hard disk on the Local C drive? What is the capacity of the Local C drive? Work with additional hard disks internal or external? If so, how they are formatted?

    You have the latest version of QuickTime installed on your computer?

    Have you checked that your video and audio card drivers are updated according to the web site of the manufacturer of these cards, not only the Device Manager?

    Please confirm the earlier version of Premiere Elements you used... has this elements 1 first?

    Let us start here and then decide what then.

    Thank you.


  • How can I make an invisible button that toggles an icon when you click it?

    I am extremely new to Acrobat and Javascript overall, so I'm a little lost. I work with a form that requires that I do several buttons from rocking of the images/formatting in an existing pdf. What javascript would be appropriate for an 'invisible' borderless button or no fill color, in order to define an icon in there when you click on it and remove this icon when you click it again, with the ability to switch back constantly? Thank you very much!

    Mark III

    There are a number of ways to do this. If you want everything to be autonomous within a single button, you can configure the behavior of 'Push' button and set the icon the mouse down on the non-empty icon and flipping to the icon of the Virgin. You can then place the following code in the mouse event to the top of the button:

    Script mouse upward to a button

    (function () {}

    Get a reference to this button

    var f = event.target;

    Get the current property of the submitName

    var NS = f.submitName;

    Toggle submitName property

    f.submitName = sn = "" | SN = 'false '? "true": "false";

    Set the icon on the Down or reversal icon (empty) defined for this button

    var oIcon = f.submitName = "true"? f.buttonGetIcon (1): f.buttonGetIcon (2);

    f.buttonSetIcon (oIcon);


    This code co-opt little used field submitName property to track the State of the button. (It won't be a problem for the buttons, even if the form is put in place to present it as 'HTML', which is the only time where this property is used.) It extracted the icon below or on the icon to use for the icon overview.

    If you don't like that behavior, you can use a button hidden and implemented in the same way, companion setting icon upwards on the non-empty icon and the icon down empty. The key code can then be something like:

    (function () {}

    var f = event.target;

    var F2 = getField ("b2a");  Get a reference to the other button

    var NS = f.submitName;

    f.submitName = sn = "" | SN = 'false '? "true": "false";

    var oIcon = f.submitName = "true"? F2.buttonGetIcon (0): f2.buttonGetIcon (1);

    f.buttonSetIcon (oIcon);


    In this way, that you don't have to limit a parameter of behavior of Push button.

Maybe you are looking for