all groups > flash actionscript > november 2006 > threads for thursday november 2
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
attachMovie
Posted by DANGH_b at 11/2/2006 11:21:38 PM
Hello.
I want to attach a number of movieclips from the librarie. The symbol from the
library has a Dynamic textbox named "nnn".
If i want to attach 4 movieclips when pressing a button:
for(i=1;i<=nr;i++){
map.attachMovie( "town","town"+i , 10,{_x:clas[1].xx,_y:clas[1].yy} )
}
how can ... more >>
Use library of loaded Movie.
Posted by crazyone at 11/2/2006 11:02:32 PM
How can I do that?
For example - I had load in my movie another movie like that:
var my:MovieClip=_root.creatEmptyMovieClip("my",100);
my.loadMovie("some.swf");
In some.swf there is library, so I want to attach MovieClip from that
library. Is that possible?
10x.
--
Я бы изм... more >>
getURL and named anchors
Posted by SeaKayaker at 11/2/2006 9:08:28 PM
Apparently, this is a known issue with many browsers.
I'm wondering if there's a simple (or not) workaround.
I've got a FLASH US map with each state a button to go to a separate part of
one HTML document.
This works fine when I test in Flash. But when I place the SWF in an HTML
docum... more >>
Dynamic Text Scroll
Posted by tlm_scripter at 11/2/2006 8:45:40 PM
I am trying to create a scroll pane that reads in xml and then creates two
elements for each node of the xml, an image and text. As the xml is parsed, I
have a movie clip that is duplicated and the image is loaded into the
duplicated clip. This works great for the images, but when I try to ... more >>
Getting document.URL
Posted by Sadekk at 11/2/2006 8:45:22 PM
Is there any way to call document.URL value from actionscript, without any extra code included into website itself (pure actionscript solution) ?... more >>
Combining && and ||
Posted by VaporAction at 11/2/2006 8:01:12 PM
Is this a viable piece of script?
if (((variable1a == true) || (variable1b == true)) && ((variable2a == true) ||
(variable2b == true)) && (variable3 == true) && (variable4 == true)) {
//insert code here
I wasn't sure if you can combine all those and/or statements like that?
... more >>
Drag Drop and Rotate Multiple Objects
Posted by Jeff Hight at 11/2/2006 7:45:30 PM
I have 3 objects on the stage that I need to be able to individually drag and
rotate. I've managed to get this to work
with one of the objects using the arrow keys left and right to rotate the
object. I then tried to set a variable that would
rotate the different objects but can't seem to ge... more >>
Controlling one timeline using an object in another?
Posted by Boghog at 11/2/2006 7:37:08 PM
Hello! I'd be very grateful if someone could help me out with this.
I have two layers - each contains a different object. Each of these objects
have things happening on their own timelines. At a certain point on object A's
timeline, I want the user to be able to click on it and jump to a dif... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
create object
Posted by trwarren at 11/2/2006 7:36:40 PM
I am trying to use common library buttons but want to dynamically create
instances of them. I enable the linkage as export to actionscript and then use
createobject with the linkage id. This does create an instance, but all of the
init obj parameters are ignored. Is there a way to supply these... more >>
External .swf control
Posted by igloo_nose at 11/2/2006 7:23:52 PM
Hi Everyone,
I am loading external .swf's into a template file for an e-learning project
that will need to have navigation options fairly often. Is there a way to talk
to the external swf, even just to get it to gotoAndPlay on the main time line
once it has come to its end? i.e. when the... more >>
Clicking buttons behind loaded movie
Posted by JLaseter at 11/2/2006 6:30:55 PM
Hi,
I'm new to flash so please bare with me. I'm loading an external swf file into
a movie clip and that's working just fine. The problem is, while the movie clip
is loaded, I'm still able to click on buttons that are "behind" the movie clip.
Pushing these hidden buttons without even knowi... more >>
onPress for nested movieclips
Posted by jflechet NO[at]SPAM gmail.com at 11/2/2006 5:08:58 PM
Hello to all,
This is my first time in this group and I am new to AS, so I might be
missing something.
I have a main movie clip on the stage: burgers_mc
There are 8 instances of a nested movie clip called burger1 to burger8
within burgers_mc
All movie clips have been put on the stage a... more >>
Loader component
Posted by Goo101 at 11/2/2006 4:47:02 PM
Hi There,
I'm using the following code in Frame2 to load an image to the screen using a
loader component . . .
function loadImages() {
var iA:Number = AlbumDetails.childNodes.length; //1
childNodes
var i = 0;
for (i = 0; i < (iA); i++) {
var iNumOfTracks:N... more >>
random array
Posted by lostinscript at 11/2/2006 3:59:55 PM
Hi,
I have a tile based maze game that i want to be able to choose a level at
random. The tiles are arranged by script using a 2D array (the standard way to
make tiles with script??), so for example one array is called gameOne =
[array], gameTwo = [array] etc....
Anyone have any idea... more >>
Looking for freelance Actionscript in NYC
Posted by ramachan at 11/2/2006 3:31:52 PM
I do not know if this is the right place to post this but i am lookig for
freelance actionscript guys to help me with several projects... insteaad of
fishing for free advice I would rather share cash and have a few regular
actionscript guys who would like to be feed regular work...
I am a ... more >>
Convert mpeg or avi to flash video for Web
Posted by Asesino at 11/2/2006 3:29:22 PM
Hello,
I wanted to know how can you upload a mpeg, avi, or wmw to a website and have
it process it and create a flash video file? What software is involved? What is
the easiest method for doing this? Is there a tut out there or a book that
details this method?
Thanks,
... more >>
XML parsing in flash
Posted by Chakradhar Vangara at 11/2/2006 3:28:01 PM
Hi,
I'm using the following technique inorder to parse the XML like
this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;....
Just want to known if there is any way in Macromedia flash where in we can
you element by names for parsing XML like asdk supported api :
eleme... more >>
convert standard video files in to flv file at run time
Posted by navedansari at 11/2/2006 3:01:20 PM
Hello All
How can we convert standard video files in to flv file at run time like
http://www.youtube.com and http://video.google.com/ is there any script or
tool to do this. This is urgent.
I have one project in this project client requiring function like whatever
standard video file ... more >>
Another snow question
Posted by aniebel at 11/2/2006 2:30:32 PM
I'd like to stop each flake using hittest (I think) so that when the flakes hit
another mc, it appears to land and collect into a pile. Will this code work for
that effect? As you can see, I've tried a couple different things but neither
work.
Here's what I've found:
width = 550;
hei... more >>
htmlText <p>
Posted by c_reed at 11/2/2006 2:28:26 PM
simple question, the <p> tag in html leaves a space between</p><p>paragraphs, but it doesn't in flash</p> why not, and can it be fixed or worked around? :confused;
thanks for any answer,
creed
... more >>
restricting a text field
Posted by dave at 11/2/2006 1:37:56 PM
I asked a while ago and didn't get an answerthat answered the question, and
now it has become rather more urgent.
How do i restrict a text entry field so that users can only type into the
available space, i.e NO scrolling horizontally or vertically.
I can't find a way to do this.
Many t... more >>
ssl og https connection
Posted by JesperBisgaard at 11/2/2006 1:14:25 PM
Hi,
I have two flash applications which are running from my desktop and both of
these are communicating with a web server in order to transfere data to a
centralised database. It is working with a normal http connection, but now it
is very important that this communication is change this t... more >>
MC contains MASK
Posted by gringito at 11/2/2006 1:11:59 PM
I have a problem changing dimensions of a MC which contain a mask.
there is a MC, containing MASK (300x300px) which masks the content (600x600px).
I want to resize the MC for the screen width.
But flash resizes always the whole content of this MC while keeping its
content MASKED, so I se... more >>
continuous background scroll using arrow keys?
Posted by martoons1 at 11/2/2006 1:05:09 PM
Can someone tell me how to create a background that will scroll seemlessly from left to right (& from right to left) by having the user hit the arrow keys? Is this complicated?
Thanks.
Gary... more >>
browser supressing Flash? IE issue?
Posted by Brian at 11/2/2006 8:36:56 AM
A client of mine just sent me an e-mail about all button not working in
a web site, that I am certain works fine. I think I read something about
the new IE doing something like this as a sequrity feature?
Any comments on this would be greatly appreciated!
Brian... more >>
controling a loaded swf into movieClip
Posted by scriptEater at 11/2/2006 4:37:24 AM
help!!
i have loaded a {slide swf} into a movieClip .. on stage .. using the
var loader:MovieClipLoader();
using a button movie clip the is embeded into a seperate swf file that is
loaded in at run time
but the {slide swf} is runing a Interval that i need to clare ... so is there
a... more >>
combo box
Posted by jonnybennett at 11/2/2006 4:21:05 AM
Hello,
Problem: I have a m.c. that has a combo box in it. However when you attach
this m.c. the first time it is fine, if using removeMovieClip and remove it...
fine, however when you try and re-attach the m.c. all hell breaks loose. If I
remove the combo box from the m.c. everything attach... more >>
press any key
Posted by mr.nazarko at 11/2/2006 2:37:06 AM
seems straight forward...
but cant figure it out.
i want to go to the next key frame when any key on the keyboard is pressed.
is this complex?
thanks,
anton
... more >>
Slide Show
Posted by tjtravis at 11/2/2006 2:12:44 AM
Here is the codes i am using for a timed slideshow
Frame1:
function delay() {
if (slide1run !== 'no') {
nextFrame();
}
}
setInterval(delay, 1000);
Frame 3:
if (this._currentframe.String='4') {
gotoAndStop(1);
}
Frame one is just telling it to goto the next slid... more >>
Getting a symbol to know it's own hierarchy
Posted by LLuis12 at 11/2/2006 12:00:00 AM
I have the following set up:
A movie-symbol (spinner) that contains a spinning movie-symbol
(spinner_components).
(Spinner_components) contains three movie-symbols that are animated. One of
these is a rectangle (holder) onto which I load an image, ?image?+(x)+?uri?
When the timeline co... more >>
Evaluate an api drawn number like nintendo brain age
Posted by Brian the Lion at 11/2/2006 12:00:00 AM
Hi all,
First of all thanks? for looking at this post!
I'm trying to build a game for a kid's website that teaches them how to write
numbers. It's quite simple in a sense that the user will be shown an example of
how to write the number 5 and are then asked to try it themselves by drawi... more >>
LoadMovieNum to Level and _X and _Y
Posted by Steele Imaging at 11/2/2006 12:00:00 AM
I have been trying to load an external movie to my main stage and position is
correctly, however, it's not working.
Please let me know if this simple command is off track or not...
In Frame 1, the action script presets the position for _Level2 like this...
_level2._y = 100;
_level2... more >>
Cd presentation using flash
Posted by srirama.83 at 11/2/2006 12:00:00 AM
I'm trying to develop a cd presentation in flash which nedds to access the
database in the cd itself (local database). I will be just displaying the data.
is there any way it could be done ..?(may be just displaying the MS Access
database in the datagrid)
... more >>
Move an entire object including keyframes
Posted by redneon at 11/2/2006 12:00:00 AM
I have an instance of a movie clip which has three keyframes to it and is
positioned off the stage. At the beginning of the scene I calculate the
position for the clip and then move it onto the stage via the following code:
var block = _root.Shape1;
block._x = calculatedX;
block._y = cal... more >>
Flash + stats script
Posted by Sadekk at 11/2/2006 12:00:00 AM
Hi,
I am trying to figer out the way for AS to call javascript functions remotly.
I have swf element that my website's users will take and include at their own
websites. I need to gather statistics from those elements. Regular javascript
stats script looks like this:
[Q]<script type="text/... more >>
ExternalInterface with swf in other folder than the html file
Posted by pitjer at 11/2/2006 12:00:00 AM
I have a website in which swf and html files reside in different folders, like
this:
wwwroot/html/example.html
wwwroot/flash/example.swf
The example.swf is placed in the example.html file and referenced as
.../flash/example.swf.
Now I want to communicate through javascript with the s... more >>
Please help
Posted by rademanc at 11/2/2006 12:00:00 AM
Hi there.
I want to develop a product catalog with flash. I have over 200 products. This
is going to be a stand alone app that is distributed on cd.
I am using an xml database with links to images.
How should i proceed?
Should I preload all the images?
And what should i use to display th... more >>
|