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




[F8] User Interaction Help Needed.



I'am trying to create a manual and would like to have the enduser click on check boxes after he has finished certain steps and only after he has completed all steps (ie. cchecked off all the boxes) on the screen does he have the ability to jump on to the next section. I am just having trouble with action script on this can some one point me in the right direction?

Thanks,

sven



FlashKit > Flash Help > Flash General Help
Posted on: 09-21-2006, 05:14 PM


View Complete Forum Thread with Replies

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

Creating User Interaction
Hey!
Im working on a fighter game. Right now I am trying to be able to control my characters with the keyboard. I have a Flash MX book, but for some reason, the actionscript that they tell me to use doesn't work in Flash MX Professional 2004. Perhaps because of the difference in Actionscript.

Anyways, I have searched the net, and tried to do it myself, but it dont find anything and it doesnt seem to work for me. So....I need help :P

Basically I have a movieclip that has the standing, crouching, jumping, and running animations. They are all seperated between 5 frames, and the running animation runs for a long line of frames. After every action, there is a stop so that in the Actionscript, I will make it play the part of the movie clip that I want. I think you understand what I mean.

It may be simple, but I am not exactly advanced in Actionscript, im in the process of learning.

If anyone could help it would be greatly appreciated.

Thanks

(BTW, please don't give me any welcome messages, Im not new, just made new account )

Logging User Interaction
Hi,

I have made a flash standalone application which I'm running on a touchscreen computer open to the public. I'm getting several reports that the program keeps crashing- I have tried to reproduce the error but can't. Is there any way that you can output all user interaction in flash in some kind of external log file?

Thanks.

Lilalfyalien

Recognizing Start/end Of A User Interaction
Hi, I've to trap the beginning and the end of delivery of a FLV content (i.e. those on YouTube ) from a network point of view without control of server and client (it's not an interception activity... I'm not interested in the content itself).
It would be interesting to trap the user's stop/pause too, but I noticed using Ethereal/Wireshark that no signalling goes back-and-forth; probably it's possible to trap the "HTTP 200 OK" to assume the beginning of the stream but nothing more (probably due to the progressive download/buffering technology).
Have you any idea/help ?
Thanks a lot

Enable / Disable User Interaction
Hi everyone,
does anyone know how, or know a way you could disable / enable an entire flash movie and its children, based on certain events. Like say you have a custom event manager that dispatches an event to notify the movie if any content is being loaded somewhere, in order to disable the entire flash movie during loading time ?

any info would be cool.

cheers

Temporarily Disable User Interaction...
I just thought of something really cool and thought I'd share:

If you wanted to disable user interaction while something processes or something, you could do this:

Code:

btn.onpress = someFunc();

function someFunc(){
    _root.onPress = function(){
        //do nothing
    }
    //
    //Put some code that needs no interuption here
    //
    delete _root.onPress
}

I think it's pretty slick, what do you think??

HTH Somebody out there ;)

[F8]Can I Disable User Interaction While Loading Multiple Swf's
I have a flash movie which loads multiple swf's based on user interaction it all works well, however if the user clicks to quickly while swf's are loading the load will get stuck in a loop which will only clear when the whole movie is reloaded.
thanks
-iaN

Pausing Movie & User Interaction Issues
Hello All –

I have been going around and around in circles trying to find a script for what I thought would be an easy thing to do. Here’s where I’m at – I have a Flash movie that has five images. What I need it to do is automatically play through the movie and display each image for about 10 seconds then move onto the next image.

What is also needed is for the user to click on one of the five buttons so if Image 4 is showing the user can click on Button 2 to bring up Image 2 and then after pausing for the specified time the movie will resume playing and pausing.

Client Specifications: The images and text/link must be set up so that those elements can be updated externally. Right now this movie has the images being loaded with the Loader Component so that the five jpgs are loaded dynamically and the text/link is being loaded with the TextArea Component through the five txt files in the folder.

Each image is set up in its own Movie Clip and each clip contains a mask for the rounded corners and a fade-in for the beginning along with the image and text being loaded. So there are five movie clips.

My Problem: When you first load the movie it plays fine. However, when you click on a button – say the movie is displaying Image 4, click on Button 2 and it jumps back to display Image 2 and then the timing goes crazy. The movie starts playing faster and will even get to the point where it skips from Image 1 to Image 3.

Here is the movie: http://www.fractalrust.com/flash/

