all groups > flash actionscript > june 2006 > threads for wednesday june 21
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
best practices question
Posted by redknot at 6/21/2006 11:47:00 PM
Quick question. I am writing some code to parse xml. I have been given an xml
document that uses a lot of keywords in Flash as attribute names. .e.g.
<someNode name= "Gretchen" length= "4s"> <someNode>
So when I parse it....
myXml.firstChild.attributes.name I am using a keyword ... more >>
Dynamic mask not working on dynamically placed image
Posted by jtouhey at 6/21/2006 11:24:38 PM
Ok, Here is what's going on. I have one container movie with two other movies
loading into it via empty movie clips- let's call them movA and movB. I want
to click a button from movB that loads an image (dynamically) into movB and
masks the image once it is loaded...
on movA, I have the ... more >>
Dynamically Masking a Dynamically Placed Image
Posted by jtouhey at 6/21/2006 11:21:23 PM
Ok, Here is what's going on. I have one container movie with two other movies
loading into it via empty movie clips- let's call them movA and movB. I want
to click a button from movB that loads an image (dynamically) into movB and
masks the image once it is loaded...
on movA, I have the ... more >>
Dynamically Masking a Dynamically Placed Image
Posted by jtouhey at 6/21/2006 11:20:18 PM
Ok, Here is what's going on. I have one container movie with two other movies
loading into it via empty movie clips- let's call them movA and movB. I want
to click a button from movB that loads an image (dynamically) into movB and
masks the image once it is loaded...
on movA, I have the ... more >>
Font size changes when textfield height changes
Posted by woodtah at 6/21/2006 11:16:42 PM
I have a textfield that I drew on the stage. It has a width of 450, and a
height of 100. I am using a StyleSheet object to format the text. When I go
back and modify the height of the textfield in the propery inspector, the font
size changes along with it. When I increase the height, the f... more >>
how to reference clips inside a loaded movie
Posted by SPGAnne at 6/21/2006 10:32:15 PM
I am using MovieClipLoader to load a .swf that has movie clips inside it. How
do I enumerate/access those clips. I have tried the following, but nothing
happens.
var mcHolder:MovieClip = this.createEmptyMovieClip("mcHolder",
this.getNextHighestDepth());
var my_mcl:MovieClipLoader = new... more >>
having trouble in external preloader
Posted by VooDoo Chicken at 6/21/2006 10:31:27 PM
the general idea is as follows:
there is a main movie which has lots of pictures (not vectors), so i decided
to make the preloader in a separate file, so when it tries to load it wont
appear as a blank screen for a long time, with the user not knowing whats
happening or if is loading or no... more >>
Using on(release) to dynamic text
Posted by jlucchesi at 6/21/2006 9:44:31 PM
Hi -
I have a movie clip that acts like an Index (Table of Contents) of the site,
where I am using a dynamic text area. I need to have the text area scrollable
because the Index is a very long list. The challenge is that I need to link
entries in the Index to SWFs in the overall applic... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
FIT TO SCREEN FLASH POP UPS
Posted by DiGiTAL CarGO at 6/21/2006 9:14:07 PM
hi there,
i've been coding alot of flash pop ups lately that are full proof against pop
up blockers.....
the usual code i use is
on (release) {
Movieclip.prototype.openWin808 = function(url, winName, w, h, toolbar,
location, directories, status, menubar, scrollbars, resizable){... more >>
Scrolling Issue
Posted by jase38 at 6/21/2006 8:49:04 PM
I'm developing a web site that utilizes text loaded in from external text file.
I have borrowed scrolling AS from various tutorials and this works for the
most part...here's the situation and problem:
[b]Situation (Site Design)[/b]
master.swf - sets stage, clip loaders, shared library,... more >>
Mouseevent in Flash 8
Posted by Andrew20 at 6/21/2006 7:49:09 PM
Ok it will probebly look stupid, but I used Falsh 5 before and now I just got
Flash 8. But now it seems that I can no more select the plus in actions and
Mouseevent like onrelease.
It's a nightmare help me!!
... more >>
Swap Background image using ActionScript
Posted by JohnKirk at 6/21/2006 7:30:08 PM
I need to know how to change (swap) background images.
Explanation:
The main file (level 0) is named "Master".
In the Master timeline, the lowest layer is named "bg" (for backgrround).
On the bg layer is an image the size of the stage, and this image forms the
background against which ot... more >>
How can I create a bounce effect against the floor for movieclips with different (end) y-positions?
Posted by moglidroop at 6/21/2006 7:16:12 PM
Hi,
I have some movieclips I want to move with a bounce effect.
First I wanted to do that with the tween class. But I want to be able to
define de bounce-effect itself.
My movieclips have different ending y-positions but I want them all to bounce
against the "floor".
Can anyone help me... more >>
movicClip._visible = not working
Posted by cosmicShame at 6/21/2006 6:46:00 PM
In my constructor I attach my move (which exists in my lib) and I hide it.
m_parent_mc.attachMovie("vod_info","vod_info",1000);
m_parent_mc["vod_info"]._visible = false;
As key events I have set:
function onKeyDown():Void{
var keyCode:Number = Key.getCode();
... more >>
problem between loadmovie and sound of loaded movie
Posted by VooDoo Chicken at 6/21/2006 6:42:33 PM
hi, i made an swf which uses sound events and it plays fine. the sounds are
dealed with new sound, somesound.attachsound, somesound.start, somesound.stop
and so on, the linkage properties are something like 'export for actionscript'
and 'export in first frame' checked. the movie plays ok when ... more >>
set RGB issue
Posted by RobGraham at 6/21/2006 6:22:31 PM
Howdy:
I'm picking away at a thorny problem that may have an obvious answer that is
eluding me. I'm trying to create an object generator that randomly changes the
size, speed and color of objects each time it cycles. I'm currently unable to
get the object to change colors even when I use a... more >>
Need help to create ecommerce tshirt site
Posted by fanmap81 at 6/21/2006 6:10:17 PM
I need some actionscript, mysql, php assistance to help me build my site. The
site deisgn is all handled by me, i just need the logic to get it to be
functional. I dont have cash right now to pay typical programming fees, but i
can pay in the form of customized tees to help you promote your bu... more >>
loading clip into a position
Posted by ddirk at 6/21/2006 5:48:38 PM
Ok... what I am doing is doing a little box animation, and once the box is the
right size, I would like to load a movieclip into that position.
so...
if (condition) {
load and position the clip }
but im not sure of the code required here... should I use duplicateMovieClip?
or s... more >>
passing a variable from an html button into flash....
Posted by bso_71 at 6/21/2006 5:10:06 PM
I want to click an html button and send a variable to a swf file that opens
next. I want this variable to go into flash depending on what the user clicked.
I want flash to go to the english part or to the spanish part of my swf
depending on what this variable is.
How can I do this? Can an... more >>
Text size changes in input fields
Posted by Torriep at 6/21/2006 5:09:36 PM
:confused;
Hi, I put 12 inputfields at authoring time and assign them text with actionscript. ... more >>
image transitions
Posted by Russ Dillion at 6/21/2006 5:04:30 PM
Hello everyone,
I am new to this forum, and relatively new to Flash programming. I am using
Flash MX, and have been working on learning actionscript for the past few
weeks. I have a quick question that I am hoping someone can help me out
with. I have seen a transition effect on a number ... more >>
LoadVarsdoes not read array from ASP
Posted by luciewong at 6/21/2006 4:52:40 PM
Hi,
my ASP writes out this variables:
i1_seatno0=EXZ8420&i1_seatno1=FYA9531&i1_seatno2=ZB0642&i1_seatno3=HAB5188&i1_se
atno4=IBC6299&
now I want these vars pushed into an Array and added to my Tno_list.
I have a button, which onPress sends me to Frame 4.
On Frame 4
I have this code... more >>
Website Actionscript Help Needed
Posted by Cliop at 6/21/2006 4:14:46 PM
So this is how it goes...I've already made my website, I have all the pages and
everything made BUT...I have a few bugs. The first starts at my login page, it
is a universal login, so it has 2 usernames and passwords, I have the code for
it but, It does not go when I press the submit button. T... more >>
how can i send data POST with a html link in a textfield
Posted by pedromp7 at 6/21/2006 3:59:37 PM
Hello,
This is my problem : I generate (from a php script) html links in a textfield.
I would like for each link to send data with the POST method to an other script.
My problem is that the getURL("lien", "", "POST") function can be use only by
a movieclip or button event ... and not from ... more >>
xscale problems
Posted by amped2 at 6/21/2006 3:40:39 PM
I'm trying to create a zoom function that doesn't bloat an original 3-d
rotation of an item by linking to external .swf files. I can import the new
movie clip easily enough, but when I try to change the _xscale property, the
imported movie clip disappears entirely. Thoughts?
zoom_btn.onR... more >>
Scrollbar Visibility
Posted by sbryner at 6/21/2006 3:06:48 PM
Hey everyone,
I'm delving into scrolling text. I have a uiScrollBar component. instance name
"scrollBar" attached to my
dynamic text field, instance name "infoBox_txt".
My problem is I want the "scrollBar" to disappear when the text in my field
does not fill the text field.
I don't k... more >>
Simple setStyle question
Posted by ndeklotz at 6/21/2006 2:43:11 PM
I am trying to learn how to edit the styles of components in Flash 8. I found
a simple exercise where I opened a new document, placed a Scroll Pane component
on the stage, named it myScrollPane, and then frame 1 I put in the following
Action Script -
myScrollPane.setStyle("backgroundColo ... more >>
stopAllSounds();
Posted by marcofella at 6/21/2006 2:22:59 PM
*Newbie Alert*
I'm building a presentation in Flash 8. I am currently using the built in
stopAllSounds(); function to stop an MP3 i have playing. However the results
are not very good and the music stops suddenly.
Is there a similar quick function to fade the music out quickly (over a ... more >>
error in 8 that wasent there in 5
Posted by turnerpro1 at 6/21/2006 1:50:50 PM
I have a bit a code that used to work in 5 that will not work in 8. The script
looks like so:
on (release) {
_root.gotoAndPlay("Scene_", add String(this_scene_number-1));
}
The errors im getting are:
**Error** Scene=Scene 1, layer=back button, frame=1:Line 2: ')' or ',' expected
... more >>
zoom effect
Posted by The Bliss Factor at 6/21/2006 10:08:33 AM
http://www.firstbornmultimedia.com/projWebsite.asp?foldername=117_vs_ipex&scriptname=flashCheck.htm
I have been trying to figure out how the zoom animation was done on this
site. Do you have an idea?
Thanks.... more >>
Question about OOP
Posted by Amcasperforu at 6/21/2006 2:43:29 AM
Hi guys,
I'm very new to OOP concept in Flash and in general. Here's what Im been
doing, and from this I experienced difficulty in implementing what I want.
First, I created a class. This class contains properties and methods. Methods
included are the setter and getter.
Second, I setup the... more >>
simple volume slider
Posted by josp at 6/21/2006 12:38:59 AM
hello,
is there an simple example how to build a typical volume slider in flash8?
The one in the help is terrible, do you know another?
josp... more >>
Button Help
Posted by Stevo_Kenevo at 6/21/2006 12:12:26 AM
Hi there,
This might be one of the most stupid questions I have asked to date - and
should be SO SO easy, but I can't find the answer.
I have created a site a long time ago, and can hardly remember why some of the
scripts are there...
There is a photo libery on the site, and just by ... more >>
Hiding and Showing Div's Using Flash
Posted by d-sign at 6/21/2006 12:00:00 AM
Hi, I've looked through this website and many others trying to get my Flash
menu to control the visibilty of the Div's in my web page, Fortunatly I found
some thread were someone posted all the neccessary scripts ( both in Flash and
Javascript). So using all that I managed to get it to work ( ... more >>
Learn Actionscript
Posted by fermanaziz at 6/21/2006 12:00:00 AM
To learn actionscript you can download free actionscript ebooks at
http://allfree.fermanaziz.com... more >>
Chart Component
Posted by Tolk at 6/21/2006 12:00:00 AM
I'm trying to make a bar chart component to use in my movies. Iv'e been looking
at tutorials on making components and everyone seems to have a different method
and alot don't explain what they are doing just how to do it for their specific
example.
Does anyone know of a good tutorial where i... more >>
Back/Undo
Posted by Tolk at 6/21/2006 12:00:00 AM
Is there anything in AS to help with doing a Back/Undo function (a bit vague i
know).
I'm currently loading movieclips/xml/drawing with api at different position on
the timeline. At the moment the user has a play button and plays through all
of these sequentially.
Is there any prebuilt fu... more >>
MC help
Posted by Sterockicy at 6/21/2006 12:00:00 AM
i have a game that has a movie clip inside of a movie clip. i am trying to make
it so that when the inside MC gets to a certain frame it will go to the next
frame outside of that MC. i am not sure how to do this and would like to know
how.
Thanks
Sterockicy
... more >>
|