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








MC Issue, Can Someone Advise Me


Hi All,
I am new to flash and I ran across a roadblock in my project.
My Main Page is a Flash Page, which opens all other swf files into a Blank_MC
The problem I seem to have is when I try to open an additional file inside this container in another blank MC, my buttons do nothing. I know I read somehere that to open inside, you need to stack the layers I believe? I tried the following with no luck.

(CODE)
on (release) {
loadMovie("echoscd.swf",_lockroot.ShowStuff_mc);
}

(CODE)
on (release) {
loadMovie("echoscd.swf",_parent.ShowStuff_mc);
}

I also tried _parent._Parent.ShowStuff.mc and Blank_mc._ShowStuff_mc

you can see what i mean at http://www.wolrdclasselvis.com and click on the merchandise page. Any help would be appreciated.
}




KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 08-12-2007, 10:17 PM


View Complete Forum Thread with Replies

Sponsored Links:

PHP - Flash Issue...please Advise
http://studioauditions.com/audeum/index.php

I have included an INCLUDE script to make my flash navigation be on each page, but on my system, when I go to the links, the header loads, but the banner doesn't....but if I refresh it does just fine.

Home / Components / and Advantage are the only active pages....and they aren't finished, just samples...

Is this a MacOSX issue or a flash issue?

What is best practice for including embedded flash navigation in php pages?

I did use the active control update scripts also and just embedded all the code into each table row/....could this be why??

View Replies !    View Related
Map Zoom Out Boundary Issue - Please Advise.
Hi there,

I've been working on a map with zoom and panning functions, searched all over the net and havn't been able to find an example which is similar enough to borrow the code from.
I've managed to get the map to zoom in, pan and have border collision. The trouble is when the map is zoomed in it whilst the map is directly on one of the borders it no longer zooms. I understand that the if statements I have used are not perfect but wasn't sure how to go from here really.

Anyway the map is at this url: http://eddy.tickle.co.uk/map/map.html hope someone can help.

My code is as follows:


Code:
// Robert penners easing equations
import com.robertpenner.easing.Linear;
var time = 1;

// Defaults
var mapWidth = this.map_mc._width;
var mapHeight = this.map_mc._height;
var mapScrollAmt = this.map_mc._width / 10;
var yScrollStart = 150;
var xScrollStart = 150;
var yScrollLimit = Stage.height;
var xScrollLimit = Stage.width;
var scrollTiming = 5;
var zoomMode = false;

var zoomInExtent = 200;
var zoomOutExtent = 45;
var zoomAmount = 20;

map_mc._xscale = 40;
map_mc._yscale = 40;

function mapUp() {
ind._x = map_mc._x;
ind._y = yScrollStart;
trace("Map y: " + map_mc._y)
if (map_mc._y - (map_mc._height / 2) + mapScrollAmt < 0) {
// Ease it
easeType = mx.transitions.easing.Strong.easeOut;
var begin = map_mc._y;
var end = map_mc._y + mapScrollAmt;
y_twn = new mx.transitions.Tween(map_mc, "_y", easeType, begin, end, time, true);
}
}
function mapDwn() {
if (map_mc._y + (map_mc._height /2) - mapScrollAmt > yScrollLimit) {
// Ease it
easeType = mx.transitions.easing.Strong.easeOut;
var begin = map_mc._y;
var end = map_mc._y - mapScrollAmt;
y_twn = new mx.transitions.Tween(map_mc, "_y", easeType, begin, end, time, true);
}
}
function mapLeft() {
trace("Map x: " + (map_mc._x - (mapWidth /2)));
if (map_mc._x - (map_mc._width /2) + mapScrollAmt < 0) {
// Ease it
easeType = mx.transitions.easing.Strong.easeOut;
var begin = map_mc._x;
var end = map_mc._x + mapScrollAmt;
y_twn = new mx.transitions.Tween(map_mc, "_x", easeType, begin, end, time, true);
}
}
function mapRight() {
if (map_mc._x + (map_mc._width /2) - mapScrollAmt >= xScrollLimit) {
// Ease it
easeType = mx.transitions.easing.Strong.easeOut;
var begin = map_mc._x;
var end = map_mc._x - mapScrollAmt;
y_twn = new mx.transitions.Tween(map_mc, "_x", easeType, begin, end, time, true);
}
}

this.up_btn.onPress = mapUp;
this.dwn_btn.onPress = mapDwn;
this.left_btn.onPress = mapLeft;
this.right_btn.onPress = mapRight;

this.plusZoom.onPress = function () {
trace("Map xscale: " + map_mc._xscale + " Map yscale: " + map_mc._yscale);
if (map_mc._xscale < zoomInExtent) {
// Ease it
easeType = mx.transitions.easing.Strong.easeOut;
var begin = map_mc._xscale;
var end = map_mc._yscale + zoomAmount;
yscale_twn = new mx.transitions.Tween(map_mc, "_yscale", easeType, begin, end, time, true);
xscale_twn = new mx.transitions.Tween(map_mc, "_xscale", easeType, begin, end, time, true);
}
}
this.minusZoom.onPress = function () {
trace("Map xscale: " + map_mc._xscale + "Map yscale: " + map_mc._yscale);

// Calculate the new position of the maps right hand side
mapScale = (map_mc._width / 100);
mapRightPos = map_mc._x + (map_mc._width / 2);
mapRightPosNew = mapRightPos - (mapScale * zoomAmount);

// Calculate the new position of the maps top side
mapScale = (map_mc._height / 100);
mapTopPos = map_mc._y - (map_mc._height / 2);
mapTopPosNew = mapTopPos + (mapScale * zoomAmount);

// Calculate the new position of the maps bottom side
mapScale = (map_mc._height / 100);
mapBttmPos = map_mc._y + (map_mc._height / 2);
mapBttmPosNew = mapBttmPos - (mapScale * zoomAmount);

// Calculate the new position of the maps left side
mapScale = (map_mc._x / 100);
mapLeftPos = map_mc._x - (map_mc._width / 2);
mapLeftPosNew = mapLeftPos + (mapScale * zoomAmount);

trace("Map r handside pos: " + mapRightPosNew + "Map scroll limit: " + xScrollLimit);

// Scale map out if zoom extent and x scroll limit has not been reached
if (map_mc._xscale > zoomOutExtent) {
if(mapLeftPosNew < 0 && mapTopPosNew < 0 && mapRightPosNew > xScrollLimit && mapTopPosNew < 0 && mapBttmPosNew > xScrollLimit)
{
// Ease it
easeType = mx.transitions.easing.Strong.easeOut;
var begin = map_mc._xscale;
var end = map_mc._yscale - zoomAmount;
yscale_twn = new mx.transitions.Tween(map_mc, "_yscale", easeType, begin, end, time, true);
xscale_twn = new mx.transitions.Tween(map_mc, "_xscale", easeType, begin, end, time, true);
}
}
}

View Replies !    View Related
Please Advise On Custom Scrollbar Issue
Hey all, thanks in advance for your help with this:

I have a SIMPLE scrollbar that I am trying to make and I thought that I had a good grasp of the concept behind it:

Basically I have a thumb MC whose position is constricted to the bounds of a Channel MC. If it is a vertical scroll bar, the top position in the channel represents 0% scroll and the bottom position represents 100% scroll.

Then I take the scrollPercentage and multiply it by the scrollDistance of the content I wish to scroll which is derived below.

I just don't get the content clip to scroll correctly.


ActionScript Code:
//inside the scrollbar mc
this.initBar=function () {
this.scrollContent=this._parent.scrollContent;
this.scrollMask=this._parent.scrollMask;
this.channel._height=this.scrollContent._height-2*this.upArrow._height;
this.upArrow._height=this.dnArrow._height=this.upArrow._width=this.dnArrow._width;
this.upArrow._x=this.dnArrow._x=this.scrollMask._x+this.scrollMask._width+this._width;
this.upArrow._y=0;
this.dnArrow._y=this.channel._height-this.dnArrow._height;
this.thumb.ymin=this.channel._y;
this.thumb.ymax=this.channel._y+this.channel._height-this.thumb._height;
this.scrollContent.ymax = this.channel._y;
this.scrollContent.ymin=this.channel._y+this.channel._height-this.scrollContent._height;
this.onEnterFrame = function () {
var scrollRatio=1-(this.thumb._y-this.thumb.ymin)/(this.thumb.ymax-this.thumb.ymin);
this.scrollContent._y=this.scrolLContent.ymin+(scrollRatio*(this.scrollContent.ymax-this.scrollContent.ymin));
}
}
initBar();


So it almost works. I just can't get scrollContent.ymin and ymax to work out correctly. So it starts out way above the mask and end scrolls way not quite enough below the top edge of the mask.

I am sure that somehow I'm getting a relative y mixed in with all of this, but I can't figure it out.

Any help would be greatly appreciated.

Jase

View Replies !    View Related
Please Advise
i'm going crazy. trying to provide a link to http://www.flashkit.com from a button, but when i click on the button, it opens a new window as told, but then displays:

http://www.mysitename.com/www.flashkit.com

and the inevitable "cannot display page" error message. please help. how do i provide just the link to the new page (www.flashkit.com and not http://www.mysitename.com/www.flashkit.com)

thanks in advance....

View Replies !    View Related
Advise
I have some actionscript experience but most of my flash is done with frames (I havent learned about variables, etc.) .a customer of mine wants to duplicate an effect that is displayed here:

http://www.myimpactengine.com/person...11510402936521

when a button is clicked, the background moves.
it seems like it would be simple to duplicate but I havent figured out how it can be done easily (without some serious actionscript). Id like to get on the road to learning about this but perhaps someone could give me a direction first.

Thanks!

View Replies !    View Related
Advise?
Hi,
I want some advise from all of you. I have a webpage in javascript and I want to have something with flash on my index/homepage, the first page of my website.
It must be something like pictures of my cats moving along.
I just started working on my sie a month ago, so I understand javascripts, but not flash parts. Can someone advise me what to do and how to do it?

I use wanadoo (Holland) as host, does it support FLASH? Or do all hosts support flash?
I may sound silly, but I think you're right about that. I'm still a newbie in the homepage business!

Greetzz
Marit

View Replies !    View Related
Advise
Can someone please download this file and give me some feedback.... I would like to know if this is the correct way of doing this.

Please help.

View Replies !    View Related
Need Advise
Can someone look at this page and tell me what I can expect to pay for an intro like this one? http://www.diabloracingwheels.com/
The reason I ask is that I have tried several times to create one and unfortunatetly I have failed . My site has no flash and I would like to give it some sort of eye candy "any suggestions would be appreciated. This is my site by the way.. http://www.lvrimshop.com
Thx Danny R.

View Replies !    View Related
Need Advise
Well this is my problem:
If I make a flash comonent/site, with a menu and you click on a button the content appears. Now if you click another button in the menu the animation from the content has to go on (or go backwards) that's no problem but how do I let i get started when the animation is done.

For example: you click on the button, and everything appears slowly or fades in, now when someone clicks on another button the animation should go on fading out for example and if this is finished the next item, content, or MC can fade in.

Kind Regards Pieter van Stee
alias flax

Hope there are some who can answer me

View Replies !    View Related
Any Advise Ou There?
Hello people...

Just starting out to learn how to use FLASH.

Tried to run through the tutorials...but am still a little lost.

Finding it hard to get to grips with this bloody program???

Have looked at some of the crations psoted on here.....

.....BLOODY GOOD!!!!

Have ordered a few books to see if this will help.

Any advise / help will be greatly apprciated!!

Regards,

Mark.

View Replies !    View Related
Advise Please
Hello, Im new to flash but i did manage to create and place This Banner on my site using slide show pro, it has working hyperlinks like I wanted etc, but i would like to jazz it up a bit and make it a bit more advanced, does anyone have any tips?





























Edited: 02/23/2007 at 08:08:39 AM by wotta

View Replies !    View Related
Nid Some Advise....
ammm....can anyone give some advise on creating a game in adobe flash cs3 because we have a bit problem in bluetooth.
can i establish a bluetooth connection in this software for mobile phones?

View Replies !    View Related
Can Anyone Advise?
I HAD A RESPONSE YESTERDAY ON HOW I SHOULD PLACE MY MOVIE ON A CD IF I WERE TO COPY FOR OTHERS TO VIEW .
AND A MEMBER SUGGESTED I OUTPUT THE FLASH AS AN "EXE"
DOES THAT MEAN WHEN I PUBLISH THE MOVIE I CHOOSE EXE ONLY AND THEN THAT IS WHAT I COPY ON THE CD?
WILL THIS RUN SMOOTHLY FOR PC AND MAC USERS??????????
ALSO HE SUGGESTED I MAKE IT AN AUTORUN ON THE CD ..........
HOW DO I DO THAT???????????
PLSE ANYONE WITH THE KNOWLEDGE!!!
THANX

View Replies !    View Related
What Do U Advise ?
hi guys,

i have just registered in this great forum.

i liked the tutorials in this site, they r really great

i am new flash mx user. in fact, i don't know too much about this program

i will be glad to hear from you guys some tips about using this program for the first time.

i would like you to write about ur experiences in this program and how you got ur skills

yours: elya

View Replies !    View Related
Can Anyone Advise?
I HAD A RESPONSE YESTERDAY ON HOW I SHOULD PLACE MY MOVIE ON A CD IF I WERE TO COPY FOR OTHERS TO VIEW .
AND A MEMBER SUGGESTED I OUTPUT THE FLASH AS AN "EXE"
DOES THAT MEAN WHEN I PUBLISH THE MOVIE I CHOOSE EXE ONLY AND THEN THAT IS WHAT I COPY ON THE CD?
WILL THIS RUN SMOOTHLY FOR PC AND MAC USERS??????????
ALSO HE SUGGESTED I MAKE IT AN AUTORUN ON THE CD ..........
HOW DO I DO THAT???????????
PLSE ANYONE WITH THE KNOWLEDGE!!!
THANX

View Replies !    View Related
Need Some Help And Advise Please
Hi guys, At my work a client asked for us to produce a cd-rom, so far i have made the flash version which can be seen here: http://www.bbi.co.uk/cipflash/
My problem is that according to our client the flash is very slow and sluggish throughout on there pc ( i know they are on dial-up so the initial loading may take time, but it is going on cd, so this shouldnt affect it), there will be a html version too on the cd for old comps/ or non flash users.

As it runs fine on our pc's here, Could you guys give me your feedback on how slow/sluggish you find it, possibly what specs your machine is roughly, and any advise on ways to improve it to make it run better.

many thanks

View Replies !    View Related
HELP - Need Advise Or Tip
Please check out my first flash site - http://www.ontronik.com - need advise on how to make it more smoother. Please help.

View Replies !    View Related
Looking To Get Started, Need Some Advise.
I would like to be able to take some screen shots I have from some games and put them into a slide show. I would like to be able to time the frame changes and perhaps have one frame fade into another. I would like to be able to have a soud file running with it at the same time. I want to put this on a website for my friends to look at and enjoy.

Is there any free software that will allow me to do this?

If not, is there any very inexpensive software that will work?

Thanks!

-S

View Replies !    View Related
Please Advise...new Flasher Here
Hi all,

I am a contract flash developer. My client wants me to make up a movie like the one on "www.buydomains.com"

He loves that mouse over effect... I have been trying to duplicate it but its not as clean as it is on that site.

I am new in flash... could u help me what i should be doing exactly...

Thanks for all ur help...

someone6767

View Replies !    View Related
Clean Up Advise
I have a flash site that has 100+ buttons in the library. About 50-60 of them are being used in the movie. Can anyone give any advise on the easiest way to clean up my library. There has been several different hands in this project so that the naming conventions of the buttons also need to be cleaned up.

One way I came up with is to go to the Movie Explorer and print out the buttons/movies/graphic. Can anyone tell me if these are buttons that are used in the movie or does this screen show the ones not being used as well.

Does anyone know of a better way of doing this?

View Replies !    View Related
Forms Advise
How hard is to do forms in flash mx? The form would be like a loan application or a survey.
I have done forms with cgi bins in html. Could I do this with flash or even have a form that is filled out by a user, that would be sent to an email address for approval.
Or should I stick to html on this?

View Replies !    View Related
Messed Up - Please Advise
Okay, I'm having a day from the deepest hell! I just finished a movie for a client and sent them the swf and then getting out of a taxi dropped my laptop and it is absolutly dead beyond belief with the fla on it!

now i have to change the fla but don't have it - but i do have the swf but how can i open this again in flash - it's been protected from import!!! is their flash ripper or something that can open this or similar software and if so where can i get it from????

please help! thanks! tasvin

View Replies !    View Related
Need Some Advise :: Can I Create An Swf From Within An Swf?
I am trying to workout the best way to do this, any ideas are welcomed.

I need to build a flash program that enables the user to configure a combat scenario using a set of defined elements.

It will involve the selection of Swat team members and the configuration of their specific actions.

The user will then have to draw the path for that member and set the timing - and be able to preview the result. This will need to be repeated to get the team (<20) to work in time.

------ This is the part I need help with -------
They then will need to be able to publish the result as a separate swf file (or a better solution) - minus the configuration options - to be able to view the complete scenario independantly. The results must be accessible as separate files.

All suggestions are welcomed.

View Replies !    View Related
Need To Understand...please Advise...
OK,

I've been working with Flash and creating animations for a couple years now.
I don't understand, I typically have the FPS set to 25 but I can never get any really interesting action effects the way I see on "i want my flash tv". It seems there is a way to make certain movie clips move a heck of a lot faster than the rest of the movie.
How are they doing this? ActionScripting?
All my animations seem 'same paced' even though a few things may move a tad quicker. And, also, if I have things that rollover with a movie clip attached and I move the cursor rapidly over all of them, it's as if the system can't handle it and they all slow down substantially.
Why is this? What are these magicians doing that is making theirs work no matter what computer someone is on?

Oh! Another thing, I have preloaders on all of my work but; I noticed that when I click to activate one of my animations the screen goes white for about 15 - 20 seconds before they even get the actual preloader, and by then it's loaded so they don't see the little animation. I have never witnessed this problem on the animations of all those pros. How can I avoid that problem?

Finally, I tend to draw everything in Illustrator & import as .swfs into Flash. Would you agree that all of these animators are drawing out each and every single slight frame, scanning in & tracing? It seems so time-consuming, especially if you are capturing different angles/dimensions of a character. But that must be the way, surely?
What is their secret for speed & efficiency? Are they breaking up the body parts & animating separately? -- They seem so seamless though!
And what about when they have a "camera" move around a character..I really believe there must be a trick to that, be it tracing over 3D animated frames as 2D or importing digital footage that they trace?!

Please advise me...I really would like to enhance my work.

Thanks!!! I don't want to give up.

View Replies !    View Related
Two Things I Need Advise With. :)
can any1 point me in the right direction on two things please.

how do i learn to make cartoons on flash?

and...

how do i build a hit counter onto the site?

thnx
G

View Replies !    View Related
Needing Advise...
please check out my site.... ive been wworking on it for about 3 days now but I am out of Ideas.....any suggestions would be great...
www.indyextremecustoms.com

View Replies !    View Related
[F8] Can Someone Advise Me On How This Is Done? Please..desperate
Hi Forum

Im looking for some help or to be sent in the right directions I have to design a music band website and would very much like to do a transition between different pages - I'm
enclosing an example done by nicktoonsnetwork - basically the concept
that i have is that the band will be playing in different rooms of a
house and each time you go to a new room you have to pass through all
the other rooms ( its just like tween from one room to the next) do
you think that this is possible? i have seven rooms!!!!!!!

any help or if you can point me in the right direction i would be so grateful

http://www.nicktoonsnetwork.com/sho...fest/nnaf.jhtml

many thanks
nik

View Replies !    View Related
Study Advise
Hey i was wondering if somebody good tell what would be a good book to buy if i want to learn to build sites like this http://www.douglasfisher.co.uk/
Most actionscript books show you how to build a digital clock or a color slider but i dont want to learn that stuff i want to learn about tweened websites like the douglas fisher.
Movement with actionscript and maybe even the use of xml.
Can somebody advise me in a good book, cause tutorials dont really go deep enough to learn and build a whole site like that.

View Replies !    View Related
Need Some Advise :: Can I Create An Swf From Within An Swf?
I am trying to workout the best way to do this, any ideas are welcomed.

I need to build a flash program that enables the user to configure a combat scenario using a set of defined elements.

It will involve the selection of Swat team members and the configuration of their specific actions.

The user will then have to draw the path for that member and set the timing - and be able to preview the result. This will need to be repeated to get the team (<20) to work in time.

------ This is the part I need help with -------
They then will need to be able to publish the result as a separate swf file (or a better solution) - minus the configuration options - to be able to view the complete scenario independantly. The results must be accessible as separate files.

All suggestions are welcomed.

View Replies !    View Related
XML + FLASH: Need Advise
Hello mates,

i need some advise on a Human Resource application i'm developing :

I have an xml file containing categories of competences ("metacompetences") each of which contains a number of competences ("competences").
The flash UI will allow users to update the xml-loaded values, and save it back in the mySQL database.

Since it's my first tryout with xml i'm not really at ease working with it.
Anyway, i figure out i need to store the loaded values inside flash, so i need to create variables holding the xml values i need.

I think using multidimensional arrays would be the right way to store the data in flash. Am i correct ?
But i can't seem to conceptualize that correctly.

here, have a look at the xml sample :

Code:
<normProfile normTypeId="1" authorId="2" normTypeName="Developer" normName="web designer" companyId="2" companyName="pixeline" >
<metaCompetence metaCompetenceId="1" metaCompetenceName="IT development" metaCompetenceDescription="Compétences nécessaires pour développer">
<competence competenceId="1" competenceName="Connaissances PHP" miniValue="Dumb and dumber" maxValue="Expert"/>
<competence competenceId="2" competenceName="Connaissances HTML" miniValue="Null" maxValue="Expert"/>
<competence competenceId="3" competenceName="Connaissances CSS" miniValue="Null" maxValue="Expert"/>
</metaCompetence>
<metaCompetence metaCompetenceId="2" metaCompetenceName="Marketing skills" metaCompetenceDescription="Competences nécessaires pour Vendre son travail">
<competence competenceId="12" competenceName="Présentation" miniValue="Dumb and dumber" maxValue="Expert"/>
<competence competenceId="23" competenceName="Communication orale" miniValue="Null" maxValue="Expert"/>
<competence competenceId="34" competenceName="Communication écrite" miniValue="Null" maxValue="Expert"/>
<competence competenceId="13" competenceName="Connaissance Anglais" miniValue="Null" maxValue="Expert"/>
<competence competenceId="15" competenceName="Connaissance du néérlandais" miniValue="Null" maxValue="Expert"/>
</metaCompetence>
</normProfile>

how do i create arrays out of this, and how can i address the stored data afterwards ?

thanks a lot for your help,

Alex

View Replies !    View Related
Code Advise Please
I want to create a little portable flash file that alerts me 2 days in
advance of someone's upcoming birthday. I assume I need to create a xml
file reference but I have no idea how to start....any ideas would be
appreciated. I have FLASH CS4.

View Replies !    View Related
Help / Advise With This Menu.
this menu i am talking about: on
http://bodyvisual.com/
Ive asked him personally but he dont have any example of the menu anymore.
Somebody can help me in the right direction?
I really like the menu, its so user friendly.
Oh and i am talking on the most left- menu.

View Replies !    View Related
Script Advise
I have a working script that allows next button to be disabled until sound is complete.

playme = function(){
page1WAV = new Sound();
page1WAV.loadSound("page1.wav",true);
next.enabled = false;
myMP3.onSoundComplete=function(){ next.enabled = true; };
};

next.onPress = function(){ playme(); };

On last button frame I can do my next

currently since this is only an example I have everything (including next button). together on one timeline.

However, in true work form it would be an unworkable mess and a nightmare to edit
Clip nav should be in seperate movie from sound.

Although currently I myself have little working knowledge of actionscript, I do know enough to know that if everything is NOT
exactly right & attached to the right mc or frame it flat won't work!

Can I still use this script & control buttons in the same way if they are in two seperate MC's (buttons & Sound)

Any advice you can share would be gretly appreciated.
BTW---If it matters or not I am publishing in Flash 5 player.

Thanks
Janet

View Replies !    View Related
Can Anyone Advise Me...for A Website
Hi, I need someone to help me with a tutorial or can tell me how to make the eye follow the mouse same as it is in this website: http://www.seen.co.uk

Thanks,
Regards.

View Replies !    View Related
Advise Needed
Greetings! I am told to develop an application that is relating to arts. But I am confused on how should I go about to do so, therefore, I am desperately seeking advice on how should I approach this.


Okay. There is two templates, a template for teacher and a template for student.


For the student's template, an image will be displayed with a colour palette and a drop down menu for the student to select the answer that describes the painting. As for teacher's template, the teacher will choose and decide on the appropriate words that describes the image.


My question is how do I get the teacher's version to be synchronized to the student's version? Or at least someone has a better alternative they can suggest?

View Replies !    View Related
Complex Navigation, Please Advise
Hi, thanks for taking time to help me.
Ok, I'll try to describe this as simply as possible.
I have five buttons. For simplicity sake, lets call them, buttons A, B, C, D and E. I also have five symbols that I want to animate as a result of pushing a button. Let's call them 1, 2, 3, 4 and 5. These symbols are all some kind of translucent menu with text, based upon the button pressed.

Goals:

1) To create a short motion graphic based upon a mouse click. For example, when User clicks button A, then symbol 1 comes sliding in. The coding I'm using is:

on (release) {
gotoAndPlay (135);
}

I put a stop (); action in the main time line at frame 145 (for example), after 10 frames of movement by the symbol.

2) When User clicks the same button again, while attached symbol is visible, nothing should happen, meaning the mouse click SHOULD NOT send User back to frame 135. Likewise, when User clicks another button, like button B, then symbol 2 should appear, with the same conditions.

Problems:

1) When User clicks button A for a second time the symbol disappears, click it again and it reappears. This counteracts goal #2.

2) If User clicks another button there are unpredictable results and accessing information becomes confusing.

(As you can already tell) I'm not very good at ActionScript. But if I guess, I'd say I need to create either a function or an if then, else phrase. (Right?).
So can you please tell me the code I need, or at least point me in the right direction?
Thanks so much!!
JOyMonkey

View Replies !    View Related
Preloading Links Advise
Just wondering if there is some tut out there, that explains how to preload movies that are loaded into mc_targets so that there isn't that delay before the information is shown.
Thanks in advance for helping;

View Replies !    View Related
Expert Advise Needed
Hello All,

I have a quick question, I want to build an interactive test inside a flash movie, where the user can make choices to answer questions and be given a final score at the end. And if the score is high enough they would be able to print off a token certificate to prove they passed. I think it would be best to do a simple button selection system, say choose A,B,C or D but I may be wrong, can anyone who has an idea point me in the right direction? with first hand help or send me a link to a good tutorial many thanks and all the best Paul...

View Replies !    View Related
GetURL() Problem. Please Advise
Im trying to open a blank window from a button in a flash movie and specify it's width and height using the following code:
code:
getURL("javascript:window.open('http://www.newwindow.com','newwindow','width=300, height=300');","new");

This works for the most part BUT.. for some reason it opens two windows as apposed to only one. One of the windows displays [ object ] or something and the other one launches like i intended. I'd really prefer that only the one window launched. I realize an alternative would be to put a javascript function in the head of the html file and call it but I'd much rather be able to do it this way. Any help would be much appreciated. Thanks!

View Replies !    View Related
Mpg Imports No Audio Please Advise
The mpg file will import but indicates "no supported audio", any ideas how to get around this?

thankx

View Replies !    View Related
2 Video Questions - Please Advise
Hey All,
Has anyone placed a 1 hour video (360x480) into flash? Does it hold up? It is for a cd not the web. The other question is are there any software programs out that that will sinc the video text with the video in flash?

Any asistnce appreciated.

Thanks

View Replies !    View Related
Flash In VB Applications...need Advise
Hi all. I am very new with flash but have had some experience with visual basic 6 and .NET. I want to include flash 2D animations in a visual basic software program that allows the user to interact with the animations. For example the animations might be of machinery operating. The user could start and stop the machine parts, zoom in, back up...etc. The user would also need to be able to move the various parts around as easly as you and I move icons around on our computer desktop. Can this type of app be developed in FLASH alone or would I need to develope a VB front end interface that the user could use to call up flash movies? I suppose I am asking would I have to intergrate FLASH into the VB app and would I have to include a web browser in the app to get FLASH to work? . Can anyone direct me to books, whitepapers, websites...etc that might deal with this subject?
I apologize If I have posted to the wrong form. Thanks all. ultraflt@earthlink.net

View Replies !    View Related
Please Advise On Resizing Ill Icon For 12 X 12 Png
Hi,

Any advice for resizing illustrator icons into very small, very sharp 12 x12 pixel pngs? I have not down this before and my thought is to bring the icon from illustrator into photoshop large and at about 3600 dpi and continue to re-sample it down, then saving as a png. It looks pretty good but could be much sharper. Does anyone have experience doing this? I need to use photoshop for this. I am aware there are icon resize programs out there but that is not an option for me.

Can any experts out there advise?

Thank you,
Chaka

View Replies !    View Related
[F8] Advise On Project For Projection Please.
Hi there,

I was hoping to get some advice on a project I'm undertaking, It's an advertising animation for a drinks company, to be projected onto screen at nightclubs.

So far my main concerns are thus:

Frame rate: I have this set to 24fps, yet some of the graphics still seem to judder on screen, so I guess I'd like to know why, and how to improve them.

Resolution: I am slightly concerned about how the final projection will look on a big screen, as compared to my 1024 x 768 screen, has anyone any idea if it suffers much?

Text: Although 99% of the project text is symbols, whats the best way to ensure that text output is as designed, when not symbols?

I am using Flash 8.

Thanks in advance for any feedback, it will be greatly appreciated.

Dav.

View Replies !    View Related
Pinball Functionality: Almost There: Need Advise
Hello!
I'm making great progress on a pinball-like game, but could use some expert advise on the checklist below.

I'm reading a book called "Foundation Actionscript Animation" by Kieth Peters, and it is very helpful! I'm using code from the book and have expanded on it a bit myself. Here is my task list so far for this personal project:

[x] gravity effects ball
[x] ball bounces off stage edges
[x] ball collision with diagonal lines
[x] ball bounces off diagonal lines
[x] ball bounces off bottoms of lines
[o] fix issue where some lines (not all) seem to collide with the ball past the visible line
[o] ball bounces off vertical lines (nope - ball goes through vertical lines)
[o] ball bounces off of line edges (nope - ball goes through edges of lines)
[x] ball collides with circles
[o] ball bounces off circles (sort of, but without the bounce - more like thud)

Any idea on how to resolve any of my "[o]" issues? I'm so close! I want to get past the mathematical craziness so that I can focus on things I enjoy most like plot line, design, and music. Any help would be much appreciated.

You can see this in action at:
http://www.christopherstevens.cc/ball

Below is the script and links to examples of what I have so far. Let me know if I can clarify anything.


Code:
var vx:Number = 0;
var vy:Number = 0;
var gravity:Number = .5;
var bounce:Number = -.7;
var left:Number = 0;
var right:Number = Stage.width;
var top:Number = 0;
var bottom:Number = Stage.height;
var dragging:Boolean = false;
var oldX:Number;
var oldY:Number;

function onEnterFrame():Void
{
if(dragging)
{
vx = ball._x - oldX;
vy = ball._y - oldY;
oldX = ball._x;
oldY = ball._y;
}
else
{
vy += gravity;
ball._x += vx;
ball._y += vy;

for(var i:Number = 0;i<5;i++)
{
if(checkLine(this["line" + i]))
{
break;
}
}

//chris add
for(var i:Number = 0;i<5;i++)
{
if(checkCircle(this["circle" + i]))
{
break;
}
}

if(ball._x + ball._width / 2 > right)
{
ball._x = right - ball._width / 2;
vx *= bounce;
}
else if(ball._x - ball._width / 2 < left)
{
ball._x = left + ball._width / 2;
vx *= bounce;
}
if(ball._y + ball._height / 2 > bottom)
{
ball._y = bottom - ball._height / 2;
vy *= bounce;
gravity = -gravity;
}
else if(ball._y - ball._height / 2< top)
{
ball._y = top + ball._height / 2;
vy *= bounce;
gravity = -gravity;
}
}
}

function checkCircle(circle:MovieClip)
{
var dx:Number = circle._x - ball._x;
var dy:Number = circle._y - ball._y;
var dist:Number = Math.sqrt(dx*dx+dy*dy);
var minDist:Number = (circle._width / 2) + (ball._width / 2);
if(dist < minDist)
{

//trace("ping!");
var angle:Number = Math.atan2(dy, dx);
var targetX:Number = ball._x + Math.cos(angle) * minDist;
var targetY:Number = ball._y + Math.sin(angle) * minDist;
var ax:Number = (targetX - circle._x);
var ay:Number = (targetY - circle._y);

vx -= ax;
vy -= ay;

ball._x -= ax;
ball._y -= ay;
}
}

function checkLine(line:MovieClip)
{
var bounds:Object = line.getBounds(this);
if(ball._x > bounds.xMin && ball._x < bounds.xMax)
{
// get angle, sine and cosine
var angle:Number = line._rotation * Math.PI / 180;
var cosine:Number = Math.cos(angle);
var sine:Number = Math.sin(angle);

// get position of ball, relative to line
var x:Number = ball._x - line._x;
var y:Number = ball._y - line._y;

// rotate line
var y1:Number = cosine * y - sine * x;
var vy1:Number = cosine * vy - sine * vx;


if(y1 > -ball._height / 2 && y1 < vy1)
{
//bounce above the line

// rotate line
var x1:Number = cosine * x + sine * y;

// rotate velocity
var vx1:Number = cosine * vx + sine * vy;

// perform bounce with rotated values
y1 = -ball._height / 2;
vy1 *= bounce;

// rotate everything back
x = cosine * x1 - sine * y1;
y = cosine * y1 + sine * x1;
vx = cosine * vx1 - sine * vy1;
vy = cosine * vy1 + sine * vx1;

// reset actual ball position
ball._x = line._x + x;
ball._y = line._y + y;
}
else if(y1 < ball._height / 2 && y1 > vy1)
{
//bounce under the line

// rotate line
var x1:Number = cosine * x + sine * y;

// rotate velocity
var vx1:Number = cosine * vx + sine * vy;

// perform bounce with rotated values
y1 = ball._height / 2;
vy1 *= bounce;

// rotate everything back
x = cosine * x1 - sine * y1;
y = cosine * y1 + sine * x1;
vx = cosine * vx1 - sine * vy1;
vy = cosine * vy1 + sine * vx1;

// reset actual ball position
ball._x = line._x + x;
ball._y = line._y + y;
}

}
}

ball.onPress = function()
{
oldX = this._x;
oldY = this._y;
dragging = true;
this.startDrag();
}
ball.onRelease = ball.onRelease = function()
{
dragging = false;
this.stopDrag();
}

View Replies !    View Related
Application Development Advise
Hello.

I just downloaded Flash CS3 in order to evaluate its capability to create a full interactive application for process simulation.

There are several types of machines and product to be simulated, so a database has to be constructed in order to make an automatic 1/2D search based on user input and execute the applicable mathematical calculations (such as vlookup and hlookup MS Excel functions).

Also, popup message boxes has to be included in order to warn the user about possible errors and/or machine/product specifications conflicts.

Is Flash CS3 the best application for this purpose? Which would be the best programming language, ActionScript 2 or 3?

Kinds regards.

View Replies !    View Related
Keyframe Anumation - Need Advise Please
Hi,
I made a ripple effect in Adobe after effects 6.5 - size 640x480 - 5 sec duration + 30frames. So I have a movie clip with 150 frames and a size of almost 10 MB (while exporting image quality 3 only).
It it not possible to import or animate such a file in Flash.
Am I missing any point?
Need advise please
Thanks

View Replies !    View Related
Keypress From Hell - Please Advise
I'm creating a crossword puzzle - I have a grid created from individual "cell" MovieClips, each with its own class and variables/functions.

My problem has to do with recursion, I think, but I can't seem to spot it.

Here's my simplified code:


ActionScript Code:
///////// my code
    ////////////////////////////////////////////////////////////////
    // VISUALLY SELECTS THE CELL AND SETS ITS ACTIVESTATE TO TRUE //
    ////////////////////////////////////////////////////////////////
    public function selectCell():Void {
        ////////////////////////
        // KEY INPUT LISTENER //
        ////////////////////////
        var keyPressListener = new Object();
        keyPressListener.onKeyDown = Delegate.create(this, onEnterLetter);
        Key.addListener(keyPressListener);
        //////////////////////////
        // DEACTIVE OTHER CELLS //
        //////////////////////////
        for (var i = 0; i<18; i++) {
            for (var j = 0; j<18; j++) {
                if (j == getXLoc() && i == getYLoc()) {
                    // do nothing
                } else {
                    if (getStartingMC()["cell_"+j+"_"+i].getActiveState() == true) {
                        getStartingMC()["cell_"+j+"_"+i].deselectCell();
                    }
                }
            }
        }
        ////////////////////////////////////////
        // ACTIVATE THE CELL THAT WAS CLICKED //
        ////////////////////////////////////////
        setActiveState(true);
    }

    ///////////////////////////////////////////////////////////////////////////
    // RETURNS THE VARIABLE TO DETERMINE WHETHER OR NOT THE CELL IS "ACTIVE" //
    ///////////////////////////////////////////////////////////////////////////
    public function getActiveState():Boolean {
        return cellActive;
    }

    ///////////////////////////////////////////////////////
    // SETS THE CELL TO EITHER ACTIVE OR INACTIVE STATES //
    ///////////////////////////////////////////////////////
    public function setActiveState(option:Boolean):Void {
        cellActive = option;
    }

    //////////////////////////////////////////////
    // DEACTIVATES THE CELL, AMONG OTHER THINGS //
    //////////////////////////////////////////////
    public function deselectCell():Void {
        setActiveState(false);
        // contains other goodies to return the cell to its original visual state, which I've omitted to save space.
    }

    ///////////////////////////////////////
    // WHEN A LETTER KEY IS PRESSED ... //
    //////////////////////////////////////
    public function onEnterLetter():Void {
        if (getActiveState() == true) {
            if (Key.getCode()>=65 && Key.getCode()<=90) {
                ////////////////////////////////////
                // DISPLAY THE LETTER IN THE CELL //
                ////////////////////////////////////
                getCellMC().ON.letterBox.text = String.fromCharCode(Key.getAscii()).toUpperCase();
                /////////////////////////////////////////////
                // IF IT'S INCORRECT, DISPLAY THE RED X MC //
                /////////////////////////////////////////////
                if (String.fromCharCode(Key.getAscii()).toUpperCase() == getCellLetter()) {
                    getCellMC().ON.X._visible = false;
                } else {
                    getCellMC().ON.X._visible = true;
                }
                ////////////////////////////////////////////////////////
                // HAVING ENTERED A LETTER, DESELECT THE CURRENT CELL //
                // AND SELECT THE NEXT CELL IN THE WORD, ASSUMING     //
                // THERE ARE MORE LETTERS REMAINING        //
                ////////////////////////////////////////////////////////
                deselectCell();
                if ((getSelectedWord() == getWord1() && getWord1Pos()<getWord1().length-1) || (getSelectedWord() == getWord2() && getWord2Pos()<getWord2().length-1)) {
                    if ((getSelectedWord() == getWord1() && getWord1Dir() == "down") || (getSelectedWord() == getWord2() && getWord2Dir() == "down")) {
                        var nextY = int(getYLoc())+1;
                        getStartingMC()["cell_"+getXLoc()+"_"+nextY].selectCell();
                    } else if ((getSelectedWord() == getWord1() && getWord1Dir() == "across") || (getSelectedWord() == getWord2() && getWord2Dir() == "across")) {
                        var nextX = int(getXLoc())+1;
                        getStartingMC()["cell_"+nextX+"_"+getYLoc()].selectCell();
                    }
                }
            }
        }
    }

What ends up happening is that when the user enters a key, it cycles through each cell in the word until it reaches the end, rather than just continuing to the next cell only, and waiting for keyboard input.

In clearer words, I think this is what's happening:

- User clicks on a cell, and it becomes "active"
- Key is pressed and current cell is "deactivated"
- Next cell is "activated"
- Next cell thinks the previously pressed Key applies to it
- Next cell "deactivates" and then "activates" the one after it
- Rinse and repeat until you've reached the end of the word.

For some reason this DOESN'T occur on the FIRST time you fill out a word. It only occurs if you fill out some or all of a word, and then try to do it again.

This has been bothering me for days and I can't seem to find a way around it. I'd really appreciate an expert taking a look at it and seeing what they can find.

I've included a .zip to show what I'm working on.

SCENARIO 1
------------
- Open PHFGame.swf in Flash Player 8
- Enter a name
- Click on the top-left image - "Early Arizona"
- Then click on the bottom-left image - "Early Man"
- Click on the "tab" to move the info window out of the way
- Click on the "B" in "BERINGSTRAIT" - #1 Across
- Type in the letters that you see, and all should work fine
- Click on the "B" in "BERINGSTRAIT" again and try to type it in again, and you'll see the problem I'm talking about.

SCENARIO 2
------------
- Click on each letter in the word "SPEARS" - #5 Across, without pushing any keys.
- After clicking on each one, click on the first letter "S"
- Try to type in the word "SPEARS" and again, the same problem will occur.

I tried to be as precise as possible... hopefully my explanations and code are clear enough.

Thanks to anyone that takes the time to help a stumped ActionScripter out!

View Replies !    View Related
Actionscript Book Advise
I've had a play around with flash and action script and i would like to get to know the language can anyone advise me on the best actionscript book to buy for a beginner please.
thanks.....
___________________________________________________________________________________________________
www.gcse.co.nr

View Replies !    View Related
Going Mad With Alpha Changing Please Advise
I am going mad guys with the alpha changing using tween. I have tried the following method but all failed. Can anyone advise me?
Method 1
1) Create a text symbol as graphic
2) Frame 1 Alpha 100%
3) Fram 15 Alpha 0% (IT FAILED TO CHANGE!!!!!)

Method 2
1) Create a text symbol1 as graphic
2) Create a text symbol2 as graphic
3) text symbol1 in Frame 1 Alpha 100%
4) text symbol2 in Frame 15 Alpha 0%
5) right click create motion tween (There is no change at all!!!!)

Can someone guide me or sent me a simple .fla file so that I can have some clue as to what I have gone wrong?

View Replies !    View Related
Can You Advise Me On Which Adobe Software I Need, Please?
Hi,

I haven't looked at Adobe software in over a year - stuff has changed a lot and I'm a bit confused! :)

Basically what I intend to build is is a web application that is capable of having multi-user chat, and drawing capabilities which allow other users to see what a person has drawn, etc. I'm not really interested in video or sound broadcasting at the moment. The website www.isketch.net seems to achieve everything that I would require - although I am not building this as a game. It uses an old pre-Media Server platform, I believe.

What Adobe products would you use achieve this kind of thing? Flash Media Server? Or is Flash Meda Server overkill for my needs? Can Flex achieve this? What about non-adobe software? Any suggestions/input is greatly appreciated.

Note: I am a software engineer - but haven't much experience with Adobe - although I have researched their products in the past.


Thanks for any help as always,
Cormac



























Edited: 11/21/2008 at 03:56:43 PM by CormacRedmond

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