{F8} Flash Newbie Vrs Kirupa Hit Test Tutorial
Hi there! I've just used the hit test tutorial for my scrolling gallery, now I want to add roll over buttons on the sides to reverse the movement of the movie. Here is the hit test script:onClipEvent (enterFrame) { move = this._x; if (number == 1) { this._x = move-1; } if (number ==2) { this._x = move+1; } if (this.b, hitTest(_root.right1)) { number = 1; } if (this.a, hitTest(_root.left1)) { number = 2; }}and here is the button...on (rollOver) {}I have no idea what to put inside! something saying if this = ._x +1; then make it do this._x - 1; and vise versa....Can someone let me know or what tutorial will teach me how to write it?Thanks you!
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 02-27-2007, 03:00 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
About Kirupa's XML In Flash Tutorial
URL: http://www.kirupa.com/web/xml/examples/portfolio.htm
Does anyone have a clue how I can edit the portfolio, so that I use text instead of thumbnails to list all my entries.
And, another thing. How can I get all entries (text) to be displayed in vertical direction?
Best Regards
Eirik Fjellaksel
Using XML In Flash CS3/AS3 - Kirupa Tutorial
Hi guys,
Just going through and teaching myself some AS3 using the above tutorial and getting data from an XML file.
At a basic level im able to access the XML and then output it to a text field. Now Im trying to pull out all the Name fields, from the XML, of which in my sample there are 2.
When I do a trace() it outputs the 2 values Though when I attempt to spit them out to a text field I only get the last value printed in my text field.. Im assuming that the text field can only accept 1 value from the For Loop and each time the loops goes through it overwirtes the value in the field. Does this sound right?
Im using a For loop as below:
Code:
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
xmlLoader.load(new URLRequest("http://wwwdev/_tools/parties_act.xml"));
function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
ParseDivInfo(xmlData);
}
function ParseDivInfo(divInput:XML):void {
// Create new XML list
var PartyNameList:XMLList = divInput.DivisionInfo.PartyName;
for (var i:int = 0; i < PartyNameList.length(); i++)
{
var nameElement:XML = PartyNameList[i];
rawXML.text = nameElement;
trace(nameElement);
}
}
XML file
Code:
<divisions>
<DivisionInfo>
<ID>101</ID>
<Name>Canberra</Name>
<State>ACT</State>
<CandidateID>17614</CandidateID>
<CandidateName>Annette</CandidateName>
<CandidateSurname>ELLIS</CandidateSurname>
<PartyName>Australian Labor Party</PartyName>
<PartyAb>ALP</PartyAb>
</DivisionInfo>
<DivisionInfo>
<ID>102</ID>
<Name>Fraser</Name>
<State>ACT</State>
<CandidateID>17613</CandidateID>
<CandidateName>Bob</CandidateName>
<CandidateSurname>McMULLAN</CandidateSurname>
<PartyName>Liberal</PartyName>
<PartyAb>LP</PartyAb>
</DivisionInfo>
</divisions>
About Kirupa's XML In Flash Tutorial
URL: http://www.kirupa.com/web/xml/examples/portfolio.htm
Does anyone have a clue how I can edit the portfolio, so that I use text instead of thumbnails to list all my entries.
And, another thing. How can I get all entries (text) to be displayed in vertical direction?
Best Regards
Eirik Fjellaksel
Problems With Kirupa Php/flash Tutorial
Hi,
I have downloaded the tutorial Flash-Based Email Form Using PHP
from this site but I have problems sending the information from the .swf fields (name, message and email) to my php page. All I get is an email forwarded my mail adress but there are no information included.
The code: $_POST should be global and thus sending the information to the php site. I don´t get it. All I have changed is the mail adress in the php.
Any suggestions ?
Best regards
This Kirupa Tutorial Not Working In Flash 8
http://www.kirupa.com/developer/acti...t/dragdrop.htm
this tutorial is not working in flash 8 I can drag the objects but when I am dropping the object on target target is not changing color . Can anybody suggest bwhai will be the new script???
Help With XML/Flash Gallery - Kirupa Tutorial
I've been working through this tutorial here: http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
Its a nifty little gallery and i'm going to utilise it but i have hit a little stump regarding displaying the images. The images in this tutorial all appear to be 300 x 200. I'm wanting to display (for example) 5 images all of different size. Thing is, if i go into the XML file and change the locations of the images to bigger than that of 300 x 200 then it only displays a fraction of the image i have changed it too.
How can i make it so that the images (varying in widths and height) will all display as their original sizes?
I can paste some AS code if you need to have a look.
P.S - if i adjust the size of the MC that displays the images this seems to display the fraction of the larger image, but at a zoomed in size.
Thanks all.
Problems With Kirupa Php/flash Tutorial
Hi,
I have downloaded the tutorial Flash-Based Email Form Using PHP
from this site but I have problems sending the information from the .swf fields (name, message and email) to my php page. All I get is an email forwarded my mail adress but there are no information included.
The code: $_POST should be global and thus sending the information to the php site. I don´t get it. All I have changed is the mail adress in the php.
Any suggestions ?
Best regards
Kirupa Tutorial Flash/PHP Form But Add Checkbox?
Hello All,
I have used much of the resources on kirupa.com but this is my first post here. basically i am clueless. I have gone through threads, even looked at the components tutorial here, and i'm a lost as ever.
I have set a form exactly like the perfectly simple Flash based Email form using PHP tutorial but have added input fields to 8, (which was successful, i might add. Didn't I feel like I had somewhat of a clue then). Now i wish to add two check boxes. i have tried to assign variables to the checkbox's states with this code and now I am not getting the email. Did I depart to much from Kirupa's tutorial with the simple on release loadVariables and onclip(data)? Is my PHP the problem? Am i assigning variables correctly to the true or false states of the checkboxes?
Thanks I'd really appreciate some help since it's almost 1:30 AM in sweden right now!
PHP Code:
on (release){
form = new LoadVars();
form.firma = "";
form.navn = "";
form.stilling = "";
form.adresseOne = "";
form.adresseTwo = "";
form.telefon = "";
form.email = "";
form.komentar = "";
form.jegOnsker = value;
form.kontaktMig = value;
myArray = [jegOnsker,kontaktMig];
for (var i in myArray) {
myArray[i].setChangeHandler("myHandler");
}
function myHandler (component) {
value = component._name+" = "+component.getValue();
trace(value);
}
function submit() {
form.loadVariables("kontakt.php","POST");
}
}
PHP Code:
<?
// kontakt.php
$message = "
---------------------------------
$firma,
$navn,
$stilling,
$adresse1,
$adresse2,
$telefon,
($email)
---------------------------------
kommentar: $komentar
jegOnsker: $jegOnsker
kontaktMig: $kontaktMig";
$sendTo = "mailexample@mail.com";
$subject = "website kommentar";
$headers = "From: " . $_POST["navn"];
$headers .= "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"];
mail($sendTo, $subject, $message, $headers);
?>
Kirupa's Flash/PHP Email Form Tutorial
I was trying out Kirupa's Flash/PHP email form tutorial:
http://www.kirupa.com/developer/acti..._php_email.htm
However.. the tutorial uses input text fields. Ech textfield has a 'var:' in the property inspector where I am supposed to name each field in order to send the input to EMAIL.PHP.
Now I would like to make the same form, but using Flash MX 2004 built-in components instead of the standard input text fields. How do I make it work so that the input in each field is sent to the PHP file? I can't find the 'var' option anywhere in the component inspector nor in the properties.
Any help would be appreciated. I'm a complete newbie at Flash and Actionscript, so please help me out.
Kirupa's Full Flash Site Tutorial?
Hi I have Flash 5 and when I tried to unzip the "Full site.zip"
file in "Creating a full flash site tutorial" I keep getting uexpected file format for the .FLA file. None of them seem to work/open for me.
I really want to try this tutorial and learn a few tips but the zip file does not work....
Full Site Tutorial
Can anyone please help? Does the zip file work for you?
Thanks
Sahiba
Photo Gallery Using XML And Flash Tutorial By Kirupa
ok this is the deal.. i did the tutorial on here of the photo gallery using xml with thumbnails, and i can't get my pictures to be centered. Im in desperate need of some help.. to see what i mean check out this link http://www.priscillamarie.com/private/photos.html
the FLA is too big so if you think you can help i will email it too you....
Kurve
Trouble With 1st Kirupa Flash 8 Tween Tutorial
Hi,
I'm on a Mac and a Flash MX 2004 user. I attempted to do Kirupa's very basic animation tweening tutorial to get myself going with Flash 8, but I cannot get it to work.
The motion works fine, but when I introduced the alpha part, it started behaving erratically. It just won't fade IN.
I am familiar and comfortable with animation tweens involving motion and fades in MX 2004...
I tried just doing a fade in for a single letter, not even inside a movie clip (as the tutorial has you do), and didn't use motion -- just a fade in: Can't even get that to work.
Any ideas? Some silly thing I overlooked??
Thanks!
SL
Help With Kirupa Tutorial...Proper Flash Structure
Hello,
I was going over a tutorial on the site called Proper Flash Structure. It creates a menu/nav from xml files. I notice that it loads the same image for the background of each button. Is there a way to load a specific different image for each button?
I am looking to make a thumb nav of products, with the image, text, and link all matching up. Right now, the text and link match up, but the image for each button is off.
If you are familiar with this tutorial, any help would be greatly appreciated.
Thanks!
You can find the tutorial here....
http://www.kirupa.com/developer/flas...flash_site.htm
Kirupa Tutorial On Php Socket Server And Flash 8
Hi,
I was reading the tutorial, which gave information on getting the socket server running with a .bat file; does anyone know a way to get it running on linux? (linux doesn't run .bat files)
I read about shell scripts, but I don't quite understand how to get it running.
Thanks,
-Danny
Kirupa Drag & Drop Tutorial For Flash 8
I've used the Kirupa Drag/Drop tutorial, found here.
When I publish a .swf that utilizes the AS used in the above tutorial for Flash Player 8, it does not work. However, when I publish it for Flash player 5, it works perfectly.
Is there a particular reason for this? How could I have similar drag/drop functionality for a Flash 8 player?
Thanks in advance.
Issue With Kirupa.com Flash/PHP Form Tutorial
I've scoured the web high and low and cannot find a tutorial for this that actually works despite my efforts at checking and rechecking it. I never receive any email. Any help would be appreciated. I'll try and lay everything out.
Three input fields: Name, Message and Email Address. All have assigned var names as name, message and email. Fields are within a mc called "form".
Submit button has this code:
on (release) {
form.loadVariables("emailForm.php", "POST");
gotoAndStop(2);
}
The Form mc has this code:
onClipEvent(data){
nextFrame();
}
My PHP file has this code:
<?php
$sendTo = "name@domain.com"; I inserted my actual email here, I deleted it because I don't want the world knowing it from here
$subject = "From My Web Site";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Does anyone happen to know why this doesn't work? I also tried creating the PHP form using my ISP's web hosting tools (AT&T Yahoo). If anyone happens to know if there is something specific I need to do to get it to work with AT&T Yahoo that would be great. I'll also need to know if there's anything specific to Network Solutions.
I appreciate any and all help very much!
AS 2 Kirupa Text Flash/CSS Tutorial Query
Hello
I am trying to follow the Kirupa tutorial here:
http://www.kirupa.com/developer/mx2004/css.htm
I have a dynamic text box with multiline set to no wrap and the dynamic text box with an instance name of output. I have removed the www.kirupa link to the flash.css in the tutorial and placed a file called flash.css in the same directory as everything else on my server.
So I have:
Code:
var format = new TextField.StyleSheet();
var path = "flash.css";
var quick = "<br><p class='one'>The quick Kirupa jumps over the lazy dog.</p><br><p class='two'>The quick Kirupa jumps over the lazy dog.</p><br><p class='three'>The quick Kirupa jumps over the lazy dog.</p><br><p class='four'>The quick Kirupa jumps over the lazy dog.</p>";
format.load(path);
format.onLoad = function(loaded) {
if (loaded) {
output.styleSheet = format;
output.text = quick;
} else {
output.text = "Error loading CSS file!";
}
};
I am using the AS as posted in the tutorial, but can't see any text at all. I have the <> HTML button pressed down.
What might be wrong with this?
Thanks.
Steve
Kirupa Tutorial Flash/PHP Form But Add Checkbox?
Hello All,
I have used much of the resources on kirupa.com but this is my first post here. basically i am clueless. I have gone through threads, even looked at the components tutorial here, and i'm a lost as ever.
I have set a form exactly like the perfectly simple Flash based Email form using PHP tutorial but have added input fields to 8, (which was successful, i might add. Didn't I feel like I had somewhat of a clue then). Now i wish to add two check boxes. i have tried to assign variables to the checkbox's states with this code and now I am not getting the email. Did I depart to much from Kirupa's tutorial with the simple on release loadVariables and onclip(data)? Is my PHP the problem? Am i assigning variables correctly to the true or false states of the checkboxes?
Thanks I'd really appreciate some help since it's almost 1:30 AM in sweden right now!
PHP Code:
on (release){
form = new LoadVars();
form.firma = "";
form.navn = "";
form.stilling = "";
form.adresseOne = "";
form.adresseTwo = "";
form.telefon = "";
form.email = "";
form.komentar = "";
form.jegOnsker = value;
form.kontaktMig = value;
myArray = [jegOnsker,kontaktMig];
for (var i in myArray) {
myArray[i].setChangeHandler("myHandler");
}
function myHandler (component) {
value = component._name+" = "+component.getValue();
trace(value);
}
function submit() {
form.loadVariables("kontakt.php","POST");
}
}
PHP Code:
<?
// kontakt.php
$message = "
---------------------------------
$firma,
$navn,
$stilling,
$adresse1,
$adresse2,
$telefon,
($email)
---------------------------------
kommentar: $komentar
jegOnsker: $jegOnsker
kontaktMig: $kontaktMig";
$sendTo = "mailexample@mail.com";
$subject = "website kommentar";
$headers = "From: " . $_POST["navn"];
$headers .= "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"];
mail($sendTo, $subject, $message, $headers);
?>
Fixing The Flash/Embed Issue Kirupa Tutorial, Not Working For Me In IE
Hey all
Have just run through the flashobject fix for this issue. It works fine in Firefox but when I run the webpage in IE no flash movie shows up. Am i doing anything wrong?
(Im on XPPro SP2, but not many hotfixes installed, (as it crashed my PC))
<script type="text/javascript" src= "flashobject.js"></script>
<div id="flashcontent" style="width: 785px; height: 330px"></div>
<script type="text/javascript">
var fo = new FlashObject("/images/final_portfolio.swf?<%response.write qs%>", "final_portfolio.swf", "785", "330", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
Have tried without the ?ASP. Any suggestions?
Cannot Load Content (mixing Kirupa Tutorial And Flash PhotoViewer Model)
Cannot load content (mixing Kirupa tutorial and Flash PhotoViewer model)
I would like to load a swf file into another one...
like today I read here http://www.kirupa.com/developer/mx/full_site.htm
I would like to load photo viewer Model of Flash MX ... but even if in its preview it works, when I load it like a flash movie... it does not work well...
Can some one explain me where is the error ???
Thanks,
Marco
Cannot Load Content (mixing Kirupa Tutorial And Flash PhotoViewer Model)
Cannot load content (mixing Kirupa tutorial and Flash PhotoViewer model)
I would like to load a swf file into another one...
like today I read here http://www.kirupa.com/developer/mx/full_site.htm
I would like to load photo viewer Model of Flash MX ... but even if in its preview it works, when I load it like a flash movie... it does not work well...
Can some one explain me where is the error ???
Thanks,
Marco
Kirupa Flash And Php Tutorial>>does It Work In Flash 8?
hi guys! good day. i've been doing my research and been working on my mail contact form for a client's website, but the thing is, there are so many tutorials and source files available, and i'm not sure which ones are working FOR FLASH 8. i've been searching the net for contact forms that work with flash 8, but most are only for flash mx i think.
anyway.. my question is: have you guys ever tried the kirupa flash-php contact form tutorial on flash 8? i've tried this on phpnet.us and bravenet.com, i haven't received any emails. so i suspect that it's the server's mistake. i am currently using orgfree.com, because the php mail is enabled automatically on all their servers. soo.... any of you tried using the flash-php contact form tute of kirupa? here's the link:
http://www.kirupa.com/developer/acti..._php_email.htm
please enlighten me on this. i've been searching the forums for quite sometime now. hehe. anyone? or are there any of you who's willing to give me source files for flash 8 contact form? thanks in advance.
Greg
Flash Form+php(kirupa Tutorial)/messages Sent By Form Show Strange Characters
Flash form+php(kirupa tutorial)/messages sent by form show strange characters - uncorrect stressing for latin languages
I tested flash + php form (http://www.kirupa.com/developer/act...h_php_email.htm) , and noticed message field does not send messages correctly when words stressing is needed (á à , é , í , ó , ão ) ;
I received strange characters when typed stressed words :
á é i ó u ão à pão cão árvore ;
what has to be changed on the code to allow stressing ??
cheers
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
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 !
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!
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
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 ???
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
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(); } }}
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
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
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.
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
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 !
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!
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
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
Problems With Tutorial "Photo Gallery Using XML And Flash" On Kirupa.com
Hallo!
I was looking for a tutorial exactly like this one on Kirupa.com:
http://www.kirupa.com/developer/mx20...otogallery.htm
My problem is that the images can't be loaded.
Flash says that there was a problem opening the URL.
If I change the file-names in the XML-File, the problem appears again.
Maybe another hint:
When I use "Publish Preview", Firefox says that an unsafe action was stopped. Unfortunately I don't know how to fix this.
I use Flash CS3.
Thanks for your help!
Kirupa Tutorial "photo Gallery Using XML And Flash"...align Image Center?
Hi, I have a question about the tutorial for creating a gallery that lets you import images using xml over at Kirupa. TBy default the images load aligned left which isn't all that good for different sized images, I was wondering if there is a way to align the images center when they load? I have to admit my knowledge of flash and actionscript is minimal at best.
I've been searching through the Kirupa forums and have only found one post of use, (couldn't find anything here) and the post contains this...
Quote:
Originally Posted by txfrog1999
you need to determine the width of the image being loaded (I usually add this information to my XML file along with the height of the image) and then use AS to move the mc loading the image along the _x axis to center within the container:
ActionScript Code:
if (img_w[p]<250) {
x_pos = ((250-img_w[p])/2)+10;
picture._x = x_pos;
} else {
picture._x = 10;
}
however I have no idea where in the tutorial AS to put this code and not 100% sure where to put the image dimentions in the xml (I'm just new to xml), would a guess at <image width="356">...</image> be right for a 356px image?
Any help would be greatly appreciated.
Thanks.
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!
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
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.
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
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.
Kirupa Snow 2.0 Tutorial
How can I make the snow go rising and not falling, like bubbles ? (inverted)
This is the tut btw: http://www.kirupa.com/developer/mx2004/snow.htm
|