Having a problem with Actionscript. Need help
I'm trying to set up the first page in my project so that I capture a person name... and I can use it again later on. I had discussed this in a previous thread with Ned Murphy:
http://forums.adobe.com/message/3319540#3319540
I half way have this working. For some reason when I type in the name, only parts of it appear when I retrieve it.
Here's a look at my actionscript on the first page:
stop();
//Setting Up Name TextInput Field and Variable
var userInput:String="";
//Enter Button Setup
enter_btn.addEventListener(MouseEvent.CLICK, copyText);
function copyText(e:MouseEvent):void
userInput=name_ti.text;
gotoAndPlay(2);
And here's the actionscript on the retrieval page
//Textbox Greeting
greeting_txt.text="Hello "+userInput+(!);
Where am I going wrong?
Have you tried embedding the font of your input text area? If you're using Flash CS5 Pro this is very important.
Similar Messages
-
I am having a problem with ICLOUD. Help!
I am having a problem with my icloud. So here is the story. I had iphone 4. My contacts were backed. Someone stole my iphone. I got a new iphone 4s. My contacts did not sync from my previous iphone 4. so someone told me to restore to iphone 4 backup. I did. And wow! i got all my contacts back. I want all my contacts to be saved. And i don't want to lose them, it took me a while to build this list properly. With email and number and address.
Here is what i tried so far, i backed up from itunes to computer, then backup to icloud, then I did from my phone, i turned the contact switch on also, and the swtich on to back up to icloud. When I go to icloud.com. it's not there. If anyone can help me with this issue I would appreciate it. because i have a lot of contacts, and I need to save them in a way, I won't ever lose them.You would need to backup into icloud again also if you have enough room to backup. If not purchase more icloud backup or backup to itunes. Sync your contacts back to your email where they will always be.
-
Problem with tables -- need help!
I am having problems with table formatting, when using
Preformatted text. The tables look fine in the WYSIWYG editor, but
have lots of extra space above and below the text when looking at
the output files.
I will attach the code from one of the HTML files from my
project, so you can see what I'm talking about.
Thanks.Well, if you're talking about the single-celled table with
the line:
<p class=Preformatted>[assembly:
Ace.AceAssembly]</p>
</pre>
... you can eliminate the <P> tags. that will give you
one line less. Otherwise, your remaining space is the result of the
<PRE> tag. It, like the <XMP> tag, gives it one line of
space beneath as well.
Your alternative beyond that would be to, when needed, wrap
up the script in Javascript. That line, for instance, wouldn't need
it. -
Serious problem with database need help
hello experts
i am working with MS-ACCESS and connecting it with java programing
now the problem with me are
according to my need i have to create a table that contain Autonumber field
but when i insert element in this table by query
String query1 = "insert into Forum (Subject,Author,Date,Reply) values('"+param1+"','"+username+"','"+dateformat+"',"+reply+")";
st1 = con1.createStatement(); it gives sql exception but when i remove
autonumber field and make it simple field it works ok but i want to keep autonumber field and thn want to insert it
is it possible to create a dynamic table in ms-access through java query like
String query3 = "create table"+"topicId"+"( message varchar(1000) NOT NULL,author varchar(50) NOT NULL, date varchar(30) NOT NULL)";
here topic id some variable that contain table name
i think problem is that MS-ACCESS has no varchar data type plz help me
The complete code i written is as follow
<html>
<%@ page language="java" import="java.sql.*,java.text.*" %>
<head>
<title> Processing the post request </title>
</head>
<body background ="images/modbkgnd.jpg" bgproperties="fixed" >
<%
String param1="",param2="",topicId="";
Connection con1=null;
Statement st1=null;
ResultSet rs1=null;
int a=2,reply=0;
java.util.Date date = new java.util.Date();
DateFormat df ;
df = DateFormat.getDateInstance(DateFormat.FULL ,java.util.Locale.UK);
String dateformat = df.format(date);
String username = (String)session.getAttribute("forumlogin");
param1=request.getParameter("Subject");
param2 =request.getParameter("message");
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con1 = DriverManager.getConnection("jdbc:odbc:lingua");
String query1 = "insert into Forum (Subject,Author,Date,Reply) values('"+param1+"','"+username+"','"+dateformat+"',"+reply+")";
st1 = con1.createStatement();
out.print("hello i am here");
boolean posubject = st1.execute(query1);
out.print("hello i am here");
String query2 = "select *from Forum";
rs1 = st1.executeQuery(query2); //retriving table id for creating
out.print("hello i am here"); // message table
while(rs1.next())
topicId = rs1.getString(1);
String query3 = "create table"+"topicId"+"( message varchar(1000) NOT NULL,author varchar(50) NOT NULL, date varchar(30) NOT NULL)";
boolean createtable = st1.execute(query3);
out.print("hello i am here");
if(createtable)
String query4 = "insert into"+"topicId"+"values('"+param2+"','"+username+"','"+dateformat+"')";
boolean insertmess = st1.execute(query4);
}catch(SQLException ex){
out.print("sql exception");
finally
st1.close();
con1.close();
%>
</body>
</html>hello experts
first i change my Date to date and thn try but it was not working.
and thn i try as dinesh_tcs said
i change my query as
String query3 = "create table"+"topicId"+"( message string NOT NULL,author string NOT NULL, date string NOT NULL)";
but nothing help me
one more thing actually i don,t want to insert manually the field of autonumber what i want that my query work when i leave the autonumber field to insert values in the table ( or whatever way i want to insert values in that table by keeping autonuber given by MS_ACCESS)
plz do the change in code i have maintained above or if not possible thn write the query that u have tested -
Big problems with IMac-need help
I have an older model iMac G5 that my daughter has been using on week-ends when she comes home from the local college. She said that she was having a lot of problems with Safari quitting, getting weird messages with MS Office and kernel panics. I decided that the best thing to do would be to erase and install Leopard. During the installation process I got a message that Leopard could not install due to a problem with the base system. I then tried to install from the restore discs (which were backups that I had on hand since I couldn't find the originals) and from a Tiger install disc. I got errors each time. Now there was no longer an operating system on the iMac. I took it to the local genius bar. The genius seemed kind of frazzled since he was helping several people, but he seemed sure that it was the hard drive because of the kernel panics and the fact that he couldn't install anything onto the computer from an external firewire drive.
I purchased a new hard drive from Amazon and a friend who is very knowledgeable about these things installed it for me. We still couldn't install an operating system. We then installed it using Target Mode by putting the Tiger DVD on a Powerbook. I then proceeded with Software Update. I had no problems with applications like iTunes and DVD player. However, whenever I tried to upgrade the operating system I got this message "The digital signature for this package is incorrect. The package may have been tampered with or corrupted since being signed by "Apple". I used Disc Utility with the Tiger DVD and it showed no problems.
So, there is obviously something really wrong. I have no idea what it is. Any ideas out there? Should I take the iMac back to the genius bar? I don't want to spend a lot more money on it, since it is just used on week-ends when my daughter is home. Thanks.It could be any of those things, but likely is the motherboard. Take it in and have Apple look at it.
Let us know what they say, please. -
I faced a difficult problem with sysdba. The thing is, I don't have a user name " 1/2@3 ". But the moment I connected as 1/2@3 as sysdba, then it connected automatically and to utter surprise I could drop a user.
If it is so, then how the database will remain secure.
Definitely there is a solution and I need it urgently.Hi
c:\> sqlplus "/ as sysdba"
After logging into SQL, check the username using:
SQL> Show user
If the above command returns "sys", change the password of the user "sys" using:
SQL> Alter user sys identified by "yourpassword";
Thank You -
Cover Art Problem [is anyone else having this problem? I need help!]
all right, I just got a new lime 4G 8GB ipod nano for my birthday a few weeks ago. but one thing is driving me crazy: it keeps messing up my covers! First, a select few of my covers all became Avril Lavigne's Let Go. When I would listen to a track from one of those select cds, it would just be black. when i go to cover flow it was fine. Then, after restoring it, it was ok untill i charged it. Then the same covers became just black. on cover flow, in the menu, and when i listened to a track from them. It's driving me crazy! is anyone else having this problem? If so, how can i fix it?
Hey Dreamcatch,
If you added the album art manually, make sure you've added it to every track of the album.
Make sure you have the latest version of iTunes installed, currently 8.0.1.
You can download iTunes here: http://www.apple.com/itunes/download/
Try re-creating the iTunes library as described here: http://support.apple.com/kb/HT1451
Jason -
Having problems with burning - need help please!
when I try and burn a disk itunes says no recording
software found. Everytime I start up itunes it says the drivers associated with burning are missing. It ask me to
reinstall the software which I do and I have the same
problem. I have other burning software but cant burn any
itunes Ive purchased do to the format. Any help would be greatly appreciated.
The german note is:
Achtung
Die Registrierungseinträge für die iTunes Treiber zum Import und Brennen von CDs und DVDs fehlen. Diese kann Folge der Installation einer anderen Software zum Brennen von CDs sein. Bitte installieren sie iTunes erneut.
Could anybody please help me??I need more information about your hardware configuration. Run the iTunes Help menu -> Run CD Diagnostics... command and post the results here.
I'm assuming that you're not running 64-bit windows.
It sounds like the driver didn't get installed. You could try doing a repair install on iTunes --
Windows Start menu -> Settings -> Control Panels -> Add or Remove Programs
Select iTunes, Select Change/Remove button, Select "Repair" radio button, click OK.
If that doesn't work, you might try downloading just the CD drivers from :
http://www.gearsoftware.com/support/drivers.cfm
Get the first link, not the second one that talks about gearsec compatibility. -
I have adobe premiere elements 10 and I am having some problems with it please help
So here are the problems I'm having with Adobe Premiere Elements 10:
1. Transitions will not load. The word loading pops up and it won't come up.
2. The videos won't play smoothly. When I press play it skipps in a way it won't play smooth which makes it really hard to edit.
3. Keeps closing out on me. It will have a thing that pops up that says "Adobe premiere elements has stopped working and closes out of the program. It does it constantly.
Please help me I don't know what is wrong with it.The first two issues sound like a video driver problem.
What is the make/model of your video card/chip?
What is the installed video driver number and date?
For the last issue, it could be many things, including the video driver. I'd look over this ARTICLE, and if there is nothing in the first part, then move on to tuning up the OS an computer in the second part. That would probably be a good time to post the full specs. of your computer, and also both your Project and Source footage. Finally, part three covers many troubleshooting tips, and furnishes many links.
Good luck,
Hunt -
Problem with routing - Need help
Hello,
I need a little direction with what I think is a routing problem. Any help will be appreciated. My setup is as follows:
Cable Modem
27.177.21.9
WAN - Gi0/0
27.177.21.10
Cisco 2901
LAN - Gi0/1
192.168.1.250
Client
192.168.1.10
The Problem
Router can ping LAN interface
Router cannot ping WAN interface -X
Router can ping Cable Modem
Client
Client can ping LAN interface
Client can ping WAN interface
Client cannot ping Cable Modem -X
Here is my routing table:
Gateway of last resort is 27.177.21.9 to network 0.0.0.0 (this is my cable modem)
S* 0.0.0.0/0 [1/0] via 27.177.21.9
is directly connected, GigabitEthernet0/0
27.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 27.177.21.8/30 is directly connected, GigabitEthernet0/0
L 27.177.21.10/32 is directly connected, GigabitEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/1
L 192.168.1.250/32 is directly connected, GigabitEthernet0/1
Here is a portion of my configuration:
interface GigabitEthernet0/0
description Cable Internet$FW_OUTSIDE$$ETH-WAN$
ip address 27.177.21.10 255.255.255.252
zone-member security out-zone
duplex auto
speed auto
interface GigabitEthernet0/1
description hbc_staff$FW_INSIDE$$ETH-LAN$
ip address 192.168.1.250 255.255.255.0
zone-member security in-zone
duplex auto
speed auto
no mop enabled
ip default-gateway 27.177.21.9
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
ip route 0.0.0.0 0.0.0.0 27.177.21.9
ip route 192.168.1.0 255.255.255.0 27.177.21.9
Thanks in advanceHello Jon,
I continue to try different configurations to get my router to connect without success. I am now trying NAT and this is where we stand now. Any help will be much appreciated.
The problem
Router now pings everything by ip address or name
Client PC from inside the LAN cannot ping modem or Internet
Relevant parts of configuration:
ip domain name mydomain.org
ip name-server 24.247.15.53
ip name-server 66.189.0.100
interface GigabitEthernet0/0
description Internet$FW_OUTSIDE$ETH-WAN$
ip address 27.177.21.10 255.255.255.252
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
interface GigabitEthernet0/1
description hbc_staff$FW_INSIDE$$ETH-LAN$
ip address 192.168.1.250 255.255.255.0
ip nat inside
ip virtual-reassembly in
zone-member security in-zone
duplex auto
speed auto
no mop enabled
ip nat pool HBC-I 27.177.21.10 27.177.21.10 prefix-length 24
ip nat inside source list 7 pool HBC-I overload
ip route 0.0.0.0 0.0.0.0 27.177.21.9
ip route 192.168.1.0 255.255.255.0 GigabitEthernet0/1
access-list 7 permit 192.168.1.0 0.0.0.255
#show ip route
Gateway of last resort is 27.177.21.9 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 27.177.21.9
27.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 27.177.21.8/30 is directly connected, GigabitEthernet0/0
L 27.177.21.10/32 is directly connected, GigabitEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/1
L 192.168.1.250/32 is directly connected, GigabitEthernet0/1
When pinging the modem from a client inside the LAN this is what I get from NAT translations and statistics:
#sho ip nat translations ver
Pro Inside global Inside local Outside local Outside global
icmp 27.177.21.10:40709 192.168.1.8:40709 27.177.21.9:40709 27.177.21.9:40709
create 00:00:05, use 00:00:00 timeout:60000, left 00:00:59, Map-Id(In): 1,
flags:
extended, use_count: 0, entry-id: 4, lc_entries: 0
#sho ip nat statistics
Total active translations: 2 (0 static, 2 dynamic; 2 extended)
Peak translations: 2, occurred 00:00:04 ago
Outside interfaces:
GigabitEthernet0/0
Inside interfaces:
GigabitEthernet0/1
Hits: 104 Misses: 0
CEF Translated packets: 104, CEF Punted packets: 0
Expired translations: 7
Dynamic mappings:
-- Inside Source
[Id: 1] access-list 7 pool HBC-I refcount 2
pool HBC-I: netmask 255.255.255.0
start 27.177.21.10 end 27.177.21.10
type generic, total addresses 1, allocated 1 (100%), misses 0
Total doors: 0
Appl doors: 0
Normal doors: 0
Queued Packets: 0 -
Problems with G5-Need Help Narrowing Down Issue
I have I PowerMac G5 dual 2.0 GHz from the June 2004 bracket and am having issues getting it to turn on. When I press the power button I will get one of three results. One: the light will come on when pressed, the fans will rev and I can hear the hear drive start to work, but the power light will go back out after a second or two while the fans still spin. Second: the power button is depressed and no light comes on but the fans, hard drive start up, etc. Third but least common is that the power button is depressed and it will come on as normal, boot up just fine and I'm able to use the computer-going as far as running apps and games with no problem. I've taken the steps mentioned in other threads such as resetting the PSU, swapping batteries, reseating video card/RAM but the results with start up are varied so much as to I can't tell what (if anything) is helping. I don't know if it's power supply issue (because the fans and other things seem to work fine) or a motherboard issue (but that wouldn't explain why it works fine when it wants to). I'm stuck. Any help is greatl appreciated.
Hi fiveinchwrench-
Usually this problem is either a power supply or mother board. It sounds more like a power supply to me but there is no way to tell from here.
It may be worth taking it to an Authorized Apple Repair Center for a diagnosis. Both a power supply and a mother board will probably be in short supply, but the power supply will by far be the cheaper component.
Luck-
-DaddyPaycheck -
Problem with ReplaceALL-- Need Help
I want to replace "Â" with "& n b s p;" ...
Here is my code
String content = "Â checking Â";
content = content.replaceAll("\u00C2", "& n b s p;");
or
*content = content.replaceAll("[Â]", "& n b s p;");*
*or*
*content = content.replaceAll("Â", "& n b s p;");*
All the above cases works fine in JAVA 1.6 but in JAVA 1.5 its not working so please help
The only case working for me is the below one
*content = content.replaceAll("^\\p{ASCII}","& n b s p;");*
but this code will replace all the ASCII characters which will not solve my problem....Works fine on JRockit 1.5_015
-
Problem with ichat, need help reinstalling.
Hey guys, I'm new to mac so I need a little help.
I did something last night to my comp and I'm not sure what it was. But when I click on the iChat icon it just comes up with a ? I search in spotlight and it's not there. I must have deleted it while getting rid of some other things. I don't have time machine and I need some help reinstalling. When I bought the mac it had Tiger and I still have those disc, but right now I have upgraded to Leopard. Where can I find iChat to reinstall? I looked on the iLife section of the Tiger discs but I couldn't find it. Any info will help.
Thanksupdate
I downloaded pacifist and got ichat to reinstall from my Tiger 10.4.9 disc, however, now when I try to open iChat it says, You cannot use the application “iChat” with this version of Mac OS X. I have leopard 10.5.2. Does anyone know how to update the version I have? I use the mac updater but it doesn't find anything. -
Blacklight Problem with z61t - Need help!
I'm at my wit's end with this, so I would appreciate some help.
I cracked the LCD of my z61t a few weeks ago and I've gone through a number of ebay vendors trying to get a good LCD. The first one I'm 90% sure had a bad backlight. I plugged in the panel and the backlight didn't turn on. I plugged the cracked panel back in and its backlight worked. Returned it. The second panel I ordered was some generic panel even though the seller sold it as genuine. Returned it. The third panel just came in and when I plugged in the panel the backlight didn't turn on. I plugged the cracked panel in and its backlight didn't work.
So now I ask, what's the problem? When your backlight doesn't work the causes are (1) bad CCFL tube (2) bad inverter (3) bad display cable (4) bad motherboard. All 4 were working fine a week ago, and the laptop has just been sitting on my desk for the last week, so what happened?
One of the causes of bad motherboard is a fuse pops, which I guess could have happened.
Another idea is that the laptop thinks the screen is closed. Older laptops had a physical switch for open/closed panel, but I haven't seen it on the z61t. Does anyone know what/where the switch is? I painted the lid and bezels (posted on thinkpads.com), so I'm wondering if the switch is covered or stuck.
I'd appreciate any thoughts! Thanks!It was the inverter. Not sure what happened to it, but I cannibalized my girlfriend's z61t for a working one.
-
Serious and Sudden Problem with Z10 NEED HELP PLEASE
I have a z10, one of the first that came out in Toronto (if it makes a
difference), a couple of hours ago I came across a serious and sudden
problem.
I was able to swipe left and right between pages of apps, even drop down
from the top, but I cannot open anything, not even make a call or settings
options.
Any time I try to, for a split second it looks like its about to load
something then nothing. (image slides to the right quickly and goes back on
every attempt)
So I first did a reset, same problem, then I did a battery pull (about 15 minutes) and problem presisted.
I tried through USB to do a backup on blackberry manager and perhaps do a
re-install of everything, however when I was prompted for the password of
my device on my PC it kept telling me it was an incorrect password (I use
this blackberry on my computer 4-7 days a week, twice a day sometimes for a
year and I have never miss typed my password nor have i changed it)
After trying everything to make sure the first letter maybe was upper/lower
case, even my other possible phone password, nothing worked..
On the 5th failed attempt my phone prompted me to type 'blackberry', which
i did, then i typed my password on my phone which i type in about 15 times
a day becuase I set my phone to a 5 minute lock and still said it was incorrect.... I am no on 9/10 attempts and lost
for options.
Please if anyone can give me any suggestions, or even how to backup my phone
and whipe it now, or I have an earlier backup form 4 months ago that I
wouldnt mind going back to in worst case scenario.
Thank you for your help in advance,
Solved!
Go to Solution.Sorry, no I haven't experienced that. It could be from an app you downloaded but that's just a guess. Wiping the device will tell us a lot. If the device still doesn't work you'll want to reload the OS using BB Link. if it still doesn't work after that then warranty support will be necessary through Rogers.
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!
Maybe you are looking for
-
I'm trying to create a dynamic drop menu dialog that is populated by an xml file. I think I have the xml file setup correctly but not sure how to get the second drop menu to populate according to the first drop menu selection. Would the best way be t
-
How can I see the size and colour of text in DW Cs5?
Hi forum, how do you see the size and colour of a piece of text in Dreamweaver Cs5, I have some text in a dreamweaver file which is a size I like and a colour I like and I want to make a CSS rule with these characteristics. How can you see what size
-
Prime Infrastructure Failed to run report
Hi all, on a new installed PI 1.2.1 I have the following error message as soon as I run a report: Failed to run report: Could not connect to HTTP invoker remote service at [http://localhost:20556/reportingserver/remoting/ReportingService-httpinvoker
-
SCOM 2012 -Monitor successful log on with SQL User id
Hi Guys, i have been ask to create a Monitor that can monitor successfully /fail login for a specific user id listed under "Logins", can some one please help me with this task , i can create a Monitor for Windows Event ID , but not sure if for SQL L
-
As per my question, when i ask it to print it tells me it is looking for my printer this takes several minutes before it prints. my wife is in the same room using an imac also using a bluetooth connection to the same printer and hers prints immediat