Tearing My Hair Out On Loops
My brain is fried trying to figure this out.
Here's a brief explanation: I'm building a quiz-type movie where the user has 25 questions, each of which has an A-D item to give a 1-4 ranking to, using input fields. So, for example, question 1 might be:
===============================================
Code: 1. List the order of importance for what you prefer to do when you're sick of debugging Flash: A) Send a hate letter to Macromedia [ ] B) Ride your mt. bike for 3 hours [ ] C) Kick some a** on XBOX Live [ ] D) Post your problem on Flashkit and hope [ ] nobody laughs at your goofy code. ===============================================
For each [ ] you input the numbers 1-4.
Here's where I'm having troubles: there are 3 conditions that must be met in order to receive feedback on your rankings. They are:
1) No fields can be blank 2) Only the numbers 1-4 are valid entries 3) Each question must contain consecutive, not duplicate, entries
What keeps happening is I get the script error that says some code (obviously in the loop) is causing the player to stop responding.
Here's my code:
Code: for (i=1; i<=25; i++) { checkA = eval("roller.r"+i+"a"); checkB = eval("roller.r"+i+"b"); checkC = eval("roller.r"+i+"c"); checkD = eval("roller.r"+i+"d");
// check for blank entries if (checkA == undefined || checkB == undefined || checkC == undefined || checkD == undefined) { warning1.gotoAndPlay(2); gotoAndPlay("begin"); } else { // check for invalid entries if (checkA <1 || checkA >4 || checkB <1 || checkB >4 || checkC <1 || checkC >4 || checkD <1 || checkD >4) { warning3.gotoAndPlay(2); gotoAndPlay("begin"); } else { // check for duplicate entries if (checkA == checkB || checkA == checkC || checkA == checkD || checkB == checkC || checkB == checkD || checkC == checkD) { warning2.gotoAndPlay(2); gotoAndPlay("begin"); } else { nextFrame(); } } } }
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-07-2003, 03:40 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Please Help :-( Tearing My Hair Out
hi i am trying to load xml sound files, but im struggling! i cant write the correct actionscript
this is my code now:
play.onRelease = function() {
for(i=0; i<album.nodes[0].childNodes.length; i++){
loadSound(album.nodes[0].childNodes[i], true)
}};
however it doesnt play a sound so i think tis wrong :-(
here is my xml: i hav only put a sound in for the first album, atm its stored in the 7th node "FileUrl"
I really could do with a helping hand off one of you flash masters! cheers ben.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" generated="2006-05-11T15:41:12">
<Album>
<description>
<AlbumID>141</AlbumID>
<AlbumTitle>Discovery</AlbumTitle>
<ImageUrl>Images/DaftPunk_Discovery.jpg</ImageUrl>
<ArtistName>Daft Punk</ArtistName>
<GenreID>56</GenreID>
<Label>Virgin</Label>
<Year>2001</Year>
<FileUrl>test1.mp3</FileUrl>
</description>
<tracks>
<Track>
<TrackID>1</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>One More Time</Track_x0020_Title>
</Track>
<Track>
<TrackID>2</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Aerodynamic</Track_x0020_Title>
</Track>
<Track>
<TrackID>3</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Digital Love</Track_x0020_Title>
</Track>
<Track>
<TrackID>4</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Harder, Better, Faster, Stronger</Track_x0020_Title>
</Track>
<Track>
<TrackID>5</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Crescendolls</Track_x0020_Title>
</Track>
<Track>
<TrackID>6</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Nightvision</Track_x0020_Title>
</Track>
<Track>
<TrackID>7</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Superheroes</Track_x0020_Title>
</Track>
<Track>
<TrackID>8</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>High Life</Track_x0020_Title>
</Track>
<Track>
<TrackID>9</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Something About Us</Track_x0020_Title>
</Track>
<Track>
<TrackID>10</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Voyager</Track_x0020_Title>
</Track>
<Track>
<TrackID>11</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Veridis Quo</Track_x0020_Title>
</Track>
<Track>
<TrackID>12</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Short Circuit</Track_x0020_Title>
</Track>
<Track>
<TrackID>13</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Face To Face</Track_x0020_Title>
</Track>
<Track>
<TrackID>14</TrackID>
<AlbumID>141</AlbumID>
<Track_x0020_Title>Too Long</Track_x0020_Title>
</Track>
</tracks>
</Album>
TellTarget -tearing My Hair Out
Hi all,
Is there anyway I can export a working flash 4 swf from flash 5 that has a TellTarget command in it? It works when I export it as a Flash 5 swf but not a flash 4 swf (which is of course what i need to produce!!!!!!
Helpers will be rewarded with gold and happiness!
Dave
Tearing Hair Out: Displaying '&'
Hi FlashTypes
I have a nightmare problem. New to flash so bear with me.
I have a database query being pulled into Flash containing news headlines, in the form of:
date1=01/01/01headline1=Headline%20Goes%20Here... etc
...all good so far.
However, I hit a complete brick wall when the headline contains an '&' which Flash presumes is the end of that and the start of a new variable.
i.e. ... headline6=Ben%20&%20Jerry....
I can't HTML encode it, as HTML encoding uses a bloody '&' at the beginning...
Any clues as to what to do?
Help!!!!
Thanks
Ben
I'm Tearing My Hair Out Over These Transitions
I'm following Voets tutorial but I'm trying to change it a little.
Here's the problem:
I have a site (movie/whatever) witha a container in it. There are no buttons on this main page. My buttons are in an externally loaded file called "main.swf". This file loads into the base initially and then the plan is that when a button is clicked, all the buttons slide out again in the closing transition and then the new section, say, Profile, is loaded. The problem is that the buttons are in an external swf. Nothing is working. A little while ago I thought I had it fixed but then I got lost and now it's worse than before. I'm so confused. Please help.
If anyone wants to help me all the relevant files can be found HERE. The start of the site can be viewed HERE.
Thanks
Paddy
I'm Tearing My Hair Out Over These Transitions
I'm following Voets tutorial but I'm trying to change it a little.
Here's the problem:
I have a site (movie/whatever) witha a container in it. There are no buttons on this main page. My buttons are in an externally loaded file called "main.swf". This file loads into the base initially and then the plan is that when a button is clicked, all the buttons slide out again in the closing transition and then the new section, say, Profile, is loaded. The problem is that the buttons are in an external swf. Nothing is working. A little while ago I thought I had it fixed but then I got lost and now it's worse than before. I'm so confused. Please help.
If anyone wants to help me all the relevant files can be found HERE. The start of the site can be viewed HERE.
Thanks
Paddy
Tearing Out My Hair: Version Problem
I'm pretty much a beginner, but I'm getting experience fast.
I've created buttons that should call a function that assigns variables and advances to a certain frame.
The trick is that the buttons work when I publish it in a flash 5 format, but they don't work when I publish as flash 6. This makes me crazy.
Tearing My Hair Out Rotating A Movieclip
I hope you guys can help because searching the internet has not so far come up with anything.
I have a Flash movie built using ActionScript, that is going to serve as a product lookup wheel. Elements of the wheel are built up of instances of a circle clip "mcCircle". Around the edge of the outermost circle I have several buttons arranged (these are actually instances of a text field, not true Flash buttons) and clicking on each 'button' will allow different information to be displayed on the wheel.
This 'selector' is a movieclip 'catSelect' which contains 'catSelect.circle' (an instance of mcCircle) and 'catSelect.btn1', 'catSelect.btn2', etc.
The registration point of the movie clip mcCircle is in the centre of the circle but when I attempt to rotate the whole catSelect clip, it rotates around the stage origin 0,0. Strangely though, when I test rotate catSelect.circle only, this rotates around the centre, as expected.
Is this a common problem and are there any steps I can take to get around it?
Many thanks.
3d Spinning Globe (tearing My Hair Out)
Last edited by dwebstar : 2006-04-03 at 03:51.
My client has asked for a 3d spinning globe that can be used to select diferent regions to do a search on a database. So good so far. I've rendered my globe in 3d and have a 30 frame animation that rotates 360 degrees.
My Problem: I want to speed up the animation the further to the left the mouse goes or slows down the animation the closer the mouse is to the center. I'm totally stumped but I'm sure that it will be a fairly simple bit of action script.
I'm just totally useless at AS.
I've searched the site but can't find any related threads. Can anyone suggest any tutorials or threads that come to mind.
Yours hopefully
Derek
here's a fla if that helps 4mb tho sorry
http://derek2.alienationdev.co.uk/RolloverRegions.fla
Tearing Ones Hair Out. Loading Multiple Stuff..
Right i'm getting different behavior from a flash movie depending on where I load it from:
http://www.jutsum.co.uk/thinktest/
Right it seems to be working fine here. You click on the names on the left, the thumbnails load. The movies start to load. Click on "Moet" and the thumbnails load and the video starts to load.
no try this:
http://www.think-global-group.com/showcase/
Again click on Moet on the left. Now on my system at least (512kbit connection), the thumbnails and movie dont load until the other 2 movies are loaded.
Why is this working differently?
Any help much appreciated.
J
Tearing Hair Out, Probly Been Asked, Button In MC
Hi all,
I've been agonizing over getting this to work for several hours now, hopefully i can get some resolution here. Now apparently flash doesnt like it when you attach actionscript directly to a movieclip inside of a movieclip, im not really sure why, something about being sloppy.
Inside of the initial movie clip (which is a popup box) i have another movie clip (which really is a button) that I want to assign:
on(release){
getURL ...;
}
this doesnt work inside of the movie clip, it works fine on the main timeline. So then i found the crap in the help file about not doing what i have above, so i said sure whatever, and made the geturl a function on frame 1 of the main timeline.
email_butt.onRelease = function(){
getURL("http://www.galefire.com", "_blank");
};
so now I have this function, and it ALSO works fine in the main timeline, just like a clickable button like i want. But it still doesnt work INSIDE of the movie clip. Can someone please tell me what I am doing wrong so i can finish this stupid problem and get done with this website?
Embedded Character Question (tearing My Hair Out)
I need some help with a little problem i'm having.
Essentially, i'm editing a movie with many, many text boxes in it. One text box has a bunch of embedded characters associated with it (34,000 or so of them) which i now need to remove to improve the file size.
I have no idea which text-box has the embedded characters associated with it! So i can't remove them!
What can i do short of checking each one in turn, which is made even more difficult due to the levels of nesting involved?
Cheers for any help in advance,
Matt
Screen Tearing?
This is the first time I've experienced this. I'm building an extremely simple accordion with eased Tweens and am seeing "screen tearing" across multiple computers, browsers and versions of Flash.
The problem is basically seeing part of a shape or graphic moving before the rest of the graphic.
Its described here as well - click the "Linky" link where he mentions Tearing:
http://linuxtechie.wordpress.com/2007/12/04/flash-player-9-update-released/
If you see nothing wrong, here's an image I captured from my camera phone:
http://www.qnotemedia.com/upload/screen.png
I'm building with Flash CS3, AS3 project, tweening with TweenLite on WinXP SP2. Tested on two computers, both very fast. I see the tearing in both browsers (FF3, Chrome, IE7) as well as standalone, and I've tested multiple versions of Flash Player9 and Flash Player 10.
Help!
Flicker And Tearing
I'm 99% sure I have the answer to this already, but I'm wondering if anyone knows how to make large objects move without all this flicker and tearing I'm getting.
My thought is it's just windows drawing......we probably need proper page flipping(like DirectDraw does) to fix it.
Here's a crude example of what I am talking about.
http://morganstudios.com/Square.html
Play it maximized for the full crappy effect.
Flash Tearing Issue
Hello everyone, I'm new here .
I'm trying to make a game in flash as3, which will have several objects moving around in a certain tempo. I use bitmap class to load the images.
The issue is the objects not display smoothly when moving, but tearing!
I know it is a well-known issue on games, how to avoid it using as3? I searched on google, all I get is the technology(say, double buffering) to improve performance but not solve the tearing issue.
As I'm new to as3, anyone can help me on this?! Thank you very much in advance.
Tearing On Tweens On Pc Platforms
Looking for a bit of help here... or at least wondering if anyone else notices this.
So far I've gone to every flash site i can.....
on three separate computers....
made tons of simple tween swfs to test this....
done mouse scrollers and any kind of motion i can.
time and time again on a mac everything looks great.
time and time again on any pc i've observed image tearing while in motion.
sometimes it is minimal, other times it is so extreme it renders the work unusable.
i'm seeing this in actual professional websites too.... but i can't find anyone talking about it.
has anyone experienced this tearing and jittering of movement in flash on all PCs or is it just me?
am i going nuts here?
nothing i do fixes this.
How Do I Get Rid Of Tearing/flickering In Flv Or Netstream
I have a problem with progressive video, both using the flvplayer and a standard netstream class where the image is tearing on screen.
Does anyone know of any rendering techniques which will fix this, such as double buffering, copypixels, new bitmapdataways, or ways of forcing the client to use hardware rendering rather than software?
Thanks in advance,
Julian
Could Someone Tell Me How This Game Avoids Tearing When Scrolling?
I just played this game:
http://armorgames.com/play/846/drone-wars
and when the screen scrolls, I don't notice any tearing while scrolling. My current game I'm working on scrolls as well, but it tears.
Currently, I have a single MovieClip which holds all my game objects and that I just move around (set x and y coordinates) based on the position of the user's mouse relative to an edge of the screen.
Is there anything I can do to eliminate or reduce tearing? I'm using some PNG's with transparency. Any settings I can do, techniques to sync up the refresh rate or something?
Thanks
Bitmap Animation Without Image Tearing
Hey all,
I am moving an image around, and when it moves quickly, it becomes distorted and displays what I can only refer to as "tearing". The image appear to be misaligned for some of the frames that it is moving. I have tried a number of the usual fixes, increasing the framerate, using a less complex image, etc. Nothing seems to work. Any ideas? I feel like I have seen a lot of flash movies that have fast motion, slick movement, etc and not appear as what I end up with. Thanks for any ideas...
- B
Edited: 02/02/2007 at 11:57:39 AM by BSpero
Actionscript Tween (distortion) Causes Tearing
I have an image that i'm tweening with laco tween class and the distortion class to skew the image. The image movement is fine but the image appears to "break up" or "tear"...basically lines come acrosss it so the movement doesn't look smooth at all.
Are there better AS2 classes or smoothing effects that would leviate this issue? Would AS3 help?
Font Help Tearing My Nice Hear Out
Using G4 powerbook, flash 8, firefox.
http://www.theplayground.net.au/plpr
Still having a real headache over the fonts...
The best I've got the fonts to look was when I converted everything to 'device fonts' on the dropdown menu. Obviously this wont work on other computers without the font. I was reading on the fonts for flash site that they recommend to set the fonts to anti-alias for animation for crisp font satisfaction? this doesnt seem to work either.
Im using static text, ive checked the auto kern and anti-alias for readbility, made sure that the text and the movie its within sits on no points on the x and y (e.g - 10.6 = 10) - if that makes sense...still no luck!
I am publishing with flash 8 but have flash 9 player installed on my machine.
So nearly finished this project.. this is the last hurdle!! eek!
Fast Moving MovieClip "tearing" Problem
Hi,
I am currently building a pretty straight forward ball game with collision physics. My problem is my resulting animations seem to "tear" when moving fast. Once they slow down the problem it goes away. Can someone point me toward how i can stop the tearing effect.
The game currently has an array of balls. An enter frame listener goes through the array check for impact and updates their position accordingly.
I have attached a sample swf and the actionscript below. The document class is BallGame.as and the individual ball class is Ball.as.
Any help with this issue is greatly appreciated.
John
ballgame.swf in html
BallGame.as
Ball.as
Fur And Hair In 8?
Ahoy forum!
I've been looking about all evening and I can't seem to find any method for putting hair and fur into Flash. I was thinking of putting fur on some on my characters, and I want them to seem a little bit fuzzy because of it.
That would theoretically require half transparencies, which is such a resource hog, but is it possible to do? Even when your machine grinds to a halt to just do it?
(I'd rather use things like vectors to do it, rather than importing bitmaps and then adding in the transparency)
Merci Beaucoup,
Mad!
Animation Causes Screen "tearing"
Hi
Have had this problem mostly when i have used imported png's but have just built a file that has loots of objects moving left to right in a kind of scrolling menu. Each object is drawn in flash and has an imported swf logo inside it.
When i use the menu there is a hell of a lot of screen tearing going on. Does anyone know how to minimise this unwanted effect?
Thank you
Cross-hair
I am trying to drag/drop several different words to a target block. I want them all to stay unless they are incorrect. But they seem to snap to the cross-hair in the target area. Can I get rid of the cross hair?
(I'm working with F5)
Also, does each word have to be on a different layer?
HELP
NEWBIE IN TROUBLE>
Help Help Help, I'm Pulling My Hair Out
just to quickly outline the problem
need two buttons (next and previous) which can control a tweened timeline by playing the playhead backwards and forwards but will also stop at certain keframes to allow the user to read the content.
i don't want to use the old 'reverse frames' trick.
can anyone help?
ste
//////////below_ is the actual problem i have
lets say my movie clip is called 'myMC'
myMC has 40 frames and two layers
layer one has the text context i want to scroll. it will scroll top to bottom. the text content has four 'sections' these are;
text one
text two
text three
text four
layer one (still inside "myMC') has 4 keyframes, the text content is a symbol which is tweened between 4 keyframes (over the 40 frames of the timeline) to make it look like it is scrolling, when masked.
layer two is a mask
this masks off all the text content, so the viewer can only see one section at a time.
where do the buttons need to go? On the _root timeline or can they be inside "myMC' i only want two buttons controlling the text content, next and previous.
i need the buttons to be intellegent enough to know where the user is on the (myMC)time line so they can scroll the text content up and down.
the scrolling is simulated because all i want to do is make the buttons play the tween forwards or backwards and stop at the right place.
can you help?
i would be very very grateful if anyone could offer a solution to this problem, i've been tearing my hair out for four days on this one!
ste
Pulling Out Hair
I have this damn code at home and I thought I remembered how to do it but it isn't working. I am trying to create and empty movieclip with actionscipt and then fill it with a graphic from my library. So I made the graphic ready for export for actionscript and gave it the name border. Then I wrote this code on the first frame of my movie:
Border.createEmptyMovieClip("newBorder",1);
newBorder.attatchMovieClip("border","newB",1);
I know I am really close but the damn thing won't work. I have it right at home but I don't want to go there to figure it out. Thanks
Needhelp While I Still Have Hair
I have a design I would like to use on my web page. It is basically an open hand that when you rollover the fingers a line going from that finger to a a box appears to show you the page link for that finger (ie home, gallery ect). When you then click that finger it will send you to respective page. The hand image is a sigle jpeg and can be seen on the opening page of my web site (www.kitbash.com)
I have created at different frames the image that I would like to appear. and a frame for the roll-of image. Now the qustion how do I get this to work?
Thanks in advance regards
Troy
Pulling My Hair Out
ok, i know this has a simple solution but i just am unaware of it.
my problem is with loading movies. if i load them on to a seperate layer (exam: the main is on layer 0 and the rest are on 1) then the main page on layer zero flashes up in between loads.
i am now trying to use a holder but am having probs with it. do i want to load to different levels or use a holder in some way?
if i want to use the unloadmovie then how do i factor that in?
please please help!!!!!!
thanks,
lawrence
Pulling My Hair Out
http://www.itclimate.com/test/index.htm
I really don't know what's going on here and I'm starting to think I've bitten off more than I can chew!
This site works perfectly when I test it locally (using Flash 5) but when I upload it, the buttons just point to any old page in no particular order. "Downloads" is the main problem. If you click this button it always seems to take you into the case studies and then the case study buttons won't work. Once the user has clicked a few times it seems to rectify itself but initially, it's a real mess. Every time I upload it, the worse it gets!
I'm quite new to Flash, so I've tried to keep the site as simple as possible. Each section is a new 5-frame scene (with the exception of the case studies - these are much longer but also broken up into scenes). The only Actionscripting I have used is to tell buttons to point to a specific scene. Once they're in that scene they will always start at Frame 1.
I've also noticed in the How It Works section that when the user clicks the last button (Security) it closes the window. This button is meant to work as the rest do and go to the section on Security. I have tried deleting the button and uploading the site without it but then the same thing happens to the next button (i.e. Time).
Has anyone experienced this type of thing before? Can anyone help me??? Pleeeeease?
P.S. The login button takes you out of the website into another one, so don't click it.
:: Losing Hair ::
i am losing hair over this one.
i am loading a scrolling image gallery into a container on the main time line and it comes in fine. but when i actually use that external movie (fashion_gallery.swf) my navigation on the main timeline stops working. the movie will load and you can still use the nav on the main timeline but as soon as you even mouse over the loaded movie it stops working.
can someone look at it?
i would really appreciate it. the zip is 3k to big to post here so but you can get it at
www.eyecircusmultimedia.com/cleveland.zip
Thanks very much!
c
Can Anyone Help...almost Out Of Hair To Pull...
HelP!!! Loading swf movies and getting correct scene
Ok, this is the setup, I have a flash swf movie with 5 scenes. Then I have one swf that is only one scene that I load into the existing swf window to overlap or replace the movie there. From that 1 swf, I want to return to the main swf consisting of 5 scenes and load it back in, but I want to be able to go to any scene in the movie depending on which one they pick from the nav.
The problem is, nomatter which scene they pick, it always starts me at the beginning of the 5 scene swf movie.
I have labled each start frame of each scene and tried to get back to them but it always starts at the beginning.
Any suggestions?
Anyone know the script to get me back correctly? I am pretty new at this and any help would be greatly appreciated...talk to me like I am 5!
The URL is
http://rpsweb.net/~www0088
Its the equipment request form that you cannot return from...
Pulling My Hair Out
i have a question about loading movies and how their timelines work.
i have am almost finished this movie and have taken my self and AS to a new personal.
my movie is quite smart (my opinion) but has a little bug.
is anyone here on im ...i just dont know if i can ask my question right here.
i have two actually. one i dont think i can explain here.
and the other is this.
can i dynamically load a dir of images. i am pulling in a lot of jpgs dynamicall and want to know if i can load them witha preloader movie clip.
thanks
my icq is #34491500
Pulling My Hair Out
I'm completely lost.
I'm trying to create a simple email form from this tute.
http://www.actionscript.org/tutorials/intermediate/php_send_mail/index.shtml
From what I gather all need to do is change the email addy in the php file to my own and upload both the swf and php files to my server.
But I've done this on 2 different servers and changed the email addy to 3 different ones and it wont work.
I cant get it to work.
I've tried for days before I decided to throw myself at the mercy of the board.
I'd be eternally greatfull for any help I could get.
Pulling My Hair Out
I am trying to do some (what I thought) was easy error checking on a form.
Here is my code:
code:
if (_root.hello.helloForm.name.cName=="") {
_root.txtStatus="please enter your name";
}
//_root.txtStatus=_root.hello.helloForm.name.cName;
//selection.setFocus("_root.hello.helloForm.name.cNa me");
the commented out lines work just fine. But the if statement does nothing. There is something SIMPLE that I am overlooking here. I just can't seem to see it. Thank you for your time and help!
Pulling My Hair Out
Hello, I hope there is somebody out there with enough knowledge to help sort out the problem I am having with this movie.
Attached is a movie and on it's own in flash player or even in a browser it works great. If I introduce the movie into my site www.gtgrafix.com and view it again then a certain part of the actionscript fails to work. The bit I am talking about is the number (101) will no longer change with the loading of the images. Like I say, viewed on it's own in flash player it works fine.
The images are externally loaded so they will not appear. Can somebody please help.
Cheers
Gary
Scroller, Please Help, About To Rip My Hair Out Lol
okay i am sorta new to this action scripting but i have been using flash for awhile. i want to make my site more dynamic. anyways this one thing is driving me NUTS!!!! i have looked for over 5 hours straight at tutorials for how to load an external html/txt file into a SCROLLABLE text field. PLEASEEE help me out with this, i have posted several times and no one replies. i have searched everywhere and what ineed is someone to explain it in a simple manner.
second thing is i am trying to figure out how to relate flash and search engines together. i read this article and it sorta makes sense but i am confused on the fact of loading things into flash via a database or php or something. here is the link to that article: http://www.sitepoint.com/article/ac...flash-parts-1-2
i would be eternally greatful if someone could help me out with these too things. my AOLIM is gambit2666 if it would be easier to talk thee.
thank you.
mike
Pulling My Hair Out
Hello all,
I want to make a song player/m3player on my flash site.
the details:
All i want is a play, stop, next, and previous button while you can view the song being loaded/played. Thats all!!!! I dont' want a song list, i just want it to just skip to the next song i have. No volume button.
I can't find a tutorial anywhere.
I am trying to accomplish the player similar to the one below (please click). Notice: where it says "Audio".
http://www.bimarkinc.com/website/index.htm
PLEASE HELP ME SAVE MY HAIR!!!! Thank you all
Pulling My Hair Out
So glad you're here!!!
Here's the problem:
I have five buttons - each has the same audio "bleep" sound on the over state.
My problem is that when I click on my button, the over sound plays again.
My Over keyframe contains the little one second audio file. My Down keyframe is blank. So is the hit. So I can't figure out why it would play twice.
any ideas? I've been troubleshooting this glitch for 2 hours
cheers
jen
Cross-Hair
Hi,
I'm currently developing a site which needs to make use of a full page cross-hair (not game/target type), similar to the one so kindly posted to flashkit by Alex Lein.
My problem is that I need the attached cross-hair to dissapear when there is no mouse movement, and re-appear again when mouse movement occurs.
Any help or direction to tutorials etc would be much appreciated.
Cheers.
Still Pulling Hair Out
I have attached a preloader (5kb) that needs fixed! I cannot figure it out! It is in MX format. Right now the preloader sits in the first frame and runs untill all frames have loaded. Not all the content! So basically the preloader says its done loading the site, and then you sit there waiting for the site to actually load!
Very easy for someone here so please take a look see. Basically I want the preloader to load 100% of the movie.
My grads go out to all that are here and helping!
Im Pulling Out My Hair.......
ok i have an xml file loading images....works great....it also makes thumbnails....also works great. But when i mouse over the thumbnails....i want a fade transition....this is where i blow it.....it works some of the times....what is wrong with this code? im i retarded? or what?
PHP Code:
thumbHolder.onRollOver = function() {
inte.loader2.loadMovie(this.main);
pic = this.main;
alpha = 10;
inte.loader2._alpha = 0;
onEnterFrame = function () {
_root.inte.loader2._alpha +=10;
if (_root.inte.loader2._alpha>=99) {
inte.loader.loadMovie(pic);
onEnterFrame = null;
}
};
};
[MX] Help Please I Am Pulling Out My Hair Here.....
I have more than one .swf and I have set it up to where you click and it opens to the next .swf but the problem is i need the 2nd .swf file to open with the navigation buttons and logo still on the top. right now it is just blank on top because it is opening but all by it's self? So, basically...I am trying to figure out how to have the navigation buttons and logo at the top?
[CS3] My Code Is Off By A Hair
I'm using the following code:
Code:
var services = new Array("design", "planning", "construction");
for(i=1; i<=services.length; i++) {
this["b" + i].index = i;
this["b" + i].onRollOver = function() {
gotoAndStop(services[this.index - 1]);
mc_[this.index - 1].gotoAndPlay("begin");
}
}
The line in the code that ISN'T working:
Code:
mc_[this.index - 1].gotoAndPlay("begin");
Where I'm trying to feed [this.index - 1] to the end of mc_
How can I get that array into there so I "dynamically" get
Code:
mc_design.gotoAndPlay("begin");
???
Thanks!
FOO
About To Pull My Hair OUT
I am having a hard time trying to figure out how to correct this error I have in my ActionScript. It is something simple, I just don't know where the problem is...
The actual script:
on (release) {getURL("https://www.paypal.com/cart/add=1&business=ktaylorlive@aol.com&item_name=Kathy Taylor Live-The Worship Experience-2 Disc Set"
Shopping+Cart+Button&item_number=KTWE08&amount=17. 00&shipping=0.00&shipping2=0.00&handling=0.00&retu rn='http://www.paypal.com'&cancel_ return='http://www.paypal.com');
}
The Error Message:
**Error** Scene=Scene 1, layer=Pages, frame=5:Line 2: ')' or ',' expected
Shopping+Cart+Button&item_number=KTWE08&amount=17. 00&shipping=0.00&shipping2=0.00&handling=0.00&retu rn='http://www.paypal.com'&cancel_ return='http://www.paypal.com');
Total ActionScript Errors: 1 Reported Errors: 1
Please Help ME!!!!!!!!!!
Pulling My Hair OUt
Hi,
I have been through all loadvars, loadvariables, loadvariablesnum postings and have not seen anyone with the problem that I am having.
Running Flash MX 6 and Coldfusion 5.
I have a flash file in which I am want load a variable from a CFM.
loadvariables("http://servername/flash/_flashrights.cfm",0);
Contents of _flashrights.cfm
============================================
<cfsetting enablecfoutputonly="Yes">
<cfoutput>&MenuRights=11112111&EOF=true&END&</cfoutput>
If I go to the physical drive using My Computer and double click the HTML file with the embedded flash object everything works!
If I run the flash movie (Crtl-Enter) from within Flash MX 6 everything works.
If I open IE6 and type in the URL http://servername/flash/some.html the flash will not load the variables.
Pulling my hair out!!!!
Would appreciate the help. Thanks.
Pulling My Hair Out
I'm completely lost. In Tutorial 06 in the intermediate section, a simple flash/php email form is explained. From what I gather, all I need to do is change the email to my email and upload onto the server. I've tested this on 2 different servers with 3 different email addresses and I can not get it to work. Both servers do have php installed. Any ideas??
Pulling My Hair Out Over Nothing?
I think i am having some issues concatenating and calling the instances in my for loop here....can anyone see anything wrong with the syntax or any other reason why this might not work? Anything that would make this thing not work? Ive been trying for hours, can figure it out
for(i=2; i<=10; i++){
duplicateMovieClip(mask0_mc,"mask"+i+"_mc", 1)
j=i-1
trace(["mask"+j+"_mc"]._width)
trace("mask"+j+"_mc")
["mask"+i+"_mc"]._width = (["mask"+j+"_mc"]._width*1.1)
["mask"+i+"_mc"]._x = (["mask"+j+"_mc"]._x - ["mask"+i+"_mc"]._width);
}
tracing the width gives me underfinded while tracing the mask+j+_mc, gives me the instance names of the clips :?
please tell me that Im lame and this is an easy syntax thing :?
thx in advance for any help.
Vector Hair
does any one in the name of god know how to make vector hair look good or any tutorials? Im using flash or illustrator or photoshop or all of them I just need the hair to look decent! thank you
Pulling Hair Out HELP
Ok, I've developed my first entire Flash site and I've come across a problem that I can't figure out.... I have an entire swf as the site and within it, it loads external movies for the content. On one of the pages it's covering sun safety but for some reason the page isn't reading correctly.
The site is www.hawaiianblend.com
Please ignore the blatent "what not to do" stuff and check out the "SAFETY" page. yet, if you load the swf by itself of the safety2.swf it works fine.
Any help would be greatly greatly appreciated!!!!!
thanks
|