Timeline navigation with code snippets

Hi,
I've been building a flash movie ala Paul Trani's instructional vids on making a simple flash interface from adobe.tv.
What I'm doing is inserting some timeline navigation snippets to control the timeline with  buttons. I'm encountering a problem with the stop() snippet. The flash player appears to ignore all timeline navigation snippets that appear AFTER the stop() snippet. so If I place a stop() on frame 1, the flash player ignores all the navigation snippets that occur later in the timeline. it stays stopped on the first frame!
any advice would be appreciated!
Richie

The stop() snippet is working perfectly.  It is a timeline command that stops the playhead in its tracks.  If you happen to have code assigned to things further down the timeline, then you need to get to those frames for the code there to have any effect.  What are you expecting to have happen?  What would you want to use to get you to move out of frame 1 besides not having the stop() command in it?

Similar Messages

  • How do I create a drop down menu with Code Snippets and Flash CS5?

    Hi
    I am wondering how to create a drop down menu using the Code Snippets and CS5?
    There are some older tutorials out there and it would be nice if someone could create an updated drop down menu tutorial, and it might be me doing this after I have figured out the best and easiest way to create one, but before that I need some pointers.
    Thanks!
    Have a great day!
    Paal Joachim

    You can use panel widget to create manual menu where set to show target on rollover.
    Something like this :
    http://muse.adobe.com/exchange-library/menu-vertical-accordion-widget-1
    http://muse.adobe.com/exchange-library/tiptop-navigation-menu
    Thanks,
    Sanjit

  • Having Problem with Code Snippet on Button

    I have imported a psd template into Flash to link my buttons to a webpage, not sure which to use AS2 or AS3 , so I locked all the other layers on the template. right clicked on the actual button I wanted [linked] > Covert To Symbol > Gave Instance Name, then what exactly do I do next? Click on the button again? I have this code which I believe worked once :
    clickhere_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
    function fl_ClickToGoToWebPage(event:MouseEvent):void
    navigateToURL(new URLRequest("http://www.youtube.com"), "_blank");
    My error messages are posted :

    For that code to work it needs to be in the timeline, not on the button, and the Flash Publish Settings need to have AS3 selected.  You have at least one syntax errors as well.  For what you show there is a missing closing brace " } "as indicated in the errors.

  • OLE2 Doc/Code snippet to assist in creating a word doc with underlined text

    I would like to use OLE2 to create a simple Word document. I would like some of the text to be bold/underlined and the rest of the text to be regular. There seems to be a serious dearth of information regarding OLE2 in conjunction with PS/SQL in Word applications. We're running Forms 6 and Oracle 9i.
    I don't believe that I need to use the techniques described in the Forms Manual (OLE2 containers, etc.). I have managed to create a Word doc and write some text to it but I've been unable to find out/guess at the syntax that I'd need to control bolding and underlining. It would be a big help if I could just find the syntax for Word OLE2 commands. During my documentation search, I seem to remember a post that mentioned 'Reference 2' and maybe 'Reference 3' as a source of information related to OLE2 in PL/SQL code. If anyone can give me a shove in the right direction I'm more than willing to read the manuals. I won't be too disappointed if someone could send me a code snippet either!
    Thanks,
    Ron Walker

    Hi Ron,
    Office ships with a number of resources that you will find indispensable for the sort of work you're doing. Take a look at the VBA IDE (Visual Basic for Applications IDE). You may already be familiar with it, if you've ever written a Word macro, but to call it a macro editor sells it short -- it is a full-blown development environment. Its Object Browser allows you to browse Word's object model, search by keyword, and view call syntax.
    In case you aren't familiar with the VBA IDE, try this:
    1. Open Word
    2. Switch between Word and the VBA IDE by pressing <Alt><F11>
    3. Open the Object Browser by pressing <F2>
    Spend some time familiarizing yourself with the Object Browser. Constrain its scope by selecting the Word library instead of <All Libraries> (the default). Learn to search by keyword. Click on items within your results for details. If Visual Basic Help is installed, pressing <F1> will raise help on a selected item.
    Visual Basic Help may not be part of the Compact or Typical install. Running Office Setup, either from the install CD, or through Add/Remove Programs under Control Panel, will allow you to add the feature. (The Office installer lists Visual Basic Help in the Office Tools section.)
    I have found the VBA IDE to be the perfect place for prototyping and testing automated processes. It is a far friendlier environment for learning Office automation, as it offers code completion and context-driven help. Once the process works, I manually translate my VBA routine into Forms PL/SQL, which is fairly painless. I've written a short tutorial, that I will post shortly -- I didn't want to bury it in this thread!
    Hope this helps,
    Eric Adamson
    Lansing, Michigan

  • Please help me with this error in this code snippet!

    Code Snippet:
    REPORT  ZMKTEST6.
    data : f1(2) type c,
           f2(2) type c,
           f3(10) type n value '12345'.
      clear: f1 with 'X',
             f2 with f1,
             f3 with '3'.
    write :/ f1 ,f2, f3.
    Process Error:
    The field "F1" must have the length 1.

    hi ,
    ther is not syntax with clear with 'X".
    but you can do one thing to get the one character.
    REPORT ZMKTEST6.
    data : f1(2) type c,
    f2(2) type c,
    f3(10) type n value '12345'.
    clear: f1 with 'X',  "Comment this
    f1 = f1+0(1).        "write this
    f2 with f1,
    f3 with '3'.
    write :/ f1 ,f2, f3.
    now f1 containd one charater instead of 2.
    now you can display as usuall

  • Create code snippet with this code

    I'm curious...
    I can't create a code snippet with this code. (located in the first post)
    http://forums.ni.com/t5/LabVIEW/Event-structure-wi​th-value-changes/m-p/1937505#M646059
    However, I can create snippets from its sub-sections.
    Tried various versions of LabVIEW with the same result.
    Can anyone create a snippet?  Just curious.
    I'm not stuck or anything... just curious..  Maybe I should have posted in Breakpoint..
    Solved!
    Go to Solution.

    Spoiler (Highlight to read)
    I cheated and used my own Snippet tool.  Native tool dislike Event Structures.
    I cheated and used my own Snippet tool.  Native tool dislike Event Structures.

  • Trouble with iWeb code snippet for drop down menu

    Hello,
    So, I'm having a bit of trouble figuring this out and it goes beyond my knowledge, to be honest. I'm working on a website for someone and when viewed in Safari for Mac or iPad or even iPhone, it all works out great. But, when viewed in any other browser for Mac or Windows, the drop down doesn't display the "menu heading," only what should be the first drop down selection. Not only that, that page now becomes "unselectable" and more or less dead.
    Here is what it should read, and does on Safari:
    Rates and Hours
    FAQ - Yoga
    FAQ - Reiki
    FAQ - Massage
    On all other browsers, it displays the FAQ - Yoga option as the "title" and only displays the other two options. So, is this something that can be fixed in the code snippet or is what I'm seeing a more involved HTML issue that would require actual skills to fix? Any help or direction would be greatly appreciated because I'd love to get this knocked out and also pick something up in addition. If I have to edit the actual HTML pages themselves I could do that as well; I've got an editor and have done that for my own site when needed. Anyway, thank you very much in advance!
    Her
    <html>
    <title></title>
    <head>
    <script>
    <!--
    function land(ref, target)
    lowtarget=target.toLowerCase();
    if (lowtarget=="_self") {window.location=loc;}
    else {if (lowtarget=="_top") {top.location=loc;}
    else {if (lowtarget=="_blank") {window.open(loc);}
    else {if (lowtarget=="_parent") {parent.location=loc;}
    else {parent.frames[target].location=loc;};
    function jump(menu)
    ref=menu.choice.options[menu.choice.selectedIndex].value;
    splitc=ref.lastIndexOf("*");
    target="";
    if (splitc!=-1)
    {loc=ref.substring(0,splitc);
    target=ref.substring(splitc+1,1000);}
    else {loc=ref; target="_self";};
    if (ref != "") {land(loc,target);}
    //-->
    </script>
    </head>
    <body>
    <style type="text/css">
    <!--
    .combobox {
    background-color: #fef3e2;
    color: #463c3c;
    font-size: 13pt;
    font-family: optima;
    font-weight: normal;
    font-style: none;
    -->
    </style>
    <form action="dummy" method="post"><select name="choice" size="1" class="combobox" onChange="jump(this.form)"
    <option value="">Rates, Hours, Reservations</option>
    <option value="http://yogareikimassage.com/MG/Rates.html*_top">Rates and Hours</option>
    <option value="http://yogareikimassage.com/MG/FAQ_-_Yoga.html*_top">FAQ and Reserve - Yoga</option>
    <option value="http://yogareikimassage.com/MG/FAQ_-_Reiki.html*_top">FAQ and Reserve - Reiki</option>
    <option value="http://yogareikimassage.com/MG/FAQ_-_Massage.html*_top">FAQ and Reserve - Massage</option>
    <option value="http://yogareikimassage.com/MG/FAQ_-_Personal_Training.html*_top">FAQ and Reserve - Training</option>
    </select>
    </form>
    </body>
    </html>

    Here is what it should read, and does on Safari:
    Rates and Hours
    FAQ - Yoga
    FAQ - Reiki
    FAQ - Massage
    No, it shouldn't and it doesn't. It should look like :
    Rates, Hours, Reservations
    Rates and Hours
    FAQ - Yoga
    FAQ - Reiki
    FAQ - Massage
    FAQ and Reserve - Training
    Here's the correct part :
    <select>
              <option value="">Rates, Hours, Reservations</option>
              <option value="http://yogareikimassage.com/MG/Rates.html*_top">Rates and Hours</option>
              <option value="http://yogareikimassage.com/MG/FAQ_-_Yoga.html*_top">FAQ and Reserve - Yoga</option>
              <option value="http://yogareikimassage.com/MG/FAQ_-_Reiki.html*_top">FAQ and Reserve - Reiki</option>
              <option value="http://yogareikimassage.com/MG/FAQ_-_Massage.html*_top">FAQ and Reserve - Massage</option>
              <option value="http://yogareikimassage.com/MG/FAQ_-_Personal_Training.html*_top">FAQ and Reserve - Training</option>
    </select>
    The <select> item was missing. And if you don't want the first line in the menu (Rates, Hours, Reservations) then don't enter it in the first place.
    BTW, it's not a dropdown menu. It's a selection list in a form.

  • Sharing Code Snippets with team

    Does anyone know how to change the Snippets folder to a
    shared network folder?
    I've had a look in;
    C:\Documents and Settings\[username]\Application
    Data\Macromedia\Dreamweaver 8\Configuration
    and
    C:\Program Files\Macromedia\Dreamweaver 8\Configuration
    But I'm not entirely sure, I'd like to set up a shared folder
    so our team can add/edit and share a code snippet library within
    Dreamweaver.
    Thanks a lot,
    Jamie Mason

    "JamieMason" <[email protected]> wrote in
    message
    news:esriha$m4r$[email protected]..
    > Does anyone know how to change the Snippets folder to a
    shared network
    > folder?
    >
    > I've had a look in;
    > C:\Documents and Settings\[username]\Application
    > Data\Macromedia\Dreamweaver
    > 8\Configuration
    > and
    > C:\Program Files\Macromedia\Dreamweaver 8\Configuration
    >
    > But I'm not entirely sure, I'd like to set up a shared
    folder so our team
    > can
    > add/edit and share a code snippet library within
    Dreamweaver.
    Dreamweaver doesn't support this functionality, even if the
    same feature was
    already available in Homesite almost 10 years ago.
    You are not the first asking for this. Please cast your vote:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    http://www.massimocorner.com

  • Code Snippet issue?

    So ... I'll try to explain this the best I can.
    I have a flash file that is nothing more than a slide presentation.
    I go from one slide to another using buttons.
    There are global buttons (navigation: Next Previous, Home) ... and their are screen specific buttons (go to frame X and stop).
    That's it.
    For some reason ... navigation never works on the last slide.
    None of the navigation, global OR local.
    There is nothing different about this screen than any other screen.
    It shares the same global navigation as the previous screens ... but once published ... the code snippets do not work.
    When you arrive to the last slide ... it does nothing.
    The buttons are active in the sense that the cursor changes on roll-over, but the action does not take place.
    I have even tried to make that last slide seperate by giving it it's own set of buttons.
    Still ... it does not work.
    I have RACKED my brain trying to figure out why this would happen.
    If I delete the last slide (say ... #20) then publish ... #19 stops working.
    Is this a bug with the software?
    The file is SO simple it stupid.
    It could be done in html ... but it needed to be done in Flash to create a .swf so it could be displayed on a PlayBook.
    The whole project is now a flop.
    Does ANYONE know why this might happen?   :|
    I know this is hard to explain ... but there really is nothing to this file.
    Thanks in advance.

    What this is ... is a demo for an phone app.
    They are doing the demo on a PlayBook.
    There are 20 screens and the design looks like a BlackBerry Torch.
    The bottom navigation takes the user back to screen One.
    I have a button on Frame 1 of the timeline that runs across all 20 screens.
    The Code Snippet for that button is:
    HomeLeft.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_9);
    function fl_ClickToGoToAndStopAtFrame_9(event:MouseEvent):void
    gotoAndStop(1);
    So .. if the user is on say ... screen 10 and clicks the "HomeLeft" button .. it takes them to screen #1.
    That works.
    All the navigation works up to screen 19.
    Then ... when you navigate to screen 20 ... nothing.
    The buttons react ... but the script is not activated.
    I have looked EVERYWHERE for rogue code.
    I even deleted the frames for screen 20 and then built it again.
    Still ... it does not work.
    If I could show you a screen shot of the timeline ... I think it would make more sense.

  • Code Snippet - Swipe Gesture to frame or Scene

    Using the Timeline Navigation code snippets is real easy to use and understand, I am using the codes to " Click to next scene or frame etc etc and they work fine.
    What I dont see in the code snippets is a easy to use  " Swipe Gestures"  Swipe to frame/ Swipe to Scene/ Swipe to next scene.
    Im not a Coder. Everything I have learned is from watchng Lynda.com, Total training and alot of trial and error. When it come to reading long
    lines of code my mind goes fritzy.  And because of this I have learned to respect you guys who know coding.
    I noticed that the you can add your on personal snippets into your library.
    I will gladly pay someone to write me a simple  Right to left swipe gesture Snippet that lets me navigate to a frame or Scene.
    I hope this is something that adobe is planning to add to the Code Snippets Options soon.
    Can someone please give me some input on how to make this happen.

    What this is ... is a demo for an phone app.
    They are doing the demo on a PlayBook.
    There are 20 screens and the design looks like a BlackBerry Torch.
    The bottom navigation takes the user back to screen One.
    I have a button on Frame 1 of the timeline that runs across all 20 screens.
    The Code Snippet for that button is:
    HomeLeft.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_9);
    function fl_ClickToGoToAndStopAtFrame_9(event:MouseEvent):void
    gotoAndStop(1);
    So .. if the user is on say ... screen 10 and clicks the "HomeLeft" button .. it takes them to screen #1.
    That works.
    All the navigation works up to screen 19.
    Then ... when you navigate to screen 20 ... nothing.
    The buttons react ... but the script is not activated.
    I have looked EVERYWHERE for rogue code.
    I even deleted the frames for screen 20 and then built it again.
    Still ... it does not work.
    If I could show you a screen shot of the timeline ... I think it would make more sense.

  • Working code snippet for JSSE 1.0.2

    This code works only with JSSE 1.0.2. JSSE 1.0.1 has a bug I believe which give null cert chain
    error when using client authorization.
    Below is a java code snippet to create a SSL server and client sockets.
    SocketsFactory.java
    This class is an utility class which gets you the Secure Socket for server and the client.
    It reads from the properties file.
    public class SocketsFactory{
    /** Creates a SSL client socket. It uses the properties obtained from the
    * sslPropsFile to create the client socket.
    * @param sslPropsFile The ssl properties file that contains information about the provider etc.
    * @param host The host to connect to.
    * @param port The port on which this socket should attempt to connect
    * @throws IOException if there was any exceptions in creating the sockets or if the properties file
    * was not found or corrupted.
    * @return returns the socket that was created.
         public static Socket createSecureSocket(final String sslPropsFile, String host,int port)throws IOException{
              Properties props = readPropertiesFile(sslPropsFile);
              SSLSocketFactory factory = null;
              System.setProperty("javax.net.ssl.trustStore",(String)props.get("com.ibm.idmg.ssl.keyStore"));
              //Getting a secure client socket using sun..
              try {
                   addProvider(props);
                   // Set up a key manager for client authentication
                   // if asked by the server. Use the implementation's
                   // default TrustStore and secureRandom routines.
                   SSLContext ctx = getSSLContext(props);
                   factory = ctx.getSocketFactory();
              catch (Exception e) {
                   e.printStackTrace();
                   throw new IOException(e.getMessage());
              SSLSocket client =(SSLSocket)factory.createSocket(host, port);
              client.startHandshake();
              return client;
    /** Creates a SSL server socket based on sun's implementation using JSSE. Uses the
    * sslPropsFile to get the keystore used for validating certificates and their
    * passwords.
    * @param sslPropsFile The properties file containing SSL provider, key passwords etc.,
    * @param port The port to which this socket should listen at.
    * @throws IOException If the properties file was not found or it was corrupted or if there was any
    * other errors while socket creation.
    * @return the serversocket object.
         public static ServerSocket createSecureServerSocket(final String sslPropsFile,int port) throws IOException{
              Properties props = readPropertiesFile(sslPropsFile);
              String trustStore = (String)props.get("com.ibm.idmg.ssl.keyStore");
              System.setProperty("javax.net.ssl.trustStore",trustStore);
              //     Getting a sun secure server socket
              SSLServerSocketFactory ssf = null;
              try {
                   addProvider(props);
                   // set up key manager to do server authentication
                   SSLContext ctx = getSSLContext(props);
                   ssf = ctx.getServerSocketFactory();
              } catch (Exception e) {
                   e.printStackTrace();
                   throw new IOException(e.getMessage());
              SSLServerSocket socket = (SSLServerSocket)ssf.createServerSocket(port);
              socket.setNeedClientAuth(true);
              return socket;          
         * Internally used function to read a provider from the properties and
         * add it as the current ssl provider. The properties should have the
         * property <i>com.ibm.idmg.ssl.sslProvider</i> defined. Otherwise
         * throws NullPointerException.
         private static void addProvider(Properties props) throws Exception{
              String provider = (String)props.get("com.ibm.idmg.ssl.sslProvider");
              if (provider == null)
                   throw new NullPointerException("com.ibm.idmg.ssl.sslProvider is not specified!");
              java.security.Security.addProvider((java.security.Provider)Class.forName(provider).newInstance());
         * Internally used function to read a file and return it as java properties.
         * It uses java.util.Properties. Throws FileNotFoundException if the file
         * was not found. Otherwise returns the properties.
         private static Properties readPropertiesFile(final String file) throws IOException{
              if (file == null)
                   throw new IOException("SSL Context File name not specified!");
              FileInputStream in = new FileInputStream(file);
              Properties properties = new Properties();
              properties.load(in);
              in.close();
              in = null;
              return properties;
         * Internal function used to retrieve a SSLContext object. It is used primarily
         * for creating SSL sockets that can authenticate each other based on the
         * keystores specified using the properties.
         private static SSLContext getSSLContext(Properties props) throws Exception{
              SSLContext ctx;
              KeyManagerFactory kmf;
              KeyStore ks;
              String password = (String)props.get("com.ibm.idmg.ssl.keyStorePassword");
              if (password == null)
                   password = System.getProperty("javax.net.ssl.keyStorePassword");
              char[] passphrase = password.toCharArray();
              ctx = SSLContext.getInstance("TLS");
              kmf = KeyManagerFactory.getInstance("SunX509");
              ks = KeyStore.getInstance("JKS");
              String keyStoreFile = (String)props.get("com.ibm.idmg.ssl.keyStore");
              if (keyStoreFile == null)
                   keyStoreFile = System.getProperty("javax.net.ssl.keyStore");
              FileInputStream in = new FileInputStream(keyStoreFile);
              ks.load(in, passphrase);
              in.close();
              in = null;
              //     All keys in the KeyStore must be protected by the same password.
              String keyPassword = (String)props.get("com.ibm.idmg.ssl.keyPassword");
              if (keyPassword != null)
                   passphrase = keyPassword.toCharArray();
              kmf.init(ks, passphrase);
              ctx.init(kmf.getKeyManagers(), null, null);
              return ctx;
    The Server properties file looks like this.
    #     Specify the SSL provider here.
    #     Using sun's reference implementation for testing..
    com.ibm.idmg.ssl.sslProvider=com.sun.net.ssl.internal.ssl.Provider
    #     Specify the keystore file that this ssl socket should use
    com.ibm.idmg.ssl.keyStore=server.ks
    #     Specify the password for this keystore file
    com.ibm.idmg.ssl.keyStorePassword=servercanpass
    #     Specify the password used to protect the keys in the keystore
    #     Note: all the keys should have the same password
    com.ibm.idmg.ssl.keyPassword=icanpass
    The client properties file
    #     Specify the SSL provider here.
    #     Using sun's reference implementation for testing..
    com.ibm.idmg.ssl.sslProvider=com.sun.net.ssl.internal.ssl.Provider
    #     Specify the keystore file that this ssl socket should use
    com.ibm.idmg.ssl.keyStore=client.ks
    #     Specify the password for this keystore file
    com.ibm.idmg.ssl.keyStorePassword=clientshouldpass
    #     Specify the password used to protect the keys in the keystore
    #     Note: all the keys should have the same password
    com.ibm.idmg.ssl.keyPassword=canipass
    Now to create the certificates..
    Its a 5 step process
    1) Create the keystore file.
         keytool -genkey -alias mohan -dname "CN=Mohan Tera OU=IS O=IM L=sanjose S=NY C=US" -keystore server.ks -storepass servercanpass -validity 180 -keypass icanpass
    2) Create a self signed certificate. If you need to get it signed from
         verisign then you have to create a certificate request. For testing purposes,
         you can create a self signed certificate.
         keytool -selfcert -alias mohan -dname "CN=Mohan Tera OU=IS O=IM L=sanjose S=NY C=US" -keystore server.ks -storepass servercanpass -validity 180 -keypass icanpass
    3) Export the public key from the keystore to a certificate file that is to be imported to the client keystore.
         keytool -export -alias mohan -file fromserver.cer -keystore server.ks -storepass servercanpass
    4) Repeat the above steps for the client also..
         a)
         keytool -genkey -alias moks -dname "CN=Jennifer Poda OU=Javasoft O=Sun L=Edison S=NJ C=US" -keystore client.ks -storepass clientshouldpass -validity 180 -keypass canipass
         b)
         keytool -selfcert -alias moks -dname "CN=Jennifer Poda OU=Javasoft O=Sun L=Edison S=NJ C=US" -keystore client.ks -storepass clientshouldpass -validity 180 -keypass canipass
         c)
         keytool -export -alias moks -file fromclient.cer -keystore client.ks -storepass clientshouldpass
    5) Import the certificates that were exported in steps 3 and 4c in client and server keystore respectively.
         keytool -import -trustcacerts -alias new -file fromserver.cer -keypass keypass -storepass clientshouldpass -keystore client.ks
         keytool -import -trustcacerts -alias new -file fromclient.cer -keypass keypass -storepass servercanpass -keystore server.ks
    And voila you are all set to go..
    Hope this explains to all the people who are struggling with JSSE..
    Regards,
    Moks

    when i using your method in my code i get the following exception
    pl. help me.
    java.security.UnrecoverableKeyException: Cannot recover key
    at sun.security.provider.KeyProtector.recover(KeyProtector.java:301)
    at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:103
    at java.security.KeyStore.getKey(KeyStore.java:289)
    at com.sun.net.ssl.internal.ssl.X509KeyManagerImpl.<init>(DashoA6275)
    at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl.engineInit(DashoA6
    275)
    at javax.net.ssl.KeyManagerFactory.init(DashoA6275)
    at ClassFileServer.getServerSocketFactory(ClassFileServer.java:145)
    at ClassFileServer.main(ClassFileServer.java:115)
    Exception in thread "main" java.lang.NullPointerException
    at ClassFileServer.main(ClassFileServer.java:117)

  • How do I create an object with code?

    I have a flash cs3 file in which I have created a simple movieclip (square) by drawing a rectangle on the stage of that movieclip.  When I drag that into another movieclip (clip) I am able to set properties for it such as x and y position by adding actionscript code to various frames of the "clip" timeline.  So far so good.
    Now I have created a second movieclip (shape).  I want to be able to define the shape purely with code, so I entered the following code into the first frame of the "shape" timeline:
    var myShape:Shape = new Shape();
    myShape.graphics.beginFill(0xFF0000);
    myShape.graphics.moveTo(20,20);
    myShape.graphics.lineTo(100,20);
    myShape.graphics.lineTo(100,100);
    myShape.graphics.lineTo(20,20);
    myShape.graphics.endFill();
    this.addChild(myShape);
    I then hoped I could drag and instance of the "shape" movieclip onto the "clip" stage and have a red triangle show up, but nothing shows up.  It seems I have to actually draw something onto the "shape" stage for something to show up.  I would like to be able to create shapes programmatically but I don;t know how to do it.
    Thanks.

    Thanks for your reply.  I tried doing what you said, creating a command by opening a new flash file, etc.  For some reason, I could make a rectangle and save that as a command, but making a shape using the polystar command didn't work - there was a red "x" next to it in the history panel.
    Anyway, even if I could do that, it's not what I want to do.  I want to be able to create a shape and then be able to change the shape dynamically.  For instance, I want to be able to create a series of points and draw curves between them to create a closed curve shape.  Then I want to be able to change the positions of the vertices so that the shape changes as the .swf is running.  Thanks.

  • Mod_security: Access denied with code 400 in R12

    Hi ,
    I'm getting "Page cannot be found" error during my below navigation in R12
    -- Steps To Reproduce:
    The issue can be reproduced at will with the following steps:
    1. Responsibility: Oracle Configurator Developer
    2. Create Rules, Apply and Save
    3. Get error
    EBS R12.1.2
    DB 11.2.0.1
    OS RHEL 5
    following is extract from my Apache log
    [Fri Nov 12 08:40:40 2010] [error] [client 192.168.26.144] mod_security: Access denied with code 400. Pattern match "!^([-_|#!=A-Za-z0-9/ :.$()]){0,255}$" at ARGS_NAMES. [hostname "indstqebs02.indalfab.local"] [uri "/OA_HTML/OA.jsp?Action=EditNode&stackLevel=2&page=/oracle/apps/cz/developer/model/rules/webui/RuleTmpPG&czWhichRule=XCP&czRuleId=2604&czParentRuleFolderId=1800&czModelId=1420&ObjectType=XCP&ReturnLinkURL=OA.jsp%3FOAFunc=CZDEVRULESTRUCTFUNC&selection=0_1_4_&_ti=210565512&retainAM=N&addBreadCrumb=RP&oapc=44&oas=qUuMo8fwvn7jpCTNnv0TYQ.."] [unique_id TNzveH8AAAEAAAHrA1w]

    Hi;
    Did you check all? Those note are for R11 but as you can see Applies to: Information in this document applies to any platform. If the notes doestn mention any patch than i belive you can follow docs.
    If those 12 docs dont help you than i suggest log a SR
    By the way in your post:
    1. Responsibility: Oracle Configurator Developer
    2. Create Rules, Apply and Save
    3. Get error
    What you get error? What is exact error message? Maybe we can find solution by this error message? Did you also check application log file?
    Regard
    Helios

  • EDGE ANIMATE CC (2014) : Missing Code Snippets sidebar - WHY!?!?!

    I just updated today, and now a project I had been working on for weeks (my first real project) won't open in CC anymore. The only reason I wanted to open it back up in CC - NOT Adobe Edge Animate CC (2014), was because this updated Edge Animate IS MISSING THE CODE SNIPPET SIDEBAR!! WHY!! WHY!! WHY!! It's a little hard to follow along with tutorials you have been using when they insert snippets from the sidebar and suddenly you don't have one anymore!
    I have rebuilt permissions and restarted hoping that would fix the issue but it has not. If I can't get this project to pen in CC, can someone tell me how to trick CC into opening it again? Byt he Way -- the old version of Edge Animate was AUTOMATICALLY UNINSTALLED with this update. Also very frustrating!! I had to go to my could menu and download CC (3.0) again.

    OK - Possibly Good News... I talked to Adobe Tech Support. I am able to download a previous version of the Edge Animate CC by choosing PREVIOUS VERSION under the FIND NEW APPS section of the Creative Cloud Desktop app. This is a new feature of CC. Thankfully. I can install CC and then do as hemanth kumar r suggested and edit the _edge.js file to allow 3.0 to open the file.
    Thanks for all of the help. Sorry for the frustration in MY TYPING . I'll reply if that all works.

  • Converting Frame files to PDF adds carriage return in code snippets

    Our writing group is using FrameMaker 7.2 with Acrobat 9. The documentation we write includes code snippets. Conversion from Frame to PDF adds a carriage return to the end of any line of code. This causes any snippet containing a wrapped line to be incorrect if it is copied and pasted directly from the PDF.  Does anyone knopw if there's a fix for this?
    Thanks,
    George

    Dear Alexander,
    Thanks for the reply.
    In this I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'. I have checked the settings from SPAD that is also same in both servers for particular output device. But the patches are diffrennt in both the servers, the server from which layout is not coming properly having the high level patches in compare to the other server(which is working fine).

Maybe you are looking for

  • Can I re-size the pages in a PDF document?

    I've got a document done in Mac Pages. It turns out to be the wrong page size. It would be a lot of work to reposition everything again. Is there any way with Acrobat Pro that I can resize the PDF pages in a PDF document? I notice I can extract the i

  • Surveys with Opportunities

    Hello, We are sending out a survey to the contact person when an opportunity has been closed and saved. The survey is sent as a URL within an email and a smartform is used to generate this email. The URL opens up the survey correctly and the answers

  • Cloning Domains

    Hi everybody... I'm new to it, so I'm not understanding very well some concepts. I have a Domain, that has 2 managed servers WLS_FORMS and WLS_REPORTS. I want to have another instance of forms and reports, to make development tests. What is the best

  • Connect to ORACLE with JSP

    I need to connect to a Oracle 9i Database using JSP; i need 2 connections: 1 for TOMCAT running in Windows and 1 for Apache running in UNIX anyone? i need this code as soon as posible T

  • Multiple Tabs Warning on CLOSING windows is NOT WORKING, why?

    Firefox used to warn me when multiple tabs where going to be closed (even in private browsing or without remembering history). Now it is closing the WHOLE window with multiple tabs inside. (Of course the option is checked in the preferences). So norm