Dynamic Text In Pull Down Component?

Sep 11, 2009

I am using flash CS4, AS2 and have had a client request for something that I'm not sure is possible.

I have created a calculator that calculates the cost savings that my client offers their customers. There are many options available in the calculator and it is quite in depth. At one point there is a pull down menu where the site visitor can choose their product, then enter the amount they pay for it currently. If their product is not listed, the site visitor can choose "other" from the list.

Is it possible that when the client selects "other", the text IN the pull down component for that option could be dynamic, so that the site visitor can enter the name of their product? The product they enter does not need to be submitted anywhere, nor does it need to remain upon that visitor's next visit. It simply needs to be there for the duration of their current session, to help the client keep track of what product they are comparing.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Pull A Random String From Xml Into A Dynamic Text Field?

Mar 23, 2011

I am trying to pull a random string from my xml into a dynamic text field in Flash. In this example, the first text field should bring in a random fruit (Apple, Pear or Orange). Im stuck as to which way I should randomly do this. This is my code right now in my movieclip:

[Code].....

View 2 Replies

Professional :: Pull In Dynamic Text From A Txt File And Display In A Webpage

Oct 1, 2010

I'm trying to pull in dynamic text from a txt file and display in a web page. The text works great when I view the .swf, but when I place the .swf in a web page the text no longer appears. I'm using loadVariables("text.txt", ""); in my ActionScript and text.txt is located in the same directory. I have embedded the fonts and I'm using Flash CS5 and I have selected Classic Text/Dynamic Text.

View 2 Replies

ActionScript 2.0 :: Pull Attributes From Xml File For Use In A Dynamic Text Field

May 31, 2007

im trying to pull attributes from my xml file for use in a dynamic text field but cant seem to get the actionscript dialed in properly. i have a php script which parses the data as attributes rather than nodes...so my actionscript must use these attributes!

[CODE]...

View 14 Replies

ActionScript 2.0 :: Dynamic Text Alpha - Find A Component That Allows Alpha Control With A Dynamic Text Box?

Feb 26, 2005

As far as I know theres in no way to cahnge the alpha of a dynamic text box. I put one in a movie clip and when i try to change the alpha of it everything else in it changes its alpha but the not the DT box. Could someone plz verify for me that u can't change alpha and help me find a component that allows alpha control with a dynamic text box. thx in advance.

View 5 Replies

IDE :: Pull A Variable From Php (or XML) Into Dynamic Textbox?

May 6, 2009

OK, I have my php and MySQL working fine. I'm pulling the data. I found how to format the data that is returned in the php as XML. My problem is I can't get my Flash textbox to load the variable from the php file. Like most things, this is probably very easy if you know how.My flash dynamic textbox is given the variable name topTeacher. From what I understand, I don't need to worry about an instance name.My php file looks like this:

<?php
$con = mysql_connect("localhost", "USERNAME", "PASSWORD") or die('Could not connect to server');

View 2 Replies

ActionScript 2.0 :: Slideshow Component And Dynamic Text?

Feb 4, 2009

I am still building my webpage and I have found this slideshow and thumbnail scroller components online and everything is working 100%, I need to add description text into a dynamic text field as the large image appears in the slideshow component. I am leaving a link to the file [URL]

View 1 Replies

ActionScript 2.0 :: Dynamic Text In Window Component

Nov 11, 2009

I have tried a few ways but have failed to get text into a dynamic text field inside the window component. I need to get the following trace command to appear in the window component. I have a workable window component and that is not the issue. I just lack the knowledge of how to link dynamic text in a window that doesn't respond to absolute instance ID scope such as _root.yadayada.[code]

View 0 Replies

Professional :: Flash / AS3 And XML - How To Pull Specific Dynamic Data

Aug 20, 2010

I am doing a project that consists of AS3 in flash an importing an external xml data that will populate dynamic data in text fields in my flash project. The xml is all ready set up (pre existing) data. The structure of the XML Code looks like this:

<GlobalDynamicData xmlns:xsi"[URL]">
<schema version 1.0.0>version 1</schemaversion>
<DynamicDataFields>
<DynamicDataField>
<DataField> AlertOn</DataField>
<DataValue>0</DataValue
[Code] .....
which works fine,

My question to everyone is How do tell flash to pull specific dynamic data if all the datafields are exactly the same... I would think all data fields that are named have to be diffrent so when you script the code you are telling flash to go to that data source and pull from that record. If you have the same naming convention how does flash know which one to pull from if they all have the same name..

View 3 Replies

ActionScript 3.0 :: TextInput Component Value Passed To Dynamic Text Field?

Jun 27, 2009

What I am trying to do is rather simple, but I am having problems. All I want to do is pass the values entered into a TextInput component into a Dynamic Text Field  I need this to be realtime, so when the user is entering the values it is updating in the text fields. I have 5 TextInput instances and 5 Dynamic Text Fields on the stage  The TextInput values need to be passed to the Dynamic Text Boxes.

View 3 Replies

ActionScript 3.0 :: TextInput Component Value Passed To Dynamic Text Field - Part 02

Jun 28, 2009

The update to the Dynamic Text Box is always one character behind what is entered into the TextInput component. For instance my name is Shawn, if I enter "Shawn" into the Text Input the Dynamic Text Boxes will display "Shaw". It will only enter the "n" if I type another character then backspace it, deleting the extra character.

View 7 Replies

Flex :: Dynamic - Dynamically Access All Text Inputs Within A Custom Component In 4

Jun 8, 2011

I have a custom component which contains many promptingTextInput controls. When i click a button, I want the text field of all the promptingTextInputs to become blank. (Note: I have around 60 promptingTextInputs) How do i access the controls dynamically ? I am looking for a flex equivalent of $('input[type=text]') (like in jquery).

View 1 Replies

ActionScript 2.0 :: Unselected And Scrollable For Dynamic Text Boxes With A UIScrollBar Component?

Nov 25, 2010

I can use this code to make the text unselected but prevents me from scrolling.

Code:
textbox_txt.selectable = false;

How can i do it both unselected and scrollable for Dynamic Text Boxes with a UIScrollBar component?

View 2 Replies

Flash :: IDE - Google Calendar - Loaded Into A Dynamic Text Box Or A Loader Component?

Jan 31, 2007

Google calendar is available to be embed into a HTML website.. But I have a Flash site.. I want to load that calendar into my site.. It has an option for a button. But would like to have the entire calendar view. Can this be loaded into a dynamic text box or a loader component??? Does anyone have a clue how to do this... Or create a monthly calendar with events.. I can't seem to find one anywhere, I am sure it can be done.. but not very good with AS.

View 1 Replies

CS4/AS3 - Pull Text From A File?

Jan 7, 2011

EDIT: New problem, post #5 Say I have a flash website made, and to allow for minor information changes to be easily made by someone without flash, they can simply open, edit, and reupload to the webserver a text file that contains that page's info.So, how can I have flash pull text from a file, and always do that every time it's ran (ie, not have to republish a new swf)?

View 4 Replies

Pull Images And/or Text Into Web Interface/app?

Nov 2, 2011

how to go about searching for this since I don't know the terms used for it. I am trying to make an interface to use on a website that would have to pull up images and text with no preloading. Think of an online encyclopedia; you put in a word and it pulls up the object/animal/etc with a description. I am looking at needing to pull up thousands of different things; hence the no preloading.

View 2 Replies

ActionScript 1/2 :: Pull XML Data To A Text Box?

Oct 5, 2009

How could I get the XML data in to a text box?[code]...

View 8 Replies

ActionScript 3.0 :: Pull Text From Another Page?

May 7, 2010

pull some text (numbers) from another page and the only way (at the moment) I can think of doing it is to load the page source into a string (or another var), and then break the string down to search for the particular text.

I found a way to do something similar in PHP, but I want to run this from the local PC which doesn't (and can't) have any form of web service running.

For anyone who's interested in why ... we have about 25 odd printers (identical) that every month we collect a colour and mono page count from. Every printer is connected to the network and each one has a web-based menu. To get the page counts, it involves going through around 4-5 different pages, and this has to be done with each printer. So I thought it would be handy if the text from the page counter could be pulled onto a single page (or stage).

View 1 Replies

ActionScript 2.0 :: Why A Html Image From XML Will Not Pull Into Text Field In Flash

Oct 5, 2011

I have an XML file using CDATA and trying to pull my image in. Ex:

Code:
<ingredients><![CDATA[<img src="test.jpg" width="304" height="466" align="right" />Ingredients: Water, Carrots, Celery, ....

My text field has all the ingredients it needs in order to pull this image in i.e. multiline, render as html etc.

When I compile my swf I can see that the text moves up and it looks like the image wants to be pulled in and yet it doesn't show.

Things I have tried: Variatons of the file. PNG, JPG, GIF Moved the file into the same folder as the XML file

View 3 Replies

ActionScript 3.0 :: Paragraphs Spacing - Line Space Flash Creates When A Dynamic Text Is Loaded In A Dynamic Text Field

Jun 8, 2009

i have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this

[Code]...

i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??

View 4 Replies

ActionScript 3.0 :: Object Oriented Programming - Add Text From String To Dynamic Text Field When Click Dynamic Buttons

Oct 14, 2011

All I want to do is add text from my string to dynamic text field when I click dynamic buttons. What should the as code be for this? Here is my code. Right now I just have the click returning another shape.

[Code]....

View 2 Replies

ActionScript 2.0 :: Pull Data From The Arrays And Put That Data Into Text Fields?

Oct 24, 2006

Flash 8, I have some XML creating a few simple arrays. These pull some movie clips onto the stage with incremented names: product1, product2 and so on. Inside these clips I have some code that is supposed to pull data from the arrays and put that data into text fields.

[Code]...

Shouldn't this last output be the number 1? I want to use this number to call the correct node for each clip,

View 2 Replies

Flex :: Actionscript 3 :: Pass Text Values From Text Inputs To Main Component

Feb 15, 2010

I use a popup loaded from different MXML file:[code]The problem is I don't know how to pass text values from text inputs to the main component after buttonOK is clicked in the popup. I tried custom events, but it didn't work.url...

View 1 Replies

Flex :: 4 - Add An Extra Text Field To The Button Component And Dynamically Change Text?

Jan 27, 2011

I created a somewhat custom Spark button by doing the File > New > MXML skin and basing it on spark.components.button. The problem is that I need to add an extra text field to the button component and dynamically change that text...but of course, the property isn't recognized on a Spark Button.

Is there a simple way to add this field to my custom button skin & its property so it can be addressed? If not, is there a simple way to take what I've done and just extend the Spark Button? I can't seem to find any examples that show how to do it without writing it all up in ActionScript.

View 1 Replies

ActionScript 2.0 :: Modify The Text Size Of Text Added To A ListBox Component In Flash MX?

Feb 29, 2004

Is there a way to modify the text size of text added to a ListBox Component in Flash MX?

View 1 Replies

ActionScript 2.0 :: Scrollbar - Component Does Not Update Itself To Accommodate Text That Is Larger Than The Text Box

Dec 12, 2003

I have an empty textbox with the basic scroll bar component. Nothing is in the text box so the arrows are greyed out on the scrollbar. I have a button that loads text into the textbox, but the component does not update itself to accomodate text that is larger than the text box.

how can I make it so that the scrollbar changes when text is added.....also If I put text in the text box in flash, when I publish it gets the scrollbar fine, but it will not adjust itself when I click on the button that loads different text into the text box. what happens is the scroll bar stays the same regardless on the size of the loaded text.

View 6 Replies

ActionScript 3.0 :: Giving Text Color To The Text Component Box On Run Time?

Sep 8, 2010

giving text color to the text component box on run time.

I tried with

textfieldname.setStyle("color",0xFF0000);

but no effect.

View 4 Replies

ActionScript 2.0 :: Loading New Dynamic Text From A Dynamic Text Box

Jan 28, 2004

I'm relatively new to Actionscript, in fact, I just figured out today how to load text from an external source. I have another issue that I'm not sure how to handle. I have buttons for my main nav, a main text box, and a mini text box (both text boxes are loaded dynamically from external files). I want to have the mini text box load new external text files in the main text box. For instance, I have a button for music, which loads a list of songs in the mini text box. I want to be able to click on the name of one of the songs and have it load the lyrics in the main text box. I'm sure it's simple, I'm just new.

View 3 Replies

ActionScript 2.0 :: Loading New Dynamic Text From A Dynamic Text Box?

Jan 28, 2004

I have another issue that I'm not sure how to handle. I have buttons for my main nav, a main text box, and a mini text box (both text boxes are loaded dynamically from external files). I want to have the mini text box load new external text files in the main text box. For instance, I have a button for music, which loads a list of songs in the mini text box. I want to be able to click on the name of one of the songs and have it load the lyrics in the main text box.

View 3 Replies

Simple Text Enlarger - Increases The Text Size Of A Dynamic Text Field

Apr 24, 2010

Problem: I am trying to get a very simple text resize going, for my main content area in a flash website. My aim is to get a button, that on click, increases the text size of a dynamic text field.

[Code]....

This is what I tried, I am very new to Action Script, so excuse the futility of my code.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved