all groups > flash actionscript > july 2004 > threads for tuesday july 6
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
Array problem
Posted by Luka at 7/6/2004 11:52:43 PM
Im trying to make a button that will create an array whose name will depend
on the current state of the variable "i" positioned in _root:
on(press){
var Item + _root.i = [_root.i+1];
_root.i++;
}
But it doesnt work ;) Any suggestions or help?
P.S. Is there a way to possition an array to... more >>
._visible = false doesn't work with loadmovie act
Posted by maxdido at 7/6/2004 8:10:24 PM
i have the following problem :
i use this code to load a swf :
this.createEmptyMovieClip("mcholder", 1);
this.mcholder.loadMovie("dir/mc-01.swf");
mc-01.swf exist out of 2 parts :
- scene 0 (preloader) and
- scene 1 with a movieclip with instance name "mcmerk"
at the moment th... more >>
problem with cookie
Posted by jaspre150 at 7/6/2004 7:51:53 PM
hi i have got a banner in flash and i want it to be displayed animated
just the first time the user visits the site and with the help of
cookies can i stop it from reloading again and again on a users pc who has
already been to this page once ???
... more >>
change stage size
Posted by Jay C. at 7/6/2004 7:05:59 PM
How can I change the stage size?
I have tried Stage.height =valueY and Stage.width=valueX.
but there is no change.
is there any other way I could change the Stage size dynamically?
thanks.... more >>
Is it possible to load JPEG images on the fly and is their a way to check they have been loaded ?
Posted by Chris at 7/6/2004 6:36:57 PM
Hello
Is it possible to load JPEG images on the fly
Is their a way to check they have been loaded ?
sincerely
chris
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.715 / Virus Database: 471 - Release Date: 7/4/200... more >>
Easing
Posted by Buff Dogg at 7/6/2004 6:28:43 PM
Thanks in advance.
I was wondering how to apply an easing equation to a moving object. For
example, I want a movie clip to move from the left side of the stage to the
right side of the stage and apply this easing equation to it.
static function easeOut (t:Number, b:Number, c:Number, d:N... more >>
forward to www?
Posted by Nu-bee at 7/6/2004 6:05:49 PM
Hi
I'm completely new to flash, just played with for 2 days thats all.
I have managed to make a flash file. I want to dispklay that Flash file and
then for it to redirect to a web page, after the animation has stopped.
How do I do that? Also, the animation keeps starting over after it... more >>
sendAndLoad which http method to use?
Posted by dops79 at 7/6/2004 5:48:55 PM
Hi i've this code to send ID variable in "get" method,
[code]comboBox = new Object();
comboBox.cambia = function(component) {
ID = myCombo1.getSelectedItem().data;
elenco2 = new LoadVars();
elenco2.sendAndLoad("list.asp?ID="+ID, elenco2, "get");
txt.text = ID;
for (i=1; i<=Number... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Is it possible to embed an HTML page in Flash?
Posted by danoliv at 7/6/2004 5:45:11 PM
Hello,
I'd like to embed an HTML page inside a movie clip, and then bring the movie
clip to the timeline. Does Flash support that? I know you can do basic HTML
tags in flash, but I'd like to import full HTML pages. Is this possible?
Thanks in advance.
... more >>
Calculator
Posted by Siriunson at 7/6/2004 5:43:15 PM
I have seen a calculator (for mortgages in this case) at
http://www.castles-estateagents.co.uk/branches/mortgages/mortgages-mainframe.htm
l which is built using javscript I think..?
Can something similar be done in Flash and how do I go about it please? ( I
have seen a sample application
... more >>
moving scroll pane contents
Posted by New CF man at 7/6/2004 5:32:16 PM
I have two scrollpane components inside a SWF. One loads a SWF containing a
series of navigation buttons. The other is going to contain a map image. I
would like the buttons to shift the map to defined x and y properties of
different cities and regions. Is it possible to affect the x and y... more >>
Can a movie clip button alter a timeline property?
Posted by danoliv at 7/6/2004 4:50:58 PM
Hello,
I have a movie clip (which has a button) attached to the timeline dynamically.
I am trying to make that button change the property of an object in the
timeline from false to true, but it doesn't work. Can anyone help?
ActionScript in the timeline:
function CarOnStage () {
a... more >>
change registration point of mc?
Posted by debbiedog at 7/6/2004 4:47:52 PM
I've got a large map.mc that is partially revealed by a mask, and you can drag
the map around. I've also got a zoom-in and zoom-out feature, but it zooms
from the map.mc registration point. What I'd like to do is have the
registration point of map.mc change on click to the stage coordinates ... more >>
Dynamic Text - Mouseover
Posted by parke at 7/6/2004 4:31:38 PM
I have a menu which is just a list of dynamic text links. I would like to have it so when you mouse over the link it changes the text format (underlined and change colour).... more >>
Confused about function calls
Posted by SiRickHoo at 7/6/2004 4:21:15 PM
Would someone please explain the following two approaches to calling a
function? I understand approach 1 (i.e. the callback function), but not
approach 2. Why does it work?
Approach 1:
function test() {
trace('hello');
}
box.onPress = function() {
test();
};
Approach 2:
f... more >>
XML Scroll Menu
Posted by jnct36 at 7/6/2004 4:18:19 PM
Hello
I've been following a tutorial on an image based xml menu, which when you
click loads a larger image. I'm understanding the acionscript for this ok,
however I want to build on this and have the thumbnails scrolling as I add more
items to it.
I have managed to get it scrolling, ho... more >>
LoadVars Data
Posted by Michael Gregoire at 7/6/2004 4:18:02 PM
I have a flash program that loads data upon starting the flash player. When a
transaction is done in the flash player, it calls another LoadVars to refresh
the data in the player. But that is not what is happening. It is reloading a
"cached" version of the data and not a refreshed version.... more >>
Extrsacting 'title' from xml file - node problem!
Posted by loop360 at 7/6/2004 4:13:12 PM
I am new to xml and need some guidance as I have an xml file which looks like
this...
<content>
<contentItem id="1">
<title>Title Heading 1</title>
<swf>01.swf</swf>
<filter>Flash</filter>
</contentItem >
<contentItem id="2">
<title>Title Heading 2</title>
<swf>0... more >>
Looking for Flash designers in New York City
Posted by flash-photo at 7/6/2004 4:12:21 PM
We are a Manhattan based design studio looking for experienced freelance Flash
designers for upcoming CD-ROM and web projects. We are interested in designers
who have at least 3 years' experience, a portfolio of work completed for actual
clients (not demo pieces) and who have an in-depth gras... more >>
have tint, need tween
Posted by Park Flasher at 7/6/2004 4:04:25 PM
hello, i have a button click making a tint (color) change happen (my MC is a
quicktime movie), but it's so sudden, i'd like to have it take a second to
tween between the colors. here's what i have:
1st frame:
Color.prototype.setTint = function (r, g, b, amount) {
var trans = new Obje... more >>
track UI position
Posted by jfb00 at 7/6/2004 4:01:30 PM
Hi everyone,
I have a text input component inside of a windows component.
How can I get the view x and y position?
When I use _x or _y I'm getting the values of inside the window component but
not from the screen.
Tks in advance
Johnny
... more >>
KEEPING AS MUCH SQUARE SHAPE AS POSSIBLE
Posted by mrism at 7/6/2004 3:24:21 PM
Here's the scene
I have to attach variable number of movieclips of size 75 x 75 on the _root
dynamically. The movieclips has to be attached in multiple rows forming a grid.
I want to be able to attach movieclips in such a way that it sould KEEP AS MUCH
SQUARE SHAPE AS POSSIBLE.
for examp... more >>
flash actionscript editor mouse wheel scroll
Posted by tony_himself NO[at]SPAM hotmail.com at 7/6/2004 3:22:36 PM
When I scroll down it scrools 1 line at the time which is good, but
when I scroll up it scrolls 40 lines at the time. I don't think it's a
problem with the setting of my mouse because it only does that in
Flash, in the AS editor.
Anybody knows how to fix that?... more >>
getBytesTotal()
Posted by speedy d at 7/6/2004 3:07:12 PM
if i load an external jpg in to a movie clip, and request bytesTotal, the
output is correct (the same in bytes as what the image is)
however, if i load a swf in to a movie clip, and i request bytesTotal, the
bytes it gives me does not correspond to the size of the swf.
any ideas? anyone... more >>
ActionScript problems from a Lingo programmer
Posted by loop360 at 7/6/2004 2:19:43 PM
I want to be able to return the number of child nodes in an xml file and update
a variable used elsewhere in my project. I'm used to director's lingo and seem
to be confused as variables only seem to be set locally from within a function
and not able to be set for use globally. I have tried va... more >>
How to break lines of code for readability??
Posted by keith brickey at 7/6/2004 1:10:59 PM
In the Actionscript editor, is there some way to insert a line break in long
lines of code to increase readability?
Thanks,
Keith
... more >>
FlashPlayer 6 VS ActionScript 2.0
Posted by Nixy at 7/6/2004 12:54:36 PM
I know that you can export in Flash6 usign ActionScript 2.0. What I would like
to know is; is there some problems or something that FlashPlayer 6 does not
support from the new version of the ActionScript.
The reason for this question is that you can program in AS 2 in FlashMX 2004
but ther... more >>
Audio question
Posted by Brian at 7/6/2004 11:58:34 AM
I am playing an audio file in my current movie. I created a sound
object, and have a play and pause button.
Initially the play button is inactive(you can't click on it) and the
pause button is active. I would like to now make it so once the audio
file is done playing that changes to the pla... more >>
Text Scrollpane
Posted by Amol4onlyu at 7/6/2004 10:49:54 AM
hi
Some one knows the text scroolpane in flash 2004... more >>
variable problem
Posted by behived at 7/6/2004 10:35:13 AM
in a for loop I have the following code:
for(j=1;j<12;j++){
b= eval("thumb"+j)
b.onPress = function() {loadMovie("pict"+j+".jpg",_root.pictures);}
}
on all the thumbs j is added as a variable; but i want the value of j at that
moment added as code on the thumbs
hope i've made mysel... more >>
Custom list using XML and drag 'n drop
Posted by loop360 at 7/6/2004 10:01:52 AM
I want to generate a scrollable list of movie clips that is generated from an
xml file. Each node in the xml file will contain a reference to a relative swf
file and include an alternative title that will be displayed as dynamic text
within the movie clip, rather than the sef file name itself.... more >>
how would you approach this project ?
Posted by Chris B at 7/6/2004 9:38:24 AM
Hi
I need to create an online showreel that slowly plays a sequence of up
to 30 images, at the same time it streams a piece of music
how would you approach this project ?
your advice greatly appreciated..
chris... more >>
XML Tutorials
Posted by Kev P at 7/6/2004 9:36:42 AM
Can anyone point me in the direction of a good XML with Flash MX tutorial. I
want to be able to display xml nodes in the swf and search through the xml
file. Also adding and deleting nodes in the xml file would be very useful.
... more >>
icon maker
Posted by Edwin Merced at 7/6/2004 9:35:22 AM
Con someone please suggest some good applications to make icons for my
projector files?
... more >>
dynamically bookmarking named anchors
Posted by mediajunki at 7/6/2004 9:23:09 AM
I wish to place a "bookmark this page" button that will:
1. dynamically append to the URL the named anchor that the movie is on at
that moment.
2. dynamically append to the title a text string that is entered by the user
So the logic is "onRelease, addToFavorites, www.mysite.com(+ anchor name)... more >>
Problem with sound
Posted by alexzoo at 7/6/2004 8:53:32 AM
Hello I'm new here :)
can anybody help me with "Attach sound", I'd like to start the loop (for an
intro)
with fade in fx and after 20 or 30 scnds, that finish with fade out...is it
possible?
So now I'm using this actions, that I had put on the 1st kframe, and the
Linkage
name's "mySoun... more >>
Attach button dynamically
Posted by maulia at 7/6/2004 5:03:13 AM
I know we can use attachMovie to attach a movieclip in our library to the
canvas (assuming you have exported the symbol linkage in the library).
How do I do that for a button symbol in my library and dynamically add that
button into my canvas/root?
Thanks!
... more >>
xml+text bullet
Posted by Kamdy at 7/6/2004 4:44:41 AM
I have a flash file with all the text and images through XML to call into
flash. For the text, if i have text with bullet, how can I do it in the XML?
example: <slideNode id="1" jpegURLL="images/image1.jpg"
jpegURLR="images/image2.jpg">Add content with bullet here.</slideNode>
what I can... more >>
Popup window help
Posted by Kamdy at 7/6/2004 4:06:26 AM
in the main swf file I have a button it links to open another swf file, but when another swf opened, the main one closed. How can I open 2 swf files together?
Pls Pls help
Thanks... more >>
PHP / Actionscript
Posted by OniLink at 7/6/2004 3:55:40 AM
This is mainly a PHP problem......althoughactionscripting is involved too...
I have made a shoppink kart for a web site in flash...and I have it so when
the shopping kart is submitted...all the order details (variables) are sent to
a PHP file that sends the order to the businesses email.
M... more >>
broken dataset.find
Posted by Chris Brandt at 7/6/2004 3:23:59 AM
Hi all,
Is it just me or is dataset.find broken...
take the attached AS...
start a new fla, drop a dataset on the stage and delete it, then run the fla.
It returns 'none found' .. Um... shouldn't it be finding it correctly? Am i
doing something wrong in AS?
import mx.data.... more >>
Targetting dynamic MCs?
Posted by akalin at 7/6/2004 3:21:02 AM
Hi All,
I'm having difficulty targetting dynamically-created MCs. There is a
top-level MC (called "scr") that contains all of the dynamic MCs. I create the
dynamic MCs as:
var c = scr.createEmptyMovieClip(n,n);
and then attach content as
c.attachMovie(id, name, depth);
... more >>
volume control less than 100px
Posted by Syndicate5 at 7/6/2004 12:43:45 AM
I made my volume control less than 100 pixels wide but im trying ot figure out
the math so that it accounts for the less pixel width but still displays the
volume level in the correct percentage. Anyone know the math on this? Heres my
code right now.
onClipEvent (load) {
... more >>
getURL to a specific frame
Posted by jrk at 7/6/2004 12:11:26 AM
If I use a button script to open an swf with getURL, can I also have the button script get that swf to gotoAndPlay (2), for ex? ... more >>
|