i didn’t have to…
as you know, this question is asked every now and then so i bookmarked it.
i didn’t have to…
as you know, this question is asked every now and then so i bookmarked it.
smart idea
Oh yeah, as another tip that I found out the hard way… HTML formatted text does NOT work when the dynamic textbox is being masked…
yup… i read the whole thread. it seriously sucks!! :-\
even if embedded? :q:
You HAVE to embed the font for it to work when masked.
I created a thread on this in the MX section a few days ago. It is quite a weird bug. I contacted Macromedia, but they never got back to me :-\
i know
my question is, if you had an html formatted text with the font embedded, and it was masked, would it show up?
Oh… Ummmmm, crap, we went over that in the thread. I can’t remember if it was the mask that messed it up, or the embedding of the font that messed it up…
::searches for thread::
Here it is… read up here…
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=19268
::finds the thread :P::
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=19268
edit. oops!!
HA!!!
lol…
Alright I removed all HTML formatting from my file and it all worked fine… BUT then I added an A HREF tag to my first lines of text. And everything STILL worked PERFECTLY fine… and get this… THE A HREF WORKED AS WELL!!!
So since the A HREF tag worked I was happy and tried to switch it to a bold or italic or other font formatting tag…
its confusing…
So was the situation :crazy:
A HREF tags work, but thats about it :-\
I have a another ? about this topic ya. from Kax.
I have index1.html, index2.html, index3.html files. nad 1 main.swf files. And in main.swf 1 input text and 1 button. If i enter 1 into input text and click button load index.html or i enter 2 load index.html etc…
HOw can I make this ?
HELP ME
You can’t load .html documents into Flash.
Ooh, So can i open that html files in internet browser using flash.
Yeah, use getURL(“url”, “location”)
For url obviously put the url to your file, and location can be _parent, _top, _blank, or the name of your frame you want the page to load into.
Here is just what i mean: i have these
main swf contain:
input text: var=mytext
button : instance=mybutton
index1.html
index2.html
index3.html
And if i enter a number between 1-3, main.swf opens html which is corresponded to the entered number.
and here is code which i used
whichpage =mytext;
mybutton.onPress = function () {
getURL(“index”+whichpage+".html");
};
And whichpage doesn’t take mytext’s number. SO what can i do?
Give your input text the INSTANCE name of myText and call it with…
var whichpage = myText.text;
And put that INSIDE the onPress handler (so it gets updated everytime you press the button)
I think thats the only thing I can see wrong with the above. As long as whichpage is a number, it should work fine.
Ooh, sorry, I can’t understand that all. And my action doesn’t work
Can U explain me more about it.
Make sure your textbox has the INSTANCE name (<I>not</I> var name, they are different) of “myText” (no quotes). Then do this…
[AS]mybutton.onPress = function() {
whichpage = myText.text;
getURL(“index”+whichpage+".html");
};[/AS]
If I am understanding what you want to do, you want to pull the number out of the input textbox and open that page.
If so, then that is the way to do it, if not, then I think you need to explain better because I am not sure I really understand.
:: Copyright KIRUPA 2024 //--