all groups > flash actionscript > august 2004 > threads for thursday august 26
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Scale a JPG with Anti-Aliasing
Posted by twelfth312 at 8/26/2004 11:21:43 PM
Hi, I'm fairly new to Flash. Is it possible to scale a JPG or any other type
of bitmap in flash and it be anti-aliased? Right now when I scale it to make
it bigger, I get really bad pixelation artifacts. Is there anything that can
be done about this? Thanks.
... more >>
media playback component property list
Posted by tweakend at 8/26/2004 10:09:11 PM
does anyone know all the properties available to an instance of the
mediaplayback component? i'm trying to monitor the passage of time of a video
clip. in case anyone is familiar with Lingo (Director's scripting language),
i'm looking for properties akin to myObject.currentTime and myObject.du... more >>
simulate a keypress?
Posted by Chris Brandt at 8/26/2004 10:00:27 PM
Is there any way to simulate a keypress with actionscript?
for example, when I click a button, I want the computer to _think_ that I hit the spacebar?
Any ideas?
Chris... more >>
XML Parsing errors with FlashMX2004 update?
Posted by rickreyn at 8/26/2004 9:54:30 PM
I downloaded the new FlashMX2004 update.
As flash opens...I am getting the following errors.
*** XML Parsing Errors ***
C:\Documents and Settings\user\Local Settings\Application
Data\Macromedia\Flash MX
2004\en\Configuration\ActionsPanel\CustomActions\InsertDateTimeWin.xml:
Line 4: The... more >>
Results from Quiz
Posted by herter857 at 8/26/2004 9:02:46 PM
We are working on a quiz in Flash and we are wanting to get the results emailed to the instructor of the class? How would we get that to work and what would the coding be behind it all? Thanks.... more >>
HELP ME ..MASK!!!
Posted by r_da at 8/26/2004 8:15:03 PM
Hey all,
i'v searched the whole internet for a tut for this kind of mask :: http://www.agentedesign.com/usa/ (in content is mask!)
I really need help!!
thnxx
rida... more >>
HELP WITH PRELOADER
Posted by ihateeverything at 8/26/2004 8:01:22 PM
i made a preloader and when i upload the file, it wont show the page. It stays
white untill all of the swf is loaded and then it flashes the preloader and
goes on to the rest of the video. I have tried 56 different methods and
nothing works. what do i do? im going insane!
... more >>
Mixing MovieClip and ActionScript drawing
Posted by damiano2004 at 8/26/2004 7:24:18 PM
Hello
I try to mix some simple drawing using moveTo and lineTo with a small movie
clip added from the library.
I create a loop for my drawing with the setInterval method. i draw a line
repeteadly inside the loop. i add a movie clip to the layer , it's a small
wheel that turn . I use goto... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
LoadMovieNum problem, pass variable.
Posted by Pixel_Pixie at 8/26/2004 7:17:46 PM
I set a variable before I load my movie like this
_level20.Color = 3;
Then I load my new swf like so
loadMovieNum("Beta.swf",0)[
And in that new swf (beta) I trace(_level20.Color) and I get an undefigned
value? Is there a way to pass it to the next swf like that?
... more >>
HELP!!!!!! hiding graphics when my movie starts!!
Posted by misschiff at 8/26/2004 6:58:10 PM
I'm a real novice with Flash so bear with me.
I'm trying to hide graphics (movie clips) when my movie starts and then show
them when the user selects a button. But I can't figure out how to hide them
initially. If you could include the full script that would be great. I feel
like I've been... more >>
Launch external applications
Posted by MtrMth at 8/26/2004 6:19:31 PM
I need to find a way to launch acrobat, excel and project from within Project.
I will be deliverying my app on a CD, but the option to work inside of a
stand-alone exe or browser is up to me. Will Flash launch external apps on a
users hard-drive from within my application running on a CD? If s... more >>
myVar = Number(myVar);
Posted by silverswim at 8/26/2004 5:50:31 PM
Hi, I have a level 0 movie which reads a variable from a text file and uses it
through the rest of the project:
_global.changeTime=new LoadVars();
changeTime.load("dppTime.txt");
changeTime.onLoad = function(success){
if (success){
changeTime = ... more >>
hitTest?
Posted by rimbey at 8/26/2004 5:46:05 PM
hi guys, i'm new to the forums here..
i was wondering if any of you knew of a way to return a list of all objects
that are colliding with a given object? or is that going to have to be a
custom function?
thanks in advance.
... more >>
Slider Component
Posted by LAphotoimage at 8/26/2004 5:34:23 PM
When using the slider component on Text boxes how do you change the style of the slider. I see in the folder that there are several different styles associated with the slider.
Thanks,
Tom... more >>
Need to launch Word and Powerpoint
Posted by mngirl26 at 8/26/2004 5:18:08 PM
I am struggling with getting buttons to launch documents in Word, Powerpoint,
and Acrobat. Currently, they are loading in Internet Explorer and the documents
can be viewed in the IE window. I need this to work cross-platform as well.
Any help would be greatly appreciated.
Thanks, Lisa
... more >>
Preloader for multiple movie clips?
Posted by CougarTheCat at 8/26/2004 4:55:27 PM
I am using the following code as a preloader:
function loadContent(mc, fileName){
mc.loadMovie(fileName);
myLoop = setInterval(checkLoaded,500, mc);
}
function checkLoaded(mc){
myTotal = mc.getBytesTotal();
trace ("MyTotal = " + MyTotal);
myLoaded = mc.getBytesLoaded();
trace ("M... more >>
Help! Tree Component node text color
Posted by BurtPrior at 8/26/2004 4:42:23 PM
Help!
I need to dynamically set the text color of a Tree node's text. Can someone
explain how to do that? I don't need to set a 'global' color or style; As I am
populating the Tree component for display, I want to change the color of the
text for that node to signify a status.
Please h... more >>
why does this not work?
Posted by Hill-Billie at 8/26/2004 4:26:19 PM
It was working but I must have changed something :(!
thumbHolder.release = function() {
_parent.loader.loadMovie(this.main);
_parent.title_txt.text = this.title;
};
... more >>
ACTION SCRIPT NEWB NEEDS HELP WITH RANDOM FRAMES
Posted by 5kk at 8/26/2004 4:15:20 PM
I hate action scripting but now that i am getting better at making websites in
flash i have decided i need to get complicated and go past just using the go to
and stop action scripts. I really need a random frame generator for this
purpose:-
Ok there are 3 groups of 5 frames animations eac... more >>
On Key Press
Posted by limeybloke at 8/26/2004 3:55:40 PM
I have a movie, and I want to use the keyboard arrow keys to jump to next or previous frame.
How do I write the code so it works where ever you are?
I guess I would have it on the first frame?
... more >>
ScrollPane content doesn't change
Posted by ufitzi at 8/26/2004 3:49:13 PM
I have a scrollpane on the stage displaying mc1.
In some event handler, I want to modify the content to be mc2.
I have tried the following:
_root.scrollpane-instance.contentPath = "mc2";
//here I have tried scrollpane-instance.refreshPane(), to no avail
Also, I have tried modifying... more >>
setInterval scope
Posted by myke_mla at 8/26/2004 3:37:43 PM
Hi all,
I'm trying to get to grips with as2, but I'm having problems with setInterval.
Anyone know what I'm doing wrong?
Help appreciated, thanks.
//Class
class Test {
private var intervalID:Number;
function Test() {
loadFile();
}
private function loadFile... more >>
Question-How can Actionscript move a Picture
Posted by john at 8/26/2004 3:27:38 PM
Here is what I'm trying to do
My Stage is 550x400 and I have a picture that is 790x600 and centered on
the stage. I also have 5 button on the stage. When a user presses button
1 I want the picture to move across the stage so you can see one of the
corners that you could not see before. and wh... more >>
Looking for DataGrid component
Posted by James Fee at 8/26/2004 3:22:18 PM
I am looking for a DataGrid component that can expand and collapse rows. In
other, I would like a component that would allow me to display table type
data that can expand a row to show detail about the row item (grid in a
grid).
any suggestions.
--
Jim Fee
Viking Electronic Services
jf... more >>
Acquiring JPG image dimensions
Posted by Valandil at 8/26/2004 3:18:04 PM
I'm a newbie to Flash & want to be able to load a jpg of variable size, resize
it to fit a portion of the screen and then fit a frame to it.
I can loadMovie the jpegs into a movie clip and resize it, but in order to
manage it more efficiently, I think I need to be able to get the jpg width and... more >>
Movie Controller
Posted by proj2501 at 8/26/2004 3:13:06 PM
A project I'm working on consists of a swf that contains the menu and several
other files that it loads for each of the demo movies. I currently have control
set up for Play / Pause, and Forward and Rewind so it can jump to and from
scenes, but I need to add a slider bar to control the frame i... more >>
bookmarking html formatted text
Posted by reinhat at 8/26/2004 3:06:13 PM
Hi!
I have a dynamic text field which loads in an an external html formatted text.
Inside the text there are several word links to paragraphs further down the
page. Creating these bokkmarks is very easy in HTML but how I can make this
work with a loaded text file so when the word link is pre... more >>
PLAY MOVIE FOR 30 DAYS AND SWITCH
Posted by tiredoflooking at 8/26/2004 3:04:05 PM
Hi there : ]
I'm wondering if anyone could help me with this one:
I have no background in actionscripting ... and I'm wondering if there's a
script that makes a movie projector play for 30 days and it plays a different
projector as soon as the first 30 days have expired ... and that will g... more >>
MX2004 text scroller
Posted by Johnnyrules at 8/26/2004 2:49:19 PM
You could say im a actionscript beginner, which is true...
Im putting a flash presentation together, and i want to be able to use a
scroller, not a Scroll Bar, just 2 buttons, (up and down arrow) and on rollOver
the text will scroll on which arrow you roll over.
I've searched all over go... more >>
help
Posted by propatria at 8/26/2004 2:28:57 PM
my client needs me to make a menu like this http://toothandnail.com/ but my buttons arn't springy enough :) whats the script for that?... more >>
Please help Urgent!!! - caching swf
Posted by MarcoRussolillo at 8/26/2004 2:17:15 PM
I have a flash movie that acts as a holder for external swf's (these swf's are
are also pulling xml) but non of the swf's that im loading into the holder are
caching, I need to know how to cache these swf's so the next time a user logs
in the download time is quicker - PLEASE HELP
... more >>
Karel Draw
Posted by Mr Bliksem at 8/26/2004 2:02:04 PM
Hello,
I'm trying to get Flash to draw lines ONLY when the mouse button is down, with
the following code, (which isn't working)?could somebody please let me know
what I'm doing wrong??
Thank you:)
NK
//code for line colour:
function pencil() {
_root.lineStyle(2, 0xCC3300, 85);... more >>
does flash caches in the developing environment?
Posted by elmystica at 8/26/2004 1:56:39 PM
I included an external AS-file, and while testing the movie, I had an
error-output.
after some debugging, I discovered that I include the wrong AS-file.
so I changed
#include "nameOfFile.as"
into
#include "newFile.as"
However while testing the movie it keeps giving me the sa... more >>
Mac MX2004 targeting sounds - need help
Posted by lenrooney at 8/26/2004 1:55:45 PM
I'm trying to modify attached sounds using buttons within an embeded movie
clip. I've never had trouble with this in the past, and I just can't figure out
what I'm doing wrong here
On the root timeline, I've loaded a sound and it's playing:
_root.createEmptyMovieClip("soundmovie1_mc", 1)... more >>
Help with if else script
Posted by d2d1961 at 8/26/2004 1:55:23 PM
This does not work. The button is tied to the input box but cannot get the
script to work at all, though it worked in an earlier version of flash. Any
ideas.
Vicki
on(release) {
if (TextField1 = "PSARQ") {
getURL("p4.asp");
} else {
gotoAndStop(19);
}
}
... more >>
loadVariables
Posted by michelleaudet at 8/26/2004 12:44:31 PM
Hi! I've got this line of code which loads variables into Flash:
loadVariables("traitement.asp?sondage=age", "_root.mc_age");
It works fine. The only thing is that when I run this action again (go back to
the frame with this action on) it doesn't load the variables again, it keeps
the values... more >>
Why getDepth()?
Posted by Rothrock at 8/26/2004 12:44:05 PM
Why are x, y, width, alpha, etc. all properties, but depth has to be accessed through a method getDepth();?
Can anybody explain the logic behind that?... more >>
disjointed fade
Posted by Chris J at 8/26/2004 12:36:15 PM
I am pulling my hair out trying to accomplish this.
On rollover I want to fade an instance on stage or turn off the layer it is
on
I have tried
on (rollOver) {
house.setFadeRate(0);
}
That does nothing.
How do I make an instance or a layer disappear on a rollover?
thanks
cj
... more >>
class question
Posted by Mykoo at 8/26/2004 12:35:25 PM
I have a class called Ball
it looks like this:
class Ball extends MovieClip{
static var ballArray;
function Ball(){
ballArray.push(this);
}
}
now if there are 5 movie clips on stage who belong to the Ball class, will
t... more >>
Code for "Ken Burns"-style photo pans and zooms?
Posted by Ken Fine at 8/26/2004 12:00:11 PM
Before I reinvent the wheel, here: does anyone have some code snips or
(better yet) a set of pre-built functions for creating "Ken Burns" style
pans and zooms into photos?
I'm aware that there are third-party tools to create these effects
interactively, but I want to be building my galleries... more >>
Scroll box help plz
Posted by DarkSun at 8/26/2004 11:55:43 AM
Guys plz help...i am trying 2 make a scroll box in wich are going 2 be 28
images....the problem is i dont see no image...i am using html and action
script like <img src.....(have activated html content) I have the latest flash
version 7.2 and latest flash player!Action script verion is 2.0!
... more >>
More function disfunction
Posted by Anth2003 at 8/26/2004 11:46:30 AM
I have a slab of code that sits in the time line of a level1 (I think) movie
clip. It is an onEnterFrame function that is to be reused on 15 seperate movie
clips. It relies on the onEnterFrame looping for a whole lot of stuff ie
movement and timing of elements in the clip.
I don't really w... more >>
Delaying Execution of ActionScript
Posted by Kamran Riaz at 8/26/2004 11:35:34 AM
How can I delay execution of AS until a specified statement is true. I have
tried infinite while loop with a break statement when the statement becomes
true but that hangs the application. Is there another way to delay execution of
AS for a statement?
... more >>
Trouble with attaching large amounts of MCs?
Posted by LargeNose at 8/26/2004 10:35:28 AM
Has anyone had problems with using attachmovie() to duplicate/attach a large
amount of movie clips?
I am duplicating an MC which contains a fair amount of code (including quite a
few loops that look through an XML file) up to approximately sixty times, at
which point the movie will crash ... more >>
Help - How do I cache external SWF files
Posted by MarcoRussolillo at 8/26/2004 10:34:24 AM
I have a flash movie that acts as a holder for external swf's (these swf's are
are also pulling xml) but non of the swf's that im loading into the holder are
caching, I need to know how to cache these swf's so the next time a user logs
in the download time is quicker - PLEASE HELP
... more >>
Custom class, prototype or basic function usage?
Posted by loop360 at 8/26/2004 10:12:42 AM
I am duplicating a series of mc's based around the number of childnodes in an
xml document. Each mc once generated will behave in exactly the same way but
will have certain properties e.g title name, colour of text etc. that can be
set and changed at any point during runtime.What I would like ... more >>
Swap a movieclip in ActionScript?
Posted by SkyF at 8/26/2004 10:03:34 AM
Hi there,
I know I can change the symbol of an instance using the propertie window. Now
I was wondering if there is an ActionScript comand that does the same ? So I
could swap the instance of the movieclip "MyClip1" to the movieclip "MyClip2".
Thanks in advance.
Sky
... more >>
PLEASE Help!! (Containers & Scrollpanes)
Posted by ALIQU at 8/26/2004 7:25:35 AM
What am I doing wrong!
CONTAINERS:
I have a movie that loads external swf?s into a container into my main movie
but whenever the movie loads, the container loads offstage. Why?
I have looked at a sample movie with a container and mine is exactly like this
sample movie. I am quite... more >>
Zooming into a next scene
Posted by Danielle _P at 8/26/2004 6:33:42 AM
Hi
I've created a movie that displays with sliding doors. When the user clicks on
the doors, they slide open.
What I need help with now is I need the next scene to zoom through the doors
as they open and display scene2.
Can anybody help me this?
Thanx
Danielle
... more >>
powerpoint thing but in flash - HELP!
Posted by paulturner NO[at]SPAM hotmail.com at 8/26/2004 5:56:06 AM
I need to produce a small powerpoint style presentation in Flash, but
I don't know the first thing!
Please can someone kind provide me with some example or template to do
this? Just a few screens and some buttons linking them together?
I have FlashMX 2004 Professional.
any help / advice ... more >>
sharedObject.data
Posted by pylon5jc at 8/26/2004 4:30:36 AM
Is it possible to write variables to the sharedObject dynamically. For example
a standard way to write data is:
so.data.userName = currentUserName;
but I want to instead of using "userName" ... write out dynamic variable
names. something like
"so.data."+user22 = curren... more >>
Create new Key Constants
Posted by continuity at 8/26/2004 4:06:27 AM
Is it possible to create new Key constants... Flash MX has many ie. Key.ENTER,
Key.UP...
I have tried Key.prototype.F11 = new Number(122);
My reasoning being that a trace of Key.ENTER returns 13, a trace of
typeof(Key.ENTER) returns number... the natural progression is to the ... more >>
Reserved Word conflicts w/required POST variable
Posted by eddiec at 8/26/2004 3:34:00 AM
I'm building a Flash form to add an item to PayPal's shopping cart. One of the
required "hidden" variables going to PayPal is "add" (indicating the quantity
of items to add to the cart).
Unfortunately, "add" is an Actionscript reserved word. Is there a way I can
pass the required variabl... more >>
Acceleration?
Posted by Sky Strider at 8/26/2004 3:33:10 AM
Is there ANY way to make the computer use video hardware acceleration to
perform the flash drawing? Do you know how smooth complex animations would be
with hardware acceleration?
maybe 3rd party software can do it?
Thx
Sky Strider
... more >>
mx 2004 .as files
Posted by theo29 at 8/26/2004 2:00:14 AM
hello, i was wondering if someone could help me out, i just bought the flash mx
2004 actionscript book training from the source and the first part tells me to
go to file>new and choose .as file from the menu, to bring up the actionscript
editor to create an .as file, however the only thing sho... more >>
component: maintain aspect ratio
Posted by Swartzenheimer at 8/26/2004 12:51:00 AM
How can a set up a component so that as I increase or decrease it's size it
maintains it's aspect ratio?
... more >>
problem with flash mx2004
Posted by Rene Willemsen at 8/26/2004 12:50:46 AM
Hi all,
Is there somebody who can help me witht he following; i recently switched to
flash mx 2004, the problem is that i have an old file wich i currently
started working on and updating again, this file is an old flash 5 file and
everytime i save the file and close it, it is completely usele... more >>
detect hyperlink mouseover
Posted by Whittaker007 at 8/26/2004 12:38:30 AM
Hi there,
I am trying to improve Flash MX's interperetation of HTML formatted text. I
have a function that wraps all anchor tags with color and underline formatting
so now my hyperlinks look like hyperlinks, but I would like to simulate
hyperlink mouseover effects as well (changing the hyp... more >>
|