Shape Tweening - simple tween doesn't work

I'm thoroughly discouraged with Flash CS3 for the trouble I'm
having with this simple shape tween. Please tell me it's my fault
so that I can get this to work and not think that Flash is dumb.
I'm going from a small circle with a 1 px stroke to a round
cornered rectangle with the same stroke. It looked like it spun a
little during the morph so I added shape hints. I tried a few
different arrangements and none of them really worked. The most
annoying thing is when it looks right no the FLA and then the
export is working correctly - obviously some kind of program
defect.
Shape hints:
- All four corners with A starting in the top left and
continuing around counter clockwise.
- All four sides with A starting on the left side and
continuing around counter clockwise.
- A on left side and B on right side.
They all either still spun funny or completely disappeared
during the morph.
All the hints appeared green and yellow for all arrangements
- no red hints.
In the past I've arranged them in what I would think to be a
random order with the hints appearing red and the dam thing would
actually work.
Just the fact that I have to screw around with shape hints
for this simple tween is silly.
Simple fix here?

Thanks for reporting the issue. Please move the code in first
frame to frame 2 as a workaround.

Similar Messages

  • Shape tween doesn't repeat..

    I created some blinking eyes last night with shape tweening.  I'm been working on a mouth and I got it to make the mouth open but unlike the blinking eyes  the mouth just stays open stays open.  Can someone gude me to what I may have done wrong in the proces.

    After your post rob I decided to start over.  I figured I made a mistake along the line that effected the continued motion of the eyes.   I was right because the second one had no issues.  Then I moved on to creating a mouth with some  teeth.   Making the mouth was tough at first.  THen I realized I was crossing my lines and after fixing that the mouth shape tween worked great. Then I started on the teeth and things went all wrong. I had the exact same issue as I did with the eyes.  WHere the repeat went bad.  I wanted to see if you could tell me where I went wrong with the up and down motion of the teeth.  I have a feeling i'm missing something when it comes to creating classic tweens with out any hicups.
    http://www.mediafire.com/?tqr4dr5v312pepz

  • Simple example doesn't work when on two machines

    I have a simple RMI example that works when I run both the client piece and the server piece on one machine. However, when I seperate them to two different machines, it does not work. The client piece just sits and waits at this line:
    Calculator c = (Calculator)Naming.lookup("rmi://162.130.1.68/CalculatorService");I believe I don't need an HTTP server running on the "server" machine, but is there anything I need to setup on either machine? Do I need to start the rmi registry from a specific folder or put the server files in a specific folder? I've heard the term "network accessible" thrown arround. Do I need to make the files "network accessible?"

    The first thing I would do is what the previous poster said which refers to the term Network Accessible. The second thing I would do is remove "rmi:" in the lookup name. I've never seen that notation anywhere. The third thing I would do is make sure the rmi registry is started on the server. You can actually start it from inside the application like so: java.rmi.registry.LocateRegistry.createRegistry(java.rmi.registry.Registry.REGISTRY_PORT);
    Hope I've helped. Let me know how it works out.
    Dave

  • Simple pass doesn't work after upgrading to Windows 10

    Hi all I just upgraded to Window's 10 (took 3 hours, works). However HP Simplepass now doesn't work. Anyone else with this problem? Brian

    Hi I fixed this issue using "Run programs made for previous versions of Windows" . BrianH15  

  • AS3 Tween doesn't work proprly

    Hi All,
    I have a MovieClip with two buttons inside of it (bottom portion)
    When I mouse over the MovieClip - it rises up, to revewl the buttons. My problem is, when I mouse over the buttons, the movie clip drops back down. The buttons don't have any actions upplied to them... It acts as though buttons were standing between the cursor and the movie clip...
    The idea is to hower over the movie clip > reveal the buttons > either move mouse away or click on one of the buttons. However, the movie clip closes when I touch either one of the buttons.. Any help would be super appreciated! Below is the code and thnks a bunch ahead of time:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var breatheOpenY:Tween;
    var breatheCloseY:Tween;
    breathe_mc.addEventListener(MouseEvent.MOUSE_OVER, breatheOpen);
    breathe_mc.addEventListener(MouseEvent.MOUSE_OUT, breatheClose);
    function breatheOpen(event:MouseEvent):void
        breatheOpenY = new Tween(breathe_mc,"y",None.easeNone,117,77,.5,true);
        breathe_mc.learn_btn.visible = true;
        breathe_mc.video_btn.visible = true;
    function breatheClose(event:MouseEvent):void
        breatheCloseY = new Tween(breathe_mc,"y",None.easeNone,77,117,.5,true);
        breathe_mc.learn_btn.visible = false;
        breathe_mc.video_btn.visible = false;

    Although I don't know what the problem was, I was able to fix it by using TweenLite instead of Flash native Tween Class;
    import com.greensock.*;
    import com.greensock.easing.*;
    breathe_mc.addEventListener(MouseEvent.MOUSE_OVER, breatheOpen);
    breathe_mc.addEventListener(MouseEvent.MOUSE_OUT, breatheClose);
    function breatheOpen(event:MouseEvent):void
        TweenLite.to(breathe_mc, .5, {y:77});
        breathe_mc.learn_btn.visible = true;
        breathe_mc.video_btn.visible = true;
    function breatheClose(event:MouseEvent):void
        TweenLite.to(breathe_mc, .5, {y:117});
        breathe_mc.learn_btn.visible = false;
        breathe_mc.video_btn.visible = false;
    Thanks!!
    Lana

  • My simple jsp doesn't work: hhhelp

    hello i'm new to java.
    I'm testing a simple jsp with a javabean: Fruit.class
    When i test it , it seems there is a problem of package (but i really need help on this)...
    Here's the error i get:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:44: cannot resolve symbol
    symbol : class Fruit
    location: class org.apache.jsp.confirm_jsp
    Fruit commandeFruit = null;
    ^
    here's the full error report
    Etat HTTP 500 -
    type Rapport d'exception
    message
    description Le serveur a rencontr� une erreur interne () qui l'a emp�ch� de satisfaire la requ�te.
    exception
    org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP
    Une erreur s'est produite � la ligne: 2 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
        [javac] Compiling 1 source file
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:44: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          Fruit commandeFruit = null;
          ^
    Une erreur s'est produite � la ligne: 2 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:46: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
            commandeFruit = (Fruit) _jspx_page_context.getAttribute("commandeFruit", PageContext.PAGE_SCOPE);
                             ^
    Une erreur s'est produite � la ligne: 2 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:48: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
              commandeFruit = new Fruit();
                                  ^
    Une erreur s'est produite � la ligne: 16 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:71: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getNomFruit())));
                                                                            ^
    Une erreur s'est produite � la ligne: 17 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:74: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getCouleur())));
                                                                            ^
    Une erreur s'est produite � la ligne: 18 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:77: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getPrix())));
                                                                            ^
    Une erreur s'est produite � la ligne: 19 dans le fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\apache\jsp\confirm_jsp.java:80: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
          out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((Fruit)_jspx_page_context.findAttribute("commandeFruit")).getPoids())));
                                                                            ^
    7 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note La trace compl�te de la cause m�re de cette erreur est disponible dans les fichiers journaux de Tomcat.
    --------------------------------------------------------------------------------

    hello i tried what you told me but it steel seems i've
    got 2 errors
    here's the error
    exception
    org.apache.jasper.JasperException: Impossible de
    compiler la classe pour la JSP
    Une erreur s'est produite � la ligne: 5 dans le
    fichier jsp: /confirm.jsp
    Erreur de servlet g�n�r�e:
    [javac] Compiling 1 source file
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\
    pache\jsp\confirm_jsp.java:6: <identifier> expected
    import full.package.name.Fruit;
    ^
    C:\jakarta-tomcat-5.0.19\work\Catalina\localhost\_\org\
    pache\jsp\confirm_jsp.java:47: cannot resolve symbol
    symbol  : class Fruit 
    location: class org.apache.jsp.confirm_jsp
    Fruit commandeFruit = null;
    ^--------------------------------------
    here's my jsp:
    <%-- confirm.jsp --%>
    <%@ page import="full.package.name.Fruit" %>
    <jsp:useBean id="commandeFruit" class="Fruit" />
    <jsp:setProperty name="commandeFruit"
    property="nomFruit" value="Mangue" />
    <jsp:setProperty name="commandeFruit"
    property="couleur" value="Orange" />
    <jsp:setProperty name="commandeFruit" property="prix"
    value="5.95" />
    <jsp:setProperty name="commandeFruit" property="poids"
    param="saisie_poids" />
    <HTML>
    <body>
    <h1>Votre commande de fruit (confirm.jsp)</h1>
    <br>
    Fruit : <jsp:getProperty name="commandeFruit"
    property="nomFruit"/><br>
    Couleur : <jsp:getProperty name="commandeFruit"
    property="couleur" /><br>
    Prix au kg : <jsp:getProperty name="commandeFruit"
    property="prix" /> Euros<br>
    Quantit� : <jsp:getProperty name="commandeFruit"
    property="poids" /><br>
    Total
    :�<%=commandeFruit.getPrix()*commandeFruit.getPoid
    () %> Euros<p></p>
    Revenir � la commande pour
    la modifier
    </body>
    </html>
    First error is becoz you are using word package which is a standard identifier. So you have to change ur folder name to smething else other than package.
    Second error is becoz of the first error. If the forst error is fixed second error will not occur.
    Thanks
    KM

  • Simple? can anyone tell why this simple btn doesn't work?

    Trying to write my own simple disabling button class (with
    some help from friend - thanks LuigiL)
    So, why does my button not turn off when clicked? it runs the
    deinitializeBehavior function but the removeEventListeners are not
    actually being removed...
    I don't know why but could this possibly be a graphics issue?
    Thanks in advance

    HAH! OK - I am starting to get this a little.
    Thank you St. LuigiL. You are my Obie-wan: the force is
    strong with you.
    I made a Main.as document class and now the whole thing works
    like a charm! I was wondering if it was necessary to do so - and it
    was.
    In my OCD I am constantly striving to keep my classes to a
    bare minimum (if I could write everything on one page I would.)
    I very much appreciate your incredible help and support.
    BAM

  • JSF 2.0 Beta1, simple example, doesn't work, why?

    I made a simple JSF 2.0 NetBeans (Web Application project) example. Only imported library jars are jsf-api.jar and jsf-impl.jar from mojarra-2.0.0-Beta1 release.
    These are files which I added:
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
        http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.xhtml</url-pattern>
        </servlet-mapping>
    </web-app>
    test.xhtml (example from DZone JSF 2.0 RefCard):
    <html xmlns="http://www.w3.org/1999/xhtml"
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:ui="http://java.sun.com/jsf/facelets">
         <h:head></h:head>
         <h:body>
              <h:form>
                   <h:outputText value="test" />
              </h:form>
         </h:body>
    </html>And that's it. There is no faces-config.xml, as it is not needed. There are no managed beans. JSF and Facelets plugins are disabled.
    When I try to deploy, a get an exception:
    SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.NoClassDefFoundError: com/sun/facelets/tag/jsf/ComponentHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1850)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at com.sun.faces.util.Util.loadClass(Util.java:200)
         at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:308)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processComponent(FaceletTaglibConfigProcessor.java:523)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:358)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:311)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:260)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:312)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:210)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.tag.jsf.ComponentHandler
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 39 moreI tried NetBeans versions: 6.5.1, 6.7-RC3 and 200906261401 Build. Tried with latest Apache-Tomcat and JBoss. It's all the same.
    What is the problem? Why it seeks for a facelets com.sun.faces.config.ConfigureListener, from conventional standalone facelets library? Shouldn't it use facelets classes from JSF 2.0 library?
    I tried to add facelets-1.1.15.B1 jar into project, just to see what happens, and the same exception is thrown ...
    Please help!

    It's because somewhere on your classpath there is a facelet-taglib.xml that's referencing Facelet 1.1.x classes which aren't present.

  • Help!!! Simple JFrame doesn't work in jdk1.4

    If I run the following code in jdk1.2 it works fine, but in 1.4 only one button displays initially. If I click on the button, the other will display, but it displays in the last location that the window was in. For example, if I move the window first, then click the button, it draws itself at the location that it was previously at. Even more frustrating, when I close the window, once again, it draws itself in the last location and this remains on the screen, even after the vm exits.
    Source:
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class FrameExample extends JFrame {
    public FrameExample(String title) {
         super(title);
         setSize(350, 200);
         setLocation(300, 300);
         JButton button1 = new JButton("Button 1");
         JButton button2 = new JButton("Button 2");
         JPanel buttonPanel = new JPanel();
         buttonPanel.add(button1);
         buttonPanel.add(button2);
         getContentPane().add(buttonPanel);
         setDefaultCloseOperation(EXIT_ON_CLOSE);
         setVisible(true);          
    public static void main(String args[]) {
         FrameExample fe = new FrameExample("Frame Example");

    try to set the width and height of the frame - setSize(int, int). or use pack()

  • Simple yet doesn't work when ctrl enter to view it

    I am using flash cs4 and I have two movie clips frontpage
    (which is the front of a sheet of paper page 1) and backpage (which
    is the back sheet of a page 1). I am trying to get frontpage to
    flip over to backpage. I have 62 frames in the movie which is 32
    fps. On frame 1 frontpage is alpha100% and backpage is alpha 0%. On
    frame 21 I have frontpage alpha 100% and backpage 0% and frame22 I
    have frontpage alpha 0% and backpage 100%. On frame 62 I have
    frontpage alpha 0% and backpage alpha 100%. when I hit enter and
    the movie plays through it looks good on screen, however when i
    ctrl enter to publish view the movie there is a glitch. It looks
    like the backpage shows up before it should and looks totaly
    different when you just hit enter and watch movie.
    does anyone have any suggestions as why or how to fix this
    issue. I can send a .fla file if needed.

    I might add that on both I used the 3d tool to rotate
    frontpage to move from front to back and on backpage to rotate from
    back to front.

  • Why this simple code doesn't work?????

    i get error "java.sql.SQLException: Operation not allowed after ResultSet closed "
    try{
                Class.forName("com.mysql.jdbc.Driver");
                Connection dbcon = DriverManager.getConnection("jdbc:mysql://localhost:3306/db?user=user&password=pasw&useUnicode=true&characterEncoding=utf-8");
                String query = "SELECT * FROM  data where parent_id='xxsds^1'";
                Statement statement = dbcon.createStatement();
                ResultSet rs = statement.executeQuery(query);
                while(rs.next())
                    String name = rs.getString("name");
                    String query2 = "SELECT * FROM  data where parent_id='"+name+"'";
                    statement.execute(query2);
                    ResultSet rs2 = statement.getResultSet();
                    while(rs2.next())
                        String name1 = rs2.getString("name");
            catch(Exception ex){out.println(ex);}thanks a lot

    You need to use two separate statments if you're going to interleave the queries like that. I'd think you could get by with a single query and a join though, but I didn't actually look at what your queries are doing.
    Also, you should use PreparedStatement, a "?" parameter, and PS's setString method, rather than a plain old Statement where you have to maually handle string quoting.

  • HT4113 Simple Passcode doesn't want to work... :-/

    Hi Guys,
    I have a quite annoying problem on my iPhone 3GS, Simple Passcode doesn't work on my device.
    I can switch Simple Passcode to on state while passcode is off, (that is passcode is still disabled and not used)  but when I turn passcode on the state of Simple Passcode switch jumps back to off state after all.
    Do you have any solution for it?
    I would appreciate...
    Many thanks in advance!
    Norbi

    Hi Chris,
    Yes, it allows to enter a simple passcode, but when I set it and get back the passcode settings page simple passcode goes to off state again and next time when I want to unlock my phone it asks my 4 digits with fully keyboard instead of numeric.
    So it means that I can not switch on simple passcode but strong even if I stand on my head too...
    I've already tried it on another phone (our compan phone) and it works flawlessly as it should, but mine... makes me crazy.
    Thanks for your reply in advance!
    Best regards,
    Norbi

  • Explicit assignment to the ref parameter in member function doesn't work

    I've created new member procedure in a simple DB schema (Profesor-Asignatura-Departamento). In this procedure I'd like to change explicitly the value of departamento parameter which stores references to departamento objects.
    So what I'm doing is:
    select ref(d) into ref_departamento from departamento d where d.codigo=n_departamento; -- retrieve reference to the departament which has a code=n_departamento
    then I'd just like to assign the result to objects attribute like this:
    self.departamento:=ref_departamento;
    and here it doesn't work and I'm wondering why; I haven't found explaination in web. No error is displayed, simply it doesn't change the previous value of the parameter.
    Maybe there are some restrictions. I've managed to find another solution here with UPDATE statement but I'm curious why the simple assignment doesn't work.
    Thanks in advance,
    Wojtek

    OK, I'm not spanish however I like my code to be kept that way because I'm still learning :)
    Most important classess are these (then tables are created for them):
    create or replace type ot_departamento as object
    codigo number,
    nombre varchar2(32),
    telefono vt_telefono, -- vector type of size 3
    profesores tt_departamento_profesores, -- table type of references to ot_profesor objects
    asignaturas tt_departamento_asignaturas -- table type of references to ot_asignatura objects
    create or replace type ot_profesor as object
    codigo number,
    nombre varchar2(32),
    direccion ot_direccion, --object type with street, city, etc.
    telefono vt_telefono,
    departamento ref ot_departamento, -- reference to ot_departamento
    docencia tt_profesor_docencia, -- table type of objects which attributes are (reference to ot_asignatura, credits for a subject)
    create or replace type ot_asignatura as object
    codigo number,
    nombre varchar2(32),
    departamento ref ot_departamento, -- reference to ot_departamento
    docencia tt_asignatura_docencia, -- table type of objects which attributes are (reference to ot_profesor, credits for a subject)
    member procedure cambio_departamento(n_departamento number) *<- That's the procedure, where I had this issue* its task is to change current department,it takes as an argument code of new department which needs to be assigned
    So now the code for my procedure is:
    create or replace
    type body ot_asignatura as
    member procedure cambio_departamento(n_departamento number) is
    asig_count number:=self.docencia.count;
    no_cambio exception;
    docencias_adscritas exception;
    ref_departamento ref ot_departamento;
    begin
    --first check if a department of given code (n_departamento) exists at all, if not then raise NO_DATA_FOUND exception
    select ref(d) into ref_departamento from departamento d where d.codigo=n_departamento;
    --check if the given department is not the same as asignatura has already assigned, if so then raise NO_CAMBIO (NO_CHANGE) exception
    if ref_departamento=self.departamento then
    raise no_cambio;
    end if;
    --if there are any docencias (subject is declared with professor who's teaching and credits) already assigned to current department then department can't be changed
    if asig_count>0 then
    raise docencias_adscritas;
    end if;
    --first delete our assignatura from list of assignaturas already assigned to current department in the corresponding ot_department
    delete from the (select d.asignaturas from departamento d where ref(d)=self.departamento) a
    where a.COLUMN_VALUE.codigo=self.codigo;
    --now assing (update) to current assignatura reference to the new department
    --self.departamento:=ref_departamento; <- THIS IS NOT WORKING HERE*, so the workaround is given below by using explicit UPDATE on the whole table
    update asignatura a set a.departamento=(select ref(d) from departamento d where d.codigo=n_departamento)
    where a.codigo=self.codigo;
    --what's left is to add current assignatura to the list of assignatures for new ot_departamento
    insert into the (select d.asignaturas from departamento d where d.codigo=n_departamento)
    select ref(a) from asignatura a where a.codigo=self.codigo;
    exception
    when no_data_found then
    raise_application_error(-20003,'No hay este departamaneto');
    when no_cambio then
    raise_application_error(-20002,'Asignatura ya adscrita a este departamento');
    when docencias_adscritas then
    raise_application_error(-20001,'Asignatura tiene docencias adscritas !!!');
    end cambio_departamento;
    end;
    I hope it's quite clear here. I'm still curious, why it's not working.
    Thanks,
    Wojtek

  • Simple Shape Tween always causes Flash to freeze (CS3)

    Flash CS3 Professional is always freezing when I create a
    simple shape tween. The steps that I follow to produce this problem
    are as follows:
    Draw a line
    Bend the line into a curve.
    Set a second keyframe on the timeline. (doesn't matter how
    many frames between the two keyframes)
    Use the direct select tool to reposition the point at one end
    of the line.
    Set the tween to Shape between the two keyframes.
    Scrub the timeline.
    Flash freezes.
    According to the Windows XP Task Manager, the CPU is at 50%
    with most of that going to flash.
    Any ideas on how to get it working properly?
    I can do the tween successfully without issue using Flash 8,
    but CS3 freezes everytime. Our company won't let us upgrade to CS4
    at the moment.

    i can't duplicate that problem.
    if the problem occurs when you scrub the timeline, don't
    scrub it. test it in the test environment. you may be able get your
    tween working doing that (even though that doesn't solve the
    problem).

  • Help with making buttons work within mc/shape tween

    hi,
    i've created a movie clip for a navigation link named
    "Products". when you mouse over the "Products" mc, the movie clip
    has a sub-navbar that tweens horizontally out of the movie clip.
    when the subnav is done coming out and stops, i have buttons that
    appear that i would like the user to be able to click on.
    everything works out fine until i roll over the button the rollover
    state doesn't work. i have a feeling it is because the button is
    nested, but not sure.
    i set up a simple example here:
    http://kurtcom.com/examples/jeannettes_damn_navbar.html
    let me know if you want me to email you the file as well,
    thanks!

    A single Path would just be an out line of your three shapes.  As you knew to create  the above using vectors requires three shape layers.  Shapes can only be filled  with a single color or pattern.  They also can be stroked and have layer styles added. Additional strokes may be need to highlight the green area like you show above..
    With CS6 you can merge shape layers into a single shape layer your result would be a single color shape however the merged paths would be the outlining path you seem to want. you can save the path in the path palette when the merged shape is the active layer.
    adding an empty layer and stroking the merged path,
    Message was edited by: JJMack

Maybe you are looking for

  • Songs grayed out after iOS 8 update

    After updating my iPhone 5s with the iOS 8 update, my playlists and songs are acting crazy! I use playlists to teach fitness classes, and when I open a playlist now,  or several songs are grated out and will not play! I've tried to delete the songs a

  • Error in installing Application server

    Hi all, I am trying to install application server for the first time. while installing I am getting the error in the REGISTER with Internet directory screen, It has two fields to enter 1. HOST : I assume machine name in which the S/w is getting insta

  • How do I change "open new window" tab behaviour?

    I used to be a Firefox user ages ago, and then switched to Chrome for awhile. I'm coming back now, and I'm noticing some strangeness with tabs and "new windows". Can't figure out how to get around it. My "Home Page" is set up to open three tabs. One

  • Response message with a yes or no

    How can I get a user to navigate to a field based on the user's response to my xfa.host.response box? Any help would be sincerely appreciated.

  • Systems Request form

    Hi all, Can you lend  your change request forms format? Or any link docs would be appreciated. We are just beginning to formulate change request or any other systems procedures. For example: If Oracle is releasing Quarterly Mandatory PSU patch. Who w