The Code: This code is on the first frame of the main timeline:
function wait() {
stop();
var myInterval = setInterval(function() {
play();
clearInterval(myInterval);
}, 10*1000);
}

This code is on the same frame as each movie clip on the main timeline:
wait();

I have gone through a lot of different scripts that I found and this is the only one that comes close to doing what I want. Not sure if the script I found is compatible with Flash 8, which is what I am using. If anyone could let me know if what I am looking to do is doable that would be great. Also if you want to take a look at the movie you can download it: http://fractalrust.com/flash/fiveheaders.zip

One last note – the person who asked me to do this got the idea from this site: http://aimtoday.aim.com/
It’s the Flash movie off in the upper right corner that has four rotating images and you can click on the buttons to jump to anyone of them.

Thanks in advance!
Kecia

Pause And Continue Linked To User Interaction
I'm building a looping flash movie which has a section that allows user interaction.

What I want to do is if there is no user interaction for the movie to play and loop as normal. However if the user clicks on the screen then the movie pauses to allow the interactive elements to be manipulated. Also after a set time of no user interactivity (say 30 seconds) the movie will resume playing.

Can someone suggest some code for pausing and resuming the movie?

Thanks

Flash TreeView Menu And User Interaction
Hi,

I've developed in Javascript a TreeView menu.
I would like to do the same in Flash/AS but i do not know where to start :-(

before to start i would like to know :
- if it is possible to make this TreeView menu dynamic ?

i mean by that that web developer could use this TreeView menu by adding
several nodes and children to this menu like :

MyFlashMenu.addChild("new node", "parent node", imageNode);

but i do not know if from web page it is possible to pass arguments to
flash.

thanks a lot,

A.

Want Custom Cursor To Act Opposite User Interaction...
Hi guys

Here's something for U math champions.

Is it possible to get the custom cursor MC to act opposite the users actions?

I want it to be opposite the center of the stage, lets say the real mouse cursor is 200px to the RIGHT of the center of the stage, but the custom mouse cursor is 200px to the LEFT... get it? And the same goes for the y coordinates...

I gave it a try, but can't seem to get it right, math never was my strong side

Tracking User Interaction - Flash Menu
I'm kinda new to AS and having a problem with a menu system I'm trying to create. I think I'm close but can't quite get it to work and not being sure about AS, I don't know if the things I'm trying are making it worse or better?? Can anyone can help??

The system I want to create needs to check if a button (and subsequently it's content) has been clicked/loaded before, if not the button function should be x.

If it has been clicked before and is in <= a certain position the button function should be y.

Else the button function should be z.

Can anyone point me in the right direction?? Sorry, my hosting has run out, so I have nowhere to post what I've done already...

Thanks in advance, much appreciated!!!!!!!

Page 2 - Tracking User Interaction - Flash Menu
Hi, try this out:

Code:


Pos1MC.bar.onRelease = function() {
if (ui.profileMC == undefined) {
xTargetPos1MC = Pos1Out;
Pos1MC.yTargetTitle = TitleDwn;
var amc = ui.Pos1MC.createEmptyMovieClip("profileMC", 1);
amc.createEmptyMovieClip("holder", 1);
amc.createTextField("msg_txt", 2, 10, 200, 200, 50);
amc._x = -530;
amc._y = -197;
amc.holder.loadMovie("profile.swf");
amc.onEnterFrame = function() {
if (this.holder.getBytesLoaded()>=this.holder.getBytesTotal()) {
delete this.onEnterFrame;
// get rid of the loading progress textfield
this.msg_txt.removeTextField();
} else {
// show how many bytes have been loaded
this.msg_txt.text = this.holder.getBytesLoaded()+" loaded";
}
};
} else if (this._x>=pos1In+1) {
// if already created and loaded, just set it visible
Pos1MC.bar.onRollOver = function() {
ui.xTargetPos1MC = pos1In;
ui.Pos1MC.yTargetTitle = Title1Up;
ui.profileMC._visible = false;
};
} else {
Pos1MC.bar.onRollOver = function() {
ui.xTargetPos1MC = pos1Out;
ui.Pos1MC.yTargetTitle = TitleIn;
ui.profileMC._visible = true;
};
}
};


When your coding within flash you can use the syntax checker. It's the little blue tick next to the format button, just above the code editor window. That pops up a window telling you what line the problem is on. Anyway the above is error free although it's hard to tell if the way I've worked it is how you want it!...

Lauri : have you tried contacting the forum admin? They might of stumbled on your problem before and may know a solution...

Small Script Testen For User Interaction With Mouse/keyboard
I want to make some code that checks for how long time the user didn't use the mouse/keyboard.

Anyone know a script like this?


kind regards


Godowsky

SWF Interaction? Help Is Needed
Calling all Ubercoders! Help is needed!

It seems I'm still have a major issue, so I'm going to start from scratch again. Here we go:

I'm putting together a site, with multiple swf files. The swf files are being loaded and unloaded at specific times, they also have to interact with each other. My main file is called:

[main.swf] This file is the core and will house the unloaded swf's.

[bk.swf] This gets loaded into level1 and never gets unloaded. If you haven't guessed yet [bk.swf] is a background animation that changes color depending on where you are in the site. [bk.swf] also loads in the next level of swf's. [intro.swf] and [rezny.swf] in level2.

[rezny.swf is the first section of my website. It loads in [reznyport.swf] or [reznythumb.swf] in level3. These will never coexist together thats why I have them on the same level, but they do have to interact cause one is a thumbnail gallery and the other is a larger picture of each thumbnail. THis where I hit my scripting problem.

The [reznyport.swf] houses a movieclip called portfolioMC and within this clip it has a simple animation that goes from one picture to the next.

So my main issue is calling the [reznyport.swf] and targeting a certain frame withing the movieclip portfolioMC.
Remember the button is housed in [reznythumb.swf].

Can anybody see my snag at all. It's been driving me nuts for days.

Overview
Level0 main.swf
level1 bk.swf
level2 intro.swf or rezny.swf
level3 reznyport.swf or reznythumb.swf

This what I tried using but it didn't work. I works if you animation is on the stage, but not housed in another movieclip.
on (release) {
loadMovieNum("reznyport.swf", 3);
_level3.portfolioMC.gotoAndStop("framename");
}

How To Duplicate Movie Clip Without Any User Interaction On Main Time Line
Hi, Guys

Can any one tell me how to duplicate movie clip (using for loop)in main time line.

yeah! guess right Something to do with game.

Please help me for this.

Bhushan

Help Needed For Horizontally Scrolling MC With Mouse Interaction
Hi there - I'm working on a project that needs a horizontally scrolling mc for a menu. I've mulled on a few ideas and wanted to see if anyone had any other suggestions?? Basically the menu exists in a 600 x 230 popup with the menu comprised of a five 600 x 230 movieclips strung together scrolling slowly in a loop from right to left.

When the user does a mouseover a menu item, a few words appear, telling you what the menu item is, but the scrolling doesn't stop, so the scroll is fairly slow. If the user moves the mouse over any area to the right, say about 100 pixels in from the right hand size, I want the scroll basically to speed up until the mouse is moved away from the 'speed up the scroll invisible button or m/c'. Any ideas?

Also if the mouse is moved out of the window, does flash consider that as a Mouseout? If this whole mc fills all the space will the mouseout event trigger if the mouse moves away from the window?

cheers

frank

Advanced User Help Needed.....
Heres the deal:

Movie Clip: ring_clip
Buttons:
TML
TMR
RMB
RMR
LMB

The ring is constantly rotating in the movie clip...
I need to know how to either put other movie clips
INSIDE of ring_clip or how to use buttons or something...

What my main priority is getting the circles to follow on the ring and when you mouse over the circles it will stop EVERYTHING from moving...

Any help you have that could point me in the right direction, would be GREATLY Appreciated...

Thanks in advance!
-K0D3R

New FLASH User, Help Needed.
hey..

im new to flash, ive only been using it for a couple of weeks so im still very narrow minded about the terminology of it all.

anyway, i was wanting to make a site entirely from Flash.
i was wanting to make some nice animation when each page comes in and goes out.
the thing is, my Menu/Navigation bar is animated too.
so when i click on a button, the Menu closes up, and the new page pops open.

each page flies in and flies out.
but then my problem is that when i click on the button, the current page just disappears from the screen and the new page animates in.
is there a way to make the button execute the closing of the current page and opening of the new page no matter which button in the navigation bar i like?

does this make any sense?

User Input Help Needed
Hello all,

I'm fairly new to AS3 and I'm working on a project that has come to a halt. I have created a digital medical file with tabs that the user can tab through and use to assess their imaginary patient. The problem I have run into is figuring out how to save the data the user supplies into the input text fields. I thought I had figured it out by using SharedObject, and while it does save the info, it doesn't do it the way I need it to.

Basically, I need the user's input to stay on the screen as they tab around. For instance, if they put info in tab 1, then move on to tab 2 and decide to go back to tab 1, I need the info to stay present in both tabs. SharedObject saved the input, but once I tab over to another tab and return, it has been wiped.

Also, if possible, I have several check boxes that don't actually do anything (like I said, it's a form for an imaginary patient) that the user clicks to indicate what diagnosis or action they think would be appropriate for the patient. Is there anyway to maintain this information as well when the user leaves the tab?

I'm not even sure if any of this is possible, but is seems like it should be. I have listed my code thus far below and would really appreciate any help. My problem might make a little more sense if you look at the file. Try entering info in one of the tabs and then tab around. When you go back, your info is gone. A sample of the file (sans the submit button because I haven't had a chance to upload it yet) can be seen online at:

File so far

Thanks in advance,
Robbie







Attach Code

AS3 CODE SO FAR:

stop();

SituationBTN.addEventListener(MouseEvent.CLICK, SitClick);
BackgroundBTN.addEventListener(MouseEvent.CLICK, BackClick);
AssessmentBTN.addEventListener(MouseEvent.CLICK, AseClick);
RecommendationBTN.addEventListener(MouseEvent.CLICK, RecommendClick);
ResponseBTN.addEventListener(MouseEvent.CLICK, ResponseClick);
SubmitBTN.addEventListener("mouseDown", sendData);

var so:SharedObject = SharedObject.getLocal("savedData");

function sendData(e:Event){
if(Title.text!="" && Comments.text !="" && Image.text!=""){
so = SharedObject.getLocal("savedData");
so.data.txtOne = txtOne.text;
so.data.txtTwo = txtTwo.text;
so.data.txtThree = txtThree.text;
so.flush();
} else status_txt.text = "All fields are mandatory";
}

so = SharedObject.getLocal("savedData");
txtOne.text = so.data.txtOne;
txtTwo.text = so.data.txtTwo;
txtThree.text = so.data.txtThree;

function SitClick(Event:MouseEvent):void {
gotoAndStop("2");
}

function BackClick(Event:MouseEvent):void {
gotoAndStop("4");
}

function AseClick(Event:MouseEvent):void {
gotoAndStop("6");
}

function RecommendClick(Event:MouseEvent):void {
gotoAndStop("8");
}

function ResponseClick(Event:MouseEvent):void {
gotoAndStop("10");
}

























Edited: 05/15/2008 at 11:57:09 AM by FSURobbie

User Input Help Needed
Hello all,

I'm fairly new to AS3 and I'm working on a project that has come to a halt. I have created a digital medical file with tabs that the user can tab through and use to assess their imaginary patient. The problem I have run into is figuring out how to save the data the user supplies into the input text fields. I thought I had figured it out by using SharedObject, and while it does save the info, it doesn't do it the way I need it to.

Basically, I need the user's input to stay on the screen as they tab around. For instance, if they put info in tab 1, then move on to tab 2 and decide to go back to tab 1, I need the info to stay present in both tabs. SharedObject saved the input, but once I tab over to another tab and return, it has been wiped.

Also, if possible, I have several check boxes that don't actually do anything (like I said, it's a form for an imaginary patient) that the user clicks to indicate what diagnosis or action they think would be appropriate for the patient. Is there anyway to maintain this information as well when the user leaves the tab?

I'm not even sure if any of this is possible, but is seems like it should be. I have listed my code thus far below and would really appreciate any help. My problem might make a little more sense if you look at the file. Try entering info in one of the tabs and then tab around. When you go back, your info is gone. A sample of the file (sans the submit button because I haven't had a chance to upload it yet) can be seen online at:

http://www.educatortoolbox.com/Scenarios/SBARR/SBARR/sbarrintro/formpractice.html

Thanks in advance,
Robbie

AS3 CODE SO FAR:

Code:

stop();

SituationBTN.addEventListener(MouseEvent.CLICK, SitClick);
BackgroundBTN.addEventListener(MouseEvent.CLICK, BackClick);
AssessmentBTN.addEventListener(MouseEvent.CLICK, AseClick);
RecommendationBTN.addEventListener(MouseEvent.CLICK, RecommendClick);
ResponseBTN.addEventListener(MouseEvent.CLICK, ResponseClick);
SubmitBTN.addEventListener("mouseDown", sendData);

var so:SharedObject = SharedObject.getLocal("savedData");

function sendData(e:Event){
      if(Title.text!="" && Comments.text !="" && Image.text!=""){
        so = SharedObject.getLocal("savedData");
        so.data.txtOne = txtOne.text;
        so.data.txtTwo = txtTwo.text;
        so.data.txtThree = txtThree.text;
        so.flush();
      } else status_txt.text = "All fields are mandatory";
    }
   
    so = SharedObject.getLocal("savedData");
    txtOne.text = so.data.txtOne;
    txtTwo.text = so.data.txtTwo;
    txtThree.text = so.data.txtThree;
   
function SitClick(Event:MouseEvent):void {
   gotoAndStop("2");
}

function BackClick(Event:MouseEvent):void {
   gotoAndStop("4");
}

function AseClick(Event:MouseEvent):void {
   gotoAndStop("6");
}

function RecommendClick(Event:MouseEvent):void {
   gotoAndStop("8");
}

function ResponseClick(Event:MouseEvent):void {
   gotoAndStop("10");
}

HELP Needed For FLASH In User Account
I have XP Professional with an Administrative and two User accounts.

All what I and my wife want - is to be able to use our separate User accounts for ordinary simple tasks like, for example, going to a necessary WEB page.

Sometimes we are lucky to do it, but very often we can NOT, because there is FLASH,
.
Let me give an example. I am interested what a local (Athens, GA) HONDA dealer has to offer, and want to open its WEB site. - O.K. - I open GOOGLE and find the necessary link to Athens, GA HONDA.

I click on this link, but instead of HONDA site there appears a message “You do not have the latest FLASH. Why not to install it now?” No problem, I have nothing against FLASH, but it can NOT be installed in a User account.

No problem. I go to our Administrative account and easily install the latest FLASH version #10. To be sure that everything will work fine I restart the computer.

Joyfully I return to my User account and “woe is me” FLASH still does NOT let me to reach HONDA and gives me instead the same invitation for upgrading as before.

Please help me either to “tame” this FLASH so that it would not mix with my computer steps, or to let it be properly active in my User accounts.

Please, also, keep in mind that I am one of those millions of “dummies” who just know only how to click a mouse and what is a difference between a file and a folder.

Many thanks for attention and help.

Waiting eagerly for responses.

NEEDED: F2s User Who Has A Working Input Form
Hello, I need some help from someone who specifically uses freedom2surf web server for their homepage because I have tried to get my mailing script to work, and it is working on other people's servers, except my own. It would be so great if someone who has done this on f2s could walk me through the process. Thanks so much,

Katie

Help Needed - Fireworks User Struggling With Flash
I’m trying to import a Fireworks file into Flash so I can hyperlink each individual frame with a different URL, but as I don’t usually work with Flash I can’t see how to do it and my research on Google hasn’t proven particularly fruitful.

Can anyone here help?

Help With Shared Objects Needed (easy For Advanced User)
Hi,

I'm currently designing a websitr which uses Flash MX animations to explain basic mathermaticals concepts to kids. There are about 20 of these ranging from fractions to multiplication etc. At the end of each one are some preset questions. What I want to do is to send a cookie/shared object to the user's computer which remember's each one they have done, and then when they log onto the site, suggest possible ones that they havent done. How could I do this?

I had a thought that you could somehow each one they have done (when parsing the cookie) into an array, check each one against the array of all possible animations, then pick 3 at random from that array, and play certain movie clips accordingly. Can anyone think of a better idea- hlp would be much appreciated as I'm quite new to Flash at the moment!

Many thanks

Chimpo

End-User Text Formatting In A Swf (Fellow Gearheads' Opinion Needed)
Hi all,

I am pretty comfortable withe Actionscripting in Flash 5, and I am about to attempt to create a "simple" HTML text formatting tool for Flash 5. Basically, it will allow the user of an swf file to type into a large text entry box that will be of the "HTML" type. They will then be able to highlight text in that box and, by clicking various buttons in the movie, make whatever they have highlighted turn bold, italic, etc. It will basically work the way Microsoft Word does when you click the "B" button and have some text highlighted, you'll make the highlighted text turn bold. I have done some initial proof-of-concept work, and I think I see a way to accomplish the basics of what is needed, but I just have two questions before I really get started:

1. Has anyone ever seen anything like this done in Flash before? (If you have, where did you see it??!!)

2. Would this be a lot easier to do in a full-fledged Director/Shockwave-authored movie than in a Flash-authored movie? (I know nothing about Director except that it's supposed to offer more functionality than Flash.)

Any experience anyone has had with this topic would be much appreciated. If possible please include links to any resources on this subject you may know of as well.

Thanks a lot!

-skyeflye
http://www.skyeflye.com

User Levels, Cell Phones, And User Registration, Plus Cookies
I need to quote a client on the following and need to know how much work is involved, ie hours. The programming may be done in PHP (unless its easier to do it all with AS), and the so the .swf needs
to talk to other files on the server.

Requirments are as follows:

1. contact form that: validate form, generate email, generate SMS for cell phones

2. registration form that: validates form, checks record, stores record if new, creates and sets cookie so they don't have to login next time, re-directs to appropriate page, sends email confirmation, deletes record if bad.

3. "extranet": validate i/p, check group (user level), send to user group destination


I just need to know if this is a simple couple thousand dollar thing or a complex many thousand dollar thing.

I can't guarantee anything (I don't write the cheques around here), and depending on the complexity of it we may be looking to subcontract some of it out.

Email me directly at: jonny@northstudio.com if you can be of any help.

JS-2-Fla Interaction[? I M P O S S I B I L I T I E S ?] Can You Help'em Out?
all of the examples on the WEB that i found tryed and looked through.. are pretty basic, old and.. lets face it NOT-CROSSBROWSER at all.. can this kind of comunication actually work.. nowadys! and be relatively stable and crossbroser?
i have worked with that kind of matters last year.. maybe.. before the BIRTH of Gecho, NS 5.5,6.. and the "OhSoPrettyGoodLookingAndPromisinglyMagiclyEasyToU SE"-NEW!-DOMbrowsers.. and before the establishing of that JOKE-browser-thing OPERA...
I know I managed to make it work on.. IE an ns4,x... but i never faced the newDOMies.. and OPERA.. OK. With Gecho and DOM.. i think or i hope i'll find a way to deal with.. GetElementByID... blabla.. not that i realy know how to do it.. but at least thay have documentation of some sort.. but what about OPERA?

Anyway do you know.. how crossbrowser comunication from JS to FLA movie can be done.. hev you seen it somewhere on the WEB? Have you seen some link , reference, example, tutorial.. related.. or sth that can help out.. if you have.. tel me.. mail me.. help me out.. I'll be so greatful.. and happy.. and i'll owe you ONE..

Didko.

ASP Interaction
Hi guys, I am having trouble passing data from asp to flash. Is there is there a clear example of it that ca show ASP code too?.
Thanks very much in advance!

SWF Interaction
Is there any way to for one Swf to interaction with another one?

In more detail:
My main stucture is called main.swf.
Within this swf, I'm loading another swf called background swf which will change depending on where the user is on my site.

I'm loading another swf called nav.swf which will be the primary Nav for my site.

Overview:
Main.swf
Level0 bk.swf
Level1 nav.swf

Now here is where I get fuzzy. How do I get the nav.swf to interaction with the bk.swf.

I want to be able to target certain frames. Is this possible?
If it is what do I use for this?

Swf Interaction
Sup Ladies and Gents,

I ran into a small problem. I'm in the middle of a project, and can't seem to get 2 SWF files to interact properly.

I'm working with 2 files. One is called (portfolio.swf) and the other is called(thumbs.swf).

Now Portfolio is loaded into level 3. There is small nav that has a thumbnail link that will unload (port.swf) and load (thumbs.swf into level3). It's been clean up to this point.

Now within the Thumbnail gallery, when someone clicks on an image, I want to reload (port.swf) back into level3 and target it's corresponding picture.

I have tried

On release {
_level3.gotoAndPlay("framename")
}

also

_level3.portMC.gotoAndPlay("framename")

The main reason why I added portMC, cause the targeted frame is withing a Movie Clip called portMC, with the (port.swf)

Does anybody have any ideas what I'm doing wrong??? Any help would be much appreciated.

Ryan

Interaction Help
I am trying to make a card game like flash game where two people can play each other. Now I am not to sure on how I can actually do this in real time. If anyone can give me any pointers or help I would be very greatful.

Thanks for your time
- Rayn

Interaction
There is probably a tutorial on the matter but where? what I want to do is: ie: a birthday present wrapped and when the viewer clicks on it he sees what is inside; easy you may say, it can be done with a button, trouble is with a button when you move the mouse away from it it reverts to the first image; I want it to stay open then do other presents the same way until they are all showing the contents. Is it that difficult?

Interaction
Hello !

As i can do this:
button on release i change _x, _y coordinates of image (at html page)

I exactly now, what this can realize javascript, but as?

button.onRelease = function(){
getURL("javascript:...('...')");

}

Sergey Samoylenko.

Interaction Between 2 Swf's
What is the simplist way to interact between two seperate swf's on one page?
The reason I need to do this is because a want a menu to left justifed and have another swf centered in the browser.

An example of what im talking about:
http://www.nagaoka-id.ac.jp/gallery/gallery.html

Interaction Help
this is what i want to do:
load a dozen layer of images and then the user will be erasing them with the cursor. at the end there should be a a new image made from all those layers... Is this possible? and if it's then how?

thanks in advance

and please help me...

[F8] Mc Interaction
i have a block of text that the user is able to scroll through on a site i am building. i want the user to be able to rollover an image inside this text and a floating text box will appear next to the image with a brief explanation of what the image is.

i have set the image up as you would if you are using the mc as a button, so it has an up over and out state for the mouse interaction. i know to usually to get the effects to display you would use this action script on the time line


Code:
this.but1_mc.onRollOver = function() {
but1_mc.gotoAndPlay("over");
};
this.but1_mc.onRollOut = function() {
but1_mc.gotoAndPlay("out");
}


how can i do this for the image_mc inside the text_mc so that when the mouse rollsover it the text will display. i have never tried to do this before so i dont no really what i need to do with it. if there is a tutorial explaining how to do this please point me in the direction.

Interaction Help
I need to be able to do the following on an "onPress" function:


Code:
if(frameNo >20 but <30) and (>40 but <50) and (>60 but <70){
then do something
}else{
do something else
}
Please if anyone can help i would really appreciate it

Dominic

ASP Interaction
Is it possible to open a asp page inside the flash player or current flash page.
Let me expound on what I am trying to accomplish. I am creating a new e-commerce page, I want my first page to be complete flash, flash buttons and animation. I want to connect to the asp page and query the products catalog but for navigation reasons I would like to stay with in the original page. I have searched the net for a couple of days now with no luck. I am not even sure that what I am proposing is even possible but, so far I havn't found a yea or nay on the subject. Any help would be appreciated.
Thanks

Interaction Between SWF's
Is it possible to make the time line of one .SWF file interact with the timeline of another .SWF file when loading them onto the same stage? For instance, one .SWF file is a thumbnail gallery of a photo gallery, and the other .SWF file is the fullsize photo gallery. I want to make the thumbnails SWF create a reactive response in the timeline of the fullsize gallery on a rollOver command.

I'm trying to do this to make it slightly easier for dialup users to load this photo gallery without having to sit and wait several minutes for it to finish loading all 180 something photos in a single .SWF file split between different movie clips.

Php Interaction
I have a PHP script that sends various commands off to a socket/port on a remote machine.

I would like to pop-up a flash window that would show all the stages that will occur and highlight the active stage.

Is this possible with PHP and Flash?

PHP Interaction
Hey

I have MX 2004 and I was reading about getting Flash to interact with PHP.

Now, I have this script in Flash:

testw is a dynamic text box

var test = new loadVars();
test.load("test.php");
test.onLoad = function(ok)
{
if (ok)
{
testw = test.user;
}
}

In the test.php file, I have a variable, $user, set to "hey".

I just want the Flash to be able to display that variable in that script.

Now, this doesn't work, but I'm not sure how to get this to work.

Thanks

MC Button Interaction
ugh, somone correct me. I have a MC named "invisi" that is set to alpha 0. I also have a button, and attached to the button I have this script:
on (rollOver) {
setProperty ("invisi", _alpha, "50");
}
on (rollOut) {
setProperty ("invisi", _alpha, "0");
}
on (press) {
gotoAndPlay (20);
}
Simply, I want the MC "invisi" to be put at 50% alpha when the mouse goes over the button and set it back to 0% when the mouse leaves the button. The script looks right to me...but its not working. Please help if you can.

Database Interaction...
Hi,

can anyone give me a brief indication of what's involved to create a flash CD-rom for kids with a searchable access db containing different jobs they may end up doing.

I'm OK with flash and know a little actionscript but am not sure how I'd link to an access database. If I had 5 jobs in the db and want to search it from within a flash interface would I have to use fscommand to talk to an ASP script that contains a connection string like this??

Set objConn = Server.CreateObject("ADODB.Connection")
strConnection = "DSN=frog;Database=frogdb;"
strConnection = strConnection & "UID=sa;PWD=;"

Or should I not bother with a dsn and connect to the db directly - How would I do this???

Cheers

ASP And Flash5 Interaction....
I was wondering why i can not seem to get my asp script to run..

i have a form in flash5 and it calls an ASP that takes the info and puts it into an email and sends it to me.

the site is in a popup window and I am having trouble, so if anyone knows anything that could be helpful please let me know..

here is the code on the submit button:

on (release) {
if (name ne "" and business ne "" and email ne "" and site ne "" and comments ne "") {
loadVariablesNum ("emailScript.asp","", "POST");
gotoAndStop ("good");
} else {
gotoAndStop ("bad");
}
}

name,business,email,site,comments,.. are all veriable names.
they do match up with variable in the asp script..

here is the site - (under contact)
http://www.access-now.net/goodie

THANKS in advance!!!!

Controlling MC Interaction..
I have a MC that I want to interact with another MC. I want, when the mouse goes over MC1 it plays MC2. The thing is, lets say MC2 is an animation of a ball bouncing. When you put the mouse over MC1 it starts the ball bouncing in MC2. However, if you do a onClipEvent as normal, then when you put the mouse over MC1 it starts playing MC2 at frame1. When the mouse goes over MC1 again it restarts MC2 at frame1. What I want to do is have, once you put the mouse back in MC1 it will play MC2 from the current frame. In other words, if MC2 is at frame 20 when the mouse goes over MC1 again, then it will continue playing at frame 20 and not jump back to frame1.
Am I being clear? I've seen this a million times, I just don't know how to do it.

MightyHokie
--
"One man with courage is a majority."
Thomas Jefferson, Virginian (1743-1826)

Interaction Between 2 Swfs
Hi Flashers!!
I have one swf cs1.swf placed in a movie clip mc1 which is placed in the main movie on level1 .I have another swf cs2.swf placed in a movie clip mc2 which is also placed in the main movie at level2. I want one button in cs2.swf to execute an action like gotoframe and play in cs1.swf.Is this possible, if so how ?.
I tried using tell target, but either i am not getting it right or it doesnt work? can anybody tute me on this or any fla or code on this. If there is any other way out pls lemme know.
Thanks in advance
shrejeet

Interaction Between Swf's In Different Frames
hi

i've been asked if it's possible to control a swf with a navigation swf which is in a different frame

we can't use fscommand - i said it couldn't be done - is there a way???

thanks for your help

Interaction With Visiblity PLEASE HELP MEE
I am building a site which has 6 menus...
There are 3 3dspinning cubes, each one if is it pressed will appear 2 menus, heres the trouble i Have....
When I press for example menu button 1 ok then if I press menu button 2 the script goes fine.
Now If I press cube 3 after I have press cube 1 and go back to press cube 1 again It appears all the submenus and its a mess.

heres what script I putted if thert can be of any help.

on (release) {
_root.BOX2MC.gotoAndPlay(2);
_root.BOXB2._visible = false;
_root.TESA.gotoAndPlay(2);
}
on (release) {
ifFrameLoaded ("_ROOT.TESA.", 7) {
_root.BOX2MC.gotoAndPlay(20);
}
}
on (release) {
_root.BOX1MC.gotoAndPlay(21);
_root.BOXB1._visible = true;
_root.BOX3MC.gotoAndPlay(21);
_root.BOXB3._visible = true;
}
on (release) {
_root.TESA.gotoAndPlay(2);
_root.FOIN._visible = false;
_root.INFO._visible = false;
_root.FORUM._visible = false;
_root.PROPAR._visible = false;
_root.PROFILE._visible = false;
_root.PARTNER._visible = false;
_root.TESA._visible = true;
_root.SAMPLES._visible = true;
_root.TEAM._visible = true;
}


on the last action i used the true because if I don't the menus don't appear at all...

Please help

Scrolling Interaction
This is a stupid question 'cause I'm new to Actionscript, but please help.

I have a MovieClip with loads of thumbnails (buttons), when the viewer moves over one with the mouse, it must enlarge that specific photo. Of the later I made movieclips as well. But I have no clue where to start to write this script.
I would appreciate any help.

Thank you
Anx

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