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




Catbert...I Heard You Know The Answer To This



and I've briefly searched the 5800+ posts you've made for something similar, but couldn't find it. Here's my scenario:

====

I have a movie that opens using a one MC's and a couple of external SWF's using loadMovie. Once these have loaded, the main timeline has a STOP action. This frame is labeled "open" and is the 6th frame on my main timeline.

The next four frames each have their own label. These are:

return, wrong, demo and client and are the 7th, 8th, 9th and 10th frames respectively.

The frame labeled OPEN (frame 6) has two input text fields that if the correct information is entered and a submit button is clicked, the user will be taken to frame "demo" or "client" depending on the information they've entered. If they enter the wrong data, they are taken to the frame labled "wrong".

Everything works great so far.

On the frame labeled "wrong" (frame 8), there is a button that when clicked takes the user to the frame labeled "return" (frame 7). This too appears to work fine EXCEPT that all the external SWF's and MC's that should have loaded on the frame labled OPEN (frame 6) reload when I go to the frame labled RETURN (frame 7). I don't want this to happen.

To see this problem in action, go to this link:
http://www.marketthismedia.com/newdemo/test3.swf

enter any user name and password, click submit, them click on the "return" button and you'll see what I mean.

Any ideas on how to solve this?

Thanks for the help



FlashKit > Flash Help > Flash General Help
Posted on: 02-12-2004, 04:40 PM


View Complete Forum Thread with Replies

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

Catbert Could You Please Look At This
hi there,
i got this file of ultrashock.com and i got a swf file and a fla. the swf file works great but when i open the fla in MX and then generate a swf out of it it does not work. could you please look at the file and tell me why this is not workinh in MX?
i really appreciate your help.

Thanks Titus

Catbert...you In Here?
hi,

no to blow too much smoke up your asp but you do explain things well.

sooooooo....

why do we have

on(press)

and

on(release)

yes i know when they work just not why?

i mean if you press a button you are gonna release it too eh?

or am i missing something?

thanx for any assist you could give. i dont have any probs just curiosity i guess...lol
gary

Catbert, Or Anyoneelse Pls Hlp
catbert, when i aply the action u gave me to the button, export the movie and click the button, another window opens, but an explorer blank wondow, and at the adress bar it shows

""""http://java%20script:window.open('cacat.html','vlad','wid th=500,height=400');void%200);/""""

im sure there`s something i`ve done wrong. pls tel me what isi it

Catbert, Help Or Anyone Else Who Know Flash 5 Actionscript.
I've made this slidey blocks puzzle, where you have to slide them into the right posistion to make a picture.

I've followed the instructions from the Gary Rowsenzweig Flash 5 book but, I need it so it gives a 'congratulations' message once you've done the puzzle, and it doesn't say how to do that.

I've done the congratulations movie clip and called it "congrats" and I want it to appear on top of all the puzzle with a 're-scramble' button, that will randomly scramble up the puzzle again. How can I do this?

Thanks for any help.

Catbert: No Need To Reply, I Figured It All Out (at 3am)
Thanks again for your time and for helping me out...

Thanks Davulf, Catbert & Iaskwhy
hey guys.

Just to say a big thanks for the help you've given me over the last couple of months! This is a really great forum!

I completed my first ever music video at 06:05 this morning, it was in flash and it was all thanks to you guys.

If you want, you can PM me your address and i can post out a cd of the final avi version all the way from sunny glasgow!

thanks again guys!

Hey, Catbert - Thought You'd Find This Interesting.
http://www.flashbax.com/java1.html

Catbert...a Little Problem With Your Slidey Puzzle File.
Well it's not actually yours it's mine. I copied the code from yours into mine and it's gone kinda wrong.
When I test the movie the blocks don't scramble and the output box pops up saying '15' nothing else.
Also it's shunted them all out of line.

The one thing that works is the 'congratulations' scne , thanks for that!

Here's the file so you can see what I'm on about:
http://aim2win.bizland.com/okideas/Kyubeez.swf

P.S, the background grid matches the grid in Flash, it's 25 by 25 if that helps.

Thanks for any help.

OK I Know U All Heard This B4
ok ... it's not often i buy books :P but flashers out there... in your opions ... which books r GOOD!?

EDIT : am gonna buy 1 or 2 books on Flash MX next weekend

A'ight: You've Probably Heard This A Lot, But Not Me
OK: How do you make that background of a flash file transparent for viewing on a web page?

Ever Heard Of Optimaze?
There is this program called Optimaze...Supposedly, it lowers the size of SWFs...anyone use it? I want to know if it is worth it before I buy it...

Stop Me If You've Heard This One....
Hey,
i've posted this before, but the answers i got didnt help me enough.
I'm trying to make my own scroll bar for text. I'm able to make and script the up and down buttons with no trouble, but i need help with the actual scroll bar. I know how to make the MC for the bar, and how to restrict its movement so that it is only able to move so far up and down, and no left-right movement at all...
The trouble is, how do i script it so that its movement is proportional to the amount of text loaded into the text box it controls?

i have been pointed to a few tutorials, but they were all deprecated code and not quite what i was looking for...

Any help, preferably some good script i can disect, would be appreciated...

thanks in advance,
-mykrob

Has Anyone Here Heard Of _lockroot?
Hi there,


Just wondering if anyone had heard of the code below :


Code:
this._lockroot = true;
I saw it on a tutorial site http://www.sephiroth.it/phpwiki/index.php/_lockroot and it is supposed to lock the _root for that file so say for instance you had a swf file called loader.swf load in another movie loadMe.swf into it then if you had used any _root assigned variables in the movie being loaded then they would still access the variables from that file and not think that the _root was from the file that loaded it!

I couldn't get this to work though. I tried a simple :


Code:
this._lockroot = true;
name = "My Name";
trace(_root.name);
in the file that is being loaded in but it just returned undfined! Does anyone know if this is supposed to work or whether it was an undocumented feature in Flash that is no longer supported or if there is another way of implementing this?

Any help would be greatly appreciated.

Regards,

Mark Bowen

Has Anyone Heard Of McTween?
An associate told me about something called mcTween and says I should learn how to use it...has anyone heard of it?

http://hosted.zeh.com.br/mctween/downloads.html

Any comments or thoughts?

GET URL Problem That I Have Not Heard Of
Recently did a job for a client where a flash game was compiled into an EXE file. One of the buttons lnks to his website and works well with geturl... but clients complains that when he clicks on the link, the window opens BEHIND the flash movie window. When I tried it opens fine ABOVE and on top.

Anyone knows why this is happening? or is it just my client's machine? For the record, I set geturl to "blank" and "self" and still works fine on my machine.

Not Sure If You've Heard Of This Site.
Found this while surfing, haven't used any of the tutes yet, but thought it might be a good resorce for someone looking for more tutorials, it looks like they have a lot:

http://virtual-fx.net/vfx/tutorial.php

Has Anyone Heard Of This Problem
i have several swf that i have placed inside of a html page, i have set the paramaters to be transparent. on the pc it works and looks good. on the mac it does not. has anyone ever ran into this issue? and if so how did you correct the problem?

Not Sure If You've Heard Of This Site.
Found this while surfing, haven't used any of the tutes yet, but thought it might be a good resorce for someone looking for more tutorials, it looks like they have a lot:

http://virtual-fx.net/vfx/tutorial.php

Anybody Heard Of SWISH?
I just got this in my inbox, if anyone has used it I'd love some feedback. Is it easier than Flash (I use version 4).

http://www.swishzone.com/bravenet.html

I got this from a e-zine from Bravenet.com, that's why the funny link. Probably because there's a discount if you buy from that link.

I don't know anything about this, any input would be appreciated. Most of the Flash I need is pretty simple and if this is even easier to use than Flash it might be great. It certainly is cheaper!

Ladyborg
"Many of life's failures are people who did not realize how close they were to success when they gave up." [Thomas A. Edison]

I Heard This About Flash MX (True>?)
Hey guys,
I heard that it was possible to control a separate swf with a main swf thereby allowing swf's embedded in frames to dynamically control each other. Is this true, or is someone just pullin my leg. THanks

I Know Youve Heard This Question Before...
i know youve heard this question before and i have searched the forum for it but cant seem to find it...

...loading and saveing vars into a text file

how can i load and save variables in flash 5 such as:
mc1's._x,
_root.mc2._current frame
colour of an object (tint) etc

and then how do i load them back in so it is exactly the same when i closed it?

What Is Rrggbb Format Ive Never Heard Of It Before
I was submitting a movie and it said to enter the background color and the backround color on my flash was white I pressed enter to submit and it said please submit backround color in rrggbb format and try again

Weirdest Error I’ve Ever Heard
Today while trying to get my Flash movie into XHTML I noticed the movie just would not play, XHTML, HTML, or PHP.

It work's just peachy when it's not in XHTML but when it is it won't play. I'm using Dreamweaver so it's not like I coded the XHTML wrong.

Has anyone else here had this problem or is it truly the weirest error ever?

Attached Sounds Not Heard In Loaded SWF
I'm loading 6 files into a container clip.

the native swfs have sound but when they are imported into the clip no sound.

the sounds are attached (not dragged on the timeline))

can this be fixed?

Have You Heard Of Any Timeline Projects Recently?
I hope I have taken every necessary measure not to embarass myself with my first post in this forum. I chose the appropriate subforum, I used the search-function beforehand and made sure my user name is not too odd.

So here comes my question:

Has anyone of you heard of a good timeline builder in Flash (may it be open source,commercial or whatever) that works simillar like Simile (http://simile.mit.edu/)?

I searched the net now for some hours but have to admit in frustration that I found basically nothing.

Any One Heard Of Problems With The Flash Player 7.0.14?
Hi all,

A developer that I work with has been telling me that Flash player Version 7.0.14 is quite buggy. Security leeks, functionality problems, stuff like that.
But I haven't been able to find any proof of his comments out on the internet. If Version 7.0.14 does have problems wouldn't there be articles on that somewhere? Has anyone else heard or experienced problems with the plugin version?

My company deals with the Whole "protected health information" issue, and paranoia runs rampant. Any thoughts or direction on where i could find info would be greatly appreciated.

Strange Interval Problem... Never Even Heard Of This Before
Hey Guys,

So I'm helping someone out here at work and he's trying to set / clear an interval... The setting is fine the first time, but then doubles in speed when the link is clicked again, or he goes to view a different gallery. I ran a trace on the variable name and get this... the interval variable name (we'll call it nInterval for the sake of the thread) is auto incrementing for no apparent reason. The first time that nInterval is traced it is "undefined", the next time it is 6, then 10, then 14, then 18, then 22 and on and on, increasing by 4 each time. We've gone through his code and there is NOTHING that is incrementing that nInterval variable... has anyone seen anything like this before?

Any help is appreciated.

Thanks a lot!

--D

Producers -- Got Beats? Get Heard, Get Paid
Got a catalog of hot beats and don't know what to do with them? Check out
www.musicplacement.com They will walk your beats directly into the A&Rs at major
labels. G-unit, Atlantic, Byrd Gang, Warner, Def Jam, Violator... Guaranteed 5 A&R
within 7 business days!

MouseEvent.CLICK Is Not Being Heard By Switch Logic?
Hi forum,

In my movie, I have three buttons, each assigned with MouseEvent.CLICK listeners:

PHP Code:



mlbButton.addEventListener(MouseEvent.CLICK, onButtonClick);
nflButton.addEventListener(MouseEvent.CLICK, onButtonClick);
ncaaButton.addEventListener(MouseEvent.CLICK, onButtonClick); 




They all have a listener function called onButtonClick.
Inside of onButtonClick, I set up a switch:


PHP Code:



function onButtonClick(e:MouseEvent):void
{
    switch(e.target)
    {
        case mlbButton :
        trace("click mlb");
        break;

        case nflButton :
        trace("click nfl");
        break;

        case ncaaButton :
        trace("click ncaa");
        break;
    }





This doesn't work, although the same code works for a ROLL_OVER and ROLL_OUT events?!
Any ideas?

Problem Loading External Text. Anyone Heard Of This?
Here's my problem I made a movie that loads an external swf file. The external swf then in return is supposed to load text from a txt document. The problem is that the text box is appearing but not the text. Has anyone ever seen anything like this before?
http://www.fantim.org/flas/041405.fla is my source file and
http://www.fantim.org/comic/ contains the finished results. I'm stumpped and stuck so if anyone has any idea let me know. Thanks.

Anyone Heard Of This? Weird File Download Problem
We have a Flash website that, among other things, allows users to download files. For 90-95% of users this seems to work just fine, but 5-10% of our users cannot download the files.

What happens: The save file dialog box comes up, the user chooses a location to save to and hits save. The save file dialog closes, and nothing else opens.

The problem, if it occurs on a machine, occurs regardless of the browser the user is using.

We're trying to figure it out, but it's very strange and I thought I'd see if anyone had experienced anything similar.

Problem Loading External Text. Anyone Heard Of This?
Here's my problem I made a movie that loads an external swf file. The external swf then in return is supposed to load text from a txt document. The problem is that the text box is appearing but not the text. Has anyone ever seen anything like this before?
http://www.fantim.org/flas/041405.fla is my source file and
http://www.fantim.org/comic/ contains the finished results. I'm stumpped and stuck so if anyone has any idea let me know. Thanks.

Sound File Not Heard When Inside Function Of Another Imported Swf
Hi I will try to be as clear as I can.
Using flash mx2004.
Have this set up..

swf_no1 file calling up another swf_no2 inside it...

All sound files inside swf_no2 can be heard when called thru swf_no1 except any sound files inside a function in swf_no2.

If swf_no2 is played by itself -all sound files located and heard nicely thank you.LOL.

Does anyone know why this should be the case and how I can get the sound files to be heard whilst being called through swf_no1????
thanks!

shaf

using:

function firstLetter()
{

talk= new Sound(this);
talk.attachSound("able_long.wav");
talk.start(0,1);
}

I Heard "Flash + PHP + MySQL" Gets Slow...
I was asking a web developer/designer in Ukraine, if he could manage TemplateMonster's Flash template with opensource CMS, Mambo.

The answer I got was that there could be some troubles like the loss of speed (perhaps flexibility in this case), although this is technically possible task.

What could be THE POSSIBLE PROBLEM with this?

Also, it would be great to have your opinion on Flash sites with music. I personally think it's good to play some music while visitors see your site. OTOH, some people may be listening to his/her own music with iPod. (I wonder if I could get this part from the Marketing point...)

Can Anyone Here Answer This?
here's what i'm trying

on (release) {
_root.b = + 20;
gotoAndStop (2);
}

i need this to work to where it will add 20 to whatever is already in the input text variable. the button i am using this on is a checkbox. when it is un-checked i want it to subtract 20. Can anyone tell me how to do math into a variable?

Thank you!

-Prostorm.net

Does NO ONE Have The Answer?
I've been asking this question a lot and getting no where.

Here goes. i've created a Flash movie that is being made into a self-running movie that will be distributed on a CD. I want to link to an external file that is also on the CD. HOW? It is NOT the getURL thingy, cuz THAT launches the default browser.

ANY IDEAS, pleease. Al

There's An Answer, I Just Don't Know What It Is...
Please refer to my previous post with a boring but descriptive title:
http://board.flashkit.com/board/show...hreadid=213316

Can I Get An Answer........ PLEASE?
I have been working on my site...and when I test it..everything looks and works fine. When I put the .swf files on geocities...I view them...and the whole site/movie is "STRETCHED" to my monitor resolution. (1024x768) I checked on res of 800x600..same thing!! When I created my movie...the dimensions were 700x350. WHAT IS HAPPENING?..and mostly,..how do I fix it?? Also,....when I click on one of the buttons to call on an external .swf.......it doesnt play right. Everything is fine when I "TEST" movie....but on the server....I get these two problems.. PLEASE...give advice if you can. Thanks -whispers-


P.S. Update...I uploaded same files to another server..all works fine...Theother problem is the resolution problem..why can you even pick a stage size if it doesnt matter on the finished product?? GEEZ..LOL..

I Don't Think Anyone Can Answer This One.
Hi,

I have been trying to do something using action script for days now, and despite having no luck asking about functions last time, I am trying again to get help from the comminuty here at Flash Kit.

I am using a function, and whilst in that function I want to move a said Movie Clip (with an instance name) accross/up/down the screen steadily. If while in the function I use 'set property' to move the movie clip, it moves it so fast, that it appears to be instantanious!!

1) Is there anyway to use some sort of delay while in a loop?

2) Is there anyway while in a function to goto a frame and play, but return to that funtion afterwards?

Any help will be appreciated.

Gavin

PRO's Only... No One Has Been Able To Answer This One
Under the advise of the forum I broke up my one swf(2.0meg) into 10 seperate swf's. I call them by >>>>

on (press) {
loadMovie ("company.swf", "dummy");
}


each movie has its own button..

the problem is when i press the button again it-reloads the swf into the blank mc (dummy) all over again. How would I change the code to check if its already loaded then play... like "IF swf is there PLAY, if not loadMovie then play" Something to that effect. If someone has a better idea I'd sure like to hear it.

Please Help, I'm Not Getting The Right Answer...
Hi. i have asked this before, and the answer was great! But I want to ask it again because the answer wasn't something I had in mind, so now I will ask it again, but more specifically:

I know all about those "chromeless windows" you see at http://www.microbians.com, but that's not exactly what I want. I made a Flash site that has it's own title bar with a close button incorporated into it. Is there a way to launch the Flash site from a web page so that the flash that launches does NOT have an Internet Explorer title bar at all, nor does it have the microbians title bar. I'm sorry, i'm terrible at explaining stuff. Anyway, i just want it so that the ONLY thing that launches is the flash movie, with absolutely NO title bar or pre made buttons, like from microbians. If this is possible, please let me know. Thank you.

-Kenneth
wicket1110@yahoo.com

Yes Or No Answer Please
If i load an external swf into a dummy clip on the mainstage and basically park it. Can I call it later to _level.whatever and the swf will be already be cached?

Maybe Your Answer
I believe it may be because when you load movies in flash you must specify a level. _root = level 0. If you are loading your sound movie onto a different level then calling _root. won't access it.

Still No Answer
the site is http://www.3d-advertising.com

i programmed the main site to load three separate movies and the whole thing works flawlessly on my computer. when it's uploaded, the 3 small movies don't load in to the main movie.

the code for the initial movie launch is:

loadMovieNum ("swf/portfolio.swf", 1);

it's an action on the main timeline. then the numbers have:

on (release) {
unloadMovieNum (1);
loadMovieNum ("swf/portfolio.swf", 1);
}


etc etc

as i said... this works perfectly on my computer. i loaded the site as a main swf and a directory "swf" with the other portfolios inside.

thoughts?

A Yes Or No Answer :-)
I am planning to go from Flash5 to MX. As I know now, it is possible to load jpg-images dynamically. In Flash5 I have used a preloader that is counting bytes loaded. If I load an image into a Flash MX-movie, will my preloader also count the bytes of that image?

Happy Flashing
Metaman

I Really Need An Answer
Hi all,
my flash movie was made under flash MX and doesn't work with a flash 5 player. How can i detect whenever the guy has flash 5 or 6 ? Thx, hacook

Answer
you could use go to scripting

if there were 15...

you would need a true false variable too
that would start off with one value that would be changed by the last and first frames

if(vartrue==true)
goto(frame--)

NO ONE KNOWS THE ANSWER?
OK can someone please help me with this as it's gettin beyond a joke.

I'm kinda new to flash but have built a site and everytime I view it in the web browser there is a white border round the edge.

I've tried various different publishing settings with no joy. I've read other threads about this and they give the same advice about changing the html doc. using "0" as a value for the position of the page. I'm completely stupid when it comes to this as I can't see where it needs to go? I'm using Flash 5 and simple text to change the html doc is this ok ?oh and I'm on a Mac. Can someone help me with this in plain english as I've lost my head trying to sort this out.

Hopefully cheers

No One Seems To Have An Answer - Please Help
i have a horizontal scrolling movie which works fine. but I can't get all the images i need on one line. if you look at the slider movie, you can see i have several images i want to add to the line. someone suggested i shrink them and then when the movie plays, expand them? i have no idea. they just wont fit on the authoring environment space provided.

Please download the movie and take a look. i am desperate for a solution! thank you.

http://www.ogleinc.com/test1.fla

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