ActionScript 2.0 :: Kirupa Xml Gallary Need To Change Xml Onpress?
Mar 20, 2010
I have a very simple problem with kirupa photo gallery with xml.i just want create some category on the gallery.
cat1.onPress = function ()
{
listXML.load.("gall1.xml");
}
[code]....
but with click on category my some images disable ,
View 4 Replies
Similar Posts:
Dec 6, 2007
I want the mouse cursor to change to a certain icon when i click on a movieclip.
here is the code i have so far....ive looked all over the forum and i cant find out how
Mouse.hide();
function onEnterFrame(){
scalpel_curs._x = _xmouse;
scalpel_curs._y = _ymouse;
};
View 1 Replies
Aug 22, 2009
I have some script for a sliding gallery and buttons to move the images. how to change the function from onPress to onRelease so I can animate the button.
this.onEnterFrame = function(){
if(rewind == true && counter > 0){
counter = counter - 1;
[Code]....
View 3 Replies
Apr 26, 2010
Here is the current code that is attached to the button
[code]...
Now what I am having an issue with is the gallary section is to small as it loads into the bottom of my movie (_parent). What I have decided to do is stop this process all together and have it go to a new url in a new window. Which is basic for you guys. If I take out the code under the on (release) section is it just a matter of a gotourl to get the page to open. The website is www.daemondesigns.com and originally was purchased as a template and so far have been able to put in all the new graphics and make text changes correctly with a few minor adjustments still needed. Ive got a book on actionscript 3.0 that I am just starting to make my way through but have a deadline that I may not make for this new gallery.
View 2 Replies
Apr 15, 2011
lets say i have dynamically duplicated movieClips ID's stored in array list. i want to add a onPress event to them. how do i do it?
[Code]...
View 5 Replies
Jan 27, 2011
I am using code from a tutorial that I downloaded to get an Home.swf to preload in my "index" page.the problem is that a part of the code reads
movie1_btn.onPress=function(){
startPreload ("Home.swf");
}
which means that I have to create a button to get the .swf file to load, how do I edit this code so that the action begins on it's own at that frame?
View 5 Replies
Nov 5, 2007
[URL]
First, click on the Abaco island shape on the map. You'll see on rollOver there is a glow around the island. Now click on that island and the glow remains for the zoomed-in detailed view. When you return to map and zoom back out, the glow is removed.
Now, compare this with clicking on the island name "Abaco" from the list on the right, instead of clicking directly on the island from the map. It zooms in and shows the details fine, but the glow that should be there is not.
The reason this problem is very perplexing for me, is that the onPress action of the list button in the right column calls the onPress function of the map button. So, theoretically they should do the EXACT same thing when pushed. But clearly they don't.
Here is the code for the button from the list on the right panel:
Code:
listAbaco_mc.onRollOver = function() {
_root.map_mc.abaco_mc.button_btn.onRollOver();
};
[Code]....
There is more code, for example rollOver, rollOut, and Press actions for the other island buttons, but they are all of the exact same format as the Abaco island button and they all have the same problem.
So, to recap, the problem is that the list button in the right panel do not function properly onPress, even though they are calling the onPress function of the island buttons directly, and the island button onPress function works perfectly. Strangely, all but one little thing works. So it's obviously getting to the correct functions and going through the code as planned, yet that one part about the glow is being ignored or otherwise messed up.
View 12 Replies
Feb 1, 2004
I've done the search on tuts.Is there a tut kirupa or other on controlling one swf from another.so clsic example having a loaded playback bar then loading vid or mucis and the universal playback bar can control it.
View 3 Replies
Oct 18, 2008
I am using the Kirupa XML slideshow code and making somechanges so that I can use it with my images. I can change thedocument size and movieclip size to hold my larger images(830*400). The problem is that I don't want the white borders atthe top of and on the left of the image. How do I adjust this?
View 5 Replies
Aug 26, 2005
but is there a way to make the thumbnails like, grid form, like in the examplerather than scroller? because i dont really like the scroller, and im not sure how to set them to grid
View 3 Replies
Mar 30, 2006
I am having problems formatting the XML Flash photo gallery. I can't seem to get the photos to center on the page. Some of my photos are vertical and others horizontal, and they are all pushed to the left. I don't want to make all the photos the same width. Is there any way to use css to style the xml? Or is there some other way to do it? Url...Also, if anyone notices any other problems with the gallery,please let me know. This is only the second thing I've done in Flash, and I may have made some mistakes when I changed things.
View 14 Replies
Apr 11, 2006
There is always really cool special fx on the kirupa home page banner. But I can never find out where I can find FLA's with them. Can someone give me a link to where I might be able to find them...If not. This would be a perfect place to put banner ef ex. So post them if you have them!
View 4 Replies
Jun 21, 2006
modify this tutorial ([URL]) so that it does this: one of the external swf's has a button in it that loads another external swf in a different area of the stage, so now there would be 2 external swf's displayed on stage. Then, when one of the main buttons is clicked, the exit animation of the 2nd swf is played, then the exit animation of the 1st swf is played, then the new external swf is loaded in the same spot that the 1st one was.
View 2 Replies
Oct 6, 2006
Will this tutorial work on servers like this? I read through the tutorial and the author links to his own socket server. Do we have to pay big bucks for our own socket server or can a regular cheap host's server be converted to one?
View 9 Replies
May 30, 2007
Alright, I've been tasked to build a menu system similar to the one on 2Advanced V5. I know, I know, don't mess with copying peoples' stuff, but my arm's being twisted to do so, by the management. I've started with Kirupa's XML menu, modified the XML to my liking, and have added some sliding code in there. I'm having a hard time with1. Getting the sliding code to interact with the submenus.2. I've got no idea how to adjust the submenus so they don't scroll too fast or too slow.EDIT: All I need is for each submenu to be scrollable, and not scroll too fast, based on how many buttons are in there. XML source can be set to the XML example in Kirupa's tutorials.The FLA is attached, and here's the Actionscript:
Code:
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
[code]....
View 7 Replies
Jun 22, 2003
Using this preloader w/percentage from the kirupa tut.
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
[code]....
I'm having trouble calculating the getBytesTotal method to return less that the total. In other words, I'd like to start the movie before it has fully loaded. Lets say, 75% loaded then gotoAndPlay.
View 3 Replies
Jul 6, 2008
i have been able to customize this tutorial for my needs but i am still having one problem with the thumbnails. Unlike in the tutorial i have thumbnail that are two different sizes. most of them are 100 pixals wide but some are 75 and when they are different sizes like that it screws it up...they overlap or leave big gaps between thumbs.
below you can find the code i am using. the line of code that places the thumbs in there position is
target_mc._x = hit_left._x+(target_mc._width+5)*k;
i was able to stop the thumbs from over laping by replacing target_mc._width with 100 but that doesnt fix the big gaps between the images that are 75 wide.
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
[code]....
View 4 Replies
Sep 1, 2003
Trying to get my head around all of the variables, functions, etc. Anyway, I want to modify the Kirupa photo gallery AS <http:[url].... to have my movie go to another movie or scene after the images have been viewed one time instead of playing through the array over and over. Printing out the AS and going through my references I am getting an understanding of what things are doing.
View 8 Replies
Nov 26, 2009
How can I add links from the XML file to My large image? I tried inside the functions prevImage, nextImage e first Image the code and didnt work:
picture.image[p].onRelease = function (){
getURL(links[p], "_blank");
}
picture is the movie clip that receives the large images and links is the array that I created to recevie the nodes with links from the XML file.
View 4 Replies
Aug 17, 2010
i'm using the Kiupa PHP form tutorial. It works well on the demo but when i use it on my site it send the information but just will not go to the message on the next frame.Here's the code on the submit button:
Code:
on (release) {
// send variables in form movieclip (the textfields)
[code].....
View 2 Replies
Jan 4, 2011
I am new to flash and was working with the Kirupa tutorial that showed the letters of Kirupa being moved and fading, all done within 30 frames. The example that was posted is so smooth and slow in its transition. I followed the directions but mine is quick and jerky.
View 1 Replies
Aug 19, 2011
I have incorporated the following XML guestbook on my site and it works like a charm since its inclusion on my site
[URL]
How to send a mail to me when anyone adds a message on the guestbook ?I guess it is possible as whenever one xml object is send to the php file for processing by sendAndLoad function , it can also send a mail via php .....the code that sends xml data to php in this actionscript is
Code:
myXML.sendAndLoad("processXML.php", receiverXML);
can some code be added in the processXML.php which also sends a mail vial "mail" function in php ?
View 2 Replies
Jan 16, 2009
Im new to actionscript , but not new to programming..Got the following problem : Im building a flash page dynamically with actionscript , from a php generated xml file which defines image/swf paths, text, position etc..All works well, except, i can't set an onPress function on the movieclips i create. Im doing something like this:
[Code]...
View 0 Replies
Jun 17, 2009
the onPress down the bottom of this code wont trace
Code:
thumb_1_mc.onPress = function(){
loadjpg();
}
[Code].....
View 1 Replies
Jan 27, 2011
I have a Red Cup which is a MC and I want the Red Cup to go UP when clicked on and goes back down when you release the mouse click.
I know the coding is
On(press) { and
On(release) {
But I do not know the details.
View 2 Replies
Jan 13, 2009
I have a movieclip with onPress and I attach another movie to the first one. Unfortunately, the second movie inherits the onPress function from the first one. How can I remove the onPress function from the second movie? I tried to set it's onPress and onRelease to null and undefined but no success.
View 3 Replies
May 11, 2010
I'm trying to use some buttons to navigate through an FLV with cue points. Here is an example of the code I'm using so far, but I'm getting an Invail Seek error in my output.
[AS]
photochromic_but.onPress = function() {
FLV_player.seekToNavCuePoint("Photochromic");
};
[/AS]
View 2 Replies
Sep 18, 2010
If I want a button to perform 2 actions such as 1st time onPress the mc visible true and 2nd time onPress the mc visible false and true and false and so on.
View 2 Replies
Aug 8, 2009
This is one of my first posts, so be kind! I'm slowly getting back into Flash after a hiatus (I was pretty good with Flash 5), and I've been adapting Kirupa's XML-based menu tutorial to my company's needs. As users drill down to the 2nd and 3rd tier of menus, I need the script to load and display images (preferably with a preloader), the links of which would be provided in the accompanying XML document (I based our XML doc off of Kirupa's example as well).
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
// as well as any of the submenus
[code]....
View 3 Replies
Nov 23, 2003
how to make kirupa's infinite menu [URL] work only when the mouse is over the movie clip?here's the actionscript:
onClipEvent (load)
{
xcenter=150;
speed=1/10;
}
[code]....
View 11 Replies