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








Help With Kirupa's Dynamic Scroller Tutorial [renamed]


Hey all,

I'm having problems with kirupa's tutorial:

http://www.kirupa.com/developer/mx/dynamic_scroller.htm

Basically, I wanna know how to use html in the text file. I clicked the "Render txt as HTML" button in flash, but the tags don't show as html...help?

Thanks!




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 02-13-2004, 04:07 PM


View Complete Forum Thread with Replies

Sponsored Links:

Help With Kirupa's Dynamic Scroller Tutorial [renamed]
Hey all,

I'm having problems with kirupa's tutorial:

http://www.kirupa.com/developer/mx/dynamic_scroller.htm

Basically, I wanna know how to use html in the text file. I clicked the "Render txt as HTML" button in flash, but the tags don't show as html...help?

Thanks!

View Replies !    View Related
Need Mod To Kirupa Dynamic Scroller Tutorial
any way to mod the dynamic scroller tutorial to handle displaying html? activating the "render as html" field doesn't do it.

View Replies !    View Related
Scroller Based On Kirupa Tutorial Issue...help.
Hello,
I have been playing with the Kirupa scroller tutorial (http://www.kirupa.com/developer/flash8/scrollbar.htm ). I have been able to get it to work as a separate independent movie and swf file, but when I try to use the same steps and embed it within another movie it stops working.

What I have been trying: while in the main timeline of the main movie, I build a new movie clip using the tutorial. When I place an instance of the scroller movie clip on the main timeline, it will not function.

Should I be making some adjustments to the actionscript to get the scroller to work?

I hope I have given enough information for someone to give me a suggestion.
Thanks for your help in advance.

Ray

View Replies !    View Related
Kirupa Thumbnails Tutorial XML Scroller Question
I'm using the XML and FLA file from this tutorial:
http://www.kirupa.com/developer/mx2004/thumbnails.htm

I want to add right and left arrows to the thumbnail scroller so when the mouse is over the arrows, it'll start scrolling.

The problem is right now, when the mouse goes over the end of the thumbnail strip, it activates the scroller. So when my mouse goes over the right and left arrows, it doesn't do anything.

Regardless where I put the hit_right and hit_left movie clips, the scroller is only activated at the end of the thumbnail scroller mask.

Any help appreciated! Thanks!

View Replies !    View Related
Problem With Kirupa's Dynamic Scroller
I have followed kirupa's tute to the word for a dynamic scroller and have managed to get a scroller which moves up and down but I cannot see anything in the mask. See the 1st post at the link below (I posted on the actual scroller thread but though it might be better starting a new one.) which has the fla. I know the tute is for flash 8 but I'm using mx 2004 and didn't think it would matter.
http://www.kirupa.com/forum/showpost...&postcount=151

View Replies !    View Related
Want To Change Kirupa Dynamic Scroller To Load In Html Instead Of Txt - If Poss?
im usingthis script here

http://www.kirupa.com/developer/mx/dynamic_scroller.htm

and i want to load in a html file instead of a txt file. what do i change below?

loadText = new loadVars();
loadText.load("kirupa.txt");
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.kirupatext;
};


any help greatly appreciated.
si

View Replies !    View Related
Dynamic Portfolio (kirupa Tutorial) Help
I was looking at the below tutorial and started making one. I have a few questions though,

1. can i call the text from one single file instead of creating a file for each image?
2. can i format the text (change color, make bold, etc)
3. how to have a scrollbar that appears if the thumbnail exceeds the display area?

Tutorial link - http://www.kirupa.com/web/xml/examples/portfolio.htm

Thanks a lot in advance

View Replies !    View Related
Kirupa "Simple Scroller" Tutorial Help
Hey Guy's an Gal's

I've shied away from scrollers for as long as i could, but i just couldn't avoid them anymore. So today i've implemented the Kirupa Simple Scroller into my latest project, and it all works smashin'....er, except for 1 thing......

When you use the slider it's perfect; using the down button is perfect to, but when you reach the top using the Up button, the scrolled area adds an extra 40 pixels or so......

Tough to explain unless you can see what i mean so please take a look at the "Impressum" page if you follow this link: GPFlash

Any guesses as to why ??!!

Muchos thanks
Jimmy

View Replies !    View Related
Kirupa "Simple Scroller" Tutorial Help
Hey Everybody....

I've just implemented the Kirupa Simple Scroller into my latest project, and it all works smashin'..... except for 1 thing......

When you use the slider it's perfect; using the down button is perfect to; but when you reach the top using the Up button, the scrolled area adds an extra 40 pixels or so......tough to explain unless you can see what i mean so please take a look at the "Impressum" page if you follow this link: http://www.greulich-prochaska.com/GPFlash.html

Please, please Kirupa and Co.......let me know why !!

Muchos thanks
Jimmy

View Replies !    View Related
Help With Creating Dynamic Images Inside A Scroll Bar Referring To Kirupa's Tutorial
I have read through the tutorial posted here on creating a scroll bar in flash: http://www.kirupa.com/developer/flash8/scrollbar.htm

It worked great, when the content in the contentMain movieclip was static. However I am using this scroll bar application to create a variable amount of images in content main. So I started off with something simple, and put this actionscript code in the contentMain movie clip its self:

var regName:String = "watermark";
var mcName = "watermark";
var corner1:Number = 0;
var myHeight:Number = 0;
var colorVal:Number;
var xPos:Number = 100;
var yPos:Number = 30;
_global.totalContentHeight = 0;
for(var i = 0; i < 30; i++){
mcName = regName + i;
this.attachMovie("watermark", mcName,700+i);
eval(mcName)._x = xPos;
eval(mcName)._y = yPos;
xPos = xPos + 200;
trace(xPos);
if(xPos > 800){
yPos = yPos +200;
xPos = 100;
tempyPos = 0;
}
}
note: The image inside the watermark clip will be dynamic, however the width and height of that image is static.

Inside the watermark movieclip's action pannel is this code:
this.lineStyle(1,0,100);
this.beginFill(0x00FF00,100);
this.moveTo(0,0)
this.lineTo(0,160);
this.lineTo(160,160);
this.lineTo(160,0);
this.endFill();

to draw a simple box.

Now the problem is that the height of contentMain is thrown way off from all of this. If I do a contentMain._hieght I get a value of 0, even after calling the scrolling function after attaching all the watermark movieclips.

So I keep track of the total height of contentMain after the movie clips are attached, and use that global variable instead of contentMain._height in the scrolling function. What results is a scroll bar that is functional, but a variable amount of white space resulting after the images are done being displayed (of about 3 times the running tally of the contentMain height in theory).

This is all based off the assumption that in theory, the height of contentMain, should be the height of all the MovieClip's attached to contentMain, + their padding between them.

If the movieclips being attached are drawing a 160x160 square starting at 0,0; then their height should be 160 as well. So pad them by 40 pixels (yPos = yPos + 200) and yPos + 200 should be the total height of contentMain after attachign the movieclips.

contentMain lies at position 0,0 on the masked layer for the scroller, and when it's y value is equal to the total height tracked above (the negative value of it) minus the masked height, but that is definetly not right. Anyone have any ideas as to why this is happening?

View Replies !    View Related
Dynamic Scroller Tutorial
I have just completed the dynamic scroller tutorial on this site.It works fine within the confines of flash and a swf file, however as soon as I place my swf file into a dreamweaver document and then view it in my browser the text fails to appear. Before you ask I have made sure the text file is in the same folder as my swf file.

Can anyone help

James

View Replies !    View Related
Problem With Dynamic Scroller Tutorial
Hi:

Im trying to complete this tutorial:
http://www.kirupa.com/developer/mx/dynamic_scroller.htm

But I receive an error with LoadVars

Code:
loadVars' wont be directed to the integrated object 'LoadVars' in ejecution time.
loadText = new loadVars();
More or less that the message, I have Flash in spanish version

Whats the trouble ?

Thanks

View Replies !    View Related
Problem With Dynamic Scroller Tutorial
Hi:

Im trying to complete this tutorial:
http://www.kirupa.com/developer/mx/dynamic_scroller.htm

But I receive an error with LoadVars

Code:
loadVars' wont be directed to the integrated object 'LoadVars' in ejecution time.
loadText = new loadVars();
More or less that the message, I have Flash in spanish version

Whats the trouble ?

Thanks

View Replies !    View Related
Vertical And Horizontal Parallax Type Scroller [renamed]
I know that this has almost certainly been asked before, I know because every quarter at least one of my students brings in this site.

http://www.leoburnett.com/

My question is how I would go about making a parallax type scroller like this that works vertically and horizontally from the mouse position, and works with many more levels than this (like 20+ levels).

Can anyone point me in the direction of a script or tutorial to help me put together something my student can use for his final?

Thank you in advance.

View Replies !    View Related
Can Anyone PLEASE Help Me With The Kirupa Scroller
Please I'm desperate I have my file all ready just need to sk one question!!!! If anyone can help me please post and I'll reply with the code or fiel whatever is easier!

View Replies !    View Related
Preloader Tutorial Needed [renamed]
can some1 please help me out?
im trying to find a progress bar that works and it loads a whole movie.
I really need this so please help

P.S how to work the component progress bar would be good to

View Replies !    View Related
Looking For Sliding Menu Tutorial [renamed]
hello.

i need to realize some sliding menus. such as seen on: http://www.gooq.de/. that one at the bottom.

those who slide out and are active and shown as long as your mouse don't leave their shapes. and then moving backwards. i'm searching my arse off but can't find any hints. i don't even know what they're called.

could you give me some names or links to tutorials please?

thanks a lot!

klick

View Replies !    View Related
Preloader Tutorial Needed [renamed]
can some1 please help me out?
im trying to find a progress bar that works and it loads a whole movie.
I really need this so please help

P.S how to work the component progress bar would be good to

View Replies !    View Related
Kirupa XML Gallery///vertical Scroller
Hello,

I have benn messing with the the xml photo gallery with thumbs tutorial to make it load swf´s, and other changes, so far so good. But I can not make the scroller move in a vertical direction, I searchead all over the forum but did no find any topics related to this, could someone point me in the right direction??

thanks.

View Replies !    View Related
Kirupa Custom Scroller Help (set Content ._y)
http://www.kirupa.com/developer/flash8/scrollbar.htm

trying to move to a certain point in my content without actually usually the scrollFace or arrow buttons. I can move the content easily enough by just setting the _y position of the content MC, but figuring out the placement of the scrollFace is driving me nuts. Any suggestions?

Hoping for something like this:

Code:
function moveMyContent(ypos) {
contentMain._y = ypos;
scrollFace._y = ????
}

I'm sure it's something like ypos*(contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight) but I can't get it.

View Replies !    View Related
Modifying Kirupa's Text Scroller
Another twirl on the wheel of fortune.
Where would I be without these forums?

I'd like to use kirupa's "text scroller" but I need it to display the text in a pixel-font (FFF) of my own choosing. As the scroller uses dynamic text the pixel font doesn't come out looking very healthy though; it looks different from the way the pixel font displays when it is static text. Is there an easy trick for this?

Again - probably shockingly simple, but I'm stumped as my skills with flash are pretty basic.

Link: http://www.kirupa.com/developer/mx/textscroller.htm

Any help would be wonderful.
A.

View Replies !    View Related
Having Trouble With Shiny Orbs Tutorial [renamed]
Hello all,

I've not long been playing with Flash, and have started trying out the shiny orbs tutorial (http://www.kirupa.com/developer/mx2004/shinyorbs.htm) and I can only get so far.

I do all the radial, alpha business, but when I put one of the circles over another, it just covers it; despite it being on alpha 0.

This is the angriest I've ever gotten and am about to storm out of the house in rage...

Any help would be ever so much appreciated.

View Replies !    View Related
Gradient Fill On 3d Surface? (MM Tutorial) [renamed]
hello
this is my first time here


does anybody know if there is a way of giving a "surface" 3d object a gradient fill from two diffrent colors as oppost to a solid color,. here is the code im using based on the 3d flsh tutorial in macromedia.


ActionScript Code:
function InitScene() {    createEmptyMovieClip("Scene", 1);    Scene._x = moviewidth/2;    Scene._y = movieheight/2;    /*red*/make3Dobj("surface", [[/*origen*/[100,50,200], /*end*/[100,0,200]], [[50,-100,10], [50,0,200]], [[-100,-100,10], [50,50,200]], [[-100,100,10], [100,50,200]]], 1, "0x000000", 100, "0xff0000", 75);    /*orange*/make3Dobj("surface", [[/*origen*/[100,100,-150],/*end*/[100,50,-160],/*curve*/[125,75,-150]], [[100,50,-160], [50,50,-170]], [[50,50,-170], [50,100,-150]], [[50,100,-150], [100,100,-150],[75,80,-150]]], 1, "0x000000", 100, "0xff9900", 75);    /*yellow*/make3Dobj("surface", [[/*origen*/[0,-150,50], /*1*/[0,-200,10]], /*2*/[[100,-100,10], [-100,-200,10]], /*3*/[[-100,-100,10], [-100,-150,50]], /*4*/[[-100,100,10], [0,-150,50]]], 1, "0x0000ff", 100, "0xffff00", 70);    /*green*/make3Dobj("surface", [[/*origen*/[100,200,-10], /*1*/[100,200,-10]], /*2*/[[100,-100,-10], [50,200,-10]], /*3*/[[-100,-100,-10], [50,250,50]], /*4*/[[-100,100,-10], [100,250,50]]], 1, "0xff0000", 100, "0x00ff00", 50);    /*blue*/make3Dobj("surface", [[/*origen*/[-225,-15,0],[-225,0,20],[-225,-12,16]], [[-225,0,20],[-225,20,0], [-225,14,20]],[[-225,20,0],[-225,0,-20],[-225,14,-20]],[[-225,0,-20],[-225,-30,0],[-225,-17,-25]],[[-225,-30,0],[-225,0,30],[-225,-20,25]],[[-225,0,30],[-225,30,0],[-225,20,30]],[[-225,30,0],[-225,0,-30],[-225,20,-30]],[[-225,0,-30],[-225,-40,0],[-225,-28,-40]],[[-225,-40,0],[-225,0,45],[-225,-30,40]],[[-225,0,45],[-225,50,0],[-225,35,50]],[[-225,50,0],[-225,0,-55],[-225,32,-50]]], 1, "0xff9900", 100, "0x003366", 50);    /*purple*/make3Dobj("surface", [[/*origen*/[200,50,150], /*end*/ [200,50,100]],[[200,50,100],[200,-10,100],[200,20,130]]], 1, "0xffffff", 75, "0x666699",75);    /*white*/make3Dobj("surface", [[/*origen*/[50,50,-75], /*1*/[50,-50,-200], [0,0,-200]], /*2*/[[100,-100,-200], [-50,-50,-200], [0,5,-175]], /*3*/[[-100,-100,-200],[-50,50,-150], [0,0,-150]], /*4*/[[-100,100,-75], [50,50,-75]]], 1, "0x000000", 100, "0xffffff", 75);    /*x*/      make3Dobj("line", new Array(new Array(0,0,0), new Array(100,0,0)), 2, "0x009900", 0);    /*y*/      make3Dobj("line", new Array(new Array(0,0,0), new Array(0,100,0)), 1, "0xff9900", 0);    /*z*/      make3Dobj("line", new Array(new Array(0,0,0), new Array(0,0,100)), 1, "0x000000", 0);    }

View Replies !    View Related
Looking To Have Tutorial For Site Tested For Quality [renamed]
hey mods, or kirupa, just wondering,
is there any way for us to send you guys tutorials we have created for testing, then if you find them to have no errors be posted on this site, because i have created a pretty in-depth tutorial with .doc(tut), FLA(mx), and swf files.

so yeah, i want to know if you find any errors, and if you find it good enough for the site.

View Replies !    View Related
Having Trouble With Shiny Orbs Tutorial [renamed]
Hello all,

I've not long been playing with Flash, and have started trying out the shiny orbs tutorial (http://www.kirupa.com/developer/mx2004/shinyorbs.htm) and I can only get so far.

I do all the radial, alpha business, but when I put one of the circles over another, it just covers it; despite it being on alpha 0.

This is the angriest I've ever gotten and am about to storm out of the house in rage...

Any help would be ever so much appreciated.

View Replies !    View Related
Gradient Fill On 3d Surface? (MM Tutorial) [renamed]
hello
this is my first time here


does anybody know if there is a way of giving a "surface" 3d object a gradient fill from two diffrent colors as oppost to a solid color,. here is the code im using based on the 3d flsh tutorial in macromedia.


ActionScript Code:
function InitScene() {    createEmptyMovieClip("Scene", 1);    Scene._x = moviewidth/2;    Scene._y = movieheight/2;    /*red*/make3Dobj("surface", [[/*origen*/[100,50,200], /*end*/[100,0,200]], [[50,-100,10], [50,0,200]], [[-100,-100,10], [50,50,200]], [[-100,100,10], [100,50,200]]], 1, "0x000000", 100, "0xff0000", 75);    /*orange*/make3Dobj("surface", [[/*origen*/[100,100,-150],/*end*/[100,50,-160],/*curve*/[125,75,-150]], [[100,50,-160], [50,50,-170]], [[50,50,-170], [50,100,-150]], [[50,100,-150], [100,100,-150],[75,80,-150]]], 1, "0x000000", 100, "0xff9900", 75);    /*yellow*/make3Dobj("surface", [[/*origen*/[0,-150,50], /*1*/[0,-200,10]], /*2*/[[100,-100,10], [-100,-200,10]], /*3*/[[-100,-100,10], [-100,-150,50]], /*4*/[[-100,100,10], [0,-150,50]]], 1, "0x0000ff", 100, "0xffff00", 70);    /*green*/make3Dobj("surface", [[/*origen*/[100,200,-10], /*1*/[100,200,-10]], /*2*/[[100,-100,-10], [50,200,-10]], /*3*/[[-100,-100,-10], [50,250,50]], /*4*/[[-100,100,-10], [100,250,50]]], 1, "0xff0000", 100, "0x00ff00", 50);    /*blue*/make3Dobj("surface", [[/*origen*/[-225,-15,0],[-225,0,20],[-225,-12,16]], [[-225,0,20],[-225,20,0], [-225,14,20]],[[-225,20,0],[-225,0,-20],[-225,14,-20]],[[-225,0,-20],[-225,-30,0],[-225,-17,-25]],[[-225,-30,0],[-225,0,30],[-225,-20,25]],[[-225,0,30],[-225,30,0],[-225,20,30]],[[-225,30,0],[-225,0,-30],[-225,20,-30]],[[-225,0,-30],[-225,-40,0],[-225,-28,-40]],[[-225,-40,0],[-225,0,45],[-225,-30,40]],[[-225,0,45],[-225,50,0],[-225,35,50]],[[-225,50,0],[-225,0,-55],[-225,32,-50]]], 1, "0xff9900", 100, "0x003366", 50);    /*purple*/make3Dobj("surface", [[/*origen*/[200,50,150], /*end*/ [200,50,100]],[[200,50,100],[200,-10,100],[200,20,130]]], 1, "0xffffff", 75, "0x666699",75);    /*white*/make3Dobj("surface", [[/*origen*/[50,50,-75], /*1*/[50,-50,-200], [0,0,-200]], /*2*/[[100,-100,-200], [-50,-50,-200], [0,5,-175]], /*3*/[[-100,-100,-200],[-50,50,-150], [0,0,-150]], /*4*/[[-100,100,-75], [50,50,-75]]], 1, "0x000000", 100, "0xffffff", 75);    /*x*/      make3Dobj("line", new Array(new Array(0,0,0), new Array(100,0,0)), 2, "0x009900", 0);    /*y*/      make3Dobj("line", new Array(new Array(0,0,0), new Array(0,100,0)), 1, "0xff9900", 0);    /*z*/      make3Dobj("line", new Array(new Array(0,0,0), new Array(0,0,100)), 1, "0x000000", 0);    }

View Replies !    View Related
Problem With Kirupa.com Flash Image Scroller -- Please Help
Hi,
I've been trying to come up with a modified version of Kirupa.com's flash image scroller.

The problem I'm having is that the thumbnails have whitespace both at the beginning and at the end of the scrolling thumbnail list, and I can't figure out how to get rid of it so that the thumbs line up flush under the big image.

I think it's related to the symbols in layer13 that scroll the thumbs left or right on hovering over them.

I'm attaching a .zip with the .fla and .xml file that power this thing.
If some one can please figure out why this is happening, I'd be very grateful.

Thanks.

Jeremy

View Replies !    View Related
Kirupa XML Thumbnail Photogallery: Scroller Question
*RESOLVED*
Hi,
I've been trying to reformat Kirupas XML thumbnail Photogallery and am having a problem with the position of the hit_left object in the scroller. The problem is that hit_left._x != 0 and gets added (as an initial width/position) to the beginning of the thumbnails (See image).



Is the usual way to solve this by creating a movieclip of all the scroller elements, using it to set hit_left._x = 0, and doing a delete onEnterFrame to get at the thumbnails?

*UPDATE*
Change the following from...

Code:
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+5)*k;
...
to

Code:
function thumbnails_fn(k) {

thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = ((eval("thumbnail_mc.t"+k)._width+5)*k);
...

View Replies !    View Related
How To Make Kirupa's Infinite Scroller Advance Via Clicking
Hello all,

I have a question...Of course...I want to make Kirupa's infinite scroller advance by clicking an arrow instead of on mouse movement. Does anyone know if this is possible? The tutorial is here...
http://www.kirupa.com/developer/mx/infinite.htm

Essentially I want a line of images to be advanced by the clicking of a button (arrow). BUT I want the images to be back to back so you can see a couple at a time.

THANKS!

View Replies !    View Related
Editing Kirupa's External Text Loader&Scroller ?...
Hi,

i have followed the tutorial on how to load external text and scroll it inside the text area.

i wanna know how can i use this if its not in my main timeline, if its inside a Mc ?

loadVariablesNum("./text.txt", 0);

How can i tell it to load in my Mc ?

thx alot in advance !

View Replies !    View Related
Kirupa Tutorial ?
I followed the full website tutorial found it great _ But the only thing I didn't get was how did you inbedded the text in the buttons
EX when you presed the membership button __ the text --a membership is open to everyone pops up_ how was this done ??

On my page I assigned an action to the button(about)_ on (release) {
gotoAndStop("about");
}
Heres the thing i assigned the same script for a news button too

But when i test the movie you can press the about button and get info _ but the news button doesn't work
But if you refresh and click the news button first it works fine but the about button doesn't work -- what to do

another quick ?
On my site i have a porfolio button _ the page shall contian small tumbnails _ when clicked they inlarge _ Can I do all this in the same layer as my main frame or do I have to build it in a new layer or movie clip ????

Thanks for your time and help

View Replies !    View Related
Tutorial In Kirupa
hello m8s.. i wonder if i can do this tutorial in another way?

http://www.kirupa.com/developer/acti...entication.htm
the tutorial is about login and password trough flash. But to be a member, the tutorial maker have made a .php file to write in username etc... I wonder if it couldnt be done in flash??


Please Post !

View Replies !    View Related
Kirupa Tutorial Help
I'm having a hard time getting this tutorial to work for me. I'm new to the whole "component" feature in Flash and I need some help or clarification.
Here's the link to the tutorial I'm trying to complete:

http://www.kirupa.com/developer/mx/newsflasher.htm

Please help me if you can!

View Replies !    View Related
XML Tutorial On Www.kirupa.com
there's a great 40+ page tutorial here

http://www.kirupa.com/web/xml/index.htm

I would like a printable version of this. Is there any way I could get the document so I can print it and not have to go to every page and print. thanks

View Replies !    View Related
About Kirupa Tutorial
i built my website accroding to the tutorial "creating a full flash site" in Kirupa tutorial section.
the main page is empty and has an empty target MC.

whenever i click on any of the navigation buttons, an external SWF is called and loaded in the target MC.

how can i make the empty main page load immediately the "about" page ?? i dont want it to be empty. i want the first empty page to calls the "about.swf".

i have attached screnshots of the main, about and pictures pages.

anyone can help ???

View Replies !    View Related
Kirupa Tutorial Help Plz
hi im building my first flash site and am trying to make my buttons make my text appear on the screen in a certian area, and im doing the "creating a full flash site" tutorial to learn it.

my problem is i dont understand..... i no when you publish you get your .swf file but how do you make the information you want to appear, a .swf file,

plz help a zamma

View Replies !    View Related
Kirupa Tutorial
I've been playing with the flash and XML slide show (http://kirupa.com/developer/mx2004/xml_slideshow.htm) tutorial from this site. I have changed it a bit so it uses the loader component to load swfs instead of jpgs into a movie clip. I have my component set to scale the content of the swfs when they are loaded so they completely fit in the 647X80 I am loading them into the loader but its not rescaling them, Any ideas?

Thanks in advance


ActionScript Code:
delay = 60000;//----------------------- function loadXML(loaded) { if (loaded) {  xmlNode = this.firstChild;  image = [];  total = xmlNode.childNodes.length;  for (i=0; i<total; i++) {   image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;  }  firstImage(); } else {  content = "file not loaded!"; }}xmlData = new XML();xmlData.ignoreWhite = true;xmlData.onLoad = loadXML;xmlData.load("images.xml");///////////////////////////////////// p = 0;this.onEnterFrame = function() { filesize = picture.getBytesTotal(); loaded = picture.getBytesLoaded(); if (loaded != filesize) {  preloader.preload_bar._xscale = 100*loaded/filesize; } else {  preloader._visible = false;  if (picture._alpha<100) {   picture._alpha += 10;  } }};function nextImage() { if (p<(total-1)) {  p++;  if (loaded == filesize) {   picture._alpha = 0;   picture.loadMovie(image[p], 1);   picture_num();   slideshow();  } }}function firstImage() { if (loaded == filesize) {  picture._alpha = 0;  picture.loadMovie(image[2], 1);  picture_num();  slideshow(); }}function slideshow() { myInterval = setInterval(pause_slideshow, delay); function pause_slideshow() {  clearInterval(myInterval);  if (p == (total-1)) {   p = 0;   firstImage();  } else {   nextImage();  } }}

View Replies !    View Related
Kirupa Tutorial Help
Hey all,

I'm new to flash and found the Kirupa website that I like the desgin of
I'm doing the tutorial 'Creating a Simple Flash 8 Animation' and on page 3 it tells me to change the text to 'alpha'. I've looked everywhere and I can't where I change it. Can anyone help me?

Thanks,

DarkArrow

View Replies !    View Related
Help With A Kirupa Tutorial
I want to alter some code within this tutorial from kirupa:
http://www.kirupa.com/developer/acti...dom_motion.htm

I'll only have one movieclip flying around the stage, but I need to restrict it from entering a certain area.

My stage is 600x450 and in the middle of the stage I want to put a text area that is approx 450x250 and I'll populate this with text from xml doc. But basically I don't want my flying object to go into the text area... so it either bounces off of or swerves away from it when it gets near it.

I'll probably make the boundaries larger than the stage so my object flys out of view every now and then.

Here is the code from the above tutorial:


Code:
onClipEvent (load) {
//data you may want to change
width = 700;
height = 550;
speed = Math.round(Math.random()*2)+1;
//initial positions
x = Math.random()*width;
y = Math.random()*height;
this._x = x;
this._y = y;
x_new = Math.random()*width;
y_new = Math.random()*height;
}
onClipEvent (enterFrame) {
//x movement
if (x_new>this._x) {
sign_x = 1;
} else {
sign_x = -1;
}
dx = Math.abs(x_new-this._x);
if ((dx>speed) || (dx<-speed)) {
this._x += sign_x*speed;
} else {
x_new = Math.random()*width;
}
//y movement
if (y_new>this._y) {
sign_y = 1;
} else {
sign_y = -1;
}
dy = Math.abs(y_new-this._y);
if ((dy>speed) || (dy<-speed)) {
this._y += sign_y*speed;
} else {
y_new = Math.random()*height;
}
}
I'd really appreciate any help with this.
Thanks
Mark

View Replies !    View Related
Kirupa Pop Up Tutorial?
hi, i am trying to use this tutorial

http://www.kirupa.com/developer/mx/centered_popup.htm

to produce a pop-up window showing a movie called noticeboard.swf
I have managed to achieve this in a test movie by changing one line of code (the target URL) which you can see if you click on the right hand button at this link

www.piscesswimschool.net/cpopup.html

The problem is when i try to use the same button with the same actions applied to it in my actual website...it does nothing at all!!you can see this by going to the "about us" page at
www.piscesswimschool.net/layout1.html

The only difference i can think of is that it is contained in a longer movie and i may not have pasted the actions that appear in frame 1 of the tutorial into the correct frame in the main website. Where should these actions go?? Or is the problem something else??

please help me, im going out of my mind.

View Replies !    View Related
Can Anyone Add To This Kirupa Tutorial?
The tutorial here is great but does anyone know how to make this work but only when you're mouse is within a certain distance of the that MC?

View Replies !    View Related
Kirupa Tutorial ?
I followed the full website tutorial found it great _ But the only thing I didn't get was how did you inbedded the text in the buttons
EX when you presed the membership button __ the text --a membership is open to everyone pops up_ how was this done ??

On my page I assigned an action to the button(about)_ on (release) {
gotoAndStop("about");
}
Heres the thing i assigned the same script for a news button too

But when i test the movie you can press the about button and get info _ but the news button doesn't work
But if you refresh and click the news button first it works fine but the about button doesn't work -- what to do

another quick ?
On my site i have a porfolio button _ the page shall contian small tumbnails _ when clicked they inlarge _ Can I do all this in the same layer as my main frame or do I have to build it in a new layer or movie clip ????

Thanks for your time and help

View Replies !    View Related
Tutorial In Kirupa
hello m8s.. i wonder if i can do this tutorial in another way?

http://www.kirupa.com/developer/acti...entication.htm
the tutorial is about login and password trough flash. But to be a member, the tutorial maker have made a .php file to write in username etc... I wonder if it couldnt be done in flash??


Please Post !

View Replies !    View Related
Kirupa Tutorial Help
I'm having a hard time getting this tutorial to work for me. I'm new to the whole "component" feature in Flash and I need some help or clarification.
Here's the link to the tutorial I'm trying to complete:

http://www.kirupa.com/developer/mx/newsflasher.htm

Please help me if you can!

View Replies !    View Related
XML Tutorial On Www.kirupa.com
there's a great 40+ page tutorial here

http://www.kirupa.com/web/xml/index.htm

I would like a printable version of this. Is there any way I could get the document so I can print it and not have to go to every page and print. thanks

View Replies !    View Related
Kirupa Tutorial Help Plz
hi im building my first flash site and am trying to make my buttons make my text appear on the screen in a certian area, and im doing the "creating a full flash site" tutorial to learn it.

my problem is i dont understand..... i no when you publish you get your .swf file but how do you make the information you want to appear, a .swf file,

plz help a zamma

View Replies !    View Related
Modifying A Kirupa Tutorial
Hi,

Can someone please modify this tutorial (http://www.kirupa.com/developer/mx2004/transitions.htm) 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.

Thanks!

View Replies !    View Related
Help Needed On Kirupa Tutorial Re: XML
on the following Link http://www.kirupa.com/developer/flas...ml_as3_pg6.htm
in the section "Filtering Attribute Information"

Kirupa takes you through filtering by the ISBN number, these results include the XML tags as well could anybody advise me how i would eliminate them in this section:

function ParseBooks(bookInput:XML):void {
trace("XML Output");
trace("------------------------");

var authorList:XMLList = bookInput.Book.(@ISBN == "0743203178");
trace(authorList);
}

i beleive its using the .text(); function but i can't find where to put it.

also, in order to load this information into a dynamic text box do i just replace trace with the destination of my text box?

Thanks
Daniel Hodkinson

View Replies !    View Related
Request A Kirupa Tutorial?
How do I contact Kirupa?

I would like to request that kirupa adds a tutorial to his tutorial list. Its a buttons one and is a very nice effect. It can be seen at:

http://www.stellamccartney.com

It's the way the light yellow movieclip glides across the buttons from end to end and the way the text appears underneath.

If you know how I can do a request, please respond.

Thank you.

View Replies !    View Related
Kirupa Tutorial Problem?
I have been following claudio's tutorial on creationin a transition and preloader.

However for some reason my movie will not play the "opening" sequence so that the swf file behind the transition is visible.

I've included the file so hopefully someone could help me, please.

One think I have noticed is that the function command looks for "_root.section" and I don;t know if this is action script or if it is looking for a label?

thanks

View Replies !    View Related
Question About Tutorial In Kirupa.com
I am going through the tutorial in Flash MX under Basic in Kirupa.com. I came across "Creating Drop-down menu" and I am tried to download the unfinished field to working on, but after I finished download it and open it, it give me a message in Flash program "Unexpected Format". I did save it as "ddm.fla". Please help me. Thank you very much.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved