all groups > flash actionscript > march 2007 > threads for thursday march 1
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
Is this possible? GetProperty of element in embedded swf
Posted by sabin_black at 3/1/2007 11:19:10 PM
I'm very very very new to actionscript, and I have just been messing around
with the studio 8 trial version, and I just had a question. From javascript,
can I get property values (GetProperty) of an object in swf2.swf, where
swf2.swf is an element of swf1.swf and swf1.swf is the main swf. So... more >>
load swf coloring book problems
Posted by redsox05 at 3/1/2007 11:18:01 PM
I made a flash coloring book. I want add the pages with a loadMovie into an
empty mc.
empty.loadMovie("horse.swf");
The rollover effects work but the coloring part does not. Here is the code for
one of the coloring mc's.
on(release) {
_root.hue = 0x666666;
colorselected = new C... more >>
Why isn't my preloader for xml loaded jpgs and swfs working?
Posted by Visionology at 3/1/2007 11:01:23 PM
I have XML files with both .swfs and .jpgs externally being loaded into a main
..swf file via clicks from buttons.
The .jpgs and .swfs are loaded into a container entitled "picture"
I have this preloader setup (code below) but the files don't seem to be
preloading. Since the files are b... more >>
Silly question
Posted by aniebel at 3/1/2007 9:57:09 PM
I can't seem to set tabs in my text field. I see that I can add that property to my textFormat but how to I "type" a tab? Hitting the tab key does not seem to work for me.... more >>
simulate button click
Posted by IwannaFlashU at 3/1/2007 9:51:50 PM
Hi,
I'm making a game that pits the user against two other computer players (think
jeopardy). I had made this game years ago in other software, and when I first
made it in flash, I made it a "single player" version....now I want my bot
players in there!
Anyhow, I already have the code... more >>
Managing large arrays
Posted by Tyler1128 at 3/1/2007 9:39:49 PM
Im creating a game that enemies come on to the stage that you shoot at. The
enemies and shots are attached into arrays and everytime a instance of eather
the "enemy" or "shot" comes onto the stage the array gets another attached to
the bottom of the array so it never runs out.
After the enem... more >>
XML recursive function
Posted by germanHernandez at 3/1/2007 9:22:19 PM
Hi, I've been trying to create a recursive XML parser, and been partly
succesful with it. I've already been able to parse the xml with the next code:
private function mParseXML(xmlToParse) {
for (var n in xmlToParse.childNodes) {
var tempObj:Object = new Object();
tempObj["type"... more >>
Menu Button Navigation
Posted by Jshipler at 3/1/2007 9:07:12 PM
I have created a menu and made the text buttons that move from one area of the
flash site to another. When I turn on the "Enable Simple Buttons" choice under
control the buttons work and go where they are supposed to. When I test the
movie, the buttons show the up,over,down and hit states bu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DoFScommand documentation
Posted by mltsy at 3/1/2007 8:50:31 PM
I don't know where to report something like this, but I just spent half an hour
or more trying to figure out why my DoFScommand function wasn't being called,
and I finally figured out it was because the C is capital. In the
documentation for Flash MX, it lists the function name as myMovie_DoF... more >>
Play Pause sound in flash 8
Posted by cf junky at 3/1/2007 6:49:43 PM
I really need someons help. I am still learning actionscript, but need a job
completed by Monday.
I got the following script from O'Reilly's web site:
http://www.oreillynet.com/pub/a/javascript/excerpt/ActionScriptCkbk_chap1/index1
..html?page=1
However, the sound does not pause at all,... more >>
Is custom tab ordering really flat?
Posted by Bob Pierce at 3/1/2007 6:10:18 PM
AS2.0 language ref. says "The custom tab ordering defined by the tabIndex
property is flat. This means that no attention is paid to the hierarchical
relationships of objects in the SWF file."
But I have a form split between two MCs in one .swf and no combination of
..tabIndex, .tabEnabled et... more >>
instance variables in objects retain values from previously created instances
Posted by ogre11 at 3/1/2007 6:01:44 PM
this makes no f-ing sense and I want to cry.
I have a class called Note, it receives some text, makes a movie clip makes a
textfield on the clip and shows it.
Each instance can receive text any number of times and itll keep the text in
an array and when it comes time to show the note, it... more >>
sendAndLoad problems
Posted by perree at 3/1/2007 4:29:21 PM
Hello,
I have developed an online test with 5 sections. Each section is one scene in
the Flash movie. I am using Flash 8. At the end of each section there is a
button the user presses to go to the next section. The action in the button is:
on (release) {
myData2.sendAndLoad("Newprocess... more >>
[MX2004]need help making movieclips invisible onload
Posted by threeandcats at 3/1/2007 4:01:20 PM
I have several movieclips placed on the timeline that I want to be invisible
and not run until the user clicks a button. The movieclips are linked to a
class I set up:
Code:
class Hidestop extends MovieClip {
function onLoad() {
this._visible = false;
this.stop(... more >>
Convert String to an Object Instance Name
Posted by brooklynconcept.com at 3/1/2007 3:15:34 PM
Hey there,
I'd like to append multiple strings in order to create an instance names. The
code is placed below:
// I have 3 buttons contained in a MC with the instance name "container"
// I've created an array of the button instance names
var myArray:Array = new Array (button1, button2,... more >>
getURL _blank: scaling issues
Posted by noviceone at 3/1/2007 2:41:42 PM
I have the following in Flash 8
BriefLook_mc.btnStudentLife_mc.onRelease = function():Void
{
this.createEmptyMovieClip("craveLoader_mc", this.getNextHighestDepth());
[h]this.craveLoader_mc.getURL("BWC_Crave.swf", "_blank"); [/h]
}
This opens a new window for BWC_Crave.swf ...l... more >>
setting textField according the textHeight
Posted by mercl at 3/1/2007 2:27:31 PM
Hi,
does anyone know if you can set the height of a textfield AFTER you created it
using
Mclip.createTextField("body",1 ,0 ,0 ,400, someHeight);
right now i can only get the textHeight after i've created the textfield and
set the format using
setTextFormat();
(wich is logeical becas... more >>
Actionscript Advice!
Posted by brimbo69 at 3/1/2007 2:09:51 PM
Please can anybody out there help!!!
I have several movieclips which contain buttons to make that mc play. Once all
of the buttons in each mc have been released and all mc's have played, I need
to be able to gotoAndPlay the next frame or scene. The user shouldn't be able
to goto the next ... more >>
Datagrid component
Posted by Marc Lee at 3/1/2007 9:32:56 AM
All,
I'd like to be able to connect a Datagrid component with data in an Access
DB using ASP scripting middleware. Has anyone successfully used datagrids
in that manner? I'd be interested in learning how successful it was,
problems encountered, and so forth.
TIA,
Marc Lee
Denver CO
... more >>
Actionscript copy paste tools (everything is possible)
Posted by gunjankrs at 3/1/2007 5:51:47 AM
Hi,
Is it possible to develop the copy paste options through actionscript.
For example at run time I have a colored image and i want to copy a fix area
of this image and paste it on other x, y position.
We can use two button, one to copy and one to paste.
Gunjan
... more >>
Dynamic text won't load when made into Movieclip
Posted by kptgreg2 at 3/1/2007 4:04:08 AM
I'm creating a music player that loads info from an external XML file. I'm
using Flash8. I did this tutorial:
http://www.kirupa.com/developer/mx2004/maskfonts.htm because I need to
scroll a prompt message that is masked.
And my problem isn't the mask (fonts are embeded it's fine) but t... more >>
Need urgent help! How to combine transition class tween animation and keyframe animation?
Posted by reinhat at 3/1/2007 12:31:04 AM
Hi! I have a transitional tween class animation assigned to "mc_logo" on frame
1. However on frame 100, I have "mc_logo" animated on the timeline by regular
keyframe animation.
I have assigned the tween class animation to "mc_logo" on frame 1 and the
regular timeline animation starting on fr... more >>
keep active a secure website using Flash.
Posted by logeye at 3/1/2007 12:00:00 AM
I am developing Flash training programs for my company. The programs are
called from the companies secure website. While the Flash training programs
are running in their own window, the secure website in the background closes
down due to lack of activity. When I change menus in Flash you ha... more >>
Concatenating problem
Posted by aniebel at 3/1/2007 12:00:00 AM
Can anyone suggest a good resource for learning all the rules of concatenating
in AS 2.0? I did a quick search online and here but there are tons to sift
through. I'd really like to "get" this.
I keep running into problems in my projects with this and try things several
different ways but ... more >>
Need Urgent Help
Posted by Ghulam Abbas at 3/1/2007 12:00:00 AM
I make a website in flash and when i click on contact page it redirect on php
page when you fill form email has been sent after that this php page redirect
in to flash particular frame for message display.
I need help how php redirect in flash particular frame of page.
... more >>
Random sound, random movieclip,
Posted by lajettee at 3/1/2007 12:00:00 AM
Dear people, happy greetings to you all.
I would like to find some way of using a simple variable structure to do 2
things:
Pick and play a random sound from say - a selection of 5 sound files.
Do something similar with movieclips.
If someone could point me in the direction of any tuto... more >>
Make loaded Movie Clips dragable
Posted by terjemi at 3/1/2007 12:00:00 AM
Hi!
Another problem:
I have imported a Movie Clip in a movie:
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.loadClip("Legend_movie.swf",legend_mc);
How can is it possible to make the Movie Clip (Legend_movie_mc) dragable?
legend_mc is dragable before the Movie Clip is loaded... more >>
Update variables in Movie Clip
Posted by terjemi at 3/1/2007 12:00:00 AM
Hi!
Is there anybody who can help me with a simple (?) problem:
I have loded a movieclip into a movie:
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.loadClip("Legend_movie.swf",legend_mc);
In the main movie a variable is changed by on EnterFrame:
figure_mc.onEnterFrame =... more >>
|