Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 16-05-2006, 16:25   #1 (permalink)
Neuer User
 
Registriert seit: May 2006
Beiträge: 7
search/such form in zu flash

Hallo,

I habe ein such/search form(search form for main site)
main site header is mit flash oben/header des sites is ein
search/such form(lehr). i wolle das search/such form ins flash.
the search/form was denn wen ich das webdesing gekauft habe in der
flash header shon designed.

nun ih brauche einwhach das such form activieren mit correct input
form jsw (i habe html sourche code wie cann ich das ins flash bringen)

Danke, (enschulligen sie wen ich correcture wheler habe, nicht lange geschriben und gesprochen mit diese sprache).
pads ist offline   Mit Zitat antworten
Alt 16-05-2006, 16:30   #2 (permalink)
Flashworker
 
Benutzerbild von sebastian
 
Registriert seit: Nov 2001
Ort: Wiesbaden
Beiträge: 10.945
Hi,
you can also speak English, its okay.

But let's try in German: Du hast ein fertiges Template gekauft in dem bereits das Suchfeld war? Und das möchtest du jetzt mit deiner Suche verknüpfen, die schon existiert?
Schau dir deine vorhandene Suche mal an und schau welche Variable genutzt wird und welche Parameter das form noch hat. Du kannst deinem Textfeld in Flash diese Variable dann zu ordnen und per getURL die Suchadresse aufrufen.
sebastian ist offline   Mit Zitat antworten
Alt 16-05-2006, 16:42   #3 (permalink)
Neuer User
 
Registriert seit: May 2006
Beiträge: 7
The code is following: I just need the code entered into flash desing(site)

<!-- Simple search form -->
<font face="Tahoma, Verdana" size="2">
<form action="http://search.mydomain.com/index.php" method="get">
<input type="text" name="query" value="" size="40" maxlength="255">
<input type="submit" value="Search">
<input type="hidden" name="type" value="simple">
<a href="http://search.mydomain.com/index.php?type=advanced"><font size=1 color=gray>Advanced Search</font></a>
</form>
</font>
<!-- End search form -->

How can I enter this form into flash. search box.
I have ready made text are and the go button.

and now i need to enter the from into the text area(where you type the search word) and go/search button. how can i do it with flash MX 2004.
i do no know the flash so good.

how can I make the search form to flash search.

please exact und meticulous answer

thank you/danke

Geändert von pads (16-05-2006 um 16:45 Uhr)
pads ist offline   Mit Zitat antworten
Alt 16-05-2006, 16:51   #4 (permalink)
vicariously I
 
Benutzerbild von CHRIZZZLIE
 
Registriert seit: Apr 2003
Ort: HBC
Beiträge: 1.940
Hi,
Flash works completley different, so you can't just alter the html syntax.

You should have a look at the Flash basics in the Flash Help.
To build a form you'll need a Button, a Text Field, and some Action Script (loadVariables or getURL for eg)

If you have any questions feel free to ask, but please don't expect us to build it for you.

Geändert von CHRIZZZLIE (16-05-2006 um 16:52 Uhr)
CHRIZZZLIE ist offline   Mit Zitat antworten
Alt 16-05-2006, 16:52   #5 (permalink)
Flashworker
 
Benutzerbild von sebastian
 
Registriert seit: Nov 2001
Ort: Wiesbaden
Beiträge: 10.945
well there are different possibilities. take this one for example:

give your textfield the instance name(!) "query", then the button only needs this action (mark button and press F9):
ActionScript:
  1. on(release)
  2. {
  3.    getURL("http://search.mydomain.com/index.php?type=simple&query="+query.text);
  4. }

thats it
sebastian ist offline   Mit Zitat antworten
Alt 16-05-2006, 20:11   #6 (permalink)
Neuer User
 
Registriert seit: May 2006
Beiträge: 7
Zitat:
Zitat von Sebastian W.
well there are different possibilities. take this one for example:

give your textfield the instance name(!) "query", then the button only needs this action (mark button and press F9):
ActionScript:
  1. on(release)
  2. {
  3.    getURL("http://search.mydomain.com/index.php?type=simple&query="+query.text);
  4. }

thats it

thank you, but i can not get this work, the instance name "query" i have entered the query with selecting the text area and pressing F8 and entering the name for it "query". what i am doing wrong? am i entering the "query" to wrong place? again thank you for bringing me so far
pads ist offline   Mit Zitat antworten
Alt 16-05-2006, 21:04   #7 (permalink)
Flashworker
 
Benutzerbild von sebastian
 
Registriert seit: Nov 2001
Ort: Wiesbaden
Beiträge: 10.945
That is the name of the symbol and not the instance name. Undo this step and mark the textfield and have a look at the properties -> there u have to enter the used name.
sebastian ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 06:24 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele