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








A Little Guidance


Say you're setting up an interaction like a drag and drop. You've got 4 objects that need moved. Once the user gets the 4 objects to the right place, a text field appears and says 'great job'.

What would the code look like to instantiate this text field once the 4 objects are in the proper place?




ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 10-27-2008, 06:07 PM


View Complete Forum Thread with Replies

Sponsored Links:

Just Need A Little Bit Of Guidance
Ok i have a sort of shooter game..
here is the idea
I have 2 movie clips and one is a bullet one is a .. tank i want the bullet movie clip to delete itself on hit with the tank and i want the tank to register the fact its been hit and subtract a number for everytime its hit till it gets to 0 and dies.
if anyone has any idea how to help me i would be most grateful

View Replies !    View Related
Need Some Guidance
OK here is what we are trying to accomplish. We are creating various flash animations that are to be used as educational examples for online Educational websites. These include drag and drop examples, flash card excersises, and so on. My partner and I were wondering how, if its possible, to make it so that images and text can be dynamically loaded into the various movieclips of the excersises, so we can dynamically load the data accross many animations instead of customizing each animation. We have been told by our superiors (we are students, and this is a part time job) that this is possible with XML.
Basically, what we are looking for, is a little guidance and/or direction on how to go about doing this. WE have created the basic layouts for the educational animations and created the various movie clips where the imagesare to be laoded, and the include a dynamic text field where the text is to be located, but need some direction on how to go about loading the information dynamically. Any and all help is greatly greatly appreciated.

View Replies !    View Related
Asp/php Help Or Guidance
** First off sorry for posting this twice, my internet connection is playing up and i submitted this twice by accident**

Hey,

I know this isnt really a flash based question but could anyone point me in the right direction, i think i will need to use php or asp.

Anyway, heres my problem..


I have a table with a list of option in it, each option is a training module, i want the user to be able to select any number of modules (with check buttons probably) to create a custom training scheme, finally I want the user to be able to change the order the options are displayed in.

Any ideas? i dont have much knowledge of php or asp so not looking for any script yet, im mainly looking for a point in the right direction.


Many thanks

David

View Replies !    View Related
Asp/php Help Or Guidance
** First off sorry for posting this twice, my internet connection is playing up and i submitted this twice by accident**


Hey,

I know this isnt really a flash based question but could anyone point me in the right direction, i think i will need to use php or asp.

Anyway, heres my problem..


I have a table with a list of option in it, each option is a training module, i want the user to be able to select any number of modules (with check buttons probably) to create a custom training scheme, finally I want the user to be able to change the order the options are displayed in.

Any ideas? i dont have much knowledge of php or asp so not looking for any script yet, im mainly looking for a point in the right direction.


Many thanks

David

View Replies !    View Related
Need Guidance Please
Hi, I am designing site at the moment and was wondering what would be the best approach to have each section of the site animate in and when the user goes to a new section the existing section animates out, prior to the new section loading in. For each section there is a small clip of video so will probably use levels to load in each section. Thanx in advance.

View Replies !    View Related
Looking For Guidance
Hi everybody,

I am about to start making the jump from Avid editor to a bit of flash work. Like so many things with software it's easier to learn when you have a project in mind before you dig into it, so here goes.

I would like to create a simple game. Here's the premise. I have pre-recorded 150 answers from my subject (former wrestling superstar Angelo Mosca). What I would like to have is a text field where a user can ask a question of my subject. When they submit their question the video answer will be displayed randomly. For any old timers out there basically I want to create a magic 8 ball game.

What I have done to this point is edited my HDV footage into the clips that I want and I have exported the 150 clips as QTIME ref files out of avid.

The next step is sorenson squeeze to create swf's? or flv's? Currently I have been delivering flv's but those files are not interactive. I know my encoding dimensions but do I go swf or flv?

Once I have my files encoded I head into flash mx and start to learn action scripting?

Any resources or links to similiar games or resources would be greatly appreciated.

Thanks in advance

j

View Replies !    View Related
Need Some Guidance On What Should I Do.....
Hi everyone,
i've been to this forum twice and received very generous help from everyone. i'm still a basic user of flash, but now i'm required to find out how to do these function in flash. i've attached a few screen captures. I'm kind of required to create a multiple selection function as well as the ability to save text at the point of selection..... i've look through the tutorials and this forum... i have not come accross what i'm looking for... is there anyone can give me a hand and lead me? Thank you so much.....

Smile! Never allow anyone to take it away from you.....
le meilleur visage de sourire
第一番の笑顔

Warmest Regards,
Radiance Tan

View Replies !    View Related
Just Need A Little Guidance
Hello all,

I could use a little help with some Flash animation. I'm a Flash novice, but have read plenty of articles and tutorials, so I understand the basic concepts and have a pretty good grasp of the general principles of Flash design.

If you would, please take a look here:

http://www.sony.net

When the animation loads and the cubes start moving, notice the mouseover effect. I'm trying to do something very similar. I have floating objects similar to the cubes. On mouseover, I need to:

1. Have a semi-transparent background color appear (like Sony).
2. The moused-over cube needs to stop, while the others continue to move behind the color overlay (like Sony).
3. I have an animation and some text that I want to appear on top of the color overlay.
4. On rollout, I want it all to go back to normal (like Sony).

I'm not asking for a step-by-step tutorial, but if someone can give me some general directions, that would be much appreciated (something like "build this, put it here, add this AS, etc.").

Thanks, all.

zayd

View Replies !    View Related
A Little Guidance...
ok... I'm trying to make an application that includes live video and audio. I've found that i might need flash media server, but i'm not sure if it's actually necessary to go this way. Also, i'm using flash 8 educational version and i was wondering if i need the actual non educational version to make this idea work...

Also, on another project we're streaming videos, not live, and i thought of just hosting the videos in our server... but i've encounter some articles saying that i'd also have to use Flash media server to play these videos on my swf files...

i don't know, i'm just confused

View Replies !    View Related
New To OOP Need Some Guidance...
Hi guys

I'm trying to convert two simple scripts to OOP so I might get a hang of it. I read the great article on Kirupa forum by Senocular, and desided to give it a go.

The only thing my samle class does is printing a movieclip when a button is pressed. For some reason this class doesn't work? Gives me errors on the var's...?? Hmm... any OOP programmers who can help me out get the main idea of OOP?

my class

ActionScript Code:
public class printClass {
    var myPrintjob:PrintJob = new PrintJob();
    var thePrintClip:MovieClip = new MovieClip();
    var thePrintButton:MovieClip = new MovieClip();
    //
    function printClass(target_mc:MovieClip){
        var thePrintClip = target_mc;
    }
    //
    function printIt(button_mc:MovieClip) {
        var thePrintButton = button_mc;
        button_mc.onPress = function() {
            var myPrintjob = new PrintJob();
            var myResult = myPrintjob.start();
            if (myResult) {
                myResult = myPrintjob.addPage(0, {xMin:0, xMax:400, yMin:0, yMax:400});
                myResult = myPrintjob.addPage(thePrintClip, {xMin:0, xMax:400, yMin:400, yMax:400}, {printAsBitmap:true}, 1);
                myResult = myPrintjob.addPage(1, null, {printAsBitmap:false}, 2);
                myResult = myPrintjob.addPage(0);
                //
                myPrintjob.send();
            }
            delete myPrintjob;
        };
    }
}
my .fla

ActionScript Code:
import printClass;
//
stop();
//
var printThis:printClass = new printClass();
printThis.printClass(thePrintClip);
printThis.printIt(myButton);

View Replies !    View Related
Need Some Guidance
Hi guys
I need some guidance from you. I almost reach the final stage of my project. My scenario is I have multiple instances of UILoaders on the main stage. The user can drag and drop those UILoaders wherever he wants on the main stage. The user can put one on top to replace them too.I am successful in implementing till now.I used AS 3.0. Finally i have to create a new application using somehow the same code in which if user places UILoader on top of already existing UILoader, the new UILoader does not get replaced but moved/ gets away to give place to the placed video on the main stage. in other words :- Let's say 4 UILoaders are placed in 2x2 matrix position on the main stage and if you place 5th UILoader in center (on top) of all the 4 loaders, then all the 4 UIloaders will animate to bounce outwards to give space to 5th UILoader. I used hitTestObject and hitTestPoint in my project but I am not sure which way to go in this case. How would animation work in this case and which is the best approach to tackle this kind of situation.
Anybody has any idea how would i do that?
Your help and guidance will be highly appreciated.
Thanks a lot
Anuj

View Replies !    View Related
As3 Guidance
I would love to get some help with an actionscript 3 file.

I have a file from flashden and I'm trying to learn by example. It's a menu that's working great, but I can't figure out how to attach movie clips to the items.

Any help would be so much appreciated!


ActionScript Code:
var _menuItemsAndContent:Array = new Array({name:"Home", mc:new MovieClip}, //name and mc, leave mc empty if you don't use it
:confused:{name:"Who am I", mc:null},
{name:"Curriculum Vitae", mc:null},
{name:"Contact me", mc:null},
{name:"Projects",mc:null});


function onSubMouseClick(event:MouseEvent):void {
    //here are the the 3 methods that can be used to change the content
   
    //returns item id/it's position in the _subBtnsAndPos array
    trace("id " + event.currentTarget.name);
    //returns the items name
    trace("name " + _subBtnsAndPos[event.currentTarget.name].name);
    //return the MovieClip that has been accosiated with the item or null
    //if you haven't use that feature
    trace("MC " + _subBtnsAndPos[event.currentTarget.name].mc);
}

View Replies !    View Related
Guidance
Can some one tell e while playing through internet a sound any audio format ( like streaming) does it stores in temp file ( local Hard drive). whats the security level of it.same with the text content and images.

waiting to hear from you all soon....

View Replies !    View Related
Need Some Guidance
Hi guys
I need some guidance from you. I almost reach the final stage of my project. My scenario is I have multiple instances of UILoaders on the main stage. The user can drag and drop those UILoaders wherever he wants on the main stage. The user can put one on top to replace them too.I am successful in implementing till now.I used AS 3.0. Finally i have to create a new application using somehow the same code in which if user places UILoader on top of already existing UILoader, the new UILoader does not get replaced but moved/ gets away to give place to the placed video on the main stage. in other words :- Let's say 4 UILoaders are placed in 2x2 matrix position on the main stage and if you place 5th UILoader in center (on top) of all the 4 loaders, then all the 4 UIloaders will animate to bounce outwards to give space to 5th UILoader. I used hitTestObject and hitTestPoint in my project but I am not sure which way to go in this case. How would animation work in this case and which is the best approach to tackle this kind of situation.
Anybody has any idea how would i do that?
Your help and guidance will be highly appreciated.
Thanks a lot
Anuj

View Replies !    View Related
A Little Guidance ...
Hi Guys,

I have attached I file that I've been battling with for a bit. It's a pretty simple file. As the file loads there is a basic animation eventually turning into a menu. The onRelease event for the "Click Here" button animates "_off" the current selection menu (select_mc movie clip) before animating "_on" the new movie clip (called 'owner_mc').

My goal is simply to have the onRelease event for the "Click here." button within the 'owner_mc' to animate "_off" the 'owner_mc' before animating "_on" the 'select_mc'.

Keep in mind the "_on" and "_off" are labels within the movie clips that have already been created.

'owner_mc' resides within Frame 16 on the 'Home Owner' layer on the main timeline.

***********
The attached file works to a point.The initial menu (select_mc) is loaded fine.
The onRelease event for the "Click Here" button (located within 'select_mc') animates "_off" the 'select_mc' before animating "_on" the 'owner_mc'.
The onRelease event for the "Click here." button (located within 'owner_mc') animates "_off" the 'owner_mc' but WILL NOT animate "_on" the 'select_mc'.
***********
You will see from the code below that I'm using 'onEnterFrame' to control the "_off" and "_on" animations.


Code:
owner_back_mc.onRelease = function (){
gotoAndPlay("_off");

owner_mc.onEnterFrame = function (){
if (owner_mc._currentframe == 15){
_root.select_mc.gotoAndPlay("_on"); // select_mc refers to the 'selection menu'
delete (owner_mc.onEnterFrame);
}
}
}
I'm not sure where exactly on the main timeline (frame-wise) "_root" takes me - to Frame 1 or the last frame that was accessed?

This could really play a factor because 'select_mc' does not come into play on the main timeline until the initial animation plays through and stops ... on Frame 16. My guess is it is a scope/targeting issue of some sort ... but I'm not sure where.

One thing that really interests me is if a 'stop' action is placed in Frame 1 of 'select_mc' movie clip ... the call below (on Frame 16, 'Actions' layer of the main timeline - that is part of the initial animation) never takes place:


Code:
select_mc.gotoAndPlay("_start");
That makes no sense to me ... a label is used. It should simply move to the frame labeled '_start' and play. Between this and the fact that 'select_mc' is sitting on the main timeline and the code above (_root.select_mc.gotoAndPlay("_on") doesn't work - leads to believe there are issues within the 'select_mc' movie clip. Some code likely either needs to be added or moved to the Actions layer within 'select_mc'.

I've attached a 'scaled-down' version of my real FLA file. It's not zipped or anything. It will truly only take a moment for anyone out there willing to lend a hand to take a look. Anyone that is willing to do so - I would very much appreciate. It's likely something simple that I'm overlooking.

If by chance, a solution is found - will you please describe what steps should be taken to fix it rather than simply uploading the revised file? Reason being, as stated previously ... this is a 'scaled-down' version and I will need to apply necessary changes to my real FLA file.

Thanks in advance for anyone willing to lend a hand.

DO NOT USE THE FILE ATTACHED TO THIS POST ... (Almost.fla)

USE THE FILE IN THE NEXT POST ... (Almost-rev.fla)

View Replies !    View Related
Guidance With Php
Hi..
I am making an application wherein i will need to send the properties of shapes to a text file. That is, its x, y, xscale, yscale, rotation etc. Now the thing is, there could be any number of such shapes. And then, i also need to retrieve those values to redraw them onto the stage.

So how do i go about it? i mean do i create a new loadVars() instance for each shape and send it to the php file? Will that not create a separate text file for each shape??
And how do i get those variables back into the swf? Do i create just one loadVars then or do i create a new loadVars for each shape? How will i know how many to create if there is a separate text file for each shape??

I'm very new to php so i have only a theoretical understanding of how it works. I only need to do the AS part of it.

View Replies !    View Related
Need A Little Guidance
I have a movie clip on my stage that is the container for dynamically created movie clips that hold JPGs loaded in from xml. The images are spread across the x axis and are being controlled by "+" and "-" buttons to slide the images along so you can keep viewing them. To see what I mean take a look at

http://ostari.com/ronnie/airbox/

right now the plus and minus buttons just do a simple onRelease that finds the currentX and slides it 750 pixel either way.


ActionScript Code:
plusBtn.onRelease = function() {   curX = _parent.projectMC._x;   _parent.projectMC.slideTo(curX-750,null,0.5,"easeOutBack");}minusBtn.onRelease = function() {   curX = _parent.projectMC._x;   _parent.projectMC.slideTo(curX+750,null,0.5,"easeOutBack");}


That method I guess can work, but its not that dynamic. I want the images to be centered every time they hit the plus or minus buttons no matter what size their browser window is. Right now the images are not really centered and im not even sure if 750 is a good number to use. I would rather have a dynamic variable in there.

So basically im asking if you guys have or can think of a smart way of going about this? thanks.

View Replies !    View Related
Need Some Guidance
Hi guys
I need some guidance from you. I almost reach the final stage of my project. My scenario is I have multiple instances of UILoaders on the main stage. The user can drag and drop those UILoaders wherever he wants on the main stage. The user can put one on top to replace them too.I am successful in implementing till now.I used AS 3.0. Finally i have to create a new application using somehow the same code in which if user places UILoader on top of already existing UILoader, the new UILoader does not get replaced but moved/ gets away to give place to the placed video on the main stage. in other words :- Let's say 4 UILoaders are placed in 2x2 matrix position on the main stage and if you place 5th UILoader in center (on top) of all the 4 loaders, then all the 4 UIloaders will animate to bounce outwards to give space to 5th UILoader. I used hitTestObject and hitTestPoint in my project but I am not sure which way to go in this case. How would animation work in this case and which is the best approach to tackle this kind of situation.
Anybody has any idea how would i do that?
Your help and guidance will be highly appreciated.
Thanks a lot
Anuj

View Replies !    View Related
Need Some Guidance
My Friend recently tasked me to design a Band site for him. Its not my first experience with Flash, but I am still kind of newbie.

The site I wish to replicate is sort of like this.

http://www.aliazmat.com/

I don't want to replicate it wholly. I want to make a good navigatable version with buttons and all. Although I am familar with doing buttons, but my skill is limited, so here's the things I need to ask.

How can that effects on the guy's face be created?
How do you actually load things from an outside source while the Loading bar progresses?
Finally should I create different scenes for each page? Or 1 big Movie?

View Replies !    View Related
Looking For Help Or Guidance
So I Had A Web Designer That Was Going To Design My Website For Free And He Said That He Would Help Me Out On January I Waited And Waited And Then Asked Him Could He Help Me, He Said He Was Sorry And He Couldn't So Now I Have To Create My Own Website Which Is Not A Problem But Somethings I Don't Know How To Do. So I Was Hoping Can People Help Me Out For Free Or Give Me Some Guidance How To Do These Stuff. The First Thing That I Would Want To Do Is Make A Preloader, Could Someone Make Me A Basic One And Send It To Me? Or Could Someone Make Me One? Or Could Someone Give Me A Link To Learn How To Do This? When People Go On To My Website I Would Want The loader To Start And When It Goes To 100% I Would Want There To Be A Button That Says Enter And When They Press It They Go To The Home Page, I Would Also Want A Image There.

Sorry People About My Caps I Just Realized I Was Doing It Again When I Nearly Finished It.

View Replies !    View Related
Need A Little Guidance
I have a movie clip on my stage that is the container for dynamically created movie clips that hold JPGs loaded in from xml. The images are spread across the x axis and are being controlled by "+" and "-" buttons to slide the images along so you can keep viewing them. To see what I mean take a look at

http://ostari.com/ronnie/airbox/

right now the plus and minus buttons just do a simple onRelease that finds the currentX and slides it 750 pixel either way.
Code:

plusBtn.onRelease = function() {
   curX = _parent.projectMC._x;
   _parent.projectMC.slideTo(curX-750,null,0.5,"easeOutBack");
}
minusBtn.onRelease = function() {
   curX = _parent.projectMC._x;
   _parent.projectMC.slideTo(curX+750,null,0.5,"easeOutBack");
}

That method I guess can work, but its not that dynamic. I want the images to be centered every time they hit the plus or minus buttons no matter what size their browser window is. Right now the images are not really centered and im not even sure if 750 is a good number to use. I would rather have a dynamic variable in there.

So basically im asking if you guys have or can think of a smart way of going about this? thanks.

View Replies !    View Related
Looking For A Tutorial And/or Guidance On How To...
First off, I'm not a Flash/Web Designer by profession and would rather not learn the intricacies of advanced action scripting in order to achieve my desired effect. I have a basic understanding of action scripts (I can effectively modify and apply scripts from tutorials to my needs) but not enough to be able to write and apply my own for what I am trying to do. I know that if I just spent a weekend or so learning, I could probably figure this out but was hoping someone here had seen/written a tutorial or could help in some way.

I'm building an internal website for my group at work (all in Flash) and a scene of the movie is going to be for links. What I've envisioned is a bunch of links set around a stage, so to speak. When the user clicks on one of the options, it would sort of rubberband to the "stage." And a description of the link would appear beneath the link title. Clicking on the description would open the link in a new window. Now, I can handle the movie with the descriptions and know how to call that, but I don't know how to make the links (buttons) do what I want (the rubberband effect). I'd also like users to be able to drag the links and have them shoot to the stage from the release point.

Any help any of you flash maniacs can provide is greatly appreciated.

Thanks again,

jordan

View Replies !    View Related
Question, Need Some Guidance...please
Hi everyone!

This is kind of complicated, so please bear with me.

I am trying to make a flash page for something unique.

I play a game called Counter-Strike and there is a plugin it uses to allow people to view the current map being played (as well as other information) over the web.

I have spent 3 days banging my head trying to get this to work. I currently don't have a solution.

Here is the link to view over the web:

http://63.217.31.146:27015/test/mytest.w

If you were to view the source code from the browser you would see the following code: (I am aware of the missing '<' in the code. This is the only way I could show the code. It kept generating the code as a page.)

(This code is generated/dynamic to the original source code, which is listed below.)

Code:
html>
head>
title>*SDD* CS 1.5 Server</title>
/head>
body bgcolor="#999999">

center>
!-- Show the hostname in the title and as title on the page -->
h1>*SDD* CS 1.5 Server</h1>

!-- Show the current map pic -->



img src="/mappics/cs_havana.gif" border="2" width="300" height="225">

!-- Show the map name -->
h4>cs_havana</h4>
/center>

/body>
/html>
This is the original source code which I wrote:

Code:
html>
head>
title>{c.hostname}</title>
/head>
body bgcolor="#999999">

center>
!-- Show the hostname in the title and as title on the page -->
h1>{c.hostname}</h1>

!-- Show the current map pic -->
{v.mappic:/mappics/{W.map}.gif}
{v.mapok:{@file_exists:{W.moddir}/addons/w/www{v.mappic}}}

img src={v.mapok?"{v.mappic}"} border="2" width="300" height="225">

!-- Show the map name -->
h4>{W.map}</h4>
center>

/body>
/html>
Now this might sound strange, but the original source code is called mytest.w. Not mytest.html. This is the file extention the plugin uses to recognize to process the highlighted variables.

I would like to grab the variables and be able to display them in flash. Could anyone please, please offer some guidance on how I should approach this?

Many, Many Thanks in advance.

Take Care,

- Alex

View Replies !    View Related
I Know This One's Easy But I Need Some Guidance...
I need to know how to make a mouse stop a movie clip on a rollover, and then have the movie continue when it rolls off. Can someone explain it to me as simple as possible??? Thanks for your time!!!

View Replies !    View Related
Web Hosting? I Need Guidance:)
Hello, I have been asked by a friend to design a small site for her in flash, she wants a full domain name so I can't use a free service. I have a few questions about the role of a small, home based designer.

1. I don't have the knowledge or money to host the site myself, so what is the procedure for hosting her site? Do I find a hosting company and tell her what the yearly fee is, and then she pays for it? Is that what most home based designers do?

2. When we have decided on the name for the site, eg www.hersite dot com, do I have to go to any sort of agency and secure the name first, or do I just go to the web hosting company we have chosen and let them sort this out?

3. I realise that FTP must be used to send my files to the host but I don't know anything about this procedure - any advice?


These questions must seem stupid but I have spent most of my time learning studio MX and have not delved into the site hosting side at all. It seems vague and I can't seem to find answers on any forums, that's why I have chosen to come to you people.

I hope you have the time to review my questions and kindly offer advice.

Thank you.

View Replies !    View Related
Guidance In Flash?
Hi everyone I am a newbie lol...But I really need Help with flash(just like everyone else lol)

Is there anyone that has AOL or AIM and is willing to guide on making some Game Show Projects...I have a lot of Experience with Flash but only with animation...If you do...you can contact me at DJDustman87@aol.com!! THANKS!!

View Replies !    View Related
Combobox Guidance
Greetings!

Wanted to see if I could get a little direction...

First of all, I'm using MX 2004 Pro.

I have a combobox that contains several names. When a name is selected, I want it to trigger two MC's that are associated with the name.

My questions:

How should I set up the data in the combobox to associate to the name-related MC's and what actionscript could trigger those MC's?

Thanks for any suggestions you may provide.

-- Jeff

View Replies !    View Related
Somewhat New To Flash, Need Guidance
Hello

I've been reading these boards/this site for quite some time, but have finally come to a time in my web development hobby where I really need to become proficient in Flash.

Anyway, what I'm looking for is some guidance to either a tutorial or *.fla example of something like this:

http://www.tmgpartners.com (the opening intro w/ the pictures, grid etc)

Is this effect easy to do? What about the horizontal drop-down menu they have?

Input would be appreciated,

Thanks
rednax

______

rednax.net

View Replies !    View Related
Guidance For MC.onRelease + IF/Else
Hello Everyone,

I need a bit of help with If/Else statements. I have a site here so you can refer to the issue i'm about to show you.

When the browser is rescaled..i have it so the logo in the middle stays centered.

however, if you rescale your browser so much so that the logo hits the coordinate of (100, 100)...it stays there.

My question is - How do i set up the if statement to say...

if button press = false, then keep logoMC centered...
and
if button press = true perform the function (the slide)
and don't keep it centered upon rescale of browser.

the code i'm using is below its a simple work around that says:
when logo has x and y coordinates above 100,100..keep it centered...

the problem is..you can scale your browser till the logo is actually at 100,100...so it will stay there once it reaches....(but it shouldn't do that unless the button has been clicked)

Thanks in advance

code:
#include "mc_tween2.as"
stop();
container.loadMovie("http://www.planetlucid.com/test.swf");
Stage.scaleMode = "noScale";
Stage.align = "LT";
var sl:Object = new Object();
sl.onResize = function() {
bottombar._width = Stage.width;
bottombar._x = 0;
bottombar._y = Stage.height;
copyright._x = 0;
copyright._y = Stage.height;
if (logo._x>100) {
logo._x = Stage.width/2;
logo._y = Stage.height/2;
motiv._x = Stage.width/2;
motiv._y = Stage.height/2;
}
if (logo._y>100) {
logo._x = Stage.width/2;
logo._y = Stage.height/2;
motiv._x = Stage.width/2;
motiv._y = Stage.height/2;
}
};
Stage.addListener(sl);
sl.onResize();

View Replies !    View Related
A Newbie Needs Some Guidance
Ok... So I know the basic ideas for Flash, but there is a certain type of simple animation I want to create for my website. I want to make a simple vertical, scrolling, animation of buttons (88x31 affiliate buttons to be exact) that simply rotates, and when hovered over will stop and allow the viewer to click on the button. I have seen this done similarly on other sites, and figured that the look of simplicity that this has would be a good addition to my site, as well as a good way to begin learning Flash and ActionScript. I fully appreciate any and all help anyone could provide.

Thanks again!

Jake

View Replies !    View Related
Totally New Need Guidance
Hi everyone, My step son who's like 23 showed me this site, LOL and he figured I'd get all the help I could here. Anyway My name is Alice but you can call me AJ (I prefer it ) I'm totally new here and new to macromedia flash 8, I just got it 2 hours ago LOL...The reason I got it is because I volenteer my time on a free virtual pet site (No I wont' advertize it) thing is it hasn't any games yet and I need help in learning on how to use my program so I can make games for this site they need only to be simle games for little kids to play, but thing is like I said I only got my program 2 hours ago so I haven't a clue on how to use it, I do how ever have a story line for my first game and all the images I think I'll need for it except the box the whole game will be contained in LOL.
Now what I need is pointers and tips on how to acheive the game I'm trying to make.
and how to use my flash 8 program in acheiving this task.
Can someone direct me to a tutorial or info on how I can make the game I'm trying to explain in the bottom section of this posting?

Game idea...

Like a giant tick-tack-toe game (best description, like the jewles game MSN has) object is to get three or more similar images in a row and they disappear but give you points, (a click on object and move it to a new area type of game...)
I could give an example but I have to have permission first in order to show a link to a similar game.
once the three or more items disappear, more fall down replacing the ones that were removed. I think i described it as best as I could...:S and my appologies if this is posted in the wrong spot.
AJ

View Replies !    View Related
New To AS3, Need Guidance To Start
Hi all here,

Im new to AS3.0, I have been with flash 8 for quite some time and now planning to shift to the edge. I have a query:

I need to send some arguments from my flash to a C++ program, MFC. Can i achieve this in CS3?? And how do i receive data from the C++ program? I have heard about the external Callback and stuff. Im new to the phenomenon. can any one halp me? is this possible in AS3?

FK ROCKS!!

Regards
Roshan Kolar

View Replies !    View Related
[F8] Career Guidance?
Hello all,

I'm a burgeoning Flash 'tinkerer' and hope to someday turn it into a career. Since I lack any 'Flash friends' in the industry, i'm a little lost as to what is the best way to go about preparing myself for this. I have no portfolio yet so basically what I wanted to ask you accomplished Flash people out there is, since I don't have a job using Flash yet, how should I go about getting a portfolio together? What kind of pieces should I be working on to include in a portfolio (sites, banners, etc.)? I know this question is pretty broad but I was just looking for any and all advice I could get.

Any help at all would be greatly appreciated.

Thanks!

View Replies !    View Related
New To ActionScript, Need Guidance
Hi all,

Just want to say hello, and glad to have found this forum, i'm hoping it'll help me through my journey of learning actionscript. I'm prety excited to get started learning how to create legitimate web pages, and heard that actionscript is a pretty valuable tool to learn and get can get you a decent paying job. I'm new to Flash and actionscript, but here is what I do know: HTML, Javascript....I also know Java (intermediate level).

I was hoping if a pro could recommend any good beginner actionscript books, of if taking a class would be better....or if there any prerequesites that i would need to take before diving into actionscript...any beginner advice that would help me get off on the right foot would be much appreciated.

Thanks, and again, glad to be here...


JP

View Replies !    View Related
Hands On Guidance
I'm new to Flash and newer still to Captivate. I'm doing something of an evaluation of Captivate and need to export .flv files to that program from Flash. I understand there is an extension necessary; but where is it?

View Replies !    View Related
Question -- Need Guidance
I would like to have the user click a button on a flash page...and when he does...I would like a screen shot of excel (say a jpg file) to kind of nicely show up (kind of bubble up from the button if you know what I mean...but at this point...however it shows up will be ok) .....and then have a place on the sceen shot that allows them to close it as well. Can someone get me on the track of how to do this...or suggest a tutorial or a book?
Much appreciation!
Michelle

View Replies !    View Related
Size Guidance
I have created an ecard with music. I have converted the mp3 to the lowest quality. Currently this swf file is 582 kb. I am seeking some guidance on if this file is too large and how to reduce the size of this file further. If anyone is willing to take a look at this file you can find it here.

Many thanks in advance for any advice anyone has.

Andy

View Replies !    View Related
Datagrid Guidance
Hi,

I am trying to implement a custom cell renderer to display rating stars against the number value from the data provider of the DataGrid (a rating system for songs).

Obviously the user should be able to change the ratings and i am facing problems while trying to implement that.

I tried to use two approaches.
- First i tried to write an onPress function in the custom cell renderer.
Getting the _xmouse when mouse is pressed and setting the rating accordingly.
It works fine, the rating changes
but the problem is that i cannot update the DataProvider(i dont know which row of the DataGrid was updated).
Solutions i am unable to implement:
- If someone can tell me how i can know which specific row was clicked
- or how can i call the CellPress function after my code has executed in order to update the DataProvider of the DataGrid

- Secondly i tried another approach
Getting the _xmouse value in the cellPress function, changing the DataProvider value, and replacing the row using DataGrid.replaceItemAt function.

var xPos = _xmouse - 552;
if (xPos <= 1)strSongs[playable[sel]].rating = 0;

The problem in this case is that _xmouse is received w.r.t. the main flash movie and this approach gives unexpected results if the any column has been resized or removed or if the datagrid has been scrolled horizontally.
Solution which i am unable to implemet:
- Can anyone tell me how can i get _xmouse w.r.t. the Rating column?

I think that the second approach is better but if only i can know who to get the _xmouse value w.r.t. the rating column. At the same time, the first approach does give the _xmouse value w.r.t. the Rating column.
Thanks in Advance.


Regards,
Yasir Nawaz

View Replies !    View Related
Wanted Guidance In AS
Hi,

i want to know more abt Functions & Prototypes.
Can anybody help me to study AS in an oder.

I've only a little knoledge in AS. and c, c++. but that too not extensively.
only i can play around the loops (if,for,while,....)
but it is nowere comparing to the depth of action script .

Now am in a confusion from wer to start !!!!!!!!!!!!!!!!!

so if any one can guide me it'll be a valuble help.

thnks

View Replies !    View Related
Newbie Needs Guidance
hey guys,

I'm trying to replicate something like this -
http://www.bludomain5.com/photo24/index2.php

Do you see the navigation buttons on the bottom? I'm having trouble making the similar effects on mine.

Each button (HOME & GALLERIES) is a movie clip with the following setup


Just for test purposes, I did the following.

*For the HOME button, I put the following AS on a key frame on the actions layer in the main movie-


*For the GALLERIES button, I put the following AS on the button itself


Which way is the right way?

What I want to is like the above URL.
1. the rollOver and rollOut to work properly
2. when a button is clicked, I want the button to freeze on the rollOver frame and the button become unclickable, until I click another button

Please help!

This is my test movie-
http://yooniq.net/test/test.swf

View Replies !    View Related
Need Some Guidance On As3 Basics
Ok, I'll say right off that I'm just starting to learn as3. I wanted to start with a simple project so if anyone can just post here or point me to a tutorial I would be grateful.

I want to start a line in the corner and wherever the user clicks and drags, the other end of the line follows. Do you know what I mean?

Should I be using the drawing api for this? I would like to learn the right way to make sure performance is as fast as can be.

thanks in advance, you guys all rock.

View Replies !    View Related
Need Guidance On CellRenderer
Hi all,
I need to manipulate cellRenderer in a row-by-row basis order to display components based on 'type' in a dataProvider. e.g


ActionScript Code:
dataProvider = [ {label:"FName", type:"text", data:"John"}, {label:"Activated", type:"check", data:true} ]


here you would get 2 rows. The first a normal text cell for the data field, The second - a checked checkbox for the data field.

What I have so far is a cellRenderer class which creates both a text field AND a checkbox in the constructor and sets _visibility to hidden. In the method that paints the cell (setValue() ) I change the relevant one visible based on 'type' in the dataProvider.

Just wondering if anyone can suggest a better way to do this. The problem is that 'type' is not available in the constructor... only after initialization

From what I've seen, cellRenderers posts dont seem to get much help but here's hoping - Just after a bit of direction...

Many thanks.

View Replies !    View Related
Wanted Guidance In AS
Hi,

i want to know more abt Functions & Prototypes.
Can anybody help me to study AS in an oder.

I've only a little knoledge in AS. and c, c++. but that too not extensively.
only i can play around the loops (if,for,while,....)
but it is nowere comparing to the depth of action script .

Now am in a confusion from wer to start !!!!!!!!!!!!!!!!!

so if any one can guide me it'll be a valuble help.

thnks

View Replies !    View Related
Advice & Guidance
Ok i have a client that wants me to make a site similar to this one
http://www.AttractOne.com
He wants me to a similar site or make it even better.Thing is how hard would it be (Flash and ALOT of back-end not mention a secure payment method and lots of bandwidth) and how much should i charge him?How much would You charge him? I personaly was looking at the 700$ and up range (ofcourse if its a quality site!)
thnx for your help!

View Replies !    View Related
Newbie Needs Some Guidance
Hi

I'm new to flash, but have been advised it would do what I want, how I do that, I've no idea.

I need to have an animation timed to a soundtrack. I have the music, but I need to display movement timed to that music. This is to preview balet routines for kites. We currently have a drawing of the moves, which we just look at while trying to time it to the music.

I would like to, for instance, move an object (a kite) along a pre-determined path, for a pre-determined time, while music is playing.

Then I would be able to catalogue the times of significant bits in the music and draw the kite path so that turns and tricks are set to those bits.

I have some programming experience, albeit a few years out of date, so an outline of how I would approach this project would be great.

cheers

Paul

View Replies !    View Related
Need Scrolling/panning How-to Guidance
I'm learning as fast as I can, but I have a hurdle --

I'm a print designer who's done a little rudimentary animation in Flash 4, but it's been a while. Now I'm handed Flash MX and (to me) a pretty big task -- a product guide that a client would like to have scroll in two interdependent directions. I've placed a "sketch" of what I'm talking about here:

http://www.hentosz.com

The panels are static images that will scroll or pan back and forth, or up and down, as described.

If anyone could point me to a book chapter or web tutorial on how to program this baby (I figure it's some Actionscript voodoo for sure) I would greatly appreciate it.

View Replies !    View Related
Php Script Example Needed Or Guidance
I am trying to develop a very simple script.

Simply pulling the data : name, url from the mysql database through php and then printing this info in flash.

Name1
Name2
Name3

Each name would have a link to a page, the hardest part for me is actually writing the array to list these links in flash out of php.

I searched the net for an example of this but found none, could anyone please guide me or show me an example script?

Thank you for the help

View Replies !    View Related
I Need Some Action Script Guidance
I need some Action Script Guidance!
Here is my problem.

I have a bunch of overlapping buttons with a color setting of alpha at 50%, each containing movies that when moused over reveal an animation that ends up at a different state then the hit state of the button.

I need my moused over movies to appear on top of all buttons. They currently bleed over each other.

Here is the movie in question;

http://www.webassassins.com/projects/interlude/

This wasn't going to be a problem until I decided to animate the characters. I was going to have a layer with all the characters at an alpha setting of 50% and another layer on top that would contain the buttons all with no hit state. This would have done the trick, but then we would have the new state on top of the original state.

So in simplier terms,

I need to figure out how I can action script the buttons to bring forward on mouse over. Or a work around!

Thanks in advance,

Dan

View Replies !    View Related
Your Guidance On Client Updates Please.
I am about to make a site for an illustrator of childrens books and she wants a latest news page, which of course will mean regular updates. Ideally I would like to make it so she can update the text on that page herself but I am unsure of the best way to do this, can you advise? There might be usable software for this but I don't know of it. I will be making it in flash mx, not 2004.

Thank you.

View Replies !    View Related
Beginner - Need Guidance - Questions
Hey, I'm a major beginner at Flash (I don't know anything about it, really), and wondering about things. Is there anyone that is willing to help me with flash on AIM? My screenname is Crouching Lotus0 and I'm on often. I would just like to ask a couple of questions on how to do basic manuvers (for example, if I'm stuck on a tutorial or something while learning). I realize I can't ask "how do I make a movie," but I would just like a guide for simple questions. If you could help me, that would be great. Anyways, I have a question regarding actionscript and games.

I'm doing a project for school regarding flash, and I want to make a small little game that demonstrates some action script. My game would be that you have a box that pops out of random places and whenever you click it, you get a point, whenever you miss, you get one added to "missed." Now, I do not have any idea on how to attempt this, really. Could anyone help me (also, if you could help me, could you tell me HOW to do it as opposed to just giving me the actionscript. I'm trying to learn actionscript).

Thanks in advance for everything.

P.S. The tutorials are great here, I'll be looking over them in the next couple of days.

View Replies !    View Related
Guidance To Design A Portfolio - What Is The Best Way?
Hello,

I want to build a simple portfolio, with thumbnails and the active photograph (or multimedia file). I suppose I have to have different movies or scenes for every item on my portfolio - and here is my question:

What is the best way to do it, so in the future, it is easy to add new pages to this portfolio? Does anyone know where I can find a tutorial for that? (I looked around and did not find it).

Thanks in advance for the guidance,

Fernanda

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved