JSAPI: How can I edit a button symbol?

Hi,
I have written an export script for Flash CS3 using the
Javascript API, and now I want to port it to Fireworks CS3. The
first problem I ran into was that I could not access a button
symbol's state frames via script - the closest I get is up to the
Instance object, but I could not access the frames or layers
inside. I used a for-each-loop to trace all of the Instance
object's properties but did not find anything that could have
helped me.
Then I had another idea: I noticed that unlike Flash,
Fireworks opens button symbols as a new document when I edit them.
And the Fireworks Document object does indeed have a property
called "isSymbolDocument" that returns true if a document "is a
symbol-editing window."
But once again I stumbled upon a problem, namely that I did
not manage to find a "symbol editing command" (the equivalent to
double-clicking it) in the Javascript API. :(
I'd be grateful for any hints, maybe there is even a much
easier way to access button symbol states?
Greetings,
Jochen

I'm not sure if I fully understand your question, but I'll give a shot at what I think it is. If you want a button that can be pressed so that its states go from
"on, off, red., on, off, red." etc. you will have to use a bit of trickery. In this case it is best to use a picture ring to give the controls the image you want and place a boolean button OVER the ring control. Make the boolean control completly transparent, resize it to cover the entire picture ring, and make sure the boolean is ABOVE the ring by using "move to front". You will then have to have a loop checking the boolean button for a press, and then modify the pic ring accordingly and take your "control value" off of the pic ring. I'd suggest finding a work-around if you can, as this is a lot of work to go
through.

Similar Messages

  • How can I edit lightroom 5 smart previews on mac book pro (mbp) when the lightroom 5 master image files are on my external hard drive is disconnected from the mbp

    How can I edit lightroom 5 smart previews on mac book pro (mbp) when the lightroom 5 master image files are on my external hard drive is disconnected from the mbp? So far when I try to disconnect the external HD from the mbp, I get the following pop up window: The disk "external hard drive A" couldn't be ejected because "Lightroom" is using it. Quit that application and try to eject this disk again. When I do that and restart Lightroom 5, the Adobe Photoshop Lightroom - Select Catalog screen pops up but doesn't list my external hard drive A as a choice.
    I've reviewed Adobe's Lightroom Help | Smart Previews Lightroom 5 web page and still haven't been able to figure what I'm doing wrong. Any help would be appreciated.

    Your internal HDD. by default, is named 'Macintosh HD'. From what information you supplied, it looks like there is already a Lightroom catalog installed on you local (internal) HDD using the standard naming convention Adobe uses as well as a Lightroom catalog on your external drive which you created. To be sure of which catalog Lightroom is loading when it starts up, To do this, start Lightroom as you normally would. After it starts, select the Lightroom menu item, then select the Catalog Preferences item and finally, navigate to the General tab. The Location information will tell you exactly what catalog Lightroom is opening by default. This will likely be the Photography Mac Book Pro Versions catalog on your external HDD. Once that is confirmed, you are ready to proceed. As an additional test/verification, you can shut down Lightroom and, this time, start Lightroom while holding down the ALT/OPTION key. This will cause Lightroom to pause and display a screen which will allow you to chose a different catalog to open. Navigate to the /Users/[user name]/Pictures/Lightroom folder and select the Lightroom 5 Catalog.lrcat file. When Lightroom comes up, there should be no previews or folders as this catalog should be empty. Now you can be certain which catalog is being used and which catalog has all your data and you are ready to migrate your current catalog. Shut down Lightroom.
    To migrate your current catalog, use Finder to locate your Photography Mac Book Pro Versions folder on your external drive. Select the folder and select COPY from the context menu. Next, use Finder to navigate to the /Users/[user name]/Pictures/Lightroom folder on you internal HDD. You can start at the Macintosh HD level and work your way down by opening each level (Macintosh HD/Users/[user name]/Pictures). Select the /Pictures folder and then select PASTE... from the context menu. When the COPY/PASTE is complete, you should see the following files on the Macintosh HD:
    Macintosh HD/Users/[user name]/Pictures/Lightroom/ and
    Macintosh HD/Users/[user name]/Pictures/Photography Mac Book Pro Versions
    The Macintosh HD/Users/[user name]/Pictures/Lightroom folder will contain the empty default catalog the Adobe created when Lightroom was installed and Macintosh HD/Users/[user name]/Pictures/Photography Mac Book Pro Versions will contain a copy of the catalog you created on your external HDD.
    You are almost done now. Make sure your external drive is still attached for this step. Restart Lightroom using the ALT/OPTION key again. When the Select Catalog screen appears, select the Choose a Different Catalog button (lower left side). When you do, a Finder window will open to allow you to navigate to a catalog of your choosing. Navigate to Macintosh HD/Users/[user name]/Pictures/Photography Mac Book Pro Versions and select the file Photography Mac Book Pro Version.lrcat. This is the copy you just created. Select the Open button and Lightroom should start. You should see all of your previews and settings just as before. Also, in the left hand panel, all of your folder should show up and none of them should be dimmed and none of your previews should display a small exclamation point badge. Either a dimmed folder name or an exclamation point badge indicates that Lightroom can't find the associated image file. If everything looks good, go to the Lightroom menu, select Preferences and then select the General tab. Under Default Catalog, select an option to either load the LAST catalog opened or select the Users/[user name]/Pictures/Photography Mac Book Pro Versions catalog from the drop down. Shut down Lightroom and then restart it normally. This time, when Lightroom starts, you should be viewing the new copy of your catalog. You can confirm this by looking at the General tab on the Catalog Preferences screen (Lightroom/Catalog Preferences menu items). Shut down Lightroom once again and this time, eject your external drive before restarting. This time, your folders in the left hand panel will be dimmed but you should be able to work with your smart previews. If Lightroom should display a Select Catalog screen with the external drive detached, double check your settings as it indicates Lightroom is still looking at the copy of the catalog on the external drive rather than the new copy you made.
    Finally, if you are seeing dimmed folders and/or exclamation point badges with the external drive attached, this indicates a problem. You can select any folder and select Update Folder Location from the context menu. This will allow you to navigate to the copy on the external drive and select it. Lightroom will then update the catalog (select to synchronize the content). This will not only clear the dimmed folder problem but also remove the exclamation point badges for all photos in that missing folder. However, it may indicate that not all went well with the copy of the catalog so make sure to verify all went well. You can use the Get Info option on the two folders. You should see the same number of files/folders for both the copy on the internal drive as well as on the external drive but you can't rely on the byte count because of the possibility of differences between the geometry of the two drives. Hope this all helps!

  • How can I edit text tabs in Photoshop...?

    how can I edit text tabs in Photoshop like in Illustrator that I can choose to view the tab rulers and edit the alignment on the tabs?
    is it possible? otherwise I can't understand why I can use the tabs at all...
    thanks!

    No, tab-formatted text is not editable in the manner you desire. As for your question - tab is just a character like any other. You are simply taking a given kind of implementation for granted, nothing more, but that must not necessarily be the case for all programs. An evil programmer just could assign the tab key to forward delete or any other fancy function just as he could make your space key draw funky symbols from a different Unicode range, if you get my meaning... so simply take it the way it is. If editable formatting is high on your wishlist:
    http://www.adobe.com/go/wish
    Mylenium

  • How do I edit Send button designated email address on a web form in Dreamweaver CS6?

    I have a webform on our website for folks requesting information. There is a country button which folks select. The send button submits the form and there is some script somewhere that sends submissions from say a USA based enquirer to a USA email address, UK based enquirer to a UK address, etc. How can I edit the script that controls that function? I am a newbie in CS6 but am learning fast!

    Hi Fritz
    In the source code I have:
    <td height="30" colspan="2"><div align="center">
                      <input type="submit" value="Send" />
                  </div></td>
                </tr>
              </table>
            </form>
    If I click on </form> in Properties the action box shows an asp file /gdform.asp on the root. I opened that and it has no site specific info, i.e. my URL or any email address.
    The webform can be viewed on www.aboutmeco.org/opportunities/index.html   Ther you see the Send button is at the bottom of the webform, which corresponds to the source code.   Do you think I am looking at the right form tag?
    Stephen

  • How can I edit and save a raw file in jpeq and open it in windows live photo gallery

    how can I edit and save a raw file in ps elements 10 and open it in windows live photo gallery?

    Change to 8 bit mode before clicking the Open Image button, then jpeg will become available as a choice.
    Click to view image

  • How can I edit or change the name of a bookmark in the bookmark library window?

    How can I edit or change the name of a bookmark in the bookmark library window? I can figure out just about everything else I can do in the window, but can't seem to edit a bookmark.
    thank you

    In the Bookmarks Manager you can change the properties of a bookmark in the Details pane at the bottom right.<br />
    That Info pane has a More/Less button to show or hide extra properties.
    * You can change the Properties (including the name) of a Bookmark or Tag in the Details (Properties) pane at the bottom of the right pane in the Bookmarks Manager (Bookmarks > Show All Bookmarks: Shift+Ctrl+B) after selecting an item. You can rename a tag by selecting the Tags folder in the left panel and change the name in the Info pane at the bottom right.
    * You can make changes to a Bookmark in the Bookmarks menu drop down list or in the side bar (View > Sidebar > Bookmarks, Ctrl+B) via the Properties entry in the right-click context menu.
    * You can open a bookmark in a tab and click the yellow (blue on Mac) star in the location bar to open the "Edit This Bookmark" dialog and see in which folder a bookmark is located.

  • How can I make a button "react"?

    This is probably a super silly question, but you know how it is, sometimes we sit on the answer and still can't find it... How can I make a button react to a click? I just want the simple effect of the button changing colors or looking like the user pushed it. Right now it's just the same old plain button, no matter if I click it or not, you can't really tell the difference. How can I give it the "pushing the button" effect? Thanks guys!

    You can choose image button and then choose from the available image buttons, or click on the folder icon when you select the image button and choose from the Gallery of Captivate 6.
    Few image buttons change color on hover or onclicked, these effects are predefined in them.
    Or you can edit that button on which you are working, from properties Panel.
    The Post and Cancel button on this thread seems like a transparent button in Captivate with different fill and stroke color, and transparency is also less, and with corner radius of 0.
    You will find these all optionns, when you will click on that button and then click on the properties panel.
    Thanks.

  • How can I edit my security questions for my apple id?  I made them so long ago...I can't remember the answers.

    How can I edit my security questions for my apple id?  I made them so long ago...I can't remember the answers.

    You must contact iTunes Store Support for that problem.
    Do that by starting here: http://www.apple.com/support/
    Navigate the pages as follows:
    Under "Contact Us" click the blue "Contact Support" link
    Click the blue "Get Started" button
    Click "More Products & Services"
    Click "Apple ID"
    Click "iTunes Store, App Store or Mac App Store"
    Click "Forgotten Apple ID security questions"
    Click "Continue"
    Choose one of the support options that appear.

  • How can I will declare the symbol u2018 (Single Quote) in the report

    Hi ,
    Could you please tell me how can I will declare the symbol u2018 (Single Quote) in the report.
    My requirement is that I have concate the data with single quote and after that I have to store the data in to an internal table and I have to download the data in the form text file in the presentation server.
    For example :
    Let the below data I want to download into the presentation serve in the format of text file by storing in internal table.
    Assume all are constants:
    1st line : abcu2019add
    2nd line :  defu2019gef
    Thanks in advance.

    Hi Jyothi,
    Thanks for the quick reply .
    I can agree with you are point but My requirement is like this I am explaining clearly.
    I have declared the internal table like this.
    DATA: BEGIN OF OTAB OCCURS 0,
             LINE (9024),
           END OF OTAB.
    So I have to append the each line item into the internal table.
    So I am explaining what the data I have to append
    Ist line contains
    'UNBUNOC:2020308u2019 where 020308 I will get the  date from reguh table
    2nd line contains:
    'DTM+20020510' where the 20020510 will be reference document number from the table reguh.
    So I want to declare a constant 'UNBUNOC:2
    2nd the date from reguh table
    And another constant u2018
    So that I can concate all the three and I can put into string and I will append into internal table and I can download the data into the presentation server.
    Please let me know if you need any more clarification regarding my requirement.
    Thanks in advance.

  • How can i edit contacts in bulk

    Bought an iPhone 5 and transfered contacts from my old phone and my phone contacts first and last name were reversed. How can I edit my address book contacts in bulk instead of one at a time? And then have these updates in my iPhone 5?

    to any1 that wants to use the scripts and have them work just type "save" on the next like after end tell and itll do it........

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • How can I use the button in one panel to control the other panel's appearing and disappearing?

    How can I use the button in one panel to control the other panel's
    appearing and disappearing? What I want is when I push the button on
    one button . another panel appears to display something and when I
    push it again, that the second panel disappears.

    > How can I use the button in one panel to control the other panel's
    > appearing and disappearing? What I want is when I push the button on
    > one button . another panel appears to display something and when I
    > push it again, that the second panel disappears.
    >
    You want to use a combination of three features, a button on the panel,
    code to notice value changes using either polling in a state machine of
    some sort or an event structure, and a VI Server property node to set
    the Visible property of the VI being opened and closed.
    The button exists on the controlling panel. The code to notice value
    changes is probably on the controlling panel's diagram, and this diagram
    sets the Visible property node of a VI class property node to FALSE or
    TRUE to show or
    hide the panel. To get the VI reference to wire to the
    property node, you probably want to use the Open VI Reference node with
    the VI name.
    Greg McKaskle

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • How can I edit photos in iPhoto in Photoshop Elements?  I select PE in iPhoto preferences but they stay in iPhoto for editing.

    How can I edit photos in iPhoto in Photoshop Elements?  I select PE in iPhoto preferences but they stay in iPhoto for editing.

    Here's something you can try with a copy of your current library.
    1 - go to iPhoto's Events preference pane and set the auto split option to 1 day per even.
    2 - go the the Events mode, select all Events.
    3 - go to the Events menu  and and select Autosplit Selected Events.
    which will give you an event for each day.
    4 - again select all events (although it might be better do to fewer at a time) and export them to your desired destination via the File ➙ Export ➙ File Export  menu option with the following settings:
    The workflow above will produce a folder for each days photos with the date as the folder's title.

  • How can I edit my website from another computer? and how can I create a new website next to the one, I have already? Can anyone help, please?

    How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?

    Move the domain.sites file from one computer to the other.
    The file is located under User/Library/Application Support/iWeb/domain.sites.  Move this file to the same location on the other computer and double click and iWeb will open it.  Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
    Just create a new site on the same domain file and it will appear below the other site.  If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side.

Maybe you are looking for

  • [SOLVED] Can't mount my root file system on boot!

    Posting from an Ubuntu install on the same machine. So, my root partition, labeled "arch", is ext4 on /dev/sda5. My home partition is btrfs on /dev/sda1. When I boot, I get this error: http://imgur.com/mzmLIZH Not sure what to do from there. I can mo

  • Swapping storage drive between 13 and 15 inch retina macboks? (both late 2013 models)

    Hey all, i have two macbook pro retinas, one 13" 1TB late 2013 and one 15" 500GB late 2013. Question is can i swap the hard drives out between each other? purely on a hardware level here. Would they be compatible with with the logic board seeing as t

  • Need help buying soundc

    Hi, I need to buy a soundcard wich could work under Windows NT4. Can you tell me if such a product still exist ? Evilo from France.

  • Bookmarks have disappeared, how do I restore my bookmarks?

    My previously stored bookmarks have all disappeared. I don't know why this has happened today. I need help to restore them.

  • Same ipod. New computer.

    My old laptop bit the dust. so I bought a new one. I downloaded the iTunes software. My problem is that I am asked if I want to replace all my pictures and music with the current library that comes with iTunes. I have almost 2000 songs and 1000 pictu