Naming problem

Hello,
Just wondering if anyone can help me, I have come across an
annoying problem in my code and i dont know how to fix it :S
Basically I have a load of movie clips that I am containing
in the library and loading onto the stage via the addChild();
function in action script on the timeline.
In this i assign a name to the movie clip, i.e. var
movieClip1_mc = new mcMovieClip1(); later on i wish to reference
this to test a condition, for example; if(event.currentTarget.name
== "movieClip1_mc").......blah blah
however the only way i can get this to work is if i set up a
trace to find out the instance names of the movie clip, which comes
back with "instance34" for example, if i replace "movieClip1_mc"
with "instance34" the code works fine.
However my only problem is that the instance names change
whenever i add another movie clip for example, is there no way i
can test the condition using the name i have already assigned the
movie clip???
Any help would be gratefully appreciated :D
Many many thanks
Jude :D

Hello,
Okay so my problem, I have movie clips that I am loading onto
the stage dynamically through action script using the addChild
function. I have named these movie clips i.e.
movieClip1_mc.name = "movieClip1_mc";
Within this movie clip however are other movie clips, these
are on the timeline of the mc, i.e. movieClip1_mc.within1_mc
These are named in the properties box on the stage. So
everything is named as it should be as far as I am aware, I have
tried loading the second movie clips dynamically but it doesnt seem
to make any difference, i.e. movieClip1_mc.addChild(within1_mc);
within1_mc.name = "within1_mc";
So that is the structure, when I set up some event listeners
with trace values, the name is visible on rollover, but when the
movie clip becomes the drop target it isnt reckonised.
For example the following trace brings back the movie clip
name assigned:
trace(event.target.name);
However when another movie clip is dragged over the mc in
question the name is not known i.e.
trace(event.target.dropTarget.name);
result "instance23";
is there something i need to do to the movie clip to make it
a recognisable drop target??
Many thanks for your help
It is greatly appreciated :D
Jude

