all groups > flash actionscript > may 2007 > threads for friday may 25
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
Determining if a Variable is defined with if statement.
Posted by OrangeHaze at 5/25/2007 11:24:44 PM
Hello, I'm interested in anyone knows if it is bad practice to check if a value
has been defined using this method...
if(!myVar)
trace("myVar is not defined)
it should be equivalent to ...
if(myVar == undefined)
trace("myVar is not defined)
I'm aware that the first meth... more >>
slideshows with dissolve
Posted by dnorth at 5/25/2007 9:58:57 PM
:confused; Hi I'm very new to Flash and have version 7.2, but I'll have flash
CS3 very soon. What I'm trying to do is put a slide show into an existing HTML
page that is XHTML transitional and uses CSS styles for design and positioning
(no tables). What I want to do is have a slideshow of 6 di... more >>
flash form to PHP/database
Posted by urbanrevolution at 5/25/2007 8:33:45 PM
i'm going crazy and i hope someone can help me
here is the script i'm trying to pass to the php page
/*******************************
PHP Checkbox tutorial
www.flashscript.biz, 2005
********************************/
stop ();
//
// importing button and checkbox class
var name_tx... more >>
FLV in full screen
Posted by Police_911 at 5/25/2007 8:28:46 PM
This seems to be the holy grail of the flash videos. I searched google all
over, but can't find a solution....
I need to make my flv full screen. I saw youtube does it, and the flv truely
takes the entire fullscreen, and the video quality does not seem to degrade.
Does anybody know how ... more >>
Activating a button
Posted by doodah at 5/25/2007 7:56:31 PM
Hi. I'm completely rusty with actionscript, having been away from it for a few
years. In Flash MX I was able to create a button and use the simple
gotoandStop("frame label") language for a text button. Now, in CS3, I'm unable
to use that language, as the actionscript window says something ... more >>
Return function once loadClip is complete.
Posted by TylerKiwi at 5/25/2007 7:34:21 PM
Ok, I think this will prob. be simple for you AS experts out there, here's my
code:
[CODE]
function loadPic(whichPic):Void {
var i:Number = 0;
var pic:String;
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProg... more >>
A Dating Game?
Posted by Anim9or at 5/25/2007 7:16:43 PM
Hi!
I just got the program somewhat recently and I wanted to practice by making a
dating game for my school. For a while, I was going to make a typical
personality quiz that went one question a page and depending on your anwer
would alter your next page. But I relized how complicated tha... more >>
Video draw problem AS 3.0
Posted by MaxVT103 at 5/25/2007 7:15:56 PM
Hello,
I am using the BitmapData.draw() method to draw a Sprite into a bitmap object.
The Sprite contains a video with an flv playing in it, the FLV is paused. I
then create a new Bitmap object and add the bitmapdata to it. Then I placed
the bitmap on the display list. When the bitmap ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
using the progressbar component in AS 2
Posted by ionic77 at 5/25/2007 6:34:53 PM
hey all,
i'm playing around with the progress bar component included in CS3 and am a
bit stuck.
the tutorials i've read that discuss using this component don't explain how to
use it to target the nested movie clip it's contained in. one tutorial i found
says to use _root as the source,... more >>
ComboBox not setting any 'selected' text
Posted by allandt at 5/25/2007 5:52:30 PM
i'm having some trouble with an actionscript-generated ComboBox
here's my script
//create object to pass to ComboBox init
var comboInit:Object = new Object();
//create array to pass to combobox and set initial state
var sizes:Array = [{thisSize: "choose one"}];
//populate arr... more >>
The SIMPLEST thing!
Posted by Our Tiny Servant at 5/25/2007 5:47:45 PM
I'm a beginner with Actionscript, but am comfortable with programming in other
languages. I am creating a simple interface in Flash 8, and need to include
some actionscript that I can apply to a button that will load a movieclip onto
the stage from my library into a certain position. I have th... more >>
FileReference upload freezes
Posted by BClemmons at 5/25/2007 5:47:17 PM
I am building an app that needs to upload files to a web server. Very
straight-forward stuff: I create a FileReference instance and assign a SELECT
event listener. I call browse() when they click the browse button. When they
select a file, I assign event listeners for CANCEL, COMPLETE, IO_ERRO... more >>
extending Sprite?
Posted by hciguy at 5/25/2007 3:26:07 PM
Just a quick, basic question. Every example I see of classes in this OReilly
book I have been looking over extends Sprite. Why would they all extend Sprite?
I don't see the reaosn or value. They are not overriding any methods of it...
Thanks in advance.
... more >>
sorting labels dynamically
Posted by dzedward at 5/25/2007 3:08:06 PM
i have a combo box filled with dynamically loaded labels, and in my php script,
I call for it to be alphabetical, however it doesnt pull it in that way.. so,
is there a way to mycombobox.sortItems() to make alphabetical?
... more >>
OReilly and DataFormat
Posted by hciguy at 5/25/2007 2:44:15 PM
I have the OReilly AS 3.0 cookbook...and it has basically a code snippet
similar to this one:
private function loadMenuData(){
var loader:URLLoader = new URLLoader();
loader.dataFormat = DataFormat.TEXT;
loader.addEventListener(Event.COMPLETE, loadComplete);
loader.load(new URL... more >>
XML Preloader
Posted by mikecoleman79 at 5/25/2007 2:42:15 PM
Hi there,
I wonder if anyone can help me out with this problem I have. I?m fairly
experienced in flash but this I just can?t get my head around!
I?m trying to make a header of a webpage load random images from an xml file.
This I can do fine but as the images are good quality they tend ... more >>
repeating a timeline
Posted by dzash2000 at 5/25/2007 2:20:30 PM
Hi, I have a MC with a 20 frame animation. I want its time line to repeat a
couple of times but not forever. Besides copying and pasting frames, is there
a way to set the number of repeats? and then just have it stop on the last
frame? Isn't there a setting somewhere?
Appreciate the help.... more >>
swapdepths problems
Posted by Bittasweet at 5/25/2007 1:16:14 PM
another problem cropping up!
in another movieclip on my main timeline "casefile"
I again have smaller movieclips inside. however, these movieclips have an
empty first frame, only 'appearing' by checking for a declared variable which
sends it to the second frame. on the second frame, an invis... more >>
Cropping tool made with Actionscript
Posted by Sw Jiten at 5/25/2007 4:43:45 AM
I am looking for some tutorials about managing images with actionscript like:
cropping a picture, rotating, moving, increasing, decreasing (zoom in , zoom
out). For best understanding, please come inside this example, and let me know
where to find related summaries.. I will appreciate your hel... more >>
Flash/XML Question
Posted by bandit_8 at 5/25/2007 4:26:12 AM
Hi,
I'm currently working on an application where I am reading in pngs files, that
are specified in an XML file. I have it reading in and storing all of the image
names/paths appropriately, and then each one being put into a dynamically
created movieClip..and then once the image has been l... more >>
Scrolling Movie Clip
Posted by kitster79 at 5/25/2007 3:34:47 AM
Hello everyone...
I am trying to figure out why my thumbnail movie clip will not scroll when
clicked. I thought I had the action script right but it appears that I have
not. Could anyone help me troubleshoot this? If you could give me your email
addy, I will send the .FLA file for you to l... more >>
Loading Bar
Posted by kimA123 at 5/25/2007 1:05:53 AM
Does anyone know how to do actionscipt to make a loading bar appear on your page when it is loading?... more >>
auto setfocus once max character set on previous input field
Posted by crogzy at 5/25/2007 12:46:53 AM
Hi I was hoping someone can help me, I've had a decent look on the net, but as
yet haven't come across a fix.
I have 2 input fields and once the first is full (max character is set), id
like it to auto focus on the next field, without the user needing to tab.
Thanks in advance.
... more >>
Color picker for image not in Flas
Posted by winzurf at 5/25/2007 12:27:39 AM
Is it possible to detect the color of the desktop below the mouse? I want to
make a very small Flash widget that will allow me to detect the color of a
pixel in an image on a web page (not inside a Flash app) and then display it or
pass it through to a web form.
Is this possible?
... more >>
multiple comboboxes
Posted by flashdumber at 5/25/2007 12:12:17 AM
:brokenheart;
I am populating two comboxes one with state names and the other with city
names from a simple xml file using xmlconnector. If I click on a state name in
the first combo box then its corresponding city names populate correctly in the
second combobox.
Now I added three b... more >>
Disable or remove button / movie clip
Posted by fire orchid at 5/25/2007 12:00:00 AM
Hi - I am hoping this is possible - I have an actionscript controlled gallery
of thumbnails that scrolls across so far to reveal a group of six thumbs...
easiest way to explain is to just show you...
http://www.weensyweb.com/womad/GalleryMay07/
what i need to do is disable the "forward" ... more >>
Load Sound after MC Finish Playing
Posted by IreDevil at 5/25/2007 12:00:00 AM
Hi everyone,
There is this sound item which i would like to load after the movie clip has
finish playing.
But i do not know how am i going to do it.
Since there is onSoundComplete() funciton, is there any similar function for
movie clip?
Let's say something like onMovieClipComplete??... more >>
swapDepths problems
Posted by Bittasweet at 5/25/2007 12:00:00 AM
On my main timeline is a clip 'photobook'
within one of the frames of photobook, sit two other clips, 'news1' 'news2'
when either news clip is clicked, a larger version of the image appears,
complete with a close button to close the larger image and return to the
original. I had some problem... more >>
getURL generating "no network traffic"
Posted by dubya at 5/25/2007 12:00:00 AM
i don't have the code in front of me so can't quote from it i'm afraid, but as
a general picture:
we have a pop up browser window generated by the http://www.fckeditor.net/
within which 2 iframes inside of which either <object> & <embed> tags or geoff
sterns http://blog.deconcept.com/swfo... more >>
how to show itmes once at a time
Posted by chrisodea at 5/25/2007 12:00:00 AM
I am new to Flash, currently I am trying to design a educational flash quiz, I
want to know how to make my answer boxes only hold one answer at a time instead
on being able to place more than one answer in a box all at the same time? I
have been stuck here all day and cant figure out the code... more >>
Can i trap "Error opening URL" error?
Posted by [djdomain] at 5/25/2007 12:00:00 AM
Can i trap "Error opening URL" ?
I am using someMC.loadMovie("someImg.jpg")
This works fine I would however like to be able to use the error "Error
opening URL" and switch to another file if the first dose not exist. Can i do
this?
... more >>
getURL open in new TAB
Posted by filip at 5/25/2007 12:00:00 AM
Im making a flash banner that opens link in a new Window.
getURL("bla bla", "_blank");
In explorer everything works fine but in Firefox its not working, it blocks
popups.
Is there a way that i can open link without using external javascript?!
Or open the link in new tab?!?
Is there such comma... more >>
|