AS2_Input Box Problem
I am writing a small spelling wordgame program for a child and am battling a bit. I am new to this and still have alot to learn.
a Code found on webwasp using instance name:
on (press) {
if (textbox.text.indexOf("car") != -1) {
gotoAndStop("right");
} else {
gotoAndStop("wrong");
a Second code also tried also found on webwasp using var:
on (release, keyPress "<Enter>") {
if (answer eq "rooster" or answer eq "cockerel") {
gotoAndPlay ("right");
} else if (answer eq "hen" or answer eq "chicken") {
gotoAndStop ("clue");
} else {
gotoAndStop ("wrong");
I have tried both ways and no luck. No matter what is entered it only goes to the wrong label even if correct answer entered.
I have embedded to lowercase.
Can someone please help. I am stuck.
I am using Flash CS4 with my publishing settings set to Flash10 and AS2.
in short:
I made a input box and gave it an instance name of: textbox, with the following atributes:
size 36, font Comic Sans, left alignment, line type: Single Line, text is selectable and show border around selected.
max charachters 12, var left blank
embedded to lowercase only
I then used a button from the common library with the following code attached.
on (release, keyPress "<Enter>") {
if (textbox.text.indexOf("car") != -1) {
gotoAndStop ("right");
}else {
gotoAndStop ("wrong");
everything compiles with no error and runs but even if entering car it still goes to the else command.
Similar Messages
-
"Dialog box "PROBLEM WITH SHORTCUT"
When my T40 p starts up I keep getting the following message, over and over again until I close the system tray IBM Connect bar.
"Dialog box “PROBLEM WITH SHORTCUT”
The drive or network connection that the shortcut IBM Access Support.lnk refers to is unavailable. Make sure that the disc is properly inserted to the network resource is available, and then try again. "
Help!You'll need to find your iTunes folder. It's usually located on your main hard disk under My Documents/My Music/iTunes. Copy this whole folder to another hard drive (if possible) or burn it on a CD (probably will take more than one--depending upon how large your library is) or DVD. Once you have a good backup of your library, try downloading and reinstalling iTunes.
-
I am working on an Activity Box problem. I got some errors, Please Help and Thanks in advance!!!
My program likes:
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
/*ActivityBox Applet */
public class ActivityBox extends Applet {
//Declarations
String panelString = new String("News from the field.");
String southString = new String("South Button");
String infoString = new String("Type here.");
String kbString = new String("East ");
MousePanel cp = new MousePanel(100,100,panelString);
MousePanel ep = new MousePanel(100,100, kbString);
MousePanel np = new MousePanel(50,50);
MousePanel sp = new MousePanel(100,100);
MousePanel wp = new MousePanel(100,100,"West - Type here");
TextField myText = new TextField(infoString);
Button southButton = new colorChanger(southString);
colorChanger Blues = new colorChanger(Color.blue);
buttonListener Zap = new buttonListener(cp, myText, ep);
kbListener Tap = new kbListener(ep, kbString);
//init
public void init() {
setLayout(new BorderLayout(5,5));
np.addMouseListener(Blues);
add("North",np);
np.add(myText);
np.setBackground(Color.Cyan);
sp.addMouseListener(Blues);
southButton.addActionListener(Zap);
sp.add(southButton);
add("South", sp);
sp.setBackground(Color.Cyan);
ep.addMouseListener(Blues);
add("East",ep);
ep.setBackground(Color.Cyan);
wp.addMouseListener(Blues);
wp.addKeyListener(Tap);
add("West",wp);
wp.setBackground(Color.Cyan);
cp.addMouseListener(Blues);
add("Center",cp);
cp.setBackground(Color.Cyan);
/* MousePanel */
class MousePanel extends Panel {
public String nameTag = "";
Dimension myDimension = new Dimension(15,15);
//Constructor 1 - no name tag
MousePanel(int h, int w) {
myDimension.height = h;
myDimension.width = w;
//Constructor2 - with name tag
MousePanel(int h, int w, String nt) {
myDimension.height = h;
myDimension.width = w;
nameTag = nt;
//paint
public void paint(Graphics g) {
g.drawString(nameTag,5,10);
//change text
public void changeText(String s){
nameTag = s;
repaint();
public Dimension getPreferredSize(){
retrun myDimension;
//getMinimumSize
public Dimension getMinimumSize(){
return myDimension;
class colorChanger implements MouseListener {
private Color oldColor = new Color(0,0,0);
private Color changeColor = new Color(0,0,0);
//constructor
colorChanger(Color it){
changeColor = it;
//Methods required to implement MouseListener interface
public void mouseEntered(MouseEvent e) {
oldColor = e.getComponent().getBackground();
e.getComponent().requestFocus();
public void mouseExited(MouseEvent e) {
e.getComponent().setBackground(oldColor);
e.getComponent().transferFocus();
public void mousePressed(MouseEvent e) {
public void mouseReleased(MouseEvent e) {
public void mouseClicked(MouseEvent e) {
class buttonListener implements ActionListener {
private MousePanel it1 = new MousePanel(0,0,"");
private MousePanel it2 = new MousePanel(0,0,"");
private TextField from = new TextField("");
private String words = new String("");
//constructor
buttonListener(MousePanel target1, TextField source, MousePanel target2){
it1 = target1;
from = source;
it2 = target2;
//Methods required to implement ActionLIstener interface
public void actionPerformed(ActionEvent e) {
words = from.getText();
it1.changeText(words);
from.setText("");
it2.changeText("");
}//end buttonListener
class kbListener implements KeyListener {
private MousePanel it = new MousePanel(0,0,"");
private String putString = new String("");
//constructor
kbListener(MousePanel target, String display){
it = target;
putString = display;
//Methods required to implement KeyListener interface
public void keyPressed(KeyEvent e) {
public void keyReleased(KeyEvent e){
public void keyTyped(KeyEvent e){
putString = putString + e.getKeyChar();
it.changeText(putString);
}When I compiled it, I got:
ActivityBox.java:18: cannot resolve symbol
symbol : constructor colorChanger (java.lang.String)
location: class colorChanger
Button southButton = new colorChanger(southString);
^
ActivityBox.java:24: cannot resolve symbol
symbol : constructor BorderLayout (int,int)
location: class BorderLayout
setLayout(new BorderLayout(5,5));
^
ActivityBox.java:28: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
np.setBackground(Color.Cyan);
^
ActivityBox.java:33: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
sp.setBackground(Color.Cyan);
^
ActivityBox.java:36: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
ep.setBackground(Color.Cyan);
^
ActivityBox.java:40: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
wp.setBackground(Color.Cyan);
^
ActivityBox.java:43: cannot resolve symbol
symbol : variable Cyan
location: class java.awt.Color
cp.setBackground(Color.Cyan);
^
ActivityBox.java:72: cannot resolve symbol
symbol : class retrun
location: class MousePanel
retrun myDimension;
^
.\BorderLayout.java:8: setLayout(java.awt.LayoutManager) in java.awt.Container c
annot be applied to (BorderLayout)
p.setLayout(new BorderLayout ());
^
.\BorderLayout.java:9: cannot resolve symbol
symbol : variable NORTH
location: class BorderLayout
p.add("North", BorderLayout.NORTH);
^
.\BorderLayout.java:10: cannot resolve symbol
symbol : variable SOUTH
location: class BorderLayout
p.add("SOUTH", BorderLayout.SOUTH);
^
.\BorderLayout.java:11: cannot resolve symbol
symbol : variable EAST
location: class BorderLayout
p.add("EAST", BorderLayout.EAST);
^
.\BorderLayout.java:12: cannot resolve symbol
symbol : variable WEST
location: class BorderLayout
p.add("WEST", BorderLayout.WEST);
^
.\BorderLayout.java:13: cannot resolve symbol
symbol : variable CENTER
location: class BorderLayout
p.add("CENTER", BorderLayout.CENTER);
^
14 errorsAgain compile ur code .... I don't seem to get all those errors
-
Hi!
I have some problem and I need help..
fail-box problem with lokal and network system.
I dont know how to solve it'
Thank you...Are you still facing the same issue ? if yes then please post the screenshot of exact error and few details such as if you are getting this error while opening a specific file or on double click on Muse itself ?
Thanks,
Sanjit -
I have been working all morning to add a horizontal spry menu
bar to the menu_bar section of the Mother Earth Template (
http://www.webshapes.org/template/details/id/200702247034127204)
from Webshapes (
http://www.webshapes.org/)
Anyway, I had to do some crazy positioning to get the
submenus to lign up with the menus and now the submenus will not
display in IE because of an 'expanding box problem' All of the
problems are associated with either my "ul.MenuBarHorizontal ul" or
my "ul.MenuBarHorizontal ul ul"
Can anyone help me with this? I am a beginner with
Dreamweaver and have been having a lot of troubles with it.
Thanks.Hello Tom, Is it a template related error message?
I would suggest you to use percentages when setting the width
and height values. -
Spry Vertical Submenu - Expanding Box Problem, white background
Hello everyone. I've recently incorporated a Spry Vertical Menu on my site for the first time and I'm experiencing problems with the submenu in IE7. (Things look fine in FF, Safari, and Opera.) A white box appears behind the text area (the "bios" and "contact us" links). And....In IE6 the entire menu bar becomes a horizontal mess.
I've come to learn that this is called an Expanding Box Problem but I don't know how to fix it. Perhaps this is seperate issue from the white panel issue altogether. I dunno. Can anyone be of assistance? I've been trying to solve this problem for days.
http://www.exposedproductionsnyc.com
Below is the CSS:
/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
list-style-type: none;
font-size: 100%;
cursor: default;
width: 8em;
padding-top: 0px;
padding-right: 0;
padding-bottom: 0;
padding-left: 31.5px;
background-color: #000;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 160px;
background-color: #000;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
left: 0;
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
width: 100px;
padding-left: 29px;
padding-top: 3px;
margin-top: 1px;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
/* Submenu containers have borders on all sides */
/*ul.MenuBarVertical ul
border: 1px none #CCC;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
display: block;
cursor: pointer;
background-color: #000;
padding: 0.5em 0em;
color: #FFF;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
background-color: #000;
color: #6CC3D7;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
background-color: #000;
color: #6CC3D7;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
background-color: transparent;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
background-color: transparent;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarVertical li.MenuBarItemIE
display: inline;
f\loat: left;Long answer = z-index
http://www.smashingmagazine.com/2009/09/15/the-z-index-css-property-a-comprehensive-look/
Nancy O. -
Expanding box problem in some browsers
My bottom three dividers are having an expanding box problem in some browers. Any idea how to fix? This is my first website and I am clueless.....
www.privateinsurancebrokers.com
Source Code:
V <div id="container">
<div id="main_image"><img src="Images/ThreeArch.jpg" width="960" height="400" alt="Kenneth G. Harris Insurance Agency" /></div>
<div id="left_colum">
<strong><a href="employeebenefits.html"><img src="Images/Website_EmployeeBenefits.jpg" width="310" height="127" alt="Employee Benefits Orange County" /></a>Employee Benefits
</strong><br />
Since 1972, Kenneth G. Harris Insurance Agency has advocated for our clients in the process of securing the highest value employee benefit program. <a href="employeebenefits.html" target="_new">Learn More»</a> </div>
<div id="center_column"><strong><a href="HealthInsurance.html"><img src="Images/Family and Individual Insurance.jpg" alt="Family and Individual Insurance Services" width="310" height="127" align="top" /></a>Individual & Family Insurance Services
</strong>Kenneth G. Harris Insurance Agency will work with our insurance and financial partners to assist you with all aspects of your personal insurance needs. <a href="individualinsurance.html" target="_new">Learn More»</a></div>
<div id="right_column"><a href="news.html"><img src="Images/blog.jpg" width="310" height="127" alt="Health and Life Insurance News Orange County" /></a>
<strong>Information</strong> <br />
Keep up-to-date with the latest employee benefits and private insurance news. Let us serve as your resource for health care reform news and<a href="article2.html" title="Kenneth G. Harris Insurance Agency Group Health and Individual Insurance" target="_new"> more»</a></div>
</div>Your CSS Layout has a provision for clearing floats but I don't see it in your HTML markup.
Insert a float clearing <br> <p> or <hr> right above your footer division like so:
<hr class="clearfloat" />
<div class="footer">
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
10.4.7 MLTE black box problem
Hi all
Anyone get a black MLTE box problem after the 10.4.7 upgrade?
The multilingual text engine in the open source game Aleph One after the upgrade to 10.4.7 - shows a black box in the chat area. It is not always a problem - about 30% of the games I start seem to have it.
ThanksI just recieved an email from F-Secure, after I told them, that no attachments sent from Mail (after 10.4.7) go through to F-Secure / Windows users.
They have investigated the problem and reported this:
The attachments MIME header has the following fields: name and filename.
For some reason Mail removes the blank spaces from the name field but leaves the filename field untouched. These differences in the fields make F-Secure remove the attachment (alarm).
One "fix" is removing the blank spaces from the filename, for example File 1.pdf >> File1.pdf. But this in not easy computing. Everything works just fine with 10.4.6 and before, but 10.4.7 >> is causing the problems.
PowerMac Dual Core G5/2,3GHz | 250Gb | SD | 23 Cinema • PB G4/1,67GHz | 15,2 | 8 Mac OS X (10.4.7) AppleFarmer -
I'm having the text field problem. I have two text boxes (inside my .fla file) one i can add more text without the box expanding and can then select the text and croll down to view the missing text and the other one just gets longer the more text I add. I'm trying to duplicate the text box that does not expand the more text I add to it.
All the settings in the properties are the same on both and I've tried it in MX and CS3 and the both have the same properties in both.
I'm stumped can anyone help.
I'm attaching the file.
Thanks!If you right click the textfield on the stage you can select the "scrollable" option for it. Another option to duplicate the textfield is to copy/paste it.
-
Re: (forte-users) Forte on Solarix box problem
Hi All,
Thank you very much, for all the help you
people extended towards this problem.Its solved, the
problem was i had 2 users, and i started from one user
Nodemanager ( which does not have oracle home path
set) and from the other user id, i started the
launcher, ( which have oracle home set), so the
application, was running locally, but when i
distributed the application, it was not finding oracle
home variable from the other user, from which node
manager was started. So that was the problem. I found
this specifically after setting FORTE_STACK_SIZE,
variable(as suggested by Thomas), it was throwing
error saying that, tns name is not resolved,( kudos to
Thomas :) ).
Once again thank you all.
Babu
--- Thomas Degen - Sun Germany Forte Tools - Bonn
<thomas.degensun.com> wrote:
>
Hi Babu,
ok, maybe we need to go now a bit more in some
details of
your Forte nodemanager environment on the Sparc
Solaris box.
Q1: Which operating system release ? Solaris
2.51,2.6,7 or 8 ?
Q2: Which Forte Release are you running on all nodes
Q3: Where's the Forte environment manager located ?
Q4: Which Oracle RDBMS release have you installed on
the Sun ?
Q5: Which Oracle client release have you probably
installed
on your PC which is running NT4 I guess ?
(These questions are just the generic Tech Support
approach
to get an idea about your environment).
Q6: You mentioned in your very first message that
during
Forte installation on the Sun, you've left the
path to
Oracle empty....it is mandatory for the Forte
nodemanager
on any box/operating system to find in its
environment
the relevant third party environmental
informations...
For Oracle the Forte nodemanager on Sun
requires a
valid setting for ORACLE_HOME !
Could you send me the complete environment for
the user
who is starting the Forte nodemanager on your
Sun ?
Q7: This is more a necessary suggestion than a
question
but is and when yes, how have you setted
FORTE_STACK_SIZE
on the Sun ?
If it's not there or only set as
FORTE_STACK_SIZE=42000,
then add or reconfigure FORTE_STACK_SIZE to
100000 in the
nodemanager's environment and re-boot the
nodemanager!
Q8: Once more a recommendation than question but can
you
just try to access your Oracle DB instance with
the Forte
sample program DynamicSQL ? You will find this
in
the $FORTE_ROOT/install/examples/database
directory
and it will require the Utility plan that you
may import
from $FORTE_ROOT/install/examples/frame .
Try to access your Oracle instance from local
directly
out of your workspace and later on full
distributed
via an own Forte server partition from the
Partition
Workshop. Send to me all errors thrown during
these
procedures on the client and within the remote
server
partition logfile on the Sun.
BTW: When you can access the Oracle RDBMS running in
the
Forte IDE locally, this is an indicator to me that
you have
setted up the Oracle client on your PC and have
configured
Oracle locally correctly (tnsnames.ora) to connect
to your
remote Oracle instance...hence when test running
locally, Forte
will use this locally configured Oracle SQL*Net V2
client
to connect to your remote Oracle RDBMS instance.
That's one
shortcut making it possible for you as the Forte
developer
to debug DB access within the Forte IDE...when
running completly
distributed debugging of remote partitions is not
possible.
Hope this helps ! Best Regards from Germany !
Thomas
Thomas Degen
Sun Microsystems - Forte Tools
Forte CTE & Sustaining Group
Technical Support Germany
tel.:+49.228/91499-50
MailTo:thomas.degensun.com
At 10:55 09.09.00 -0700, you wrote:
HI Mark,
I have setup all the resources properly.Even
given new names, and tried again, no use so far.
Thanks,
Babu
--- Mark Musgrove <musgrovemarkyahoo.com> wrote:
The message "Loading partition
DatabaseTestSolaris_cl0_Part2 built on
<unknown>."
is
bizarre.
It sounds like the partition workshop is notassigning
the partition containing the DBSession to thecorrect
server node. Normally you would see "built on<node name>."
Have you setup the supported resource managerson
the solaris node? If not, then forte will notassign the
DBSession to the correct node. You mustdesignate in
the environment that the server node supportsall of
the required resources (Oracle, ODBC, etc).
Mark Musgrove
Senior Consultant
Object Technologies, Inc
(540) 977-3861 (home)
(540) 977-2794 (fax)
http://mail.yahoo.com/Hi All,
Thank you very much, for all the help you
people extended towards this problem.Its solved, the
problem was i had 2 users, and i started from one user
Nodemanager ( which does not have oracle home path
set) and from the other user id, i started the
launcher, ( which have oracle home set), so the
application, was running locally, but when i
distributed the application, it was not finding oracle
home variable from the other user, from which node
manager was started. So that was the problem. I found
this specifically after setting FORTE_STACK_SIZE,
variable(as suggested by Thomas), it was throwing
error saying that, tns name is not resolved,( kudos to
Thomas :) ).
Once again thank you all.
Babu
--- Thomas Degen - Sun Germany Forte Tools - Bonn
<thomas.degensun.com> wrote:
>
Hi Babu,
ok, maybe we need to go now a bit more in some
details of
your Forte nodemanager environment on the Sparc
Solaris box.
Q1: Which operating system release ? Solaris
2.51,2.6,7 or 8 ?
Q2: Which Forte Release are you running on all nodes
Q3: Where's the Forte environment manager located ?
Q4: Which Oracle RDBMS release have you installed on
the Sun ?
Q5: Which Oracle client release have you probably
installed
on your PC which is running NT4 I guess ?
(These questions are just the generic Tech Support
approach
to get an idea about your environment).
Q6: You mentioned in your very first message that
during
Forte installation on the Sun, you've left the
path to
Oracle empty....it is mandatory for the Forte
nodemanager
on any box/operating system to find in its
environment
the relevant third party environmental
informations...
For Oracle the Forte nodemanager on Sun
requires a
valid setting for ORACLE_HOME !
Could you send me the complete environment for
the user
who is starting the Forte nodemanager on your
Sun ?
Q7: This is more a necessary suggestion than a
question
but is and when yes, how have you setted
FORTE_STACK_SIZE
on the Sun ?
If it's not there or only set as
FORTE_STACK_SIZE=42000,
then add or reconfigure FORTE_STACK_SIZE to
100000 in the
nodemanager's environment and re-boot the
nodemanager!
Q8: Once more a recommendation than question but can
you
just try to access your Oracle DB instance with
the Forte
sample program DynamicSQL ? You will find this
in
the $FORTE_ROOT/install/examples/database
directory
and it will require the Utility plan that you
may import
from $FORTE_ROOT/install/examples/frame .
Try to access your Oracle instance from local
directly
out of your workspace and later on full
distributed
via an own Forte server partition from the
Partition
Workshop. Send to me all errors thrown during
these
procedures on the client and within the remote
server
partition logfile on the Sun.
BTW: When you can access the Oracle RDBMS running in
the
Forte IDE locally, this is an indicator to me that
you have
setted up the Oracle client on your PC and have
configured
Oracle locally correctly (tnsnames.ora) to connect
to your
remote Oracle instance...hence when test running
locally, Forte
will use this locally configured Oracle SQL*Net V2
client
to connect to your remote Oracle RDBMS instance.
That's one
shortcut making it possible for you as the Forte
developer
to debug DB access within the Forte IDE...when
running completly
distributed debugging of remote partitions is not
possible.
Hope this helps ! Best Regards from Germany !
Thomas
Thomas Degen
Sun Microsystems - Forte Tools
Forte CTE & Sustaining Group
Technical Support Germany
tel.:+49.228/91499-50
MailTo:thomas.degensun.com
At 10:55 09.09.00 -0700, you wrote:
HI Mark,
I have setup all the resources properly.Even
given new names, and tried again, no use so far.
Thanks,
Babu
--- Mark Musgrove <musgrovemarkyahoo.com> wrote:
The message "Loading partition
DatabaseTestSolaris_cl0_Part2 built on
<unknown>."
is
bizarre.
It sounds like the partition workshop is notassigning
the partition containing the DBSession to thecorrect
server node. Normally you would see "built on<node name>."
Have you setup the supported resource managerson
the solaris node? If not, then forte will notassign the
DBSession to the correct node. You mustdesignate in
the environment that the server node supportsall of
the required resources (Oracle, ODBC, etc).
Mark Musgrove
Senior Consultant
Object Technologies, Inc
(540) 977-3861 (home)
(540) 977-2794 (fax)
http://mail.yahoo.com/ -
KVM with mini and out of box problem
#1 Just bought a refurbed mini, want to share kvm as I have in the past with a wintel laptop.
Anyone using a kvm controller with their mini? I've got a iogear with my existing wireless k/m and the mini doesn't like it very much. Sporadic mouse movements, and weird mouse type clicks happening when moving around menus(such as right click result on screen when hand isn't near the button).
I went to a wired mouse for a test as the kvm had a separate usb port for kybd and mouse...that hasn't completely solved the problem.
#2 I've got a 2nd problem which may be causing the keyboard issues. I unboxed my mini, started it and when prompted hooked up my old g4 mac as a target disk unit. The mini flawlessly transferred over all my email, programs, icon's, etc in a little under 2 hours. Rebooted and logged right in to my old environment! Very impressive. Patched it after that and it rebooted fine.
The other night, I turned it on, and the screen resolution was changed. Didnt think much of it thinking the kvm may be messing with it.
Two nights ago I checked my mail and walked away for a while..upon my return it locked. Held pwr key in until it shutdown and went to bed. Last night I turned it on, got the "Osx has recovered.." message. Cleared that and as soon as I opened mail it crashed again(getting the your computer has encountered a problem black box error..). Restarted tried my IM client...crash.... reboot, try firefox...crash.
I haven't tried booting and repairing disk permissions yet. Any other thoughts?
thanksI use a TrendNet KVM with my Mini and PC.
Empirically I've concluded that a wireless mouse is not a good idea with this setup; I use a wired USB mouse now.
I had to try a couple of KVM brands before I found a good fit. Even so, occasionally I get a key repeat from a single key press, but otherwise everything is fine.
My experience has been that any kind of PS/2->USB adapter used with a KVM is a bad idea. The fewer converters the better.
I'd recommend not using the KVM until you get your other issues with the Mini sorted out.
It is possible that migrating your settings from other Mac is causing some of your problems. -
"JPEG Options" Box Problem--Help!
I am new to Lightroom and having a problem using the "Export Actions" function. I am a wedding editor and I send thousands of files through the Bridge Photoshop>Image Processor every week. Well now that I switched over to Lr, I am using the Export Actions function during exporting in order to run my Photoshop actions on the files.
Here's what I do: I export Tiff files and save them as a Jpeg, while also running an Export Action. As a Bridge image processor action, this worked perfectly fine (ie Photoshop opened the files, ran the action, saved, and closed). Now that I am running the action through Lr as an Export Action, Photoshop displays a "JPEG Options" save box for EACH file that you must click "OK" in order to go on to the next file. Again, I run thousands of files and I cannot click "OK" on each one.
Why is this "JPEG Options" box suddenly appearing when it never used to? How can I get Lr/Photoshop to run this action like normal (save and close without being prompted by me)?
Additional Infor: I have Lightroom 2 and Photoshop CS3.
When I create the droplets in Photoshop, I have "Override Action Open Commands" unchecked.
[See "Problem with a Scott Kelby Action" post below for someone who had the same exact problem]Another thing you could do (although I'm sure you won't want to do it) is export TIFF images from Lightroom so that they include all of the Lightroom changes. Then exit Lightroom and load those exported images into Bridge and run your action.
I like Lightroom, and I use it every day. But occasionally I find that it's easier to just forget about it and do all of the work in Photoshop. This is probably because I haven't taken the time to really become proficient with Lightroom, especially integrating it with Photoshop. So I just take the easy way out when I'm forced to do so. -
Dialog Box Problem in BDC Program...
Hi friends,
I am facing a problem while creating service entry sheet no throgh bdc ( Tcode ML81N) . I use 'no disply' mode in call transaction method.
whenever i regarding in our development client there is no dialog box with the following screen. But in QAS server it displays the same. I have already include the following code in my bdc program. But the dialog box been displayed finally. Our user doesn't require this interaction. Kindly give solutions.
perform bdc_dynpro using 'SAPLMLSR' '0110'.
perform bdc_field using 'BDC_CURSOR'
'IMKPF-BLDAT'.
perform bdc_field using 'BDC_OKCODE'
'=OK'.
perform bdc_transaction using 'ML81N'.
Thanks & Regards,
SP.Manavalan.Hi,
Thanks for reply.
I have checked log using SM37, it is not showing any error.
Log details are as follows...
Date Time Message text Message class Message no. Messag
08.05.2010 11:47:10 Job started 00 516 S
08.05.2010 11:47:10 Step 001 started (program ZSDB_J1I5_REG_UPDATE_BDC, variant 1101_1_RMA, user ID STK) 00 550 S
08.05.2010 11:47:20 Job finished 00 517 S -
Texture in a box - problem(wrong colours)
hello guys I want to create a box with a texture of chess board on top of it, but the problem is that it loads just a dark blue colour surface instead of blue and white squares surface,feel free to check what I mean, here is what the program shows
http://img97.imageshack.us/i/checkes.png/
and here the original texture I want to put in the box
http://img266.imageshack.us/i/arizonae.jpg/
here also is my code
import com.sun.j3d.utils.behaviors.keyboard.KeyNavigatorBehavior;
import javax.media.j3d.Transform3D;
import javax.swing.JFrame;
import java.awt.*;
import javax.swing.*;
import javax.media.j3d.Canvas3D;
import com.sun.j3d.utils.universe.SimpleUniverse;
import javax.media.j3d.BranchGroup;
import com.sun.j3d.utils.geometry.Box;
import com.sun.j3d.utils.image.TextureLoader;
import javax.vecmath.*;
import javax.media.j3d.DirectionalLight;
import javax.media.j3d.BoundingSphere;
import javax.media.j3d.Appearance;
import javax.media.j3d.ImageComponent2D;
import javax.media.j3d.Material;
import javax.media.j3d.Texture;
import javax.media.j3d.Texture2D;
import javax.media.j3d.TransformGroup;
import com.sun.j3d.utils.behaviors.mouse.*;
public class vrlm extends JFrame {
* The SimpleUniverse object
protected SimpleUniverse simpleU;
* The root BranchGroup Object.
protected BranchGroup rootBranchGroup;
* Constructor that consturcts the window with the given name.
* @param name
* The name of the window, in String format
public vrlm(String name) {
// The next line will construct the window and name it
// with the given name
super(name);
// Perform the initial setup, just once
initial_setup();
* Perform the essential setups for the Java3D
protected void initial_setup() {
// A JFrame is a Container -- something that can hold
// other things, e.g a button, a textfield, etc..
// however, for a container to hold something, you need
// to specify the layout of the storage. For our
// example, we would like to use a BorderLayout.
// The next line does just this:
getContentPane().setLayout(new BorderLayout());
// The next step is to setup graphics configuration
// for Java3D. Since different machines/OS have differnt
// configuration for displaying stuff, therefore, for
// java3D to work, it is important to obtain the correct
// graphics configuration first.
GraphicsConfiguration config = SimpleUniverse
.getPreferredConfiguration();
// construct the canvas.
Canvas3D canvas3D = new Canvas3D(config);
// And we need to add the "canvas to the centre of our
// window..
getContentPane().add("Center", canvas3D);
// Creates the universe
simpleU = new SimpleUniverse(canvas3D);
// First create the BranchGroup object
rootBranchGroup = new BranchGroup();
* Adds a light source to the universe
* @param direction
* The inverse direction of the light
* @param color
* The color of the light
public void addDirectionalLight(Vector3f direction, Color3f color) {
// Creates a bounding sphere for the lights
BoundingSphere bounds = new BoundingSphere();
bounds.setRadius(1000d);
// Then create a directional light with the given
// direction and color
DirectionalLight lightD = new DirectionalLight(color, direction);
lightD.setInfluencingBounds(bounds);
// Then add it to the root BranchGroup
rootBranchGroup.addChild(lightD);
* Adds a box to the universe
* @param x
* x dimension of the box
* @param y
* y dimension of the box
* @param z
* z dimension of the box
Appearance vasixrwma(){
Appearance vasixrwmaa = new Appearance();
//load the texture
String filename = "C:/Documents and Settings/Andy/Desktop/Arizona.jpg";
TextureLoader loader = new TextureLoader(filename, this);
ImageComponent2D image = loader.getImage();
if(image == null) {
System.out.println("load failed for texture: "+filename);
Texture2D texture = new Texture2D(Texture.BASE_LEVEL, Texture.RGBA,
image.getWidth(), image.getHeight());
texture.setEnable(true);
texture.setImage(0, image);
texture.setMagFilter(Texture.BASE_LEVEL_LINEAR);
texture.setMinFilter(Texture.BASE_LEVEL_LINEAR);
vasixrwmaa.setTexture(texture);
return vasixrwmaa;
public void addBox(float x, float y, float z, Color3f diffuse, Color3f spec, float a, float b, float c) {
// Add a box with the given dimension
// First setup an appearance for the box
Appearance app = new Appearance();
Material mat = new Material();
mat.setDiffuseColor(diffuse);
mat.setSpecularColor(spec);
mat.setShininess(5.0f);
app.setMaterial(mat);
Box box = new Box(x, y, z, app);
// Create a TransformGroup and make it the parent of the box
Transform3D meros = new Transform3D();
meros.setTranslation(new Vector3d(a, b, c));
TransformGroup tg = new TransformGroup(meros);
Appearance appear = vasixrwma();
box.getShape(Box.TOP).setAppearance(appear);
tg.addChild(box);
// Then add it to the rootBranchGroup
rootBranchGroup.addChild(tg);
//code for mouse navigation
tg.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
tg.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
MouseRotate myMouseRotate = new MouseRotate();
myMouseRotate.setTransformGroup(tg);
myMouseRotate.setSchedulingBounds(new BoundingSphere());
rootBranchGroup.addChild(myMouseRotate);
MouseTranslate myMouseTranslate = new MouseTranslate();
myMouseTranslate.setTransformGroup(tg);
myMouseTranslate.setSchedulingBounds(new BoundingSphere());
rootBranchGroup.addChild(myMouseTranslate);
MouseZoom myMouseZoom = new MouseZoom();
myMouseZoom.setTransformGroup(tg);
myMouseZoom.setSchedulingBounds(new BoundingSphere());
rootBranchGroup.addChild(myMouseZoom);
// new code for key navigation
KeyNavigatorBehavior keyNavBeh = new KeyNavigatorBehavior(tg);
keyNavBeh.setSchedulingBounds(new BoundingSphere(new Point3d(),1000.0));
rootBranchGroup.addChild(keyNavBeh);
* Finalise everything to get ready
public void finalise() {
// Then add the branch group into the Universe
simpleU.addBranchGraph(rootBranchGroup);
// And set up the camera position
simpleU.getViewingPlatform().setNominalViewingTransform();
public static void main(String[] argv) {
vrlm bc = new vrlm("checkers");
bc.setSize(250, 250);
bc.addBox(10f, 10f, 10f, new Color3f(0.8f, 0.52f, 0.25f), new Color3f(0.8f, 0.52f, 0.25f), 0.7f, -0.0415f, 0.7f);
bc.addDirectionalLight(new Vector3f(0f, 0f, -1),
new Color3f(4f, 4f, 0f));
bc.finalise();
bc.show();
return;
please everyone's help is appreciated, because its urgent, thank you very much!!!!Dave,
You won't need that hovering window next time!
Jerry -
Form text box problems please help???
I am creating a form in adobe XI and am having some problems with a text field I am trying to get the text field to allow me to add multi-line text with rich text editing and I am unable with the setting I have checked. I have gone to properties for the text field and have checked them as follows, Font size is at auto then I went to Options and set it to left alignment and selected multi-line and rich text formatting. But when I have put all the text in the box and I go back to a sentence to make it bold I am unable to do so... Please help??????
How are you trying to set the text as bold? Are you using the Properties bar?
Maybe you are looking for
-
Question in asa site-site vpn about "ident" ??
hi all , i have a topology as (192.168.0.0/24)LAN1----------------asa1---------------internet-----------------------asa2------------------LAN2(192.168.2.0/24) now , lan 1 can reach lan 2 by site to site vpn but i have a question : when i have #sh cry
-
Album Organization Advice (warning: I come from PC Land...)
OK. Trying to organize around 50K of images coming from a PC. I am almost positive that when I run a dupe delete routine I will be down to 25K or 20K. Right now I am plunking through a "manual" import of all my PC folders with the attendant duplicate
-
Always resetting Apple TV to watch downloaded movies or content
I have a Sony Bravia 46" flat panel TV connected to Apple TV. (166g) The Apple TV is connected to a GEFEN 3x1 HDMI switch which is working properly. Unfortunately, every time I purchase a movie or to watch anything using the Apple TV, the same has to
-
Which table will contain user entry info
HI all, I have duplicated user in OID and I am finding the way to clean them up. Any way, I am looking for tables in ODS schema that contained users and group they belong to so I can use ldapdelete to clean them up. Please let me know which tables in
-
thats it , how do i turn on the camera which is inbuilt ?