Search Tutorial (multiple Images & Mask Effect)
I 'm looking for a tutorial that explains how to make a mask effect that is used on several sites to switch different images.
I made a little picture of how i like it.
http://www.ruelens.be/question.jpg
here is an online example (sort of) :
- http://www.frankenstandbouw.be/site/...nds/index.html ( the quares in the beginning but then from one image to the other )
thx in advance
G.
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2003-11-13
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mask Effect Tutorial
Anyone know where i can find a Tutorial for this type of effect ?
http://us.i1.yimg.com/us.yimg.com/i/...irlsecret2.swf
thanks in Advance.
Multiple Images Mask
Hi,
Anyone can gimmi and idea how this done. cos everytime a new image comes in the magnifier masks all images together.this is done with AS
link : http://www.picturetrail.com/photoFlick/ ... fier.shtml
I know to do it with a single image.
Multiple Mask Clip Effect
Hello,
Trying to create multiple masked objects/clips to mask an image.
Dispite attempts to duplicate the masking object, only one masked object appear(the first one), the rest appear but have no masking effect on the image.
Any help would be greratly appreciated.
//check multiple masking objects/clips
for(i=0; i<=10; i++){
this.duplicateMovieClip("mask1"+i,i);
_root["mask1"+i]._x+=this._x*i;
// i tried this with no effect...image.setMask(["mask1"+i]);
}
Thanks
Timeline Effect Same Effect Multiple Images Layout
I'm trying to use the timeline effect on some transparent .png or gif file's...
All I want to do is create say a 100 frame effect... have it fade in at the beginning and out at the end for .png 1.
Then be able to re-use the effect without having to step back through the timeline effects creator dialogue for .png 2 and so on...
In other words I want to create multiple movie clips all w/ the same animation timeline... and then have them easy to edit on the main timeline maybe overlapping a little etc.
Also the client will probably want to tinker w/ adding new images and suggesting which one's should go first in the fade in and out string of animation's which take place simply one at a time on the stage.
Here's a basic link for what I've got.... the machine images should be easily changed maybe even loaded as a seperate .swf or something:
MLS Machines flash intro
The main priority being the main movie timeline should be easy to edit w/ the movieclips... this is prolly a newbie question, but I'm having trouble keeping this simple, for editing in the long run...
Help please.
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.
Fog Or Mist Tutorial Search.
I have a jpeg of an old map that I'm using for a background in a flash movie. I'd like to juice it up a bit with some kind of random lightly billowing fog or mist scrolling from left to right. I've searched the forums and tutorials here since yesterday and I've found some nice smoke tutes but nothing dealing with a random left to right scroller.
Would I be best off using movieclips of some light cloud patterns in various degrees of transparency or is there some open source actionscript out there that will apply this effect for me?
thanks for any help.
Disco
Atomz Search Tutorial
i am trying to do that Atomz search tutorial.
i set up an account and set it to search www.gouranga.com (this is not my site just a temp one to search for testing)
but my URL looks like this.
ActionScript Code:
http://search.atomz.com/search/?sp-q=search&sp-a=sp1002b9aa&sp-p=all&sp-f=ISO-8859-1
so what part do i add to the ID part.
Fog Or Mist Tutorial Search.
I have a jpeg of an old map that I'm using for a background in a flash movie. I'd like to juice it up a bit with some kind of random lightly billowing fog or mist scrolling from left to right. I've searched the forums and tutorials here since yesterday and I've found some nice smoke tutes but nothing dealing with a random left to right scroller.
Would I be best off using movieclips of some light cloud patterns in various degrees of transparency or is there some open source actionscript out there that will apply this effect for me?
thanks for any help.
Disco
Search Engine Tutorial
Does this tutorial work for anyone else?:
http://www.macromedia.com/support/generator/ts/documents/search_engine2.htm
I went through it using Flash 5 and an Access database on a stand alone machine, but I can't get it to work.
Some parts of it I don't fully understand, like the bit where it tells you to create a symbol called 'ButtonClip'. It doesn't tell you what type of symbol to make it (I think it might mean an MC, but on one of the pictures the actions have on release which obviously an MC can't have).
Anyway, if anyone can get this to work, can they point me in the direction of a different tutorial.
Aw yeah, last thing, I'm using Windows 98, so it would be helpful if you also said how to do the ODBC. I thought mine was set up alright but who knows...
Thanks
Tutorial Search For Movie Clip
Hi everyone, I'm new to this community and in flash design. I would like to get someone's expertise in a movie clip I'm trying to replicate http://www.ubs.com/e/ebanking.html ... particularly the movement of the images and text within the blue lines and at the beginning when the blue sticks open up and postion.
I've tried searching the tutorials any suggestions there
thnx zen17
Atomz Search Tutorial By Kirupa
Does anyone know if the atomz search engine will work on an executable? That is, on a flash project that is made into a stand alone CD project and not loaded on the web?
Atomz Search Tutorial Problem
I am trying to use the atomz search engine tutorial to add a search field within my flash movie.
When I upload the file and test, it does not connect to the atomz search engine and shows a 'Page not found' error.
Also, when this happens the url shown in the address box is as if a link is trying to be made to a page on my site instead of the atomz site.
The actionscript as shown in the tute is (this is attached to the 'GO' button within the movie):
on (release, keyPress "<Enter>") {
id = "sp1002205b";
address = "http://search.atomz.com/search/?sp-advanced=1&sp-q="+url+"&B1=search&sp-a="+id+"&sp-w-control=1;";
getURL(address);
}
I have checked my id is correct and cannot see what I'm doing wrong (the downside of being an AS newbie!)
Hope this makes some sense - I'm stumped!
Atomz Search Tutorial By Kirupa
Does anyone know if the atomz search engine will work on an executable? That is, on a flash project that is made into a stand alone CD project and not loaded on the web?
Flash Video Tutorial Search
Hello,
A couple of weeks ago i came across a guy's site that had video tutorials on different flash subjects. one of the subjects was video in flash. I can't for the life of me remember the site... does anyone remember/know what i'm talking about.
i think the guy works at harvard developing educational tools with flash or something.
please help me find the site... it had awesome tuts. thanks
Search Across Multiple Files
Is there a way in flash that I can search across multiple files? I have some code that I forgot where I put.... Thanks.
Search Multiple Arrays
I have been at this for hours and have successfully confused myself beyond redemption. Could anyone explain where I have gone off the beaten track with this code. I have three arrays which I want to search, my search criteria comes from input textfields on the stage. Any help would be greatly appreciated.
Attach Code
submitBtn.onRelease = function() {
var score:Number = 0;
for (j=0; j<4; j++) {
for (i=0; i<Answers[j].length; i++) {
if (this._parent.s1.text == Answers1[i]) {
trace("Correct");
score++;
trace("Your score is "+score);
break;
} else {
trace("Incorrect");
}
}
}
};
var Answers1:Array = Array("one", "onne", "onnne");
var Answers2:Array = Array("two", "twoo", "twooo");
var Answers3:Array = Array("three", "threee", "threeee");
Search Xml For Multiple Keywords
I have a problem with searching xml data. I completed the xml in flash tutorial here at kirupa, and made my searches like this one.
My question is: how can I search for multiple keywords from an array? Repeating the search for each piece of the array? How?
ie:
Code:
myarray=[123,159,168,146]
var nodesMy = SearchXML(
_root.umftFull_xml.firstChild.childNodes,
myarray[i],
searchFor
);
SearchXML = function(nodes, query, useChildElements){
var results = [];
for (var i=0; i<nodes.length; i++){
for (var j=0; j<nodes[i].childNodes.length; j++){
currNode = nodes[i].childNodes[j];
if (useChildElements.contains(currNode.nodeName)){
if (currNode.firstChild.nodeValue.toLowerCase().contains(query)){
results.push(nodes[i]);
break;
}
}
}
}
return results;
}
Where do I make the for statement to i get each element of the array pushed trough the xml one by one?
Please help i'm stuck.
Special Effect Tutorial (Magic Effect)
So this is my first ever tutorial, I think.... It definatly is my first video tutorial. Hope it helps somone. I REALLY plan on the next one being alot better.
http://www.youtube.com/watch?v=IqxV8j86wMc
http://www.youtube.com/watch?v=SkvlMvrLEoQ
The second part is without audio sorry. But it is also the part that shows the code that makes it work.
Mask Tutorial..?
Hi Chaps,
After looking at this tutorial:-
http://www.flashkit.com/movies/Effec...79/index.shtml
I am wondering whether there is a way to add an image over the top of the squares that dissolves with each square to give a scratchcard effect?
Any clues...?
cheers peeeeeple
SpaceyUK
Get Images From Google Search
Hi !
I'm doing a work for University and I need help.
How can I get images from the web(for instance , results from google search) and have them loaded in my swf?
Thanks, Hope you can help me!
Wis
Help With Unique Random Images - Multiple Images At A Time
Ok so what i would like to do is set up a page that has 36 images on it. But every time anyone goes to the site i want them to show up in random order. I have jpgs they are all labeled 1.jpg, 2.jpg 3.jpg and so on. I have used code that pulls the images form a folder that the swf isnt in like /images/1.jpg. So what im saying is i want to pull them externally. Any one have any ideas on how to do this?
Attaching Multiple Images - Load Images One At A Time?
I have a photo gallery that loads many images using a for loop (image data is from XML file). Simplified code looks like this:
Code:
var photos_xml = new XML();
photos_xml.ignoreWhite = true;
photos_xml.onLoad = function(success) {
if (success) {
var photos = photos_xml.firstChild.childNodes;
var itemCount = 0;
for (var i = 0; i < photos.length; i++) {
var path = photos[i].attributes.path;
// attach the photos
var photo_mc = _root.center_mc.photosLevel1_mc.attachMovie("photoFrame_mc", photoName, itemCount);
photo_mc.empty_mc.loadMovie(path);
itemCount ++
...
Then on the photoFrame_mc clip I have a loading like:
Code:
onEnterFrame = function () {
loader_mc._visible = false;
var t = empty_mc.getBytesTotal();
var l = empty_mc.getBytesLoaded();
percent = Math.round((l / t) * 100);
if (l == t && t != undefined && t > 10) {
loader_mc._visible = false;
delete this.onEnterFrame;
} else {
loader_mc._visible = true;
if (isNaN(percent)) {
percent = 0;
}
loader_mc.percent_txt.text = 10 - Math.round(percent / 10);
}
};
So what happens now is that many images get attached at once and they are all loading at the same time.
What I'd like to do instead is to have them load one at a time. The first pass through the for loop attaches an image and then it loads, but it doesn't move on to the next image until the first one is done loading. Is that possible?
Or maybe is it better to let them load all at once? I just think that when the image count is very large it will really bog down loading so many images at once and it might be best to load one at a time. Please advise.
Creating A Search For Multiple Fields
Hi there
I am needing to create a search box that will search on multiple fields from a SQL database. This is for a local intranet and I have no idea where to start. I am just a beginner at this and have very basic coding skills. any help would be greatly appreciated.
Array Search Multiple Output
i did a search on searching one array to output the contents of a matching array and found this script
problem is it works right up untill where ive indicated it seems
aNames 2 wont push i cant wrap my head around why?
Code:
var aNames1:Array = new Array();
var aNames3:Array = new Array();
var aNames2:Array = new Array();
var aNumbers:Array = new Array();
var aPositions:Array = new Array();
//
aNames1 = ["Bob", "Jeff", "Fanny", "Dillock", "Steph", "Charlie", "Ivy", "Mo", "Patty", "Snoopy", "Mickey", "Sneezy", "Karen", "Billy", "Tony", "Poppy", "Coco", "Harry", "Queenie", "Arse"];
aNumbers = [1, 4, 2, 6, 5, 5, 7, 6, 1, 7, 1, 9, 6, 5, 9, 7, 7, 9, 5, 4];
//
//take those positions and extract the names
function getNames(num) {
//reset aPositions and aNames:
aPositions = [];
aNames = [];
for (i=0; i<aNumbers.length; i++) {
//find all the positions with the desired number
if (aNumbers[i] == num) {
//Match! Push this position into the aPositions array:
trace("Match at position "+i);
aPositions.push(i);
}
}
trace("aPositions = "+aPositions);
//now we have an array of positions!
//use the positions array to extract the names:
//push the names into names2 array:
for (i=0; i<aPositions.length; i++) {
var curPos = aPositions[i];
aNames2.push(aNames1+[curPos]);
//HERE LIES THE PROBLEM aNames2 wont push
//trace(curPos)
//trace (aPositions[i])
}
trace(aNames2);
}
//
getNames(5);
Search Multiple Fields For Match
I have a dataset which filters my XML results according to category. I'm trying to get it to evaluate more than one field, but can't figure out how.
The code below works to filter on the first <category>, but won't touch the second. I've also tried naming them <cat1> and <cat2>, then adding both fields to the sort, and adding a second "return" at the end of the script assigned to cat2, but that doesn't work either - still only searches cat1.
Any help would be appreciated!
Attach Code
******ActionScript*******
//Set up sorts
dataSet.addSort("categorySort", ["category"]);
dataSet.useSort("categorySort");
//Create catListener EventListener
catList.addEventListener("change", catListener);
//Define EventListener Actions
function catListener(evt_obj:Object):Void {
var selItem:Object = evt_obj.target.selectedItem;
if (selItem.name == "All Categories") {
dataSet.filtered = false;
} else {
dataSet.filtered = true;
dataSet.filterFunc = function(item:Object):Boolean {
return (item.category == selItem.name);
}
}
}
*****XML*****
<signlist>
<sign name="Apple">
<category>Common Items</category>
<category>Food</category>
<description>This is how you do this sign...</description>
<sample>I love to eat apples</sample>
<url>apple.jpg</url>
</sign>
<sign name="Orange">
<category>Food</category>
<description>This is an orange</description>
<sample>Oranges are sticky</sample>
<url>orange.jpg</url>
</sign>
</signlist>
Search Function For Multiple Movies In CD Rom
hi,
I was just wondering if anyone knows how to do a search function accross multimple swf movies in a cd rom.
The situation is like this: i m making an elearning project where i have around 17 to 18 chapters. Now, all the chapters are in flash and they are seperate movies.
Now, if someone wants to search for something inside the cd, like say, they are searching for "entertica" then all the pages that is related to that word should show up.. like google search.
may i know if anyone has any idea on this? thanks a lot. =D
Using Flash To Search Multiple Documents
Is there a way to search multiple documents from Flash? I have a whole bunch of DOC files that I can either make to PDF or FlashPaper documents.
Endless google searching has come up with nothing that I can find.
Multiple Page Search Results
Hey
I am busy working on a results page. What it does is to collect data from a php qeury via AMFPHP. And dynamicly creates 12 text fields per page with the results. The data that comes in comes from an array.
I then need to create the next/previous page buttons plus the number of pages for the results. (Kind of like the google results pages)
"noPage" is a value that i worked out earlier in the script. It is the no of item in the array devided by 12
"volumesLoop(i,a,n,x,y,d);" is a call to a function that writes the 12 bits of info
Code:
function createPageLabels(noPages) {
x2 = 200;
d2 = 30;
pageVal = 1;
while (noPages>0) {
trace("creating page number");
_root.createEmptyMovieClip("canvas_mc", d2);
canvas_mc.createTextField("page", d2, x2, 573, 15, 18);
canvas_mc.page.text = pageVal;
canvas_mc.page.setTextFormat(pageTextFormat);
// starting the new page function
canvas_mc.onRelease = function(pageVal) {
trace("onRelease called");
trace("");
d = 13;
while (d>=0) {
dirname.removeTextField();
d--;
}
d = 13;
a = (canvas_mc.page.text -1 )*12;
n = 1;
y = 230;
x = 50.3;
volumesLoop(i,a,n,x,y,d);
};
// end of the new page function
noPages--;
pageVal++;
d2--;
x2 = x2+15;
}
}
So at the moment this script creates an empty movieclip (canvas_mc) and the a text field and it puts a vlue of a page in the text field and then creates the next movie clip with the next page number and so on until the pageVal===NoPages.
If you click on a page number to go to the results it then wipes all the current info of the frame and is suppose to write the next lot of movieclips in its place.
My problem comes in with the linking the page no. movieclip to the correct number in the array. For example if someone clicks on page 2 a should = 12 if you click on page 4 a should = 36 and so on.
Can anyone offer advice on how to do this?
Scriptable Mask Tutorial
Hi,
I have just completed the scriptable masking tutorial, which worked really well, (link below)
http://www.kirupa.com/developer/acti...sks.htm#action
I was just wondering how you could change the script so you can drag the mask in any direction to make it work rather than just left and right.
Any ideas would be welcome!
Thanks
Scriptable Mask Tutorial
Hi,
I have just completed the scriptable masking tutorial, which worked really well, (link below)
http://www.kirupa.com/developer/acti...sks.htm#action
I was just wondering how you could change the script so you can drag the mask in any direction to make it work rather than just left and right.
Any ideas would be welcome!
Thanks
Search Light Effect With A Sparkle
I am a first time user of Flash,
How do I make a highlighted search light type of effect which pans accross an image.
Also, is there an easy way of adding a sparkle effect.
Thanks.
How Can I Load, Multiple Images Into Multiple Key Frames At Once..
Hey guys, I have this..pseudo 3d model viewer for my site that I am working on. The only problem is, I don't want to manually add every image to the flash...especially if I have 45 images or so and I am pretty sure there is no way to automate this in actionscript..
http://www.pcgamemods.com/slideshow/revolve.html
this is a pretty crude example but it shows you what I am aiming for. I just wanted to know if there was an easier way to add images to frames or if there was a program to do it for you.
Random Moving Mask Tutorial?
i'm hoping to create the moving mask effect as seen here: http://www.imagevuex.com/sites/newx/ but with a continuously running image (or video) slideshow. can someone point me to tutorial(s) that would help me do this using actionscript and external files (ie, xml)?
i'm using mx 2004 pro but would prefer the final movie be viewable under player 6. thanks
[FMX] Random Moving Mask Tutorial?
i'm hoping to create the moving mask effect as seen here: http://www.imagevuex.com/sites/newx/ but with a continuously running image (or video) slideshow. can someone point me to tutorial(s) that would help me do this using actionscript and external files (ie, xml)?
Problem With The Snow Tutorial+mask
Hi all,
I've got a problem masking the snow effect by this tutorial : http://www.kirupa.com/developer/mx/snow.htm
when i place the MC in my movie it runs good
but when i mask it - its everything but good.
this.help(SyPhEx) ?
[FMX] Random Moving Mask Tutorial?
i'm hoping to create the moving mask effect as seen here: http://www.imagevuex.com/sites/newx/ but with a continuously running image (or video) slideshow. can someone point me to tutorial(s) that would help me do this using actionscript and external files (ie, xml)?
Inputting Multiple Search Fields Into Query String?
hey guys and gals
quick question...i am building a little widget that allows a user to type in keyword(s) into one input field and then a zip code into another
when the user clicks submit, it plugs them into the search url
i have it working for one input field, but i am not sure how to append the script for the second field...what would i need to change to the below script to add a second field into that query string?
Code:
btn.onRelease = function(){
getURL("http://www.google.com/search?q="+myInputField,"_blank");
}
any help is much appreciated...thanks for your time!
Inputting Multiple Search Fields Into Query String?
hey guys and gals
quick question...i am building a little widget that allows a user to type in keyword(s) into one input field and then a zip code into another
when the user clicks submit, it plugs them into the search url
i have it working for one input field, but i am not sure how to append the script for the second field...what would i need to change to the below script to add a second field into that query string?
Code:
btn.onRelease = function(){
getURL("http://www.google.com/search?q="+myInputField,"_blank");
}
any help is much appreciated...thanks for your time!
Inputting Multiple Search Fields Into Query String?
hey guys and gals
quick question...i am building a little widget that allows a user to type in keyword(s) into one input field and then a zip code into another
when the user clicks submit, it plugs them into the search url
i have it working for one input field, but i am not sure how to append the script for the second field...what would i need to change to the below script to add a second field into that query string?
////////////
btn.onRelease = function(){
getURL("
Inputting Multiple Search Fields Into Query String?
hey guys and gals
quick question...i am building a little widget that allows a user to type in keyword(s) into one input field and then a zip code into another
when the user clicks submit, it plugs them into the search url
i have it working for one input field, but i am not sure how to append the script for the second field...what would i need to change to the below script to add a second field into that query string?
Code:
btn.onRelease = function(){
getURL("http://www.google.com/search?q="+myInputField,"_blank");
}
any help is much appreciated...thanks for your time!
Tutorial Suggestions For Mouse Trailer With Mask?
The end product I would like to have is a mouse trailer that leaves behind a color (randomized, solid, and rainbow, haven't decided yet) but that also alphas out after a few seconds in a smooth trailing motion.
I believe in order to create this effect I would have to create a mouse trailer that utilizes a mask that follows it. Does anyone have any pointers for this? And if this is the correct technique?
Thanks.
Flash Layer Mask Tutorial Using IRobot
Hey, I don't know if anyone here can help me, but I saw this really cool tutorial of a Flash layer mask using a picture a robot from iRobot on the internet about a month ago, but now I can't find it The tutorial was using a layer mask to simulate energy or light passing by the robot. It used a white bar passing up verticly on the photo, and a layer mask to restrict where the white bar was visible. It was a really simple, yet cool effect. If anyone has seen this turorial PLEASE let me know the URL. Thanks!
How To Apply A Mask On Fading Grid(from Tutorial)
Hi
I thought the fading grid effect in the tutorial looked cool, so I applied my own image and the effect look great, but I want the animation to show inside a circle. Applying a mask didnt seem to work, so how is this done?
Maybe I made a mistake when making the mask, Im a big newbie to flash and especially actionscript.
/Nightowl
|