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




Gotta Love The LoadVars



I'm trying to grab the number of variables I'm loading using LoadVars.

Anybody got a suggestion?



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 04-20-2004, 06:01 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Gotta Love The LoadVars
I'm trying to grab the number of variables I'm loading using LoadVars.

Anybody got a suggestion?

You Gotta See This
Ok...now..

I've got a movie containing 5 buttons that have tell target commands to open up 5 individual movie clips. My problem is, is that when one of the 5 buttons is clicked, I want whichever movie that is currently opened, to play a closing animation and then open the movie for the button that was clicked. How can I do this?

much respect,
shaggy

Gotta Be Another Way
Well i posted a couple questions about sound, that no one answered but while ive been on the site ive found my answers for those.. However as i become more familar with Flash, the more i see a serious lack of organization and preview abilities. Maybe im just seeing it wrong or not seeing it at all, but i have more questions....


Is it possible to preview an mc within the main timeline? It sure doesnt work for me.. i have always had to preview them by exporting the entire movie or by finding the symbol and double clicking it and watching it independantly of the movie.

Any way to manage stream sounds so that u can tell an animation when to start and stop so u can maintain perfect sync with the audio file?
(for instance, i have a bassdrum that hits 8 times and words appear each time it hits, but when i set the sound from event to stream, the animated text starts prematurely.

can u actually edit an embedded movie file? For instance, when i import an avi, flash tells me they i have no editing options due to lack of support for its codecs.. or something like that.

is it possible to do something as simple as "cropping" the stage so, you dont have to spend so much time cropping all the mcs and objects seperately and without creating a main mask to position all the clips in?

Markers? no way to create them? no way to organize the timeline other then with a pen and paper and lots of numbers? lol

well yea.. so my flash experience so far has left me less then stoked as u can imagine.. great pros when people can create dynamic interactive applications, but horrible cons when it comes to good old simple non interactive animations...

but maybe some of these problems im having have workarounds??

i want to think this software is amazing when i look at websites like http://2advanced.com, but actually setting out to do this sort of thing is going to leave me with grey hairs and im in my early twenties. lol

Is This Possible ? Gotta Be
Im currently creating a football cd-rom package as a project of mine. Each drill has a simple flash animation showing how the drill works. I have created the drills but want the flash to stop at certain point which i choose (for example, certain part of drill) then the user carrys on the animation by click a next button. This way the animation doesnt play all the way threw and the user works at there own pace.Yet how do i make the flash work like this with buttons and the pausing ? Any help would be great,thanks.

Gotta Be A Better Way
What's up all;
I have some thumbnails that when you roll over they load an outside jpeg into the screen; however they were taking a while to load and it's not obvious to users when they put their cursor over and don't see anything because the image hasn't loaded (100k). So I wanted to display a "loading" message. Here's what I came up with:
-------------------------------------------------------
on (rollOver) {
_root.createEmptyMovieClip("jim",2);
_root.createEmptyMovieClip("loadpic",1);
loadpic.loadMovie("load.jpg");
loadpic._x=300 ;
loadpic._y=100 ;
jim.loadMovie("jim//travel//jim_travel3.jpg");
jim._x = 300 ;
jim._y = 100 ;

_root.onMouseDown = function () {
stopDrag() ;
}
_root.onMouseUp = function () {
stopDrag () ;
}
}
on (rollOut) {
unloadMovie("jim");
unloadMovie("loadpic");
}
---------------------------------------------------
is there a better way to do this? i tried a couple of different things, but they didn't work.
Here's a working site:
www.angelfire.com/ny5/monastest/monas_test.html

Theres Gotta Be A Better Way
I'm having a little trouble with a simple intro....the movie is working fine with the looping mc.

What I want is...when the movie has played the clip at least once then it should got url instead of having a button to manually go to url.

I have searched for timer delay or somthing like that but havn't found anything? Can anyone post a code for this or am I barking up the wrong tree? Is there a better way?

New, Gotta Actionscripting ?
Hey all, Ok this is probably easy but I cant figure it out.

Here is what I got:
Main Movie with 4 "sliding" buttons (i.e. rollover slides out with a pic underneath, rollout slides back in)
About Me
Resume
Portfolio
Contact Me
Those are the buttons, Now I have created 4 different movies, not clips like aboutme.swf etc.. with "doors" that close then it loads the contents (about me writing or links etc..) and then reopens.

K now what I am trying to do is when all that happens, click button new movie loads in the main movie on release, When a different button is clicked, I want it to be able to close the doors again with the about me(or whatever is open) still there and fade out as the doors are closing then they reopen and fade in the new movie, like if you where on About me, and then click Contact me.

What it is doing now is quite simple as explained above, it just goes to the other clip no fading out or nothing looks good when opening but when closing out it just disappears and looks a bit tacky and unprofessional.

Any help would be VERY appreciated, My head is about to cave in from beating it against the wall.

Thanks,
Justin (Naut)

P.S.
I would give you a URL but unfortantly all I have right now is on my IP (not gonna give that out) so if ya want to go to the trouble and send me an email I will be happy to give ya the URL to it if ya can help me out. Or you can add me to MSN IM with my email addy. Thanks

Gotta Problem...
I need to make a better navigation for my site without having to completely redo the swf files i have already created. is there a way to have the nav bar still where it's at and load it into the same place like it never changed at all? I'm probably confusing you. Somewhat like frames but not frames. Like for the code to insert a separate html file into an existing html file. I think I'm confusing myself. Theres this one site that I checked out in the flash site check thread. I want to do it like that one but not totally because i don't want to be accused of ripping off or anything like that. here's the link. http://www.aniadesign.com/pages/MainPage.htm

If there's a tutorial on this please direct me to it.

Thanks in advance,

Anita
http://apotterdd.150m.com/

OH MY GOD U GOTTA CHECK OUT THIS
: MAKE EASY MONEY!!! IT REALLY WORK!!!

: I know public opinion on all this mail-order crap and get rich
scheming but here’s one
: that will work. Read this generic message that I’ve cut and edited to
sound more likable
: and tell me if it sounds good to you. I’ve actually taken the 10
minutes it requires to join
: this wacky bunch of optimists and I’m hoping that there are others
out there who will
: spare the change to try this and want to see the same results.

I found this on a bulletin board and decided to try it. A little while
back, I was browsing through newsgroups, just like you are now, and
came across an article similar to this that said you could make thousands of dollars within weeks with only an initial investment of $6.00! So I thought, Yeah right, this must be a scam, but like most of us, I was curious, so I kept reading. Anyway, it said that you send $1.00 to each of the 6 names and address stated in the article. You then place your own name and address in the bottom of the list at #6, and post the article in at least 200 newsgroups. (There are thousands) No catch, that was it. So after thinking it over, and talking to a few people first, I thought about trying it. I figured: what have I got to lose except 6 stamps and $6.00, right? Then I invested the measly $6.00. Well GUESS WHAT!!... within 7 days, I started getting money in the mail! I was shocked! I figured it would end soon, but the money just kept coming in. In my first week, I made about $25.00. By the end of the second week I had made a total of over $1,000.00! In the third week I had over $10,000.00 and it's still growing. This is now my fourth week and I have made a total of just over $42,000.00 and it's still coming in rapidly. It's certainly worth $6.00, and 6 stamps, I have spent more than that on the lottery!! Let me tell you how this works and most importantly, why it works....Also, make sure you print a copy of this article NOW, so you can get the information off of it as you need it. I promise you that if you follow the directions exactly, that you will start making more money than you thought possible by doing something so easy! Suggestion: Read this entire message carefully! (print it out or download it.) Follow the simple directions and watch the money come in! It's easy. It's legal. And, your investment is only $6.00 (Plus postage)
IMPORTANT: This is not a rip-off; it is not indecent; it is not illegal; and it is virtually no risk - it really works!!!! If all of the following instructions are adhered to, you will receive extraordinary
dividends.

PLEASE NOTE: Please follow these directions EXACTLY, and $50,000 or more can be yours in 20 to 60 days. This program remains successful because of the honesty and integrity of the participants. Please continue its success by carefully adhering to the instructions. You will now become part of the Mail Order business. In this business your product is not solid and tangible, it's a service. You are in the business of developing Mailing Lists. Many large corporations are happy to pay big bucks for quality lists. However, the money made from the mailing lists is secondary to the income which is made from people like you and me asking to be included in that list.

Here are the 4 easy steps to success:
STEP 1: Get 6 separate pieces of paper and write the following on each
piece of paper; PLEASE PUT ME ON YOUR MAILING LIST. Now get 6 US $1.00
bills and place ONE inside EACH of the 6 pieces of paper so the bill
will not be seen through the envelope (to prevent thievery). Next, place
one paper in each of the 6 envelopes and seal them. You should now have
6 sealed envelopes, each with a piece of paper stating the above
phrase, your name and address, and a $1.00 bill. What you are doing is
creating a service. THIS IS ABSOLUTELY LEGAL! You are requesting a legitimate service and you are paying for it! Like most of us I was a little skeptical and a little worried about the legal aspects of it all. So I checked it out with the U.S. Post Office (1-800-725-2161) and they confirmed that it is indeed LEGAL! Mail the 6 envelopes to the following
addresses:
#1) Jacob Lineberry
341 Brookfield Circle
Sanford, NC 27330
#2) Kesha Jackson
28 Beacon St. Apt #1
Fitchburg, MA 01420
#3) Angella Orr
60 North Bryant Avenue
Pittsburgh, PA 15202
#4) Judith Soha
23763 SE Summerhill Lane
Issaquah, WA 98029
#5) Laurie Rawdon
115 Linda Lane Apt #1
Palm Beach Shores, FL 33404
#6) Kelvin Huynh
2571 Perkon Ct.
San Diego, CA 92105
STEP 2: Now take the #1 name off the list that you see above, move the
other names up (6 becomes 5, 5 becomes 4, etc...) and add YOUR Name as
number 6 on the list.
STEP 3: Change anything you need to, but try to keep this article as
close to original as possible. Now, post your amended article to at least 200 newsgroups. (I think there are close to 24,000 groups) All you need is 200, but remember, the more you post, the more money you make! This is perfectly legal! If you have any doubts, refer to Title 18 Sec.
1302&1341 of the Postal lottery laws. Keep a copy of these steps for
yourself and, whenever you need money, you can use it again, and again.
PLEASE REMEMBER that this program remains successful because of the honesty and integrity of the participants and by their carefully adhering to the directions. Look at it this way. If you are of integrity, the program will continue and the money that so many others have received will come your way. NOTE: You may want to retain every name and address sent to you, either on a computer or hard copy and keep the notes people send you. This VERIFIES that you are truly providing a service. (Also, it might be a good idea to wrap the $1 bill in dark paper to reduce the risk of mail theft.) So, as each post is downloaded and the directions carefully followed, six members will be reimbursed for their participation as a List Developer with one dollar each. Your name will move up the list geometrically so that when your name reaches the #1 position you will be receiving thousands of dollars in CASH!!! What an opportunity for only $6.00 ($1.00 for each of the first six people listed above) Send it now, add your own name to the list and you're in business!

---DIRECTIONS ----- FOR HOW TO POST TO NEWSGROUPS------------
Step 1) You do not need to re-type this entire letter to do your own
posting. Simply put your cursor at the beginning of this letter and drag
your cursor to the bottom of this document, and select 'copy' from the
edit menu. This will copy the entire letter into the computer's memory.
Step 2) Open a blank 'wordpad' or 'notepad' file and place your cursor
at the top of the blank page. From the 'edit' menu select 'paste'. This
will paste a copy of the letter into notepad so that you can add your
name to the list.
Step 3) Save your new wordpad or notepad file as a .txt file. If you
want to do your postings in different settings, you'll always have this
file to go back to.
Step 4) Use Netscape or Internet explorer and try searching for various
newsgroups (on-line forums, message boards, chat sites, discussions.)
Step 5) Visit these message boards and post this article as a new
message by highlighting the text of this letter and selecting paste from the edit menu. Fill in the Subject, this will be the header that everyone sees as they scroll through the list of postings in a particular group, click the post message button. You're done with your first one! Congratulations...THAT'S IT! All you have to do is jump to different newsgroups and post away, after you get the hang of it, it will take about 30 seconds for each newsgroup!

**REMEMBER, THE MORE NEWSGROUPS YOU POST IN, THE MORE MONEY YOU WILL
MAKE!! BUT YOU HAVE TO POST A MINIMUM OF 200**
That's it! You will begin receiving money from around the world within
days! You may eventually want to rent a P.O.Box due to the large amount
of mail you will receive. If you wish to stay anonymous, you can invent
a name to use, as long as the postman will deliver it.
**JUST MAKE SURE ALL THE ADDRESSES ARE CORRECT.**
Now the WHY part: Out of 200 postings, say I receive only 5 replies (a
very low example). So then I made $5.00 with my name at #6 on the
letter. Now, each of the 5 persons who just sent me $1.00 make the MINIMUM 200 postings, each with my name at #5 and only 5 persons respond to each of the original 5, that is another $25.00 for me, now those 25 each make 200 MINIMUM posts with my name at #4 and only 5 replies each, I will bring in an additional $125.00! Now, those 125 persons turn around and post the MINIMUM 200 with my name at #3 and only receive 5 replies each, I will make an additional $626.00! OK, now here is the fun part, each of those 625 persons post a MINIMUM 200 letters with my name at #2 and they each only receive 5 replies, that just made me $3,125.00!!! Those 3,125 persons will all deliver this message to 200 newsgroups with my name at #1 and if still 5 persons per 200 newsgroups react I will receive $15,625,00! With an original investment of only $6.00! AMAZING! When your name is no longer on the list, you just take the latest posting in the newsgroups, and send out another $6.00 to names on the list, putting your name at number 6 again. And start posting again. The thing to remember is: do you realize that thousands of people all over the world are joining the internet and reading these articles everyday?, JUST LIKE YOU are now!! So, can you afford $6.00 and see if it really works?? I think so... People have said, "what if the plan is played out and no one sends you the money? So what! What are the chances of that happening when there are tons of new honest users and new honest people who are joining the internet and newsgroups everyday and are willing to give it a try? Estimates are at 20,000 to 50,000 new users, every day, with thousands of those joining the actual internet.

: That's it now get to work and make yourself some money...I never
thought it
: would work. Right now you don't either so prove me wrong and try it
anyway
: all you lost is six bucks, six stamps and some time. You could gain
thousands
: of dollars!!!!! WHY NOT GIVE IT A SHOT AND JUST SEE IF IT DOES
WORK???

Remember: play FAIRLY and HONESTLY and this will really work.
: You wouldn’t want someone to cheat you the same way you may be
cheating!

A Know Am Dumb But I Gotta Ask
this maybe a dumb question but i gotta to ask iam designing my flash site i have the main site and separte swf for the menu system i have loaded the menu system into the main site using the load movie command but what i want to know is how do i get the menu system to load another swf into the main site on a button press been trying for ages all i can say is heeeeellllppppp

Gotta Be Simple
I'm new to this so I'm looking for answers.

I have a button and text box that the user will fill out a search criteria. The button is acting as a submit that takes the text box information and pushes the variable through using in my case gotoandplay(21). The button is in frame 19. Frame 20 is a check frame that loops back to frame 21 until all the records are found.

Problem is that the first time I hit the button it appears to goto frame 21 then back to 19 with the button. If I hit it again then the program runs through. Why is it returning to frame 19 that one time?

Frame 19:
on (release, keyPress "<Enter>") {
ownerinput = ownerinput;
startnum = 1;
endnum = 20;
loadVariables ("_variables.cfm", "", "POST");
gotoAndPlay (21);
}

Frame 20:
if (_root.Status == 1) {
gotoAndStop (21);
} else {
gotoAndPlay (20);
}


Frame 21:
// depth
depth = 1;
// hide the origional clips
GPIN_Num._visible = 0;
Acct_Num._visible = 0;
Obj_Num._visible = 0;
Taxmap_Num._visible = 0;
// split up the array by looking for the commas
GPIN_array = GPIN_list.split("|");
Acct_array = Acct_list.split("|");
Obj_array = Obj_list.split("|");
Taxmap_array = Taxmap_list.split("|");
// get the length of the array
GPIN_length = GPIN_array.length;
Acct_length = Acct_array.length;
Obj_length = Obj_array.length;
Taxmap_length = Taxmap_array.length;
// set the start y position (x position depends on where you put it on the screen)
yposition = 5;
// looping everything
for (i=0; i<GPIN_length; i++) {
// GPIN Number
duplicateMovieClip (GPIN_Num, "GPIN_Num" add i, depth);
setProperty ("GPIN_Num" add i, _y, yposition);
GPIN_Num.GPIN_Num = GPIN_array[1];
set ("GPIN_Num" add i add ".info", GPIN_array[i]);
depth++;
// Account Number
duplicateMovieClip (Acct_Num, "Acct_Num" add i, depth);
setProperty ("Acct_Num" add i, _y, yposition);
Acct_Num.Acct_Num = Acct_array[1];
set ("Acct_Num" add i add ".info", Acct_array[i]);
depth++;
// Object Number
duplicateMovieClip (Obj_Num, "Obj_Num" add i, depth);
setProperty ("Obj_Num" add i, _y, yposition);
Obj_Num.Obj_Num = Obj_array[1];
set ("Obj_Num" add i add ".info", Obj_array[i]);
depth++;
// Taxmap Number
duplicateMovieClip (Taxmap_Num, "Taxmap_Num" add i, depth);
setProperty ("Taxmap_Num" add i, _y, yposition);
Taxmap_Num.Obj_Num = Taxmap_array[1];
set ("Taxmap_Num" add i add ".info", Taxmap_array[i]);
depth++;
// Set the y position plus 20
yposition = yposition+20;
}

Gotta Question..take A Look Plz
gonna make this real fast & furious:
making a flash movie for the home page of a web site, when you click on a button it loads another swf into the current one, wanna be able to either reclick on the button to unload the movie or have a different button load with the 2nd swf that, when clicked on, will unload it.
any help?

Gotta Be A Better Way Of Doing This... Please Read
Hi folks, I really hope someone can help me here.

I am building a CD rom so this all needs to be used in projector. (no PHP or MYSQL)

I need to build a database of sorts that needs to be two tiers..

1: list of companies
2: specs on selected company


Now I plan on having as many as 150 companies and the thought of creating a frame for each doesn't sound to promising. Is there a way to send a variable to a frame and include a text file or XML document for the selected company? (frame gets "company_123.XML" and includes the data from that?)

I know in PHP you could send a page an id and get any result you want with only that file and a MYSQL database. (get_data.php?id=123)

What is the best way to get this to happen in flash? Please throw me a bone here...

A huge thanks in advance! Cheers!


-S

It's Gotta Be SIMPLE But....
I'm working in an html based content management system and I've been handed the happy task of figuring out how to launch an embedded flash file into a new window. Alwqys better to show than just tell, so here's the code I have:

<EMBED pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash align=left src=http://images.bimedia.net/designvideo/wagt_tv_schedule.swf width=150 height=125 type=application/x-shockwave-flash quality="high" bgcolor="444444"></EMBED></a>

The idea here being that when someone clicks on the banner the stations schedule will open up in a new window. And I have no idea whether this can be done or not. Any help would be GREATLY appreciated. Thanks.

bphuripan@bimedia.net.

Gotta Be Something SIMPLE
Hi All,

Been browsing the post, trying the suggestions, and I still can't get the rollover buttons in the attached movie to work ((

Can anyone help??? This is for my own company and I need to get it working!!! LOL... (I've tried {_root.gotoAndStop and _parent.gotoAndStop and neither work...

Thank you for any help!!!

- Jon

I Know There's Gotta Be An Easy Way To Do This
How can I make individual letters spin. Just like a quarter spinning on the table. I did this years ago very easily, but I can't for the life of me remember what I did. I didn't do any fancy 3D with it either. Just a 2D letter spinning. Of course the effect was slightly 3D, but there was no depth to the letter.
Any thoughts?
MaxHeight

Uh...gotta Question
Hey, a while ago I bought a version of Flash MX and registered it and installed it onto my desktop pc. Well needless to say a few years have passed since that was new and now I've bought a new laptop. On my desktop that version is working great and well and whatnot, but it uses a dial-up internet connection which is slow and unreliable. This one however has wifi availability. But I can't e-mail the file to myself, it takes too long and like I said, the dial-up wouldn't be able to handle it. Anyway, the problem is that I don't have my installation disk anymore, God knows where that is, but I'd like to have Flash on here so I could use it more often. I downloaded a 30-day trial version of Flash MX 2004 just like the one I had thinking that my serial code would work... well, duh! it says that serial code has already been registered. Any suggestions? Thanks for at least taking the time to read!

Please Try This - Gotta Be Something Simple
Make a dynamic text field box on the stage and call it my_txt. Make it big enough to display
"Green background with red border"

Now set some properties in frame 1:

my_txt.border = true;
my_txt.borderColor = 0xff0000;
my_txt.backgroundColor = 0x0cfd97;
my_txt.text = "Green background with a red border!";

Now test the program and all appears fine. But when you print what's on the stage using either
the right-click Print command or the Print() commands the background and border disappear.

Can anyone tell me how to prevent this? Thanks.

Hey, I Know I Gotta Redo This But....
I wanted to do several things but got different results. If u see how the little light block passes and reveals the text. I wanted to make it so that a light block inside the text forms the text that is being revealed, instead of an acutally Light block symbol that I made. Does anybody know what I'm trying to say? Also What Can I do also to cut down on the file size. It's 1mb. I'm redoing it from bottom up. Tell me what ya'll work

The Page content in the middle will take a while to load depending on your speed, But please be patient and let it load and you'll see what im talking about

http://www.team-xdi.com/main.html



What do you guys think of how the car rolls in once the page has begun? Do you think its moving weird or too slow? check it out at http://www.team-xdi.com/main.html

I Gotta Couple Questions
I'm in the process of making a movie for my site, and there are a couple things that are frustrating me. The first is: in my preloader i've used a "Flash Ui Components Set 2" Progress Bar, and i have no idea what action scripting to use from the "methods". Secondly I have a button that supposed to goto a different scene, however it doesn't, I've tried different frame lables and different scene names but nothing seems to work.

Help is extremely appreciated.

It's Gotta Be A Stupid Question....
Hi!

It's getting late, and I'm tired. I know i gotta be asking a dumb question.

My movie canvas is 550x700, but some of my stuff goes off the canvas because when I made the canvas height longer then it would shrink all my content (i have a long page). I even tried making a page to be continued to shorten up the page (now I have two pages).

Prob is that when I view it, there are no scrollbars in the browser window. My content just stops with what can be seen initially.

What do ya hafta do to make the scrollbars automatically appear?

Thanks a lot!

Pop-up Text Definitions - There's Gotta Be A Better Way To Do This...
I have a text box with a ton of text in it (multiple paragraphs). Functionally, what I'd like to do is have it so that I can have people click on (or roll over) certain words, and then a definition pops up in a blue box (kinda like a tooltip)...

I could make one "box" movieclip with a dynamic text field in it, and then just use it as a transparent button over each word that needs to be defined within the paragraph (loading the definition text inside the "box" dynamically), but I wouldn't know how to adjust the size of the box so that it fits each definition's text. (like, some definitions may be a couple words, and some may be a sentence or two, so if the box is always just one size, that won't work)...

That being said, the only thing I can think of is having a separate "box" movieclip (each sized to its separate dimentions) in the library. But with all of those definitions, that will increase the file size huge...

There's gotta be a simple solution to this - any ideas?! Thanks!...

I Gotta Explain Close, Help Please..
Hi..

I need a mc to pop up in another mc if a mc get hits by my character in main timeline...

Im doing this inventory thing for my game so....

There's Gotta Be A Way To Make This Simpler..
I'm putting this code on 15 buttons to move slideObject to a different position.

Code:
name = slideObject;
targetx = -458;
name.startx = _x;
speed = 15;
name.onEnterFrame = function() {
name._x += (targetx-name._x)/speed;
Is there a way to make this simpler? a function or soemthing?

Tommy_S I Gotta Question
I have a question specifically related to your transition.
Did you make them using multiple swf files? or multiple movieclips within one swf file? I'm trying to make this thing work but I don't know which way is better...
Thank you!

Tommy_S I Gotta Question
I have a question specifically related to your transition.
Did you make them using multiple swf files? or multiple movieclips within one swf file? I'm trying to make this thing work but I don't know which way is better...
Thank you!

Here's The Concept, I Gotta Get This Onto Flash.
Very noobie concept:

http://www.mediahug.com/stuff/concept.jpg
http://www.mediahug.com/ultrashocktests/
(Pencil removed. Too ****ty to be there.)

Hehe.

Now I just need to get it into flash. Any decent page fold etc. information out there?

I just have no idea where to start.

There's Gotta Be An Easier Way... Looping FLV
I've seen it all over the net... the same question... "how do you get a streaming FLV to loop".

Seen a lot of solutions... and most of them seem complex for the task.

Does anyone have a simple, elegant way to solve the riddle of the "Elusive Looping FLV/Unicorn" once and for all?

Genius's of the world unite!

After this we'll work on world peace. Gotta be easier than this.

Below simple code to play and rewind (add FLVPlayback instance "player")... What will make it play again?

Code:

package
{
    import fl.video.FLVPlayback;
    import flash.display.Sprite;
   
    public class FLVPlaybackExample extends Sprite {

        private var videoPath:String = "http://www.helpexamples.com/flash/video/caption_video.flv";
       
        public function FLVPlaybackExample() {
            player.source = videoPath;
         player.autoRewind = true;

        }
    }
}

Thank you all in advance for helping me keep whatever hair I haven't already pulled out.

G

Gotta Luv The New Flash MX Auto-3D Feature :D
flash pimpage ;p

Haven't been here in a while, but now tahat Im around more than before while I was trying to get into this Digital Media Arts program @t Seneca @t York in Toronto. I finally got accepted about 2 weeks ago, so far Ive learned Pro Tools (Professional Digital Audio Engineering Appplication) and I've especially taught myself soooo much about Flash MX wihtin the past 3-4 weeks (already know photoshop 7.0). While I used to always come here back when i was into swish and the swish betas, back then, the real Flash 5, seemed soo complicated, but now, I luv how the Flash MX tutorials are somewhat better now, plus aswell as the new XML, 3D, and also AAS (Advanced Action Scripting) features, very s3xy & cool

anyhow, before i start boring u guys, here's what i just made today, while I was experimenting to try and achieve realistic 3d vector eye candy, and I was able to do it, by making that cube or 4-dimension box in freehand MX, then directly import the freehand source file into Flash MX, try it out, it works great !

http://cgnation.netfirms.com/CGN3danimation1.swf

Gotta Make A Scrollbar For Images...
That's right...I've been looking around and most of the scrollers [scrollbars] I've come across work for text. Thing is, I've got some scanned images and they've got a pretty large vertical resolution. So, I only wanna scroll images...does anyone have any idea? URGENT...thanks.

[F8] Help With Preloading A Huge File, Gotta Fix Now
I've run into a big problem with a project I did for a client. The swf comes out to 15mb which i know is huge, the client has tons of pics and three videos all of which is embedded, which is what the client demanded. The preloader works on my computer, when i do a simulate download it starts at 1% and goes up to 100% like it's supposed to and then plays the file.

Now the client is saying that when they upload it, the preloader doesn't show up til around 30%. What could be the cause? Or is this something on their end? There is nothing on the first few frames where the preloading takes places, absolutely nothing. Please any ideas or advise as to what could be going on would be really appreciated. I'm at my wits end and the client is demanding this now.

There's Gotta Be A Easier Way Of Writing This Code
Is there a easier way of writing this code?


Code:
bleh.text = _global.contentVar;
if (bleh.text == "slide_sticky1.swf") {
for (n=0; n<=_root.story1_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story1_text[n];
rfcClip.setURL = _root.story1_link[n];
}
}
if (bleh.text == "slide_sticky2.swf") {
trace("shit is on");
for (n=0; n<=_root.story2_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story2_text[n];
rfcClip.setURL = _root.story2_link[n];
}
}
if (bleh.text == "slide_sticky3.swf") {
for (n=0; n<=_root.story3_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story3_text[n];
rfcClip.setURL = _root.story3_link[n];
}
}
if (bleh.text == "slide_sticky4.swf") {
for (n=0; n<=_root.story4_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story4_text[n];
rfcClip.setURL = _root.story4_link[n];
}
}
if (bleh.text == "slide_sticky5.swf") {
for (n=0; n<=_root.story5_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story5_text[n];
rfcClip.setURL = _root.story5_link[n];
}
}
//////////////////////////////////////////////////////////////
//NON STICKY
if (bleh.text == "slide1.swf") {
for (n=0; n<=_root.story6_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story6_text[n];
rfcClip.setURL = _root.story6_link[n];
}
}
if (bleh.text == "slide2.swf") {
for (n=0; n<=_root.story7_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story7_text[n];
rfcClip.setURL = _root.story7_link[n];
}
}if (bleh.text == "slide3.swf") {
for (n=0; n<=_root.story8_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story8_text[n];
rfcClip.setURL = _root.story8_link[n];
}
}if (bleh.text == "slide4.swf") {
for (n=0; n<=_root.story9_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story9_text[n];
rfcClip.setURL = _root.story9_link[n];
}
}if (bleh.text == "slide5.swf") {
for (n=0; n<=_root.story10_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story10_text[n];
rfcClip.setURL = _root.story10_link[n];
}
}if (bleh.text == "slide6.swf") {
for (n=0; n<=_root.story11_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story11_text[n];
rfcClip.setURL = _root.story11_link[n];
}
}if (bleh.text == "slide7.swf") {
for (n=0; n<=_root.story12_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story12_text[n];
rfcClip.setURL = _root.story12_link[n];
}
}if (bleh.text == "slide8.swf") {
for (n=0; n<=_root.story13_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story13_text[n];
rfcClip.setURL = _root.story13_link[n];
}
}if (bleh.text == "slide9.swf") {
for (n=0; n<=_root.story14_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story14_text[n];
rfcClip.setURL = _root.story14_link[n];
}
}if (bleh.text == "slide10.swf") {
for (n=0; n<=_root.story15_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story15_text[n];
rfcClip.setURL = _root.story15_link[n];
}
}if (bleh.text == "slide11.swf") {
for (n=0; n<=_root.story16_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story16_text[n];
rfcClip.setURL = _root.story16_link[n];
}
}if (bleh.text == "slide12.swf") {
for (n=0; n<=_root.story17_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story17_text[n];
rfcClip.setURL = _root.story17_link[n];
}
}if (bleh.text == "slide13.swf") {
for (n=0; n<=_root.story18_text.length-1; n++) {
rfcClip = attachMovie("linkitem", "linkitem"+n, n);
rfcClip._y = (n)*21;
rfcClip.txt.text = _root.story18_text[n];
rfcClip.setURL = _root.story18_link[n];
}
}
stop();

Jusst Gotta Share Some Weirdness
I've got a project that uses multiple XML files to access data (photos and swfs). For all my buttons, the code is identical, except for the references to the specific XML files. Click the button, and the XML file is loaded, an image is loaded and additional buttons are generated based on the XML.

Well, for some reason, one button failed to load any buttons in. The XML loaded in fine. Rewrote the XML file, and no change. Change the reference to a different XML file, and the issue remains. No other button exhibited this oddity.

After pounding my head against this for about an hour, I decided to change the reference to the photo that is initally loaded. And then everything worked fine.

You can't tell me half of what we do is voodoo.

Gotta Problem, Needa Answer : )
OK, I am making a simple row of buttons and am putting text on them.

When I test the buttons the "hand" that appears over the button gets shakey over the text portion and when it is directly over any graphical part of the text I get that text edit brackit look.

It is not a solid hand over the entire text. How can I fix this. I have the text as dynamic.

Gotta Question About Dynamic Text And Inputs
I'm using MX and I'm trying to make it so you can type in a name, hit the button, then the name shows up underneath an MC. The name shows up just fine, it's making the name follow the MC around when it moves that's the problem. I've already tried placing the dynamic text within the movie clip of the object that moves, that didn't work very well either. Then I thought I could do a reverse method where the dynamic text in the MC tries to read the Input text but appartenly neither know the other exists unless on the same timeline. Any suggestions?

Wattsman

Flash Beginner Here - Gotta Figure Out How To Put A Site Together
I'm starting out with Flash, and at this point I know how to make a simple flash site with a menu and different sections, by making different content on different frames along the timeline and then programming buttons that jump between frames. But now I need to make a site with this kind of functionality: http://playdigital.ca/

What I don't know how to do here is:

How do I put together transitions between different parts of the site, like when the user clicks on a menu item, have the current content fold in or scroll out of view or whatever, and then have the selected content come in? I know how to animate things along the timeline, but not how to get flash to play through an animation of one section closing while another one opens. Is there an actionscripting way of saying "whichever button just got clicked on, play through this part of the timeline that shows the current section disappearing, and then go to the sequence for the button that just got clicked"? Or am I thinking about this wrong?

If there's a tutorial on this that somebody wants to link me to that'd be rad, any help would be appreciated big time!

PEDAL SPEED Gotta Help Me (preloading Attach)
well the problem is, i wanna attach a scene which takes care of the preloading part of the below entered code :

In scene 2, frame 1 :
createEmptyMovieClip("empty",depth++)
loadMovie("http://prash.8m.com/test.jpg","empty")


i tried using this code for preloading which isn't workin':

In scene 1:
total_bytes = empty.getBytesTotal();
loaded_bytes = empty.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Scene 2", 1) {
gotoAndPlay("Scene 2", 1);
}


can u or anybody else help me regarding this?????

PEDAL SPEED Gotta Help Me (preloading Attach)
well the problem is, i wanna attach a scene which takes care of the preloading part of the below entered code :

In scene 2, frame 1 :
createEmptyMovieClip("empty",depth++)
loadMovie("http://prash.8m.com/test.jpg","empty")


i tried using this code for preloading which isn't workin':

In scene 1:
total_bytes = empty.getBytesTotal();
loaded_bytes = empty.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Scene 2", 1) {
gotoAndPlay("Scene 2", 1);
}


can u or anybody else help me regarding this?????

PEDAL SPEED Gotta Help Me (preloading Attach)
well the problem is, i wanna attach a scene which takes care of the preloading part of the below entered code :

In scene 2, frame 1 :
createEmptyMovieClip("empty",depth++)
loadMovie("http://prash.8m.com/test.jpg","empty")


i tried using this code for preloading which isn't workin':

In scene 1:
total_bytes = empty.getBytesTotal();
loaded_bytes = empty.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Scene 2", 1) {
gotoAndPlay("Scene 2", 1);
}


can u or anybody else help me regarding this?????

Amazing Photo Gallery - Gotta Try To Make Myown
http://www.airtightinteractive.com/photos/This photo gallery is great, the way it loads in thumbnails and large images, the way a thumbnail is highlighted when viewing the larger image and the way you can scroll the thumbnails should there be more than what can fit on a page.

How would one being to make something even remotely like this.

I'm guessing an ingenious combo of XML, arrays, masks and dynamic thingie mejigs! Daunting tasks...

Some Love Please
I'm in the midst of tweaking one of the Flash Kit featured.flas a bit and dropping in some content. If you link on the client list BUTTON you'll see my dilemma. I can't get the text to load into the text box(text) in the main timeline. I can make it work in it's own scene, but not on the main timeline. Any ideas. Oh, the scroller is a smart clip.

http://www.dogtaildesigns.com/flash/index.html

Here's the actionscript from the scroller smart clip;
// check if a text file needs to be loaded
if (load_textfile == "true") {
loadVariables (textfile_name, _root);
}
// change the strings for determine whether or not the draggable bar should be visible to boolean values
if (scrollbar_visible == "true") {
scrollbar_visible = true;
} else if (scrollbar_visible == "false") {
scrollbar_visible = false;
}
// change the strings for determining whether or not the buttons should be visible to booleans
if (button_visible == "true") {
button_visible = true;
} else if (button_visible == "false") {
button_visible = false;
}
// positions the draggable part of the scroll bar
this.draggable.render = function () { var ratio;ratio = (_parent._parent[_parent.textfield_name].scroll-1)/(_parent._parent[_parent.textfield_name].maxscroll-1);this._y = top+(bottom-top)*ratio;this._x = _parent.scroll_area._x;};


And, here's a portion the actionscript liniking the button to the graphic and smart clip:
difference = Number(ypos) - Number(target);
if (difference > 75) {
setProperty ("/Main_Images/text", _y, Number(ypos)-15);
ypos = getProperty("/Main_Images/text", _y);
} else if (difference <= 75 and difference >50) {
setProperty ("/Main_Images/text", _y, Number(ypos)-10);
ypos = getProperty("/Main_Images/text", _y);
} else if (difference <= 50 and difference > 19) {
setProperty ("/Main_Images/text", _y, Number(ypos)-7);
ypos = getProperty("/Main_Images/text", _y);
} else if (difference <= 19 and difference > 6) {
setProperty ("/Main_Images/text", _y, Number(ypos)-3);
ypos = getProperty("/Main_Images/text", _y);
} else if (difference <= 6 and difference >= 1) {
setProperty ("/Main_Images/text", _y, Number(ypos)-1);
ypos = getProperty("/Main_Images/text", _y);
}


Please & Thank you- TB

For The Love Of God...
please take a look at this idea and help me out.

http://www.soviet.co.uk/testmenu1/

http://www.soviet.co.uk/testmenu2/


this is the sort of thing i need to make...
http://www.soviet.co.uk/testmenu2/elastic_menu.fla


please help me get started
thanks

For The Love Of God - PLEASE HELP
This is all I want to do and I can't figure out the syntax for it....

mt1 = 44;
a = 1;
b = Number("mt"+a);
// Did it work???
if (b == 44) {
trace("!!!!!! SUCCESS !!!!!!!");
} else {
trace("THIS SUCKS AND I'LL NEVER FIGURE IT OUT!!!!");
}
stop();


Here's the short version explination:
I need mt[variable] to end up equaling 44

Thanks for any help you can give

FOR THE LOVE OF GOD HELP ME
i have this code

_root.canon.bp.point = new Object();
_root.canon.bp.point.x = _root.canon.bp._x;
_root.canon.bp.point.y = _root.canon.bp._y;
localToGlobal(_root.canon.bp.point);

in the first frame of my movie. but for whatever reason trace(point.x) or trace(point.y) brings up a value of 'undefined'. i DO NOT UNDERSTAND and i cant figure it out im about to go insane know what i mean? ive spent waaaay to much time on this but its sort of vital to my project. anyway... ill see if i can keep grips on my sanity until i get some help (either from you guys or a shrink...).
thanks

For The Love Of GOD Help Me
I have a main .swf for the navigation. I am loading a MC using LoadMovieNum ("who.swf",1). Once there i need all the other buttons when pressed to gotoand play scene 2 of "who.swf". At the last frame i will add the loadmovieNum so that corisponding button will load the correct section.

I tried using LoadMovieNum ("who.swf",1)gotoandplay ("scene 2",1) but does not work..
Any ideas ?

PLEASE

Love This Nav (how's It Done?)
go to: http://www.mjau-mjau.com then click on 'AudioPlayer'

you can see there's a really nice gliding nav system - i would love to be able to make one - i have so far managed to get the mouse over up and down working using a hit test but thats it (see attached)

any pointers???

tnx

For The Love Of God... Help
I am fairly new to Flash and was told this is one of the best sites to go to for help. Anyway, the problems I am having are that I had built a movie in Flash MX (not MX2004) for an introduction to a website I am helping with. I have a preloader of 11 frames in scene 1 and the actual movie is 580 frames. I have set up what i think is the correct action scripts but, how do I test it if I cannot upload it to replicate the download. Also, how would you get the movie, once it is finished, to actually go to the intro page of the website?

Any help at this point would be greatly appreciated and prevent me from having an Aneurysm.

Love This, But How Do I Do It?
Hey all! I used to come in here ALL THE TIME about 4 years ago. But I got of programming and am back now!

I love these two sites and their FLASH NAVIGATION. I assume it's done with Action Script.

Are there any tutorials or demos out there I can see to find out how to do it?

Here are the sites:

http://www.suburbanhomeboy.com/
and
http://www.westboundsound.com/index.asp

You can email me at: roblittle@sbcglobal.net

Thanks to all you awesome programmers out there!

Rob
http://www.roblittle.com

Would Love Any Help On This
Ok, not bad at Flash in general, but have a hard time with scripting and this one is driving me a little nuts and would much appreciate if anymody can help me with this. I am posting a link to a small sit I am working on and have an issue with one part of it. It is the trailer button. So the issue is the soundtrack is playing and I have loaded this in the timeline and I have also tried to load it with actionscript as well which works fine. The problem is the sound control itself. When you click the trailer button the sound should fade out and the sound from the trailer should start, which I have accomplished with stop all sounds, but when you click the About and Contact the sound needs to come back on where it left off. The trailer is a external swf that loads, so I tried to attache the sound controller script this but it fades the soundtrack as well as the sound on the video, is there anyway to get it to just fade the soundtrack and not the sound from the trailer itself. I know the _root command has alot to do with this, but if it's an external swf loading then I would think that's not the root anymore, but it does fade all the sound. I also did do a stop all sound behavior which worked fine and the sound on the video played, but when the other buttons were clicked it started the sound from the beginning again. Hope this made some sense and any help I would much appreciate. Thanks in advance and here is the link.

http://www.theworldwithoutus.com/TWWU/twwu.html

Copyright © 2005-08 www.BigResource.com, All rights reserved