Similar Messages

  • Un-Named Problem

    This is my Server Program
    import javax.swing.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    class Validation
         Object object;
         public static Vector v1=new Vector(1,1);
         Vector vctUsername = new Vector(1,1);
         public Validation(String ipAddress1, String message1)
              message1.trim();
              if(checkIP(ipAddress1))
              else
                   v1.add(ipAddress1);
                   System.out.println("IP Added");
              String check = new String(String.valueOf(message1.charAt(0)));
              if(message1.length()==0)
              else if(message1.equals("A"))
                   System.out.println("Join in Message .. not to be sent");
              else if(check.equals("�"))
                   StringTokenizer str = new StringTokenizer(message1,"�");
                   String username13 = (str.nextToken());
                   String dust13 = (str.nextToken());
                   System.out.println(dust13);
                   if(dust13.equals(new String(" has joined the conversation")));
                   System.out.println(username13);
                   vctUsername.add(username13);
                   NewServer.listNames.setListData(vctUsername);
              else
                   for(int i=0; i<v1.size(); i++)
                        try
                             object = v1.elementAt(i);
                             Socket socket = new Socket(object.toString(),4001);
                             System.out.println("Connection formed with Client "+object.toString());
                             ObjectOutputStream toClient = null;
                             toClient = new ObjectOutputStream(socket.getOutputStream());
                             toClient.writeObject(message1);
                             toClient.flush();
                             System.out.println("Message "+message1+"to IP -- "+object.toString());
                             toClient.close();
                             socket.close();
                        catch(ConnectException e1)
                             for(int ii=0; ii<v1.size(); ii++)
                                  Object object1 = v1.elementAt(ii);
                                  if(object1.toString().equals(object.toString()))
                                       v1.removeElementAt(ii);
                                       vctUsername.removeElementAt(ii);
                                       NewServer.listNames.setListData(vctUsername);
                                  else
                        catch(Exception e)
                             System.out.println("Error : "+e);
         public boolean checkIP(String ipAddress2)
              for(int i=0; i < v1.size(); i++)
                   Object object = v1.elementAt(i);
                   if(object.toString().equals(ipAddress2))
                        return true;
              return false;
    public class NewServer
         public static JList listNames;
         private     ServerSocket chatSocket;
         public NewServer()
              Object object;
              JFrame frameMain = new JFrame("Server");
              JPanel panelMain = new JPanel();
              JTextArea textAreaDisplay = new JTextArea(25,50);
              JScrollPane scrollPaneBoard = new JScrollPane(textAreaDisplay);
              listNames = new JList();
              frameMain.getContentPane().add(panelMain);
              frameMain.setVisible(true);
              frameMain.setSize(200,200);
              panelMain.add(scrollPaneBoard);
              panelMain.add(listNames);
              textAreaDisplay.setLineWrap(true);
              try
                   chatSocket = new ServerSocket(4000);
              catch(BindException e)
                   JOptionPane.showMessageDialog(frameMain, new String("Port Address in use"));
                   System.exit(0);
              catch(Exception e)
                   System.out.println("Error 1 "+e);
              while(true)
                   try
                        System.out.println("Waiting for connections .. ");
                        Socket client = chatSocket.accept();
                        String inetAddress = String.valueOf(client.getInetAddress());
                        StringTokenizer str = new StringTokenizer(inetAddress,"/");
                        String hostName = (str.nextToken());
                        String ipAddress = (str.nextToken());
                        System.out.println("Accepted connection from : "+hostName+" : "+ipAddress);
                        new Validation(ipAddress, "A");
                        try
                             ObjectInputStream fromClient = null;
                             client.setSoTimeout(1000);
                             fromClient = new ObjectInputStream(client.getInputStream());
                             String x;
                             x = (String) fromClient.readObject();
                             textAreaDisplay.append(x);
                             textAreaDisplay.append("\n");
                             new Validation(ipAddress, x);
                        catch(Exception e)
                             System.out.println("Error 3 "+e);
                   catch(NullPointerException e)
                        JOptionPane.showMessageDialog(frameMain, new String("An unexpected error occured while starting the Server -- Error - "+e));
                        System.exit(0);
                   catch(Exception e)
                        System.out.println("Error 2 "+e);
         public static void main(String args[])
              new NewServer();
    this is my Client Program
    import java.io.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.net.*;
    import javax.swing.*;
    public class NewClient
         JFrame frameMain1;
         JPanel panelMain1;
         JTextArea textAreaDisplay;
         JScrollPane scrollPaneDisplay;
         JTextField textFieldMessage;
         Socket socket;     
         ObjectInputStream fromServer;
         ServerSocket inputServerSocket;
         String username123;
         public NewClient(String username12)
              frameMain1 = new JFrame("Client");
              panelMain1 = new JPanel();
              textAreaDisplay = new JTextArea(25,50);
              scrollPaneDisplay = new JScrollPane(textAreaDisplay);
              textAreaDisplay.setLineWrap(true);
              panelMain1.add(scrollPaneDisplay);
              System.out.println("coming 1");
              textFieldMessage = new JTextField(50);
              panelMain1.add(textFieldMessage);
              textFieldMessage.addKeyListener(new listener());
              frameMain1.getContentPane().add(panelMain1);
              frameMain1.setSize(200,200);
              frameMain1.setVisible(true);
              System.out.println("coming 3");
              try
                   socket = new Socket("192.168.16.1",4000);
                   inputServerSocket = new ServerSocket(4001);
                   ObjectOutputStream toServer = new ObjectOutputStream(socket.getOutputStream());
                   toServer.writeObject("� "+username12+" � has joined the conversation");
                   toServer.flush();
                   toServer.close();
              catch(UnknownHostException e)
                   JOptionPane.showMessageDialog(frameMain1, new String("Host Not Found "+e));
                   System.exit(0);
              catch(ConnectException e)
                   JOptionPane.showMessageDialog(frameMain1, new String("Connection Failed Because "+e));
                   System.exit(0);
              catch(BindException e)
                   JOptionPane.showMessageDialog(frameMain1, new String("Client Application already running or Port in use"));
                   System.exit(0);
              catch(Exception e)
                   JOptionPane.showMessageDialog(frameMain1, new String("An unexpected Error occured "+e));
                   System.exit(0);
              try
                   while(true)
                        Socket listener = inputServerSocket.accept();
                        ObjectInputStream fromClient = null;
                        listener.setSoTimeout(1000);
                        fromServer = new ObjectInputStream(listener.getInputStream());
                        String input = (String) fromServer.readObject();
                        textAreaDisplay.append("\n");
                        textAreaDisplay.append(input);
                        fromServer.close();
                        listener.close();
              catch(Exception e)
                   JOptionPane.showMessageDialog(frameMain1, new String("An unexpected Error occured "+e));
         class listener implements KeyListener
              public void keyTyped(KeyEvent e)
              public void keyReleased(KeyEvent e)
              public void keyPressed(KeyEvent e)
                   int code = e.getKeyCode();
                   if(code == KeyEvent.VK_ENTER)
                        String message12 = textFieldMessage.getText();
                        message12.trim();
                        if(message12.length()==0)
                        else
                             try
                                  Socket socket1;
                                  socket1 = new Socket("192.168.16.1",4000);
                                  ObjectOutputStream toServer = new ObjectOutputStream(socket1.getOutputStream());
                                  String messageTyped;
                                  messageTyped = (username123+" says::"+message12);
                                  toServer.writeObject(messageTyped);
                                  toServer.flush();
                                  textFieldMessage.setText("");
                                  toServer.close();
                                  socket1.close();
                             catch(ConnectException e1)
                                  JOptionPane.showMessageDialog(frameMain1, new String("Server Down"));
                                  System.exit(0);
                             catch(Exception e2)
                                  JOptionPane.showMessageDialog(frameMain1, new String("Error : "+e2));
                                  System.exit(0);
         public static void main(String args[])
              new NewClient("Guest_Null");
    and this is the program ...thru which i am calling ... Newclient
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import java.sql.*;
    public class Prashant extends JFrame
         //----frameMain objects
         JFrame frameMain = new JFrame("");     
         //----panelMain objects
         JPanel panelMain = new JPanel();
         CardLayout c1 = new CardLayout();
         //----panelAdministrator
         JPanel panelAdministrator = new JPanel();
         JTable table = new JTable();
         //----panelWelcome objects
         JPanel panelWelcome = new JPanel();
         String stringFirstName2 = new String("User");
         JLabel labelFirstName1=new JLabel("");
         //----panelLogin objects
         JPanel panelLogin = new JPanel();
         JLabel labelUsername2 = new JLabel("Username");
         JTextField textFieldUsername2 = new JTextField(10);
         JLabel labelPassword1 = new JLabel("Password");
         JPasswordField passwordFieldPassword1 = new JPasswordField(10);
         JButton buttonLogin = new JButton("Login");
         JButton buttonNewUser = new JButton("New User, Sign Up");
         //----panelInsertData objects
         JPanel panelInsertData = new JPanel();
         JLabel labelUsername1 = new JLabel("Username");
         JTextField textFieldUsername1 = new JTextField(10);
         JLabel labelPassword = new JLabel("Password");
         JPasswordField passwordFieldPassword = new JPasswordField(10);
         JLabel labelReTypePassword = new JLabel("Re-Type Password");
         JPasswordField passwordFieldReTypePassword = new JPasswordField(10);
         JLabel labelFirstName = new JLabel("First Name");
         JTextField textFieldFirstName = new JTextField(10);
         JLabel labelLastName = new JLabel("Last Name");
         JTextField textFieldLastName = new JTextField(10);
         JLabel labelPhoneNumber = new JLabel("Phone Number");
         JTextField textFieldPhoneNumber = new JTextField(10);
         JLabel labelAddress = new JLabel("Address");
         JTextArea textAreaAddress = new JTextArea("",10,10);
         JScrollPane scrollPaneAddress = new JScrollPane(textAreaAddress);
         ClickListen ClickListener = new ClickListen();
         JButton buttonSubmit = new JButton("Submit");
         //----panelRetieveData objects
         JPanel panelRetieveData = new JPanel();
         JButton testButton = new JButton("Retieve Data");
         //----panelUsernameSearch
         JPanel panelUsernameSearch = new JPanel();
         JLabel labelUsername = new JLabel("Username");
         JTextField textFieldUsername = new JTextField(10);
         JButton buttonCheckForAvailability = new JButton("Check");
         public void frameMain()
              frameMain.setResizable(true);
         public void panelMainClass()
              frameMain.getContentPane().add(panelMain);
              panelMain.setLayout(c1);
         public void panelWelcome()
              panelMain.add(panelWelcome, "panelWelcome");
              panelWelcome.setLayout(null);
              panelWelcome.add(labelFirstName1);
              labelFirstName1.setBounds(10,10,200,25);
         public void panelAdministrator()
              panelMain.add(panelAdministrator,"panelAdministrator");
              panelAdministrator.add(table);
         public void panelLogin()
              frameMain.setSize(195,160);
              frameMain.setVisible(true);
              panelLogin.setLayout(null);
              panelMain.add(panelLogin, "panelLogin");
              c1.show(panelMain, "panelLogin");
              panelLogin.add(labelUsername2);
              labelUsername2.setBounds(10,10,100,25);
              panelLogin.add(textFieldUsername2);
              textFieldUsername2.setBounds(75,10,100,25);
              panelLogin.add(labelPassword1);
              labelPassword1.setBounds(10,40,100,25);
              panelLogin.add(passwordFieldPassword1);
              passwordFieldPassword1.setBounds(75,40,100,25);
              panelLogin.add(buttonLogin);
              buttonLogin.setBounds(10,70,165,25);
              buttonLogin.addActionListener(ClickListener);
              panelLogin.add(buttonNewUser);
              buttonNewUser.setBounds(10,100,165,25);
              buttonNewUser.addActionListener(ClickListener);
         public void panelUsernameSearch()
              panelMain.add(panelUsernameSearch,"panelUsernameSearch");
              panelUsernameSearch.setLayout(null);
              panelUsernameSearch.add(labelUsername);
              labelUsername.setBounds(10,10,60,25);
              panelUsernameSearch.add(textFieldUsername);
              textFieldUsername.setBounds(75,10,100,25);
              panelUsernameSearch.add(buttonCheckForAvailability);
              buttonCheckForAvailability.setBounds(10,40,165,25);
              buttonCheckForAvailability.addActionListener(ClickListener);
         public void panelInsertDataClass()
              panelInsertData.setLayout(null);
              panelMain.add(panelInsertData, "panelInsertData");
              labelUsername1.setBounds(10,10,100,25);
              panelInsertData.add(labelUsername1);
              textFieldUsername1.setBounds(115,10,100,25);
              textFieldUsername1.setEnabled(false);
              textFieldUsername1.setText("Prashant");
              panelInsertData.add(textFieldUsername1);
              labelPassword.setBounds(10,40,100,25);
              panelInsertData.add(labelPassword);
              passwordFieldPassword.setBounds(115,40,100,25);
              panelInsertData.add(passwordFieldPassword);
              labelReTypePassword.setBounds(10,70,100,25);
              panelInsertData.add(labelReTypePassword);
              passwordFieldReTypePassword.setBounds(115,70,100,25);
              panelInsertData.add(passwordFieldReTypePassword);
              labelFirstName.setBounds(10,100,100,25);
              panelInsertData.add(labelFirstName);
              textFieldFirstName.setBounds(115,100,100,25);
              panelInsertData.add(textFieldFirstName);
              labelLastName.setBounds(10,130,100,25);     
              panelInsertData.add(labelLastName);
              textFieldLastName.setBounds(115,130,100,25);
              panelInsertData.add(textFieldLastName);
              labelPhoneNumber.setBounds(10,160,100,25);
              panelInsertData.add(labelPhoneNumber);
              textFieldPhoneNumber.setBounds(115,160,100,25);
              panelInsertData.add(textFieldPhoneNumber);
              labelAddress.setBounds(10,190,100,25);
              panelInsertData.add(labelAddress);
              textAreaAddress.setLineWrap(true);
              scrollPaneAddress.setBounds(115,190,100,75);
              panelInsertData.add(scrollPaneAddress);
              panelInsertData.add(buttonSubmit);          
              buttonSubmit.addActionListener(ClickListener);
              buttonSubmit.setBounds(10,270,205,25);
         public void panelRetieveDataClass()
              panelMain.add(panelRetieveData, "panelRetieveData");               
              panelRetieveData.add(testButton);
         class ClickListen implements ActionListener
              public void actionPerformed(ActionEvent evt)
                   Object obj = evt.getSource();
                   if(obj==buttonLogin)
                        String stringUsername2 = new String(textFieldUsername2.getText());
                        if(stringUsername2.length()==0)
                             JOptionPane.showMessageDialog(frameMain, new String("Username field cannot be left empty"));
                        else
                             String stringPassword1 = new String(passwordFieldPassword1.getPassword());
                             if(stringPassword1.length()==0)
                                  JOptionPane.showMessageDialog(frameMain,new String("Password field cannot be left empty"));
                             else
                                  if(stringUsername2.equals("Administrator"))
                                       if(stringPassword1.equals("Prashant"))
                                            JOptionPane.showMessageDialog(frameMain,new String("Welcome Mr.Prashant"));
                                            c1.show(panelMain, "panelAdministrator");
                                       else
                                            JOptionPane.showMessageDialog(frameMain,new String("Invalid Password"));
                                  else
                                       try
                                            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                            Connection con2;
                                            con2 = DriverManager.getConnection("jdbc:odbc:prashant","user1","");
                                            PreparedStatement stat2 = con2.prepareStatement("select * from prashant_registration where username = ? AND cpassword = ?");
                                            stat2.setString(1, stringUsername2);
                                            stat2.setString(2, stringPassword1);
                                            ResultSet result;
                                            result = stat2.executeQuery();
                                            if(result.next())
                                                 JOptionPane.showMessageDialog(frameMain,new String("Login successful"));
                                                 stringFirstName2 = result.getString(3);
                                                 labelFirstName1.setText("Welcome "+stringFirstName2);
                                                 new NewClient(stringUsername2);
                                                 c1.show(panelMain, "panelWelcome");
                                            else
                                                 JOptionPane.showMessageDialog(frameMain,new String("Login Failed"));
                                                 textFieldUsername2.setText("");
                                                 passwordFieldPassword1.setText("");
                                       catch(Exception e)
                                            System.out.println("error" +e);
                   if(obj==buttonNewUser)
                        c1.show(panelMain, "panelUsernameSearch");
                        frameMain.setSize(190,100);
                        frameMain.setVisible(true);
                   if(obj==buttonCheckForAvailability)
                        String stringUsername = textFieldUsername.getText();
                        if(stringUsername.length()==0)
                             JOptionPane.showMessageDialog(frameMain,new String("Username cannot be left blank"));
                        else
                             try
                                  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                  Connection con1;
                                  con1 = DriverManager.getConnection("jdbc:odbc:prashant","user1","");
                                  PreparedStatement stat1 = con1.prepareStatement("select * from prashant_registration where username = ?");
                                  stat1.setString(1, textFieldUsername.getText());
                                  ResultSet result;
                                  result = stat1.executeQuery();
                                  if(result.next())
                                       JOptionPane.showMessageDialog(frameMain,new String("Username is not Avaiable, Click Ok, to choose someother username"));
                                       textFieldUsername.setText("");
                                  else
                                       JOptionPane.showMessageDialog(frameMain, new String("Username is available, Click Ok, to move to the next step"));
                                       textFieldUsername1.setText(textFieldUsername.getText());
                                       frameMain.setSize(230,330);
                                       frameMain.setVisible(true);
                                       c1.show(panelMain, "panelInsertData");
                             catch(SQLException sqlex)
                                  System.out.println ("SQLState: " + sqlex.getSQLState () + "");
                                  System.out.println ("Message: " + sqlex.getMessage() + "");
                                  System.out.println ("Vendor ErrorCode: " + sqlex.getErrorCode() + "");
                             catch(Exception ex1)
                                  System.out.println("Error ex1" +ex1);
                   if(obj==buttonSubmit)
                        String stringPassword = new String(passwordFieldPassword.getPassword());
                        if(stringPassword.length()==0)
                             JOptionPane.showMessageDialog(frameMain, new String("Password field cannot be left empty"));
                        else
                             String stringReTypePassword = new String(passwordFieldReTypePassword.getPassword());
                             if(stringReTypePassword.length()==0)
                                  JOptionPane.showMessageDialog(frameMain, new String("Please ReType the password"));
                             else
                                  if(stringPassword.equals(stringReTypePassword))
                                       if((new String(textFieldFirstName.getText())).length()==0)
                                            JOptionPane.showMessageDialog(frameMain,new String("FirstName cannot be left blank"));
                                       else
                                            if((new String(textFieldLastName.getText())).length()==0)
                                                 JOptionPane.showMessageDialog(frameMain,new String("LastName cannot be left blank"));
                                            else
                                                 if((new String(textFieldPhoneNumber.getText())).length()==0)
                                                      JOptionPane.showMessageDialog(frameMain,new String("Phone Number cannot be left blank"));
                                                 else
                                                      if((new String(textAreaAddress.getText())).length()==0)
                                                           JOptionPane.showMessageDialog(frameMain,new String("Address Cannot Be Left Blank"));
                                                      else
                                                           try
                                                                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                                                Connection con;
                                                                con = DriverManager.getConnection("jdbc:odbc:prashant","user1","");
                                                                PreparedStatement stat2 = con.prepareStatement("insert prashant_registration values(?,?,?,?,?,?, getDate(), getDate())");
                                                                stat2.setString(1,textFieldUsername1.getText());
                                                                stat2.setString(2,stringPassword);
                                                                stat2.setString(3,textFieldFirstName.getText());
                                                                stat2.setString(4,textFieldLastName.getText());
                                                                stat2.setString(5,textFieldPhoneNumber.getText());
                                                                stat2.setString(6,textAreaAddress.getText());
                                                                stat2.executeUpdate();
                                                                JOptionPane.showMessageDialog(frameMain,new String("Your Details have been registered"));
                                                                c1.show(panelMain, "panelRetieveData");
                                                           catch(SQLException ex)
                                                                System.out.println ("SQLState: " + ex.getSQLState () + "");
                                                                System.out.println ("Message: " + ex.getMessage() + "");
                                                                System.out.println ("Vendor ErrorCode: " + ex.getErrorCode() + "");
                                                           catch(Exception e)
                                                                JOptionPane.showMessageDialog(frameMain,new String("Error encountered while entering data in the database: "+e));
                                  else
                                       JOptionPane.showMessageDialog(frameMain,new String("Passwords doesnt match"));
         public static void main(String args[])
              Prashant prashant = new Prashant();
              prashant.frameMain();
              prashant.panelMainClass();
              prashant.panelLogin();
              prashant.panelWelcome();
              prashant.panelAdministrator();
              prashant.panelUsernameSearch();
              prashant.panelInsertDataClass();
              prashant.panelRetieveDataClass();
    I dont know what the problem is .... the Client program's frame is EMPTY
    my faculty and my fellow programmers said ...the program is getting hanged or something is getting overlapped
    please try and let me know what could be the possible problem could be .... people in here and myself ..couldnt solve it ... because i am not getting any error message or exception ... so it is a
    **Un-Named Problem**
    I will be really thankful to you ...if u could help me out

    When you post code, please use [code] and [/code] tags as described in Formatting Help on the message entry page. It makes it much easier to read.

  • TestStand sub-sequence naming problem: "Step" column doesn't match "View" menu

    Refer to the attached screenshoot; when I rename the sub-sequences in the "Step" column to the left, these names don't show up in the "View" menu pull-down list shown on the right. What's going on here?
    All my sequences are in one .seq file.
    Attachments:
    Sequence Naming Problem.gif ‏31 KB

    They're not supposed to. When you rename a step, that's not the same thing as renaming a sub-sequence. Say you have a sub-sequence called x, you could have steps called "call sequence x_1", "call sequence x_2", "call sequence x_3", etc., all calling the same sub-sequence. It's no different than the different labels you might have every time you call a pass/fail step.

  • File Naming Problem in Camera Raw 5.4

    Am having a problem when processing Raw images in CS4 using Camera Raw 5.4
    After processing the image I click 'Save Image'.
    In the 'Save Options' box, under 'File Naming' I enter what I want to call the saved image.
    Eg.  'Hooded Top' becomes 'Hooded Top.jpg'
    The file is then saved onto the Desktop.
    Camera Raw seems to be 'stuck' on a previous file name. It will add the same previous file name to the end of the new image.
    You can see in the image that the text to the right of 'Example' also seems to be stuck between two lines of text.
    If I want to call an image 'Hooded Top' it will add an old name
    Eg. 'Hooded Top' will become 'Hooded TopTrack Pants.jpg'     (Track Pants being the previous image name)
    I have been using CS4 trial for a month with no problems. I have just upgraded to CS4 from CS3 today. The program was working fine all morning.
    I have re-installed CS4 and restarted my Mac Pro (OSX 10.5.8). I am using a Canon EOS 5D Mk2.
    Any thoughts appreciated.

    Look in Task Manager.
    One or both of them may be running under Processes.
    Use End Process.
    My advice is not to use the automatic startup for Bridge.

  • Exporting originals naming problem.

    In exporting original files, I chose to have the originals named with the preset of filename+date+time.  But all of the new file names show 2016 as the year instead of 2015, which is when they were taken and what shows up as the information included in the metadata.  Has anyone else had this problem?  Do you have a workaround?  Currently looks like a flaw in Aperture's preset.

    Okay; I didn't read enough of my camera files and settings.  I retract this comment/question since the camera did actually record some of the photos as taken in 2016. So the Date Time preset was working.

  • Naming Problem in 6670

    Hi All,
    I have Nokia 6670 phone and I am getting naming convention problem. The name displays as Last Name and then First Name when I recieve any message.
    I have formatted sevral times with both way Hard & Soft but still same.
    Please help me out.
    Your Friend

    Assuming that you have settings in contacts set to First name Last name, try using Ovi suite to check your contacts, and make sure they are correctly entered in the correct fields. If the contact list was transferred from a previous phone , some may be in the wrong format. If the are all ok in Ovi suite, sync contacts and choose Ovi suite as the choice to keep if any conflicts appear.
    Good Luck
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • WebService naming problem

    Hi,
    I have a problem regarding the naming of WebServices in the WAS. I need to know if i´m right in this:
    1. When creating WebServices in the ABAP stack using the ABAP Workbench i can only develop WebServices who starts whith an "Z" or an "Y". I.ex. Y_GetCustomerName.
    2. When developing WebServices on the JAVA Stack i´m free to call my WebServices anything i like i.ex GetCustomerName.
    Could anyone confirm this two statements? I need to know because even though it seems to bee a small problem it´s in our organisation a big problem if we cannot name our WebServices as we like!
    Regards
    Jakob

    Yes i can reserve an Namespace, but it´s not enough... It´s not the "Z" who are the problem but rather that the Service should allways begin with the same string.
    I need to develop services like:
    GetCustomerName
    CreateFinanceDocument
    BlockCustomerAccount
    I´m pretty sure that i cannot do it in the ABAP stack - but if i can do it the JAVA stack everything is fine for me - i just need a confirmation on that :-).
    Jakob

  • Subclips sorting/naming problem

    when i split a long captured clip into subclips with the dv-start-stop thingie, i get a bunch of subclips that are named something like
    "subclip 1, subclip 2, subclip 3" etc.
    problem is, when i open the browser, the sorting does something like
    subclip 1
    subclip 11
    subclip 12
    subclip 19
    subclip 2
    subclip 20
    subclip 21
    which is really quite confusing.
    is there a way to fix this, or change it to include leading 0s when naming subclips?
    thanks

    okay, thanks for the CatDV tip, i'll look into it later tonight. first glance looks promising, though.
    second, i have 30 hours of tapes to capture, and the dvcam deck is a rental.
    third, logging and THEN capturing from tape is tedious.
    so, i got am extra hard drive (i'm almost at the terrabyte barrier , and load everything at once.
    THEN i do scene detection, and end up with about 300 scenes per tape.
    now to weed out the stuff i don't want, i'll go through the browser items one at a time. and it's here that this weird sorting gives me headaches, since i'm looking at the tape, i know the sequence of events as they took place, i klick around and then i jump ahead an hour, then back again.
    if i can't add a 0, why can't i tell FCP to go by numbers and interpret numbers as such.
    anyways ... i guess there's not really a solution except for third party software like CatDV.
    thanks for your replies, guys.

  • Workspace naming problem

    One of my users accidentally named their workspace 'DB Test_1'. When I run the name through DBMS_ASSERT.QUALIFIED_SQL_NAME('DB Test_1'), it returns the error ORA-44004: invalid qualified SQL name. Is there a way of copying or renaming the workspace, or will I have to drop it, and have the user create a new workspace with their changes? I thought about exporting the tables in the workspace, but there are 30 tables and no savepoints.

    I also came across this problem while using the Oracle Jena Driver:
    ModelOracleSem.createOracleSemModel(oracle, "http://host.com/model.url");
    Is the patch required to fix this
    "Oracle Database 11g Release 1 - Patch Set for 11.1.0.6"?
    I had a problem installing that patch, specifically with the sdordfxb.plb file:
    SQL> @sdordfxb.plb
    Warning: Package Body created with compilation errors.
    Errors for PACKAGE BODY SDO_RDF:
    LINE/COL ERROR
    1243/5 PL/SQL: Statement ignored
    1243/28 PLS-00302: component 'ANALYZE_MODEL' must be declared
    1272/5 PL/SQL: Statement ignored
    1272/28 PLS-00302: component 'ANALYZE_RULES_INDEX' must be declared
    1298/5 PL/SQL: Statement ignored
    1298/28 PLS-00302: component 'DELETE_MODEL_STATS' must be declared
    1317/5 PL/SQL: Statement ignored
    1317/28 PLS-00302: component 'DELETE_RULES_INDEX_STATS' must be declared
    Synonym created.
    Synonym created.
    Grant succeeded.
    So I rolled back by executing the original 11g versions of the patch files. Any help with this would be appreciated.
    Thanks

  • SCSI hard drive naming problem

    Hello, world!
    I'm a professional data recovery engineer. I've been using the Helix live CD for Linux recoveries, but due to multiple problems (mainly the constant filling up of RAM) I installed Arch Linux on one of my workstations.
    I love Arch already, but there's one problem I haven't found a solution to:
    The workstation I'm using has two S-ATA drives, seen by Arch as sda and sdb. Everything is ok as long as I'm working with IDE or S-ATA drives, as sda and sdb always have the same name. However, if I connect a SCSI drive to the workstation, HD naming scheme gets messed up: SCSI drives take precedence of the S-ATA drives, so sda and sdb become sdb and sdc, sdc and sdd etc. depending on the number of SCSI drives attached.
    Is there a way to fix sda and sdb so that they wouldn't "shift" when SCSI drives are added to the workstation?
    Thanks in advance!
    - Jyri

    another way to go about it , is in /etc/mkinitcpio
    sample
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES=" piix sata_via jbd ext3"
    # BINARIES
    # This setting includes, into the CPIO image, and additional
    # binaries a given user may wish. This is run first, so may
    # be used to override the actual binaries used in a given hook.
    # (Existing files are NOT overwritten is already added)
    # BINARIES are dependancy parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in anyway. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options,
    # like so:
    # FILES="/etc/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'modload' may be used in place of 'udev', but is not recommended
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    # This setup specifies all modules in the MODULES setting above.
    # No raid, lvm, or encrypted root is needed.
    # HOOKS="base"
    # This setup will autodetect all modules for your system and should
    # work as a sane default
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    # This setup will generate a 'full' image which supports most systems.
    # No autodetection is done.
    # HOOKS="base udev ide scsi sata usb filesystems"
    # This setup assembles an ide raid array with an encrypted root FS.
    # Note: See 'mkinitcpio -H raid' for more information on raid devices.
    # HOOKS="base udev ide filesystems raid encrypt"
    # This setup loads an LVM volume group on a usb device.
    # HOOKS="base udev usb filesystems lvm"
    HOOKS="base udev sata filesystems"
    take notice i took scsi out of HOOKS , so when/if i do plug my scsi drives into this box or swap this drive into a box with scsi drives the sata will be recognized as sda before the scsi modules are loaded
    a problem i had a while back while we still used mkinitrd . i do believe this would still be the same with mkinitcpio i cant say for sure it will work but in theory i would say what i suggest would work
    it will be easier to maintain then a udev rule as the syntax sometimes needs to be changed in rules like " =  is replaced with ==" or is it the other way around
    or if i recall correctly it used to be  name a rule prefixed with a number now the rules get loaded in alphitical order so your rule may get overridden by the main udev.rules  cause a number is read before a letter
    if im understanding correctly ,
    so the 00.udev.rules are read but if udev.rules say something else about whats connected it could very well change your sata from sda to sdb or sdc
    if im misunderstanding the udev loading process please let me know

  • File naming problem; FCP won't regonize "-a" at the end of file names.

    i have a couple FCP project files named as follows:
    Family-Obesity-PSA_07-16-06-D.fcp
    Family-Obesity-PSA_07-17-06-A.fcp
    Family-Obesity-PSA_07-18-06-A.fcp
    Family-Obesity-PSA_07-18-06-B.fcp
    Family-Obesity-PSA_07-18-06-C.fcp
    Family-Obesity-PSA_07-18-06-C.fcp
    Family-Obesity-PSA_07-18-06.fcp
    Family-Obesity-PSA_07-19-06-A.fcp
    Family-Obesity-PSA_07-19-06.fcp
    and when I open most of the files, the tag on the label in the bin
    reads exactly as the file name does.
    BUT... if the files end in "-A" (like a few of the ones above) Final
    Cut Pro doesnt add the "-A" to the label in the bin, it just says
    "Family-Obesity-PSA_07-19-06" when it should say "Family-Obesity-
    PSA_07-19-06-A".
    Basically FCP ignores the "-A" suffix.
    This must be some weird bug. But funny that it only happens on the "-A" suffix...
    Any suggestions would be appreciated.
    Thanks,
    Addison
    13" White 2GHz Intel Core Duo MacBook   Mac OS X (10.4.7)   Final Cut Pro 5.1.1
    17 1.5GHz G4 PowerBook    

    Clip names in the Browser can be modified... That's
    what I was talking about.
    It's pretty wierd alright.
    Are you somehow related to David Marchese? He and I
    worked on a ton of TV spots in LA years ago... he had
    an ad agency...
    Jerry
    Hey. It's not the clip name, it's the project name which is determined based on the file name. And I'm unaware of a way to change the project name. Is there a way?
    I don't think I know that David Marchese, but I'm sure there's some connection. My father's parents are from Sicily, but my father and I were both born and raised in America.
    Actually I'm a TV commercial editor, so that's kind of funny. Do you still work in the field?
    Thanks,
    Addison
    13" White 2.0GHz Core Duo MacBook, 17" 1.5GHz G4 PowerBook    

  • UTL_FILE  File Naming Problem

    Hi,
    I am using the UTL_FILE package to write into a file.
    I want to name the output file as "file1yyyymmddhh.psc".
    In the syntax of UTL_FILE.FOPEN if I try to append the file name with sysdate then error comes.
    Also if i use the following:
    select 'react_acct' || sysdate || '.' || 'psc'
    into V_filename
    from dual;
    and then UTL_FILE.FOPEN('DIR',v_filename,w)
    Still i get error.
    Can I rename my file in some other manner??
    Please help...

    I tried the same example & it worked perfectly fine with me.
    select DIRECTORY_NAME,rpad(DIRECTORY_PATH,40,' ') directory_path from
    all_directories
    where DIRECTORY_NAME='MY_DIR1';
    DIRECTORY_NAME DIRECTORY_PATH
    MY_DIR1 c:\ora_test
    15:10:36 SQL> Declare
    15:10:56 2 file1 utl_file.file_type;
    15:10:56 3 V_filename varchar2(1000);
    15:10:56 4 Begin
    15:10:56 5 select 'react_acct' || sysdate || '.' || 'psc'
    15:10:56 6 into V_filename
    15:10:57 7 from dual;
    15:10:57 8 file1 := utl_file.fopen('MY_DIR1',v_filename,'w');
    15:10:57 9 utl_file.put_line(file1,'Hello');
    15:10:57 10 utl_file.fclose(file1);
    15:10:58 11 end;
    15:10:59 12 /
    PL/SQL procedure successfully completed.
    ===============
    It create a file named react_acct13-MAR-06.psc with the content as hello.

  • JNDI Naming Problem accessing Session Bean from Message Driven Bean

    Hi,
         I am facing a very strange problem in JNDI look up accessing a Session Bean from a Message Driven Bean. I have a session fa�ade bean(Remote Bean) which is being called from Struts Action class getting the home reference from the ServiceLocator (I have implemented ServiceLocator pattern to obtain JNDI reference for all EJBs). When I am calling the session fa�ade EJB from the Struts Action class everything is working fine.
         But when I am trying to call the same EJB from my Message Driven Bean, I am getting a JNDI exception (NameNotFoundException - No Object bound to name �java:comp/env/ejb/EJBJNDIName�). I am trying to get the remote reference from the same ServiceLocator which is successfully providing me a reference while calling from the struts action class. But the same ServiceLocator is not able to provide me a reference while calling from the Message Driven Bean. If I use the JNDI name directly like �EJBJNDIName� in the lookup it is working fine. The lookup for the name is working fine and I am able to call the Session Fa�ade bean with that reference.
         I am really not sure what exactly the problem is. If I have any problem in the ServiceLocator, it should have given me the same error while calling from Struts Action class. But it is working fine with the full name �java:comp/env/ejb/EJBJNDIName� calling from the struts action class. I am not sure whether Message Driven Bean has something to do with it. Why I am not able to get a reference of the EJB with the full name? Please Help.
    Thanks
    Amit

    Hi Bhagya,
    Thanks for your response. I think from EJB container we can call Local EJBs with the full JNDI name. The session facade bean which is being called is a remote bean. From the session facade bean I am calling a local stateless session bean for database access. I am getting the reference of the local EJB from my session facade bean with full JNDI name "java:comp/env/ejb/EJBJNDIName". It is working fine with out any problem. My servicelocator is able to provide me the reference of the local EJB from the session facade remote bean with Full JNDI name. I am only having this problem calling from the MDB. I am really not sure whether what is causing it?
    Thanks
    Amit

  • The Naming problem in my first ejb program.

    Dear experts,
    I am new to Enterprise applications.
    I am ,now, in my first step in developinf Enterprise Java bean.
    I use Sun System Application Server.
    The following s my very first code:
    Hello.java (Remote interface)
    import java.rmi.*;
    import javax.ejb.*;
    public interface Hello extends EJBObject{
         public void displayMessage() throws RemoteException;
    HelloHome.java (Home interface)
    import java.rmi.*;
    import javax.ejb.*;
    public interface HelloHome extends EJBHome{
         public Hello create() throws RemoteException,CreateException;
    HelloBean.java (Bean Implementation class)
    import java.rmi.*;
    import javax.ejb.*;
    public class HelloBean implements SessionBean{
         public void displayMessage(){
              System.out.println("Success..Success..SLK won atlast");
         public void ejbCreate(){
         public void ejbRemove(){
         public void ejbActivate(){
         public void ejbPassivate(){
         public void setSessionContext(SessionContext ct){
    I did go thro the following steps:
    1.I save all these files inside c:\MyEjb folder.
    2.First I compile the following files with javac complier
         Hello.java,HelloHome.java and HelloBean.java
    3.I open deploytool and created a Application HelloApplication.It gives me HelloApplication.ear file inside c:\MyEjb folder.
    4.I created a bean jar into the HelloApplication.The bean jar created is Hello.jar.
    5.Then I deploy HelloApplication with out checking/selecting the Return Client jar check box.
    6.After the application is deployed, I select, from the tree view,LocalHost 4848.
    I select HelloApplication from the deployed applications list, and click the Click Jar...button.It returns HelloApplicationClient.jar into c:\MyEjb folder.
    Here goes my Client java file:
    HelloClient.java
    import javax.ejb.*;
    import javax.naming.*;
    import java.rmi.*;
    import java.util.*;
    public class HelloClient{
         public static void main(String s[]){
              try{
                   Properties prop = new Properties();
                   prop.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.fscontext.RefFSContextFactory");
                   prop.put(javax.naming.Context.PROVIDER_URL,"file:c:\\");
                   Context ctx = new InitialContext(prop);
                   HelloHome hHome = (HelloHome)ctx.lookup("Hello");
                   Hello hObj = hHome.create();
                   hObj.displayMessage();
              }catch(Exception e){
                   e.printStackTrace();
    This also is in C:\MyEjb folder.
    Now I compile HelloClient.java.
    Then I tried to run HelloClient using java HelloClient
    It just says javax.naming.NameNotFoundException:Hello
    Why is this so? Does Sun App server uses any other naming service than FileSystem (fscontext) like CORBA Naming service COS Naming?If so I can download COS Naming provider and use that in my client code.
    Is this correct way to run my client code? or should I go thro File->New->Application Client...etc and use appclient utility?
    I tried that too and run using the command appclient -client HelloAppClient.jar -mainclass HelloClient
    Again I get the same exception,javax.naming.NameNotFoundException:Hello.
    I checked the JNDI Name for my HelloBean and its correctly set as 'Hello'.
    Why is this error? Should I have any special folder structure to run EJB?
    Help me resolve this.
    Thanx in advance
    unique

    Try rewriting your Hello client like this:
    import javax.ejb.*;
    import javax.naming.*;
    import java.rmi.*;
    import java.util.*;
    public class HelloClient
        public static void main(String s[])
            try
                Context initial = new InitialContext();
                Content myEnv   = (Context)initial.lookup("java:comp/env");
                Object o        = myEnv.lookup("ejb/Hello");
                HelloHome hHome = (HelloHome)PortableRemoteObject.narrow(o, HelloHome.class);
                Hello greeter   = hHome.create();
                greeter.displayMessage();
            catch(Exception e)
                e.printStackTrace();
    }See if that's better.

  • Database naming problem in CAF Core

    Dear Experts,
    I am experiencing a serious problem when testing the NW CE 7.1. I have created two projects with different vendor name while the project name and business object name are the same. I found that they will use the same database table. If I don't pay any attention to the database table name. They will overwrite each other when I deploy the application. I think this is a very dangerous and serious problem.
    However, as I am still testing without NWDI in place, will NWDI solve this problem? Please advise. Thanks!
    Regards,
    Alex

    Hi,
    Try reading near to the end of this page - http://help.sap.com/saphelp_nwce10/helpdata/en/b9/1cec745b7f4f0c925b8b32ddd3004e/frameset.htm - as a starter for 10.
    The do some more research on Name Reservation generally.
    Gareth.

Maybe you are looking for