ActiveDen

AS3 Autocomplete Search Bar

  • Exclusive Author
  • Has been a member for 2-3 years
  • India
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars

useful file !!!

andim09

Thanks!

  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • India
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Has been a member for 3-4 years

can i link be added to the suggestion or a action? example if i click on ANNA then gotoandstop (2)?

andim09

Sure, you can trigger any event you want, including gotoAndStop or navigateToURL. If you need help I can provide support in your projects as a freelancer.

Andrei.

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

Can it hold about 30.000 products code and their names?

Is it fast to load for that quantity?

Thank You

Erjon

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

I just bought this item thinking that it have already the navigate to url option. How can I enable it and where to put the links?

Thanks Erjon

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

Hi andim09,

there is no news from you, I bought this module for nothing. At least give a reply that it is possible to activate links on suggestions or not?

andim09

Hi,

Sorry for the late replay. I’m having a few days of holliday, without a computer and everything.:) you can add the links in xml but you will need to change a few things in the classes. I will be back with a solution by monday.

Sorry again for the late replay.

Best regards, Andrei

andim09

Hi,

Sorry again for the late replay. The thing is that this component search within the elements of your xml, counts and shows you the number of elements that match you text input.

When you click one element it triggers a custom event. From that point you can add your custom code like navigatoToURL(“www.site.ro”+\?search=myInputValue) or create a gallery etc.

Your code can be added in com.amstudio.SearchComponent class in the function newMainSearch() – line 125.

Hope this helps. if you steal have questions please let me know.

Best regards, Andrei.

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

Thank You

I will wait.

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

Thank you Andrei,

The problem is that the solution you provided gives an error, see screenshot: http://i49.tinypic.com/awvrqc.jpg

Please provide the SearchComponent.as file with correct syntax.

Where to add links in xml file?

Thanks Erjon

andim09

Correct syntax should be like this:

var req:URLRequest = new URLRequest(“https://www.google.com/search?as_q=” + SearchBar.controller.searchTxt.text);

navigateToURL(req, “_blank”);

Andrei.

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

Hello,

Works perfectly, great help.

There is a small bug maybe on your later future works this autocomplete searches only if you type from beginning.

For example: Flash icon sets, if you search just “icon” doesn’t show the “Flash icon set” at all.

For me it is better as it is now, I don’t want to mix up results.

Thanks again Andrei

andim09

Glad I could help and thanks for the tips. Maybe when I will have some time I will make an update.

Best regards, Andrei.

  • Bought between 1 and 9 items
  • Has been a member for 3-4 years
tebusco Purchased

Hey, this is a great component, but a need some help, i’m doing a desktop aplication, I need to find items by name or code, you can give me a suggestion how i can do this???


by
by
by
by
by