I am trying to create a hyperlink in my text field that when clicked will take you a website target a _blank page.I have created a text field and input the website through xml - src, I put the text field inside a movieclip - link, i created a sprite and put that in the movieclip. However anytime that I try to click it, no matter the configuration I get one of two errors: Error #1069: Property loader not found on flash.text.TextField and there is no default value.^^Is the most common The other one is I believe Error #1010 Can not target and object of null reference?? Something along those lines.
My Code:
var link:MovieClip = new MovieClip();
var anchor:Sprite = new Sprite();
anchor.graphics.drawRect(265, 235, 690, 20);
anchor.graphics.beginFill(0x00ff00);
I'm pulling data from an XML file into dynamic text fields in Flash. I have a field where I want to pull in a different url for each node, but display the same text and I'm not sure how to set that up.
I have a text input field called 'phone' and a button with the GetUrl function. Button script looks like this:
on (release){getURL("http://url/sendlink.page?country=160&phone=phone&keyword=33&msgtype=26", "", "POST");}
First of all when I press the button nothing happens. When I paste the link directly into my browser everythinbg works as it should. But not from flash file.
adding the 'phone' variable into the hyperlink. What do I write? Something like this: [URL]
I want to make a search button on my site. I have a bunch of pdf files in a specific location on my site. I want to create a search field where the end user inputs text into a field and flash locates and opens the corresponding pdf file.
Is it possible to create gradient text with text in a text field, without using a different object?
I have three text fields sitting right next to each other, to create a row. Some times the text is longer than the width of the text field, I don't want to widen the the text field to make it fit, I just want to fade the last 20 - 50 pixels of the text out.
Is this possible to do without using an object above it, such as a gradient?
I am trying to make a web page similar to the link below...where when a customer types in the form text field, and simultaneously, the text will preview in another area of the webpage over and image. See example when you create a label[URL]
I'm really new to create text field. I am trying to make some text appear (obviously) so I decided to create an object that would execute it and then I could place the text. What's wrong with it?
Okay I'm really new to create text field. I am trying to make some text appear (obviously) so I decided to create an object that would execute it and then I could place the text. What's wrong with it?
I don't know why but if I create a text field on the stage ( no as ), flash creates a white background in it... I have changed all parameters but the bg field remains the same...
Anyone knows how can I set the default transparent bg for the text?
I am creating a form, and I would like to have a highlight around the input text box when the users is focused on that textfield.
i have a highlight movieclip(just a rectangle outline that is a movieclip).
How would i go about placing the highlight mc around the text box? would i use focus_In eventListeners? and call a function that can outline a box that is the input text background?
I've been looking everywhere and I can't figure this out. I want an empty text entry box, where you type in a word and hit enter. When you hit enter, it adds this word to an array. The array shouldn't have a limit of the number of words allowed.
I though this would work but unfortunately I am not pulling the txt files into the field.
It is definitley giving me random feedback.
There are ten quotes in a folder: Suzuki_quotes/quote1.txt etc
Should I not use a Dynamic Text field and create a text field using the var.
stop(); var randomNumber:Number = Math.ceil(Math.random()*10); var reqB:URLRequest=new URLRequest("Suzuki_quotes/quote1.txt");var loaderB:URLLoader = new URLLoader();
I have a input text field and I want to create a mc of the text that is typed in and birth said mc inside of a mc_container which is on the stage.can this be done in as 2
I need to create a text field where the user can only write numbers from 3.0 up to 12.0 with any decimal. With any number he imputs i need another text field to store the number lowered to its nearest .5 number.
for example
input 3.1 result 3.0 input 3.4 result 3.0 input 3.6 result 3.5 input 4.6 result 4.5
I have been looking around for a long time to find a way to create a dynamic text field added to stage using as3 that is arched.I have seen this done in other sites but have had a hard time figuring out. Does anyone know of a component other than Text2Curve that is available? Has anyone already written something that arches a textfield that they would share?Arched text in flash seems to be impossible.
I'm trying to create a "counter" element that uses a formatted dynamic text box to count up in .1 increments 3 times a second, starting from a specified value (so viewer would see 3.1, then 3.2...etc.)
Here's the code so far:
var counter:Number; counter = 3.0 counterText.text=(String(counter)); var timer:Timer = new Timer(300);
[Code]....
What I can't figure out is what should go in the function area, to add .1 seconds each time the timer cycles.
I need to create a text field where the user can only write numbers from 3.0 up to 12.0 with any decimal. With any number he imputs i need another text field to store the number lowered to its nearest .5 number.[code]...
I was wondering if it is possible to create a dynamic text field with actionscript, to load XML data from a folder but only when this folder contains any data.Is it possible to check through Flash if a folder contains an XML file and in that case to create the dynamic text field in order to load the XML file?
I need to create a single text field with submit button. The user will simply enter their email address and press submit and it will be sent to an email address of my choosing.
Is there a way to pass the textfield A text to a dynamic text input (flash) as I'd like to use the font embedding flash offers. I can make it work when loading a value from a txt file but I'm not sure how to access the value identified above as KitGroupID_16_TextOption_38 and make it appear in a dynamic input box. Eventually I might want to have 3 font choices for the user but I'd like to just see if I can get this working properly first.
I have created an organizational chart for the company I work for displaying all current employees. Each contact is shown as a button that displays a 'popup' window on rollover. All of this works perfectly. What I want is to create an option to click on each button and the individuals email address be added to a dynamic text field at the bottom of the page.
Just to clarify, I am able to have text entered into the text field on each click, however, clicking on the next button removes the previous text. I want each click to create a new entry in a list. For example: "contact1; contact2; contact3;" etc etc. The end result would be for the user to copy all text (email addresses) from the dynamic text box and paste it into their Outlook "To" section.
I'm trying to dynamically create an empty text field with as at 560px wide, fill it with a bunch of text (one line) and continuously scroll it from left to right using hscroll and setInterval. I've read all kinds of specs about createTextField and hscroll but I can't get it to work. I ouputted the mytext.hscroll value and it's always at 0;
Does anyone know how to create a hyperlink on an swf file? i think it can be done using actionscript during the creation of the fla, but i want to see if it can be hyperlinked AFTER creation, just using the website code.