Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Replicating MM Search Input Box



Hi Guys,

I have tried this - only have flash 5

Here is the fla - I have it working except when I roll on and off the textbox it fades in an out.


I only want it to fade when I click on it and click off it.


onClipEvent (load) {
this._alpha = 100;
alpha = no;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (alpha == no)) {
this._alpha -= 13;
// this._alpha++ // very slow
// this._alpha*= 10 //a bit faster
alpha = yes;
} else if (alpha == yes) {
this._alpha += 13;
}
}
onClipEvent (load) {
}

http://www.actionscript.org/forums/a...=&postid=50155

Cheers,
SuzyQ



FlashKit > Flash Help > Flash ActionScript
Posted on: 05-24-2002, 10:12 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Search Input Field
I am trying to create a search feature for my site. I want to be able to input the search terms on my site and when the button is pressed, the term will be entered into Amazons search field and queryed. I can get all the way to the cursor being placed into Amazons search field but it stops there. The variable for my input text field is holding me up. So, how do I dertimine what needs to be put as my variable?

Optimizing Search Of Input While Its Typed
I want to scan user input as it's typed, looking for the occurrence of any of about a hundred keywords. I have these two ideas, and I'm wondering which will be faster, or if there are other approaches I should use.

1. Object with nested properties. Make a Keyword object, and give it properties like
Keyword.a.l.p.h.a = < action to take for keyword alpha >
Keyword.a.l.e.x = < action to take for keyword alex >
etc.

Then, when user types "a", we retrieve Keyword.a, and wait for the next character, which we then look for as a property of Keyword.a, etc.

2.Same idea, but using arrays indexed by ASCII character code. So a reference to the action to take for keyword alpha would be stored in
Keyword[97][108][112][104][97].

Upon reading "a", we'd grab the array Keyword[97], etc.

I'm guessing that perhaps the objects are really implemented as arrays, suggesting that option (2) would be faster. But I'm afraid that option (2) might produce huge matrices (even though most of the entries are blank -- would they still be created?) And would either of these approaches really be faster than waiting for a non-word character to trigger a search?

Not knowing (a) how this stuff is implemented in the Player, or (b) how "real" programmers deal with this kind of task, I'm looking for any advice I can get.

Search For Words In An Input Text Field
Hi,

Does anybody know what code I need to search for certain words from a sentence in an input text box? I guess the code would need to search each word before it moves onto the next until it reaches the end of the sentence, searching for the words that I have stated. I am relatively new to programming and think this is possible so if someone could help me in the right direction, that'd be great.

POSTing Input Text To A Search PHP Page...
I originally posted this on Macromedia's official support forums, but I can't even reply to suggestions since the connection to that site keeps timing out...

Anyway, I am using the xoops CMS on my site. (www.paintballandstuff.net) Anyway, I converted the original HTML code on the page to something in the flash header.

The original HTML code was:

<form style="margin-top: 0px;" action="<{$xoops_url}>/search.php" method="post"><input type="text" name="query" size="14" style="background-color: rgb(255,255,255); color: rgb(0,0,0); border: 1px solid rgb(0,0,0)" />
<input type="hidden" name="action" value="results" />&nbsp;&nbsp;&nbsp;
<input type="submit" value="Go" style="background-color: rgb(255,255,255); font-family: Tahoma, Verdana, sans-serif; font-size: 12px; border: 1px groove rgb(0,0,0)" />
</form>

Anyway, I thought of using this actionscript in my flash header:

I have a movieclip that contains a button that also has an input text box. The name of this box is "query" and the flash actionscript is:

on (press, keyPress "<Enter>") {
getURL("../../search.php", "", "POST");
}

Anyway, the point of this post is: when I enter text and click on the go button, the search page loads up, but the variable information does not get passed along.

Anyone know why this may be the case?

Movie Search & Load Using Text Input Fields...HOW ?
Im developing a site in flash 5 for a second hand car seller, i need to be able to have a search box so that the customer can type in the car they are looking for.. ie "ford escort" i want flash to then bring up a list of cars available i then want to be able to click on the car text to load up the car movie......how can this be done ???

Input Text/query And Click To Search Google ?
> An input text field (variable="STRING") with a button next it > User types in something then clicks the button :> User is taken to the google search results for that what they typed in.

So i make the input text field a variable ("STRING") and then give the appropriate actions to the button - i tell it to somehow get the google search results page (*ttp://www.google.co.nz/search?q=something&ie=ISO-8859-1&hl=en&btnG=Google+Search&lr=) and add in the right place the variable STRING (_root.STRING)

this is not the realistic way of searching google obviously but it will help me learn more about variables etc

any suggestions?

Sending Input-text Variables To Site Search Php.
Hi, I'm a designer in strugle with variables! (FlashMX).

I want my flashfile to send the value from the input text field "search" to my site search at main.php?id=9

The output needs to be like this: main.php?id=9?search=searchword

So I got down to this code on in the search button:

on (release) {
var verdi = search;
getURL("main.php?id=9&search=("+verdi+")");
}

This kinda works, but I get the output like this: main.php?search=(_level0.mc1.instance1.search)

Why do I get the target path and not the input value of the textbox?


Again I beg for help from u actionscript gods

Search For A Word In 'input Text' And Display As Bold.
Hi All,

I want to search for a certain word or even better any word beginning with a certain letter and make it bold.

Like the word 'foo' in bold if the text was 'foo bar'.

or make all numbers italic.

How easy is this to do?

Replicating An Effect
say there's one particular "effect" i want to use on several different symbols, what's the best way to go about reproducing it? for example, let's say i find a particular way of affecting color and size with lots of tweens that makes a really nice "shine" effect, and want to use the same settings on 30 or 40 different text and/or image links - how should i go about it?

tyia

Help In Replicating Menu
Hi,
I am working on a website and want to integrate a Flash menu, with the same type layout as the one used here (http://www.islandrecords.com/thekillers/site/home.las). I'd like a menu list where you get sub-menu items when you roll over the buttons. I'm just getting into learning Flash, and could use some help. I've got my main image and my buttons created on seperate layers. But I don't know how I should put the sub-menu items in, or how to get them to appear when you roll over the buttons. Any assistance in how to properly set this up is much appreciated. Thanks in advance. - Eric

Replicating An Applet
Hi,
I saw this applet that basically had heaps of points arrange in columns and rows, that when u clicked and held the left mouse button down they would move towards the mouse, and move away if the right button was clicked.

so the question is how do i make this code 4 making the points arrange on stage simpler I am sure there is a better way.


Code:
a = 0;
j = 1;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 1+i);
a = a+60;
b = 60;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 2;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 20+i);
a = a+60;
b = 120;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 3;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 40+i);
a = a+60;
b = 180;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 4;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 60+i);
a = a+60;
b = 240;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 5;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 80+i);
a = a+60;
b = 300;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 6;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 100+i);
a = a+60;
b = 360;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 7;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 120+i);
a = a+60;
b = 420;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 8;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 140+i);
a = a+60;
b = 480;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 9;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 160+i);
a = a+60;
b = 540;
_root[peete]._x = a;
_root[peete]._y = b;
}
a = 0;
j = 10;
for (i=1; i<11; i++) {
peete = [i, j];
_root.attachMovie("point", peete, 180+i);
a = a+60;
b = 600;
_root[peete]._x = a;
_root[peete]._y = b;
}
also i am using a mouse down clip event to make the points move to the mouse how do i make this happen for the whole time the mouse is down not just the click?

Help Replicating Effect
Hi all,
just wondering if anyone could give any help... I am trying to copy the effect on this page.


www.bbc.co.uk/radio1

when you hover over a picture, info pops up from the bottom.

Any clues?

Many thanks :-)

Self Replicating Program
Can anyone use AS3 (or AS2 I suppose) to write a script that can reproduce itself? Successful program should export code (into a TF or the output panel) that can be copied into a new flash file and run to repeat the same output indefinitely.

I've seen this posed for other languages but I'm not sure how to tackle it in AS3...yet.

Replicating A Pattern
This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile. Any idea??

Replicating A Pattern
This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile. Any idea??

Replicating Website + Flash
Okay. Here is my predicament. My Father's company (Natural Herbal Prodicts) is paying some people a large sum of money to design a website. The design that they are stuck with is mediocre and not very functional and I could do a much better job, and would like to do so, except for this obstable. They are making a replicating website, that would be plugged into the already existing database system. Let me explain...


The original domain name will be www.entreneteam.com
Say I ordered, then a site would automatically be created after the order at the url
www.entreneteam.com/eric.html
Now say I give my card to someone with my url on it and they will get the same frontpage as anybody else, but when they order, they will be put under me in the distributor line so that their orders benefit me.
So these frontpages would be replicated like a tree and tied into the distributor database. Now, he already has a programmer that can take care of the database part, and tying the database into it, but I would still personally have to do the replicating webbsite part of it myself.

Now I have no idea how to do that, and will gladly research, but is this possible to do in Flash MX or in Flash MX and Cold Fusion, so that I could include the funtionability of a replicating website, with a good flash design?
I would really be helping my father out of a situation if I could do so.
Thanks for your time.

Replicating Website + Flash
Okay. Here is my predicament. My Father's company (Natural Herbal Prodicts) is paying some people a large sum of money to design a website. The design that they are stuck with is mediocre and not very functional and I could do a much better job, and would like to do so, except for this obstable. They are making a replicating website, that would be plugged into the already existing database system. Let me explain...


The original domain name will be www.entreneteam.com
Say I ordered, then a site would automatically be created after the order at the url
www.entreneteam.com/eric.html
Now say I give my card to someone with my url on it and they will get the same frontpage as anybody else, but when they order, they will be put under me in the distributor line so that their orders benefit me.
So these frontpages would be replicated like a tree and tied into the distributor database. Now, he already has a programmer that can take care of the database part, and tying the database into it, but I would still personally have to do the replicating webbsite part of it myself.

Now I have no idea how to do that, and will gladly research, but is this possible to do in Flash MX or in Flash MX and Cold Fusion, so that I could include the funtionability of a replicating website, with a good flash design?
I would really be helping my father out of a situation if I could do so.
Thanks for your time.

Replicating OnDragOver In Flash 5
Hi every1. First post, wondering if you can help me.

The deal is I've got an MC that I am dragging around my scene and I need other MC's to be highlighted as I drag over them, i.e. the mouse is still down. Buttons don't work, onClipEvent only runs once whilst mouseDown (so I can't do a continuous position check) and the only thing I can think of working is the onDragOver and onDragOut events in MX but I am using flash 5?

Any feedback welcome. Can't help feeling like am being very stupid, am sure this is possible, but can't for the life of me think how.

Cheers,
Sir.

Replicating Flash, Am Stuck :(
Hey,

I seen this flash thing. And i want to learn how the computer gets brought into it. Take a look here http://www.clipitsolutions.co.uk/flash/flashmovie.swf .. As soon as it starts, the computer comes in with like a cirle being tweened over it. But i dont understand how to do this?

If anyone could help, would be most greatful. I really wana learn this technique but its fryin my brain lol

Thanks,
Paul

[CS3] Efficient Way Of Replicating MovieClips?
On my main timeline I have two dynamic text boxes and an input box that represent a math problem. I wanted there to be three problems on the screen at a time. Since I don't know much about classes and making packages I just copied and pasted the problem twice so that I have three instances of each text box. Next I basically just tripled my lines of code, one block for each of the three problems.

I'm assuming the proper way to handle something like that is to make the problem a MovieClip and then make a class for it. However, when I attempted to do that I got errors [possible undefined function] because code that still remained on the Main Timeline was referencing functions that had been moved from the Timeline into the mcProblem class. Could I change the code on the Timeline so that I won't be getting these referencing errors? If not, could you please provide some detailed information about what I should do regarding classes? Currently I am not using a document class.

If anyone understands what I'm trying to do, please guide me in the right direction. This is my first attempt at a solo project (for fun) and while I can achieve the desired swf sloppily I prefer to learn to do it the clean and efficient way.

Replicating Files On A Desktop In AS
Can i replicate files and create folders on a users desktop through actionscript?

Im creating a template builder that will have to replicate my swf's, write a variable to a html page where my flash is embeded, write a xml file, and create a folder on a users desktop with all the files above?

Is this possible in as or as3? Do I need to write my application in VB or flex instead?

Replicating HTML Forms
I am trying to put a HTML form into flash that has hidden fields. How can I put these in flash? Do I just set a variable value under the submit button function? Thanks!

Replicating Pages Turning
I'd like to replicate the turning of pages of a book, to show different information. I would either like (A) when you click on the lower right corner the page flips, flowing across the screen as if turning in real life or (b) *favorite* that when the lower right corner is dragged towards the left side, the page turns to the next. is this even possible? any help would be greatly appreciated (ps kinda new but my confidence and understanding is growing quickly)

Indications On Replicating Effect
Hello. I would like some indications on how to replicate the transition effect between the images on this site: link (the transition effect with the squares). Please offer some ideas on how to do that effect. As many indications as possible are welcomed. Thanks.

Replicating Pages Turning
I'd like to replicate the turning of pages of a book, to show different information. I would either like (A) when you click on the lower right corner the page flips, flowing across the screen as if turning in real life or (b) *favorite* that when the lower right corner is dragged towards the left side, the page turns to the next. is this even possible? any help would be greatly appreciated (ps kinda new but my confidence and understanding is growing quickly)

Replicating Left And Right Mouse Clicks
Was wondering whether anyone knows if it is possible to replicate a left and right mouse click in flash.

Need to distinguish between whether the user has right clicked their mouse or left clicked....also any ideas on replicating a double click?

Cheers....

Replicating The Menu On ERAIN Homepage.
The header bar of the Electric Rain webpage has a very nice effect when you rollover the buttons. I am just wondering if anyone knows how to re-create this effect. Also how to make the little pop-up bubble when rolled over the logo.

http://www.erain.com

Replicating This Effect With Bitmapfilter (Effects)
Hey there all, I'm just trying to replicate this effect

http://www.reactiondynamics.com/sd2.swf

using flash. So far, using Senoculars blurred trails example on his website, I've got this: blurtrail2.fla

Only, it doesn't look right and I'm not sure how I can get it looking better. For instance, how can I remove the spacing that appears as dots spin, and also, how do I elongate the trail, and make the blur falloff ? If it can't be done in flash, what program can I do it in?

Any help appreciated

Help Needed On Styling And Replicating Text Field
As a new AS3 coder I'm at a little bit of a loss on the most efficient way to replicate a styled text field.

I would like to use the following styled text info and load some text from an array. Do I need to create all this styling for every instance of the text in the array or can I create several new instances of the field in my function?

Thank you in advance for your help.


ActionScript Code:
var headlines:TextField = new TextField();var headline:TextFormat = new TextFormat();headline.size = 20;headline.font = new HelvBlack().fontName;headlines.alpha = 0;headlines.setTextFormat(headline);headlines.embedFonts = true;headlines.autoSize = TextFieldAutoSize.LEFT;

How To Make A Search Form That Opens A .swf File Form A Text Input ?
I'm working on a CD catalog, that has hundreds of pictures, and i need to create a search form that would open a file by typing its name

please help

Replicating Photoshop Text Tool Antialiasing Settings In Flash 8?
Does anyone have any custom antialiasing settings to match up with the 4 settings: smooth, sharp, crisp and strong?

Thanks

Senocular XML Search Tutorial (search Query Case Sensitive)
Hi
I've just tried senocular's xml tutorials.

http://www.kirupa.com/web/xml/examples/searchbestof.htm

The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

Senocular XML Search Tutorial (search Query Case Sensitive)
Hi
I've just tried senocular's xml tutorials.

http://www.kirupa.com/web/xml/examples/searchbestof.htm

The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

Search Engine -user Can Search His Pictures With Keywords- HELP
I was reading about search engines and I came across a post. Being fairly new to flash I do not know how to develop this. I have a client who owns a small furniture store. I am setting up his site. He wants it to be all flash based. He has about 300 pictures of his products.I need to make a search engine in Flash so that the user can search his pictures with keywords. I read a suggestion that would fit my needs- create an array of picture names then use a loop to check if the keyword is in the array. I have been going through tutorials with no luck- can someone please help. Maybe start the code the person is talking about so I can just expand on that.

How To Build A Search Engine To Search Ur Own Flash Site?
Hey its Stuart here again.
How do you build a search engine to search ur own flash site?
Do you guys have any links?

How To Build A Search Engine To Search Ur Own Flash Site?
Hey its Stuart here again.
How do you build a search engine to search ur own flash site?
Do you guys have any links?

Search Page With Search Result From Text File
I want to make search page with search result In Flash, Data will be come frrom TXT file. can any body help my or give me source(FLA)??

Search In Flash Using Atomz Search Services
does anyone have any information on using atomz search service using flash? please reply....
thank you

Search Flash Content In Search Engines
Do you have any experiance how to optimize flash site for search engines?

If swf contains text an links, how can i constrain search engines like Google,... to find this?

Thanks

Search Flash Content In Search Engines
Do you have any experiance how to optimize flash site for search engines?

If swf contains text an links, how can i constrain search engines like Google,... to find this?

Thanks

Flash Search Field - Atomz Search
I currently use Atomz for their search engine. A clients site as of now is all HTML, however I am buidling some flash elements which will incorporate a simple "search" field and submit button.

I will include the HTML, however I am unsure how to make a form in Flash to be able to include the hidden fields, etc. I hope this makes sense, and thank you in advance!

<form method="get" action="http://search.atomz.com/search/" name="search">

<input name="sp-q" class="textbox" id="sp-q" value="Search" size="15">
<input type="hidden" name="sp-a" value="sp1002ad5d">
<input type="hidden" name="sp-p" value="all">
<input type="hidden" name="sp-f" value="ISO-8859-1">

<input type="submit" name="Submit" value="Submit">
</form>

If someone could create a small file, or let me know where to place what code where, please let me know. Any help is greatly appreciated! As well, if you have paypal, I can send a little something for the help!

Search Help Text Search In Flash
Hello, i'm realy stuck, and I need help... read dead end , i need to make a search on my site in flash, and also i need to explain ... what i need , example, whole site is in flash, and i need when someone wonna to find something just type word or sentence and then find on my site, but not google find or something like that... i wonna something easy, like CTRL + F, but label with find button... if anyone can help me or give me a guide i will be so happy, so thanks

sorry for my english... I hope it's readable )

No Search On Search Engines How To Do It
i i made some sites of well known people a site for their family party and they do not want all the world to see it just friends how can i have it on the net and stop the search engines from finding it
i saw it once one can code in no search or no index or something ,does anyone know
id appreciate it
thanks
faith

Help With Email Form - Input Text Boxes Not Allowing Input
i placed an email form into a movie clip in this site...and the input text boxes are no longer allowing me to type into them.

the email form (which i got from flashkit), as it's own file, works fine, so i know it's possible...but for some reason when i take the movie clip from one file and drag it into the one i'm working on...it loses that input text funcionality. All the actionscript is the same...everything is identical...i don't get it.

i even tried to place it on top of a movie clip within the main content clip thinking maybe because it was an mc within an mc within an mc that had something to do with it...but not the case.

any help you can provide is appreciated.
(attached file was saved as MX..orig is in MX 2004 Pro)

thanks.

oh, also....how would i load movie clips to different layers?...if i understand some things i've read here, that will help me speed up the site overall...as it is VERY slow in browser. but...maybe i'm wrong.

What Are The Best Ways To Capture Input From An Input Text Field?
Hi,
I don't know ASP, CGI, PHP etc. I do, however, have a flash form with two input text fields named “E-mail” and “Name”, and a submit button.

How can I set this up so a user can input the info in these two fields and click the submit button to some how send me the data - Via Email? txt on the server? Anything...

Also, if this is not possible, what is the simplest way to learn PHP or whatever is most appropriate to get these goals accomplished.

Thanks,
Stephen

Tracking User Input In Dynamic Input Boxes
I need to track if a user correctly typed what I have asked them to. If they do, they will go to the next step, if not , they will be prompted what to type. I set up an input text box with the instance name "name_txt" I have put this code in the first frame of the main timeline.
code:
var theName = "";
name_txt.onChanged = function(){
if (theName == "ron jones"){
trace ("correct");
gotoAndStop(2);
}else{
trace ("Please type ron jones");
};
trace ("My name = " + theName);
};
stop();

it tracks the users keystrokes, but when you type the final letter. the trace on the variable shows that it equals "ron jones" but the file does nothing, i put in a trace statement right after the "If" statement, apparently this never = true, because it is going right to the "else" statement. any ideas on how to accomplish this?

any help would be great

IMS

Email Form In Flash Using PHP - Input Fields Won't Allow Input?
I've used this tutorial http://www.kirupa.com/developer/actionscript/flash_php_email.htm

to create an email form. When I test in Flash, the input fields work fine. However when I publish it to the server I'm using, it won't allow the fields to be clicked on! You can see it here...www.tagdenim.com

(click on the Email List button at the bottom right.)

Any one else have this problem? I'm pretty sure I got all the code right, and I know for a fact that my server supports PHP. I'm using godaddy's server, btw. Maybe I have to turn the PHP on or something??? not sure. I'm a newbie to using PHP and Flash together. Any help would be appreciated!

Thanks!

Email Form In Flash Using PHP - Input Fields Won't Allow Input?
I've used this tutorial http://www.kirupa.com/developer/actionscript/flash_php_email.htm

to create an email form. When I test in Flash, the input fields work fine. However when I publish it to the server I'm using, it won't allow the fields to be clicked on! You can see it here...www.tagdenim.com

(click on the Email List button at the bottom right.)

Any one else have this problem? I'm pretty sure I got all the code right, and I know for a fact that my server supports PHP. I'm using godaddy's server, btw. Maybe I have to turn the PHP on or something??? not sure. I'm a newbie to using PHP and Flash together. Any help would be appreciated!

Thanks!

Converting Input Text To Non-input With Actionscript
Is it possible to set a text field whose property is Input to Static Text with Actionscript?

Copyright © 2005-08 www.BigResource.com, All rights reserved