all groups > flash actionscript > september 2007 > threads for monday september 10
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
Check for vars passed from HTML
Posted by knucklenutz at 9/10/2007 11:44:13 PM
Hi,
I am trying to check for a var that is passed into a SWF via HTML
(file.swf?var1=something) however when I check for the var on the first frame
while publishing the SWF in the test environment it tells me the var is not
defined.
if (s=="something") {
doSomething();
} else {
... more >>
What the heck is wrong with AS 3.0?
Posted by C-Rock at 9/10/2007 9:20:18 PM
I'm having a whale of a time with rollovers in AS 3.0. In this app:
http://rexmap.com
The bottom buttons are simple movieclips with an up and over state.
When you rollover and out of them they are very buggy. They have listeners and
that is is. myButton.gotoAndPlay("over");
The button... more >>
SImple Flash question
Posted by fatguy13 at 9/10/2007 8:25:38 PM
Ok ,
I know that i must be overlooking someting so simple that I can grasp it...
I have a mc that has an on press function. What I want to happen is when the
user clicks on the mc that is opens up and plays another swf in a new browser
window...
I am also using this code on another m... more >>
Sound from External swf
Posted by flashjen at 9/10/2007 8:17:20 PM
I have a main movie (index.swf) that preloads my external SWF that is a menu
button 4.swf
My index.swf has background music (song1) that plays on load. I also have
background music (song2) that plays on my 4.swf
It works fine when I test 4.swf directly however when I load my main index.swf
... more >>
Newby needs help with external text and actionscript madness.
Posted by scoots101 at 9/10/2007 7:54:48 PM
Hi,
Trying to load an external plain txt file into a text field using Actionscript
3.0. The text file is saved in UTF-8 format in the same file as the Flash movie
and I'm using the following code:
var external_txt:TextField = new TextField();
var externalReq:URLRequest = new URLRequest... more >>
A Erro on Duplicate a MovieClip
Posted by angelosxx at 9/10/2007 7:45:00 PM
Hi everyone,
I integrate flash witch XML, until the flash read all the data of XML file is
ok, but i have an error on intance the MovieClip like a Button. I Using the
folow code ::
This code duplicates the movies but i cant do the button instance?!
Someone can help me?
for (n=0; ... more >>
CheckBox Styles
Posted by realtime158 at 9/10/2007 7:01:54 PM
I was wondering how to i change a check box from a check to a X using styles.
Thanks...... more >>
Problem with Window Component
Posted by chieffan at 9/10/2007 4:37:24 PM
I am using the Window component in the following manner. User clicks a button
called audioText_btn and the window will popup with audio script, like a closed
captioning. Up unitl 30 min ago I could publish with this code just fine. Now I
get this error in all the files I used this in. As I sai... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Click not working on loadMovieNum()
Posted by ash_designman at 9/10/2007 4:37:02 PM
Hi everyone.
I have made a flash banner advert
(http://www.upssystems.uk.com/_banners/sky_scraper.swf) and I am loading it
through a holding movie (http://www.c9dd.com/holder.swf) in this move there is
on frame with this action script in it...
loadMovieNum("http://www.upssystems.uk.com... more >>
Identifer Expected Error
Posted by rintense at 9/10/2007 4:27:36 PM
Hi!
I'm updating a flash file that makes action script calls to two .as files. The
only thing I'm doing is adding new names to the names.as file. But when I
publish the flash file to an .exe, I keep getting an Identifier Expected error.
I've tried in three versions of flash as well as publ... more >>
Large First Frame???
Posted by IANELLIS at 9/10/2007 4:14:14 PM
This is my first post so first of all, hi all...
I am currently having a bit of a nightmare trying to optimize a flash file for
use on the web. My first frame is currently about 600kb in size even though the
only thing on the timeline is the preloader, which is no where near this size.
... more >>
AS2: NetStream .flv weird issue...
Posted by SmpleJohn at 9/10/2007 2:25:20 PM
I had a video playback using NetStream that worked perfect on Friday, then our
IT Dep. switched servers on Friday night, and now it doesn't work. It will
still play on my local files and when you open the .swf from the server, but it
you try to go to the web address, nothing.
I know this ... more >>
problem with accessing properties on extended classes
Posted by areca.ch at 9/10/2007 1:50:38 PM
Hi there,
Why can't I access new properties in a created class with a parent statement ?
i have classes A and B that both extend flash.display.Sprite
B is a child of A (this.addChild(B) at B instanciation in A)
I can access inherited properties of A from B with no effort (such as pare... more >>
Dynamic Movie Clip Name
Posted by Rich Morey at 9/10/2007 1:11:07 PM
Hi --
I have a series of movie clips with instance names "movie1", "movie2", etc.
I would like to iterate through a loop and change some properties on each
instance. How can I dynamically access these movies using a FOR loop?
I have this:
for (clipLoop =0; clipLoop < 6; clipLoop++) {
... more >>
Flash Not Working In HTML
Posted by contact.chzahid at 9/10/2007 1:07:08 PM
Hi,
I am new to flash. I am creating a website with parts of it designed in Flash.
I wanted to design the menu bars in flash and some other parts aswel in the
future.
I created a button in flash:
1) Created a circle and then turned it into a button and named it home.
2) I then added a ... more >>
Preloading in the swf itself AS3
Posted by Flamebg at 9/10/2007 12:56:14 PM
Hello guys ;]
I need some help in AS3.
My problem is that I can't preload the content in the swf movie itself.. I
mean movie clips and images that are inside the swf not external and so on.
In AS2 All I needed to do is this :
this.onEnterFrame = function() {
loadingAmount = this... more >>
Flash CS3 -- Load Movie from Library
Posted by Rich Morey at 9/10/2007 12:05:26 PM
Hi --
It has been a long time since I have coded in Flash and I am trying to load
a movie from a library into an empty clip on the stage using action script.
I believe in prior versions of flash the syntax was
instanceOfMovieClip.loadMovie()
However, this does not seem to work. Do I hav... more >>
rotate and stretch to mouse
Posted by josephkauffman NO[at]SPAM gmail.com at 9/10/2007 9:24:41 AM
Hey all,
I hope you guys can help me with my problem:
I have a MovieClip on the stage. It is a simple 40x40 pixel box. It's
registration point is is the top-left corner. It's instance name is
'box'.
I am trying to get the box to rotate and stretch to the mouse pointer.
Here is the code I... more >>
File search
Posted by TheRealUncleSam at 9/10/2007 3:26:23 AM
Sorry, I realized that I put this on the wrong board, so I reposted it here.
I'm a little rusty with ActionScript, and I was wondering if you could provide
me with some assistance. I was hoping someone could show me a simple piece of
code that searches for music files and then plays them. I ... more >>
Why isn't EventDispatcher working?
Posted by crazygringo at 9/10/2007 1:55:12 AM
Hi,
I'm trying to get EventDispatcher to work, and it simply won't. I was hoping
somebody might be able to spot the error, I've been at this for 2 hours, using
http://www.adobe.com/devnet/flash/articles/creating_events.html as a model.
I have a MovieClip symbol called "WindyButton" that ... more >>
Making dataGrid column with html text in fields (using CS3 with AS3 component)
Posted by CG at 9/10/2007 1:49:05 AM
Hi,
Has anyone had any success with creating a datagrid and using html
text in a column. I've done this using a AS2 component, but was
wondering whether anyone had done this using an AS3 component. I
think it has something to do with the new dataGridColumn class using a
CellRenderer class - ... more >>
trapping line feed characters in input fields
Posted by chopTheWood at 9/10/2007 1:30:32 AM
I have a Flash input form in which I can eliminate unwanted ascii characters
such as leading or trailing spaces, etc. with charCodeAt(i). But line feeds
have no ascii value that I know of (as spaces do). As a result, the text stored
in the created text files look like this:
&ititle=Oh-Oh
... more >>
Shooting a bullet.
Posted by Donjworks at 9/10/2007 1:16:29 AM
Hello,
I am making this game. For the dude to shoot I use this code (it is applied to
a movie clip that covers the Background:
--
onClipEvent (mouseDown) {
_root.e=1
endX = _root._xmouse;
endY = _root._ymouse;
startX = _root.b1._x
startY = _root.b1._y
}
onClipEvent (... more >>
help needed with sound files and loadmovie
Posted by dave at 9/10/2007 12:00:00 AM
I have a small flash file with an mp3 in the library with a linkage name. I
then have a small bit of code as below
CONTENT_SOUND=new Sound();
CONTENT_SOUND.attachSound("m_d_1_01");
CONTENT_SOUND.start();
which plays the sound fine.
I then publish this swf. I then want to load it into ... more >>
Please help me with FLV Playback
Posted by bertocorredor at 9/10/2007 12:00:00 AM
I have set a FLV player in my flash document. It loads external videos. Over
the FLV Player screen I have a MovieClip called "Videoclick" which says "Press
here to start video" and disappears when you press the play button. Here is the
code:
//Setting the FLV Player Component//
var cfp... more >>
Problems with gotoAndPlay
Posted by ljay1234 at 9/10/2007 12:00:00 AM
I am having trouble getting a button to work in my Flash 8 project.
I have 52 frames that make up an intro to my project. I have an "Actions"
Layer on which I have inserted a keyframe on frame 52. In the Actions of frame
52 of this layer I typed:
stop();
On a different layer, on frame 52... more >>
Html Parsing
Posted by Rajesh Kaki at 9/10/2007 12:00:00 AM
HI,
I have html page , I want to display that html page into flash,
for that i need to parse all html tags into flash, extract the data from html
and display that into flash.
How can i do this in flash? I mean parsing of html.
Is there anyway to convert html to xml dynamicc... more >>
|