Newb needs help with dynamic text
Hi Everyone,
I don't like being a newb - but that's how it is...
I'm trying to create a multipage registration form that
allows uses to register products.
The first page asks for name etc, and on the second page I
want it to say "Welcome "+username "!" - that sort of thing...
The problem is I can't get it to keep the dynamic text values
accross the pages.
I can get it to repeat the input on the first page with this
code:
_root.firstname_txt.onChanged = function() {
_root.firstname_repeat.text="Hello
"+_root.firstname_txt.text;
However when I call it on the second page it is undefined:
second_repeat.text="hello "+_root.firstnamt_txt.text;
trace (_root.second_repeat.text);
I'm sure this is something simple and I'm just a programming
dunce...
Any help is appreciated.
ta
if your textfield (_root.firstname_repeat) doesn't exist on
the 2nd frame, its text property will be undefined.
to remedy, either extend your textfield's existance into the
frames needed or use a variable to store its text property (in your
onChanged handler) and use that variable to retrieve the value you
need.
Similar Messages
-
I need help with my text tone and I have ring tone. no text tone for the 4s.
I need help with my text tone. I have ring tone no text tone. I have a 4s.
Hi Sarar2333! Let's get your text tones working again!
Here's a link with instructions how to enable and change your alert sounds for your text/notification settings on your iPhone 4S: http://vz.to/1stiF8a. You can ensure text tones are enabled by selecting a tone in the "Text Tone" setting. Let me know how that works out for you. Thanks!
AnthonyTa_VZW
Follow us on Twitter @VZWSupport -
Help with dynamic text and and css !
My second question of the day.
I'm trying to build a feature in my app in which the user can
hide/reveal
bolding and or
italics and or
underlining. The text is being loaded in from an xml file
and I was thinking about styling it with css in order to get the
underlining. My problem is that the only way I can think about
pulling this off is to have a css style sheet that has a defined
bold,italic and underline class defined- - then another one that
just has a italic and underline class defined -- then another one
that has just a bold and underline class defined . . . and so on
and so on. You can see why I would prefer a much more streamlined
system. Unfortunately my experience with dynamic text styling is
somewhat limited. Hopefully someone can help me out here.Perfect. I knew it was some little snippet that I was
forgetting. I made a temporary fix of creating a 0% alpha box over
the button like a fake click area above the text, and that worked
but I know that it was a half-arsed way of working around it.
Thanks. -
Hi, I was just wondering if anyone could help me out.
Basically, I'v created a dynamic text on the main timeline
with an instance name of "score". I then created a button within 2
movie clips. The idea is that when the button is pressed, I add to
the score. The code I'm using on the button is
on(press){
_root.score.text +=20;
I'm not an experienced actionscripter, I was wondering if
anyone could maybe tell me where I'v gone wrong and what to do to
make this work. Thanks xDHmmm.
Well officially the .text property of a textfield is a string
so what will happen is that the 20 gets turned into string and
concatenated (or appended) the the string value in the text
property.
Can you clarfify the problem? Is your textfield changing or
not?
If it is changing then you will need to do something like:
_root.score.text = Number(_root.score.text)+20;
That requires that a valid number already exists in the
textfield. It might be safer to track the score in a separate
variable and then assign it to the textfield's text property each
time it changes.
If its not changing then try putting a trace in to see what's
happening:
on(press){
trace("textfield is:"+_root.score)
_root.score.text +=20;
If you see 'undefined' then it may just be a typo - perhaps
you called it Score with an uppercase S for example. If its defined
and nothing is visible then it could be that you've embedded fonts
without numbers or something like that. -
Newbie needs help with Flex app
Hi there. I am very new to Flex and also fairly new to
programming although I do have a little experience.
I am trying to create an app which stores code snippets or
common text I tend to use every day in my documents and emails.
So basically I need help on a design level. I can refer to
the developer's manual for exact instructions for commands, but I
need to know what to code first.
The app will consist of:
-a tree directory structure where I can create groups.
-There will be a basic text editor where I input all my data,
basic text formatting options (font, bullets etc) would be a bonus.
-A search function
-Finally it will ideally allow multiple client apps write to
a central database file over a network
Can anyone suggest how I should approach such a project?
Or are there any tutorials / source files which demonstrate
each bullet point?
thanks.Hey jono,
I'm new too. But I think I might know the right components.
If you google any of these + flex 3 you should get some
decent documentation
tree - advanced dataGrid component
basic text editor - rich text editor component
search function - well, you're gonna need to read up on
arrays, and arraycollection. Once you get that stuff working, you
can write up a function to search for a string in an array.
network functionality - HTTPService, you can dump the
datagrid into a database, and have it load the database when you
open up the application.
Give these things a shot, tutorials / sources will come with
the google searches. -
Need help with automating text import/pasting/macro between Photoshop and Excel
Hey everyone,
I'm working on a large project now that seems extremely daunting, but I was hoping there would be some way to automate it using either Actions or some sort of macro program. Here's the gist:
I've created a template with 24 differently sized text boxes in the photoshop image file. Each text feild has unique text that needs to be be pasted into it, which has been compiled in excel. This wouldn't be too dificult to do, except I have to recreate this image and all 24 text fields aproximately 350 times. None of the text boxes will remain static through all 350 images as text is the title, description, and demographic ratings/percentages/data for the topic of each image. I did something similar manually last year and it took me about 3, non-stop 18 hour days to complete it.
(the test template)
Can anyone think of any way I could automate this process? I'm thinking some sort of macro that copies cell 1 in excel, switches to photoshop, opens layer 1, pastes, switches back to excel, goes to cell 2, copies, back to photoshop, layer 2, pastes, etc, etc, then does a 'save as' in photoshop and revets to PS layer 1, EX cell 1 (on tab 2) to start the process all over again. I have no idea if this would work or if there is another way to do this but I would really appreciate any help or advice you guys could give. I don't have really any expreience using PS Actions or macro programs/scripts, so I may be over my head or overlooking a really simple way to do this. If there's a way to do it, I'm persistent enough to figure it out and get it working. Doesn't really matter how it gets done, I just need to fill those text boxes as best as I can and as quickly as I can.
Any help you all could give is really appreciated.Have you read up on the Variables support in Photoshop?
-
Need help with cleening text during ExportAllStories (JS-CS4)
I have altered the ExportAllStories.jsx script for CS4 to export the selected TextFrame(s).
The main function are the same as in the original.
It works fine, but I need advice on how to clean the text before it gets exported to a text file.
I have tried to pass the TextFrame object myStory, as in the original script, to a function like this:
myStory = cleantext(myStory)
The function cleantext works with a text string passed to it,like this:
function cleantext(s) {
s.replace(/\u2011/g,'-');
I guess I have to extract the myStory object to a text string but haven’t succeeded yet.
Maybe the solution is to do some search and replace with GREP or other techniques?
All tips on how to proceed would be appreciated.This is how i solved my problem.
With the help from Peter Kahrels function
function replace (f, r)
app.findGrepPreferences.findWhat = f;
app.changeGrepPreferences.changeTo =r;
app.documents[0].changeGrep ()
And in my script I could easily do this:
app.findGrepPreferences = app.changeGrepPreferences = null;
story = app.selection[0].parentStory;
// Sample: Replace non-breaking hyphen (8209 -> \u2011) with a regular hyphen.
replace("/\u2011/g",'-');
app.findGrepPreferences = app.changeGrepPreferences = null;
And thereafter proceeding with the exporting stuff.
Thank you all contributors in this forum! -
Newbie Needs Help - PreE7 - using text/titles
I'm learning PE7 and I'm having difficulty achieving the results I want with text - I hope someone can help...
I have a 'visual' (screen capture) you can view here in my photoshop gallery here: http://tinyurl.com/ybeu2t9
My Goal: To create a video from still images with occasional, black, blank clips with text in between.
My Problem: Some of my text is 'animated' and I don't want it to be. I can't figure out how to remove the animation nor do I understand why it's happening in the first place.
If you look at my 'visual', you'll see:
item (1) is a clip where I have a still image (repositioned on a black background) with text over it. Both the text and the image are set to fade out to the next still in the video... I'm not quite sure how I managed to achieve this but the results are what I want for this one.
item (2) is a clip where I created a blank and then added text to it. When I play it, the text is static (not animated at all) and this is just the way I want it to be.
item (3) - here I tried to duplicate what I did with item 2 (though with different text), that is, create static text but when I play the video, it is faded in, which I do not want. I noticed that it has a little, double-photo, icon in the corner just as item 1 has so I assume it is the indicator that something is happening here but I cannot for the life of me figure out how to remove it.
I'll appreciate any help!
Oh, and if it's important to know, I'm using Windows Vista 64.
Lady of the Thorns (aka Rose)Welcome to the forum.
Thank you for the screen-cap. What I suspect is happening is that you are actually altering an existing Title - one with animation already appled. When you create a Title and drag it to the Timeline, or the Sceneline, you are placing an "instance" of that Tilte only. One can have unlimited instances of the same Title. If you change, say the text in that instance, you are changing it for that Title, so if you have multiple instances, they all will change.
Now, PrE allows one to do a Title Template, and also allows one to create new Styles. To do Titles that will be the same, with only text changes, the Title Template is easy to use, but you need to do multiple ones, changing the text, as is required of each of those multiple Tiltles. They will now appear in the Project Panel as separate Titles. You can then have multiple instances of any of these.
An example would be a Title Template with animation and a Style that you want, that says "Place Text Here." You'd bring that Template into your Project and then change that text to "Meanwhile, back at the ranch," and you want it to crawl across the screen (Animation) Now, you want that particular Title to be used in 4 places in your Timeline. You'd just drag it to the required spots. All would read, "Meanwhile, back at the ranch." All will crawl. If you change the text in one, all will update. That is not what we want. If we want a static Title to read, "Looking down on the ranch," we need to do a new Title for that. We'd not use the Template, but could use the Style that we created and saved, creating a new, static Title with our new text.
On a sidenote, PrPro (PrE's big brother) has a similar Titler. One neat feature on it is a little icon that allows one to do a new Title, but based on the one in the Titler. When chosen, this opens a Title naming dialog box, and then creates a new Title. All attributes will be the same, and initially will have the same text. We change that, and it's in a new Title, so it does not affect any other Titles. This is a big timesaver, and I hope that PrE will add it.
One additional thing to remember is that the PrE Title animations will affect only one line of text. If one wants animation of multiple lines of text, they need to do one Title for each line of text and then add the animation to each separate Title. These would then be placed in separate Video Tracks, one above the other, so it appears as one Title on the Timeline.
Hope that this is your issue, and that I have helped you solve the problem. If not, please tell me where I went wrong.
Good luck,
Hunt -
Need help with Dynamic Excel File Name please.
I am try to output an excel file with dynamic date.
Here what I done.
I am using SQL 2012.
Create Execute SQL Task Connect Type: Excel
Create Data Flow Task set to DelayValidation: True
Create OLE DB Sourc
Create Data Converstion
Excel Destination
Excel Connection, Expression, select ExcelFilePath
@[User::sXLFilePath] + @[User::sFileName] + RIGHT("0" + (DT_WSTR, 2) DATEPART("DD", GETDATE()), 2)+ RIGHT("0" + (DT_WSTR, 2) DATEPART("MM", GETDATE()), 2) + RIGHT((DT_WSTR,
4) DATEPART("YYYY", GETDATE()), 2) +".csv"
C:\ExcelOutPut\SOX_CAM_SQL_Report_010215.xls
What I try to accomplish is output the file with each day append to it, date must be DDMMYY.
I google it and found many samples, tested it, and none of them is work for me.
Any suggestions or some examples to share is greatly appreciate.
I am new to SSIS. I found one poster have similar issue and inside the posted below, there was one suggestion to create variable and connection string but how do I bind that variable to Excel Connection manger.
Please help.
Thank you so much in advance.
Ex: SOX_CAM_SQL_Report _020215.csv
SOX_CAM_SQL_Report _030215.csv
--Similar issue:
https://social.msdn.microsoft.com/Forums/en-US/bda433aa-c8f8-47c9-9e56-efd20b8354ac/creating-a-dynamic-excel-file?forum=sqlintegrationservices
Suggestion in the above posted but where can bind this to Excel Connection Manger.
Please help provide step by step. Thanks.
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\temp\\" + "ExcelTarget" + (DT_WSTR,4)DATEPART("yyyy",GETDATE()) +
".xls" + ";Extended Properties=\"EXCEL 8.0;HDR=YES\";"
And yes, as you were intimating, the delay validation on the dataflow should be set.Hi NguyenBL,
According to your description, you created ssis package to export data from database to excel, when the package runs, you want to create new excel and name the file with time stamp. If that is the case, we can achieve the goal by following steps:
Create a script task used to create excel files.
Create a data flow task to export data from database to excel.
Add OLE DB source to data flow task.
Add Excel Destination to data flow task.
Create connection manager for OLE DB and Excel.
Click Excel Connection Manager, in Properties window, click (…) button next to Expressions, then set ExcelFilePath with expression like below:
"C:\\ETL Lab\\CreateNewExcel\\ExportData_"+REPLACE((DT_STR, 20, 1252)(DT_DBTIMESTAMP)@[System::StartTime], ":", "")+".xls"
For detail information, please refer to the document:
https://sqljourney.wordpress.com/2013/01/12/ssis-create-new-excel-file-dynamically-to-export-data/
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
I'm trying to load in XML text. I'm looking for an efficient
method of doing so.
Ideally, I'd like the text to fade in and out with the image.
Maybe adding a subtle animation/movement to the text box would be
nice. Perhaps a MC that plays intervals of movement with a dynamic
text box... i just don't know how to do it.
Sample files
CLICK HERE
845kbstart simple and build. check the xml class so you can see
how to create a simple xml file, load it and parse its contents.
then progress step-wise towards your project. -
Need help with optimizing text appearance when exporting video
Here's what I'm trying to do:
1. Convert a Powerpoint presentation to an MP4 (AVC) file, frame rate 30 (actually defaults to 29.97) and video bit rate of 1200kbps,using Wondershare PPT2VideoPro. (There are no actual video clips contained in the original PPT file).
2. Import the newly created MP4 video into a new project in Premeire Elements.
3. Add audio files (WAV) created by Audacity.
4. Export the final product as a video.
Here's the problem:
The text quality in the final exported film is very poor, and the screen occasionally seems to sublty flicker once and a while. I've tried multiple different settings, but all with the same result.
Can anyone offer suggestions on optimal settings for exporting the final product such that the text is as clear as possible? (The text in the MP4 file created by Wondershare looks great.)
Thanks!
- ErnestOne option would be to create the Text Images in Photoshop, and Save_As a PSD.
For large sets of Titles, I do the text portion in Word/WordPerfect, so I can use Spell-Check. Then in PS, I just Copy/Paste the text into an Image, where I apply all of the PS Styles that I need. Because I use PrPro for most of my NLE work, I will often do the Titles with Layered Text, and Import those as a Sequence, so that the Layers are not Flattened. This allows me to independently animate each Layer, as I need. Unfortunately, PrE does not allow one to Import the Layered PSD's, Unflattened, as it does not have Sequences.
Also note that PrE's Titler's Styles are just a starting point. Once applied, one can alter most aspects, and when they are satisfied with the changes, they can then Save the new Style and re-use it over and over. Do not forget the ability to modify those Styles.
From PowerPoint, and this depends on the version, the best that one can usually do is to Export each "slide" as a TIFF, and Import those into the NLE program.
Good luck,
Hunt -
Help with dynamic text and hand cursor
The buttons that I am creating are not displaying the hand
cursor. I tried searching for an answer, and have found nothing.
They are movieclip buttons with a dynamic text field. I already
switched them out to non-selectable text, and I am using:
b1.buttonMode = true;Perfect. I knew it was some little snippet that I was
forgetting. I made a temporary fix of creating a 0% alpha box over
the button like a fake click area above the text, and that worked
but I know that it was a half-arsed way of working around it.
Thanks. -
Newbie needs help with browser compatibility
Ok, so I'm new at this, so this may be something really
simple, but browser compatibility? I made a site in DW;html and it
shows up perfect in safari but internet explorer and firefox not so
much. I did a browser compatibility test in DW and it says nothing
is wrong with my pages, but obviously something must be!!
On my home page, the image of a house that I have next to the
company name shows up fine in safari but not any other browsers.
And my page layout, everything is moved over funny in other
browsers. Also there are link boxes around the table I created with
different brands of products. On safari the boxes do not show, but
all the other browsers it does!! I'm new at this and frustrated!!!
Need help!!
The link is holmeshifi.com and I posted code from the home
page!OK thanks Ned sorry to soo dumb I'm on a learning curve here! what
I'm trying to do is go to the URLs of web galleries of images from my
main site
so I would presumably have to rename them on my server? i.e. does that
mean adding the code ", "_blank");
to the files on the server?
At the moment I have to use the back button on my browser window which
takes me back to the main site which then has to reload (tediously!) -
MSI P67A-C45 (B3) Newb needs Help with connections..
Hi all..
First time posting here, but have been in the shadows for quite a while..
Anyway, i decided to finally take the plunge, and build my own PC, and now i'm beginning to hit a few bumps.
I have a couple of questions that i would like some help with, if possible to reassure myself i may be in the right direction..
I bought THIS PSU and was hoping someone could tell me where the Blue connectors (one labelled CP and one labelled U1) Connect to?
Is it into JPWR2? And does it/do they only connect in the correct way? (Do i remove the plastic cap and attach both?
and i bought THIS VIDEO/GRAPHICS CARD and i'm guessing the RED "PCI express" and "SLI ready" connect to that somehow (Haven't opened box yet for card)
Again, wondering is there a certain way for them to connect.
Also, from my chassis, the "AC '97" and "HDA" connectors go to JAUD (I guess), does it matter which one? (I currently have "HDA" connected)
I have i5 2500k already on board. (If that makes a difference).Quote from: Ben_Cartwright on 26-May-11, 22:05:35
Do the Audio plugs go into JAUD? and does it matter which one?
Yep, connect the front panel audio to the JAUD. If you need the pin layout, it says in the manual. I would say the HDA connector is the one to connect.
Quote from: Ben_Cartwright on 26-May-11, 22:05:35
Any recommendations for testing it all, before i plug it in, and press the power?
Should i (Can i) test individual parts first?
Thanks again.
Check all power connections, seating of the RAM and add-on cards, check the HSF is plugged into the fan header, and obvious things like that.
As for testing, enter the BIOS and make sure the CPU isn't running too hot. Set up the RAM with the required timings and voltage, and test with >>Memtest86<< for several hours. No point starting the Windows installation if say your RAM has errors, since it will corrupt files during the install, if it installs at all. -
Storm user newbie needs help with appcenter
hi everyone. i need help regarding my blackbeery storm 9500. i bought from a friend but he only gave the charger and the the phone. there is no app center. is there anyway i could get the appcenter so that i can get the bbmessenger?
You can download BBMessenger from your Blackberry browser at www.blackberry.com/bbm
AppWorld: www.blackberry.com/appword
You must have the BlackBerry Data Plan on your device to use either of those services.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code
Maybe you are looking for
-
Yesterday 9/11/13, Apple presented me an update to my printer software for my Artisan 835. Now it on
-
Possible Crystal Reports Underline Issue?
As posted here by Ryan Durkin http://forums.msdn.microsoft.com/en-US/vscrystalreports/thread/f2b7317f-a83b-43fa-99e9-21e7434830db This problem has been bugging me for ages and I just can't figure out why it is happening. I have created a Crystal repo
-
Need to specify default filename for SaveAs
I am using the command app.execMenuItem("SaveAs"); in the click event of a button. Is there anyway that I can specify a default filename for the user? I do want the user to get the Save As window and the ability to change the name if possible. The fo
-
HT1689 Contact iTunes support...when trying to make a purchase
!when I try to purchase extra lives in candy crush saga...I get a message to contact iTunes support...I used this account already today...there is money in the account....
-
Project link in workflow task in PS 2013
Hi Folks, I just created new WF using SPD and every thing goes fine. I just wondering, when approver receives a tasks to take an action how would he/she know what project needs approval, except for the name. Meaning how can the user access details of