all groups > flash actionscript > october 2006
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
FLVPlayback component does not display video
Posted by akira36 at 10/31/2006 8:43:43 PM
I'm working on a CD project using Flash 8 (projector) and AS2.0 to load
multiple FLV files dynamically from the CD. There are 6 FLVs and the functions
that call each movie is located on 6 keyframes. On each keyframe, I've put this
code:
--------------------------------------------------... more >>
Make a class from a php available in Flash
Posted by DANGH_b at 10/31/2006 8:39:57 PM
hello!
i have 2 classes in php:
the first one is "comm.php":
<?php
require ('Inter.php');
//----------------------------------------------------
class comm
{ var $testt;
var $con;
var $v=array();
function test(){
//echo " d ".$this->v[1]->nume ." d ";
$th... more >>
Simulating mouse movements and clicks
Posted by Mud_Abbas at 10/31/2006 7:58:52 PM
Hi,
I am working a Flash application, which has multiple layers in it. we
communicate between layers by means of messeging by means of
ExternalInterface.addCallback and fscommand.
I am writting a seperate module, that would be actually simulating user
actions on the flash application. I ... more >>
if statement in onClipEvent (enterFrame)
Posted by Walloompoom at 10/31/2006 7:50:52 PM
How do you get the if statement to occure only once each time you move to the x
and y. So, if (Math.round(this._x) == -805 && this._y == 0) then do
this.secWineMc.gotoAndPlay(2); ONLY ONCE unless if (Math.round(this._x) == -805
&& this._y == 0) occures again. How?
Thanks!
onClipEvent (... more >>
Noob with text input
Posted by homer72 at 10/31/2006 7:27:14 PM
Ok I think I understand how the input text field works on flash but no
matter how i do it I can't read from the input text field. I have a
button and if you click on it I can make it skip to other parts of the
flash movie and other things so I know the button is working. I have a
input tex... more >>
setInterval inside Class methods
Posted by ogre11 at 10/31/2006 6:35:49 PM
if I call setInterval from a method and set it to run another method outside
the calling method, it can't read instance variables, but doesn't give me the
error that there is no such variable, just returns undefined. Example:
class Test{
var testVar:String = 'test';
public function Te... more >>
asfunction: open default audio player
Posted by malagra at 10/31/2006 5:49:43 PM
I have an interactive cd made with FLASH 2004 PROFESIONAL and I need to open de
default audio player that the OS in which the cd is being played from a button
in the flash movie. The thing is I haven´t got a clue on how to do it, I know I
need to use an asfunction but I don´t know which one it... more >>
Get the text from a dynamic text box
Posted by redneon at 10/31/2006 5:00:25 PM
I have 25 dynamic text boxes on my form labelled Block1 through Block25. I am
trying to cycle through these text boxes and output the text that they contain
using the code listed below.
The problem is that the output doesn't output the text that's in the text
boxes, it outputs "_level0.Blo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Progress bar for RSS feed
Posted by realtime158 at 10/31/2006 3:17:28 PM
I was wondering how would you go about doing a progress bar to show the precentage loaded of a RSS feed. So if you have a feed url like this :
http://www.technologyreview.com/rss/rss.aspx
... more >>
internet explorer has a box around every flash movie
Posted by Venian at 10/31/2006 2:56:49 PM
hi.
In Internet Explorer, there is a box around each flash movieclip in a web
page. when i press the movie the box dissapears and i can fully utilize the
movie.
I hope you encountered something like this so you can help me.
Thank you.
... more >>
Detecting Enter Key
Posted by realtime158 at 10/31/2006 2:50:01 PM
I was wondering if there is a way to trigger a function when the enter key is
press in the text area. Any ideas.
Here is my ActionScript Code its done in flash 8
searchKey.keyDown = function()
{
searchKey.text = "";
if (searchKey.Key.getCode() == 13)
{
callfunction()... more >>
Help with flash coding
Posted by Satkin at 10/31/2006 2:47:49 PM
Hi,
I am wanting to create a slideshow with a scrollable thumbnail section. I
have managed to find a great example
http://www.entheosweb.com/Flash/Photo_Gallery3/index.asp which replicates what
I want in functionallity, but I am unable to find out what the coding behid the
scenes is for i... more >>
loaded jpg into MC
Posted by nardove at 10/31/2006 2:40:38 PM
hi,
im loading a jpg using the popular loadMovie now they load fine but then the images disappear it happens very randomly
any ideas
thanks... more >>
I need help with delete actionsript
Posted by Flashygirl_UK at 10/31/2006 2:31:13 PM
on (release){;
gotoAndStop(1);
delete(quote1)
delete(quote2)
delete(quote3)
delete(quote4)
delete(quote5)
delete(quote6)
delete(quote7)
delete(quote8)
delete(quote9)
}... more >>
tell target function in Flash 8?
Posted by Milla15 at 10/31/2006 1:54:18 PM
I am preparing a presentation to run locally on a hard drive whereby the master
movie stops on a frame, loads a movie, which plays to the end, unloads itself
and tells the master movie to continue playing. The master movie will then
enter another keyframe to load the next movie in the sequence... more >>
Clickable dynamic text
Posted by rc3rdmd at 10/31/2006 1:25:35 PM
I have a dynamic text field with ten items that are frame labels. Can I make each line clickable so the playhead will "goto" the frame label text that is clicked?... more >>
ON (Release) for Movie Clip
Posted by Ben at 10/31/2006 12:50:16 PM
Hi
We have a button that runs a movie clip when clicked, using on (press). The
movie is full page an the button then is not visible.
We want the movie to stop playing when the mouse is released, but now the
button has turned into the movie the On (Release) that was setup for the
button ... more >>
playlist_mc ? ? ?
Posted by GregConnTelevirtual at 10/31/2006 12:44:27 PM
what does this function do? it seems to have many properties attached to it,
but i cant find a definition for what it actually does. I'm using an example
found on this site but it has errors in it so i want to know what the
playlist_mc does so i can try and fix the errors.
thanks in advan... more >>
can't find: '{' expected and Syntax error
Posted by Wholeo at 10/31/2006 2:01:07 AM
I did a hover caption tutorial at ultrashock.com. Scripts work for others. When
I try to publish, I get this output:
**Error** /dailyBackup/html/caption/Library.as: Line 1: '{' expected
class Library?{? static function delegate(object:Object,
methodName:String):Function? ... more >>
POST TO JSP FROM IN FLASH
Posted by DanM. at 10/31/2006 12:34:06 AM
i have the following form, works great in HTML.
[hr]
<form action = "http://someExternalwebsite.com/authentication.jsp" target =
"_self"
onSubmit =
"window.current('','paradigm','width=800,height=600,resizable=yes,toolbar=no,men
ubar=no,location=no');">
<input type="hidden"... more >>
scripted tweens and hitTest
Posted by vonblonderbelt at 10/31/2006 12:00:00 AM
ok, I have beam_mc that is scripted to have a simple linear tween when the
spacebar is pushed. I want the tween to stop where it is at when beam_mc
collides with mirror_mc, a stationary mc on the stage. Attached is what I have
so far. Basically the only important part is the last if stateme... more >>
ampersand (&) problem
Posted by Goo101 at 10/31/2006 12:00:00 AM
Hi There,
I'm trying to pull in details from an XML file on a specific path but am
having problems with ampersand values in the path string . . .
The path I want to pull the data from is as follows . . .
C:\local audio\KEVIN\Paul McCartney & Wings\Venus And Mars\Paul McCartney &
Wing... more >>
finding the current frame rate
Posted by GregConnTelevirtual at 10/31/2006 12:00:00 AM
I'd like to find the current framerate at any point during runtime. I've set
it at 12 but i'd like to keep track of it as i need it to solve some other
timing issues. Is there a built in command to actionscript 2 or do i need to
write one?
thanks
Greg
... more >>
Cannot set _width or _height
Posted by j_mcwatters at 10/31/2006 12:00:00 AM
Hi,
I'm having trouble setting the _width and _height value of a MC that I've
attached to a dynamically created emptyMovieClip.
I'll post the code and if anyone could offer a suggestion, I'd be really
greatful.
Thanks,
- J
/** SET MAPPING VARIABLES **/
//number of grids ac... more >>
Radio button data to php form
Posted by binx4life at 10/31/2006 12:00:00 AM
I set up a survey, and I need the info from teh radio button groups to send to
a php form that will email me the results. So far I have not been able to get
it to work. All I have so far is the code below. I had a working contact form
that I am trying to add radio buttons to, but they do no... more >>
player url
Posted by gigisfarleaza at 10/31/2006 12:00:00 AM
hi
I have a slideshow player on my site that can be embeded on other sites...
Is there a way to get the URL on witch the slideshow is embeded... sorry for my english ... more >>
xml connector -> tree component
Posted by jgeorg at 10/31/2006 12:00:00 AM
Hi all,
I'll appreciate any available help to my following problem:
I use an xml connector component to read the following simple xml (see
attached code)
How can I bind the results to a tree component using formatter?
I want to have a tree view with town names (label) and company names o... more >>
Form + Drag & Drop Feature
Posted by HUN133 at 10/30/2006 11:02:47 PM
Hi There!
I need to make a flash form for a company that will allow the user to specify
how they would like their desk to be set up. So i need to incorporate a drag
and drop feature (which i have done before). If the draggable computer gets
moved to the top left of the desk, this needs to ... more >>
need help with script
Posted by spectre_fish at 10/30/2006 10:17:02 PM
I'm very new to flash and I'm slowly building a website. I have some buttons
created and want a certain function to stop when another one is initiated. Here
is the actionscript:
btnHome_mc.onRollOver = function () {
btnHome_mc.gotoAndPlay("_rollover");
}
btnHome_mc.onRollOut = fun... more >>
setInterval Help
Posted by breez11 at 10/30/2006 9:01:27 PM
I am trying to have a tab slide out onRollOver then slide back onRollOff.
Currently I have got it to move to my target location but without the
transition. Here is my attempt
attachMovie("nav", "nav_mc", this.getNextHighestDepth(), {_x:0, _y:100});
var i=0;
nav_mc.onRollOver = function()... more >>
instance of myClass
Posted by Kosssakossakossa at 10/30/2006 8:26:56 PM
I need to make an instance of a dynamic class called myClass by setting a
variable to "new myClass()" and then making a copy of that variable. The thing
is that when I do this the variables in myClass seems to be static and changing
a variable value in the copy changes that variable value in t... more >>
onClipEvent (enterFrame) problem
Posted by Shoudibola at 10/30/2006 7:42:21 PM
Hello all! Long time no see. I am having a problem with a current game that i
am developing in flash. The problem is that I have a movieclip and I want to
update the position of one object everytime, on a loop. The code is in the end
of the message. Every function inside that event is called o... more >>
reading xml
Posted by deerowbear at 10/30/2006 7:39:46 PM
Hi there,
I am trying to figure out how to parse specific portions of an xml document
into flash. Depending on which frame I am in inside flash a different part of
the xml file will be displayed.
I have an xml file name info.xml with this xml inside of it:
<comName>
<Component1>Alth... more >>
How to direct to homepage after flash plays in index.html
Posted by armin pohl at 10/30/2006 6:52:47 PM
I have a flash movie that plays in the index.html page and then I have a
underconstruction page that I want to open after the flash plays. I have the
following code in the action script of the last keyframe of the flash...
stop();
getURL("www.watchitagain.ca/underconstruction.html");
n... more >>
local variables?
Posted by j-eggs at 10/30/2006 6:23:03 PM
I'm trying to load several movieClips in a loop. Right now, only the last clip
in the array will display. It seems like it might be a local vs global variable
problem, but I think that I'm declaring all of my variables locally. Does
anyone have a good suggestion?
[i]import flash.geom.Trans... more >>
image loadClip memory usage problem
Posted by strifedk at 10/30/2006 5:42:32 PM
I'm trying to create a gallery with built in slideshow. I load the images
sequentially and then use the tween class to animate alpha values to shift
between images. But when about 20-25 images are loaded, the memory usage get
too high and the animations start to lag.
I know i can remove the ... more >>
How can i do this? Please help
Posted by karimbalaa at 10/30/2006 5:42:13 PM
I have a scrubber , (a horziontal scroll bar, when i drag it left and right it
controls the time line next frame and previous frame)
I have a preloader on the previous scene, but when i use the scrubber and go
all the way back it just back to the preloader , i want it so it cant go back
mo... more >>
Problem Getting Object Handle
Posted by chadalexander at 10/30/2006 5:28:18 PM
I'm having a time trying to get access to a movie clip that is on a different
level than the button is on. I first created it on the same level as the
button, but the image wasn't showing properly, so I put it on a different
level. Is there a method of searching for an instance and getting t... more >>
Actionscript help needed with getting Next Page to work
Posted by crlaurence at 10/30/2006 4:32:16 PM
I just have a simple question (hopefully).
Question is:
I have a web page that displays a flash file that zooms and pans, but I cant
get the Next Page link to display. (will also want 1st, last and previous page)
1. Can the next page work and load the next or previous numbered file?
... more >>
problem with "/:trigger"
Posted by N.H.L. at 10/30/2006 4:08:02 PM
I got some troubles with AS1.0 (player 6) which I want to convert to AS2.0 with
flash player 8.0.
The errors i get is right here, who can help me convert it to AS2.0?
**Error** Symbol=script, layer=script, frame=2:Line 2: Unexpected '/'
encountered
/:trigger = Number(/:trigger)+Nu... more >>
Failed to create a new menu
Posted by Robotacid at 10/30/2006 3:28:26 PM
Flash is refusing to let me pre-load a movie with a MenuBar component in. I
can't put the component in the pre-loader because it will make the pre-loader
file size redundantly large. _lockroot I have tested in every possible way and
it will not work either.
The only way around this I can i... more >>
Problem with MovieClip.onRelease()
Posted by OS_Design at 10/30/2006 2:20:04 PM
I get node counts from xml and with attachMovie i put on my movie nodecount *
movieclips,
before here everything all right, but now i want when i release on any
movieclip how can i catch onrelease.
i wish you understand
... more >>
Trying to hide when not specified
Posted by thejokerman05 at 10/30/2006 2:02:33 PM
If my xmlnode of <info> (in my tArray) doesn''t have any info specified I want
to hide my textfield called "picInfo". This is one of my attempts on this which
doesn't work;
var pArray = new Array();
var tArray = new Array();
var myXML:XML = new XML();
myXML.ignoreWhite = true;
... more >>
photo slide
Posted by LifeIs2Evil at 10/30/2006 1:03:28 PM
what script would i have to use if i want to make like a photo slide show but the person needs to click the first picture so it can go to the 2nd picture and so on:moon;... more >>
ComboBox focus rectangle
Posted by sidqute at 10/30/2006 1:01:27 PM
I m using Combobox and when I activated accesability by Tab, The focus
rectangles apears in a grean color, how do I change the color of that
rectangle.. (I want it to Yellow, like it comes for Buttons etc..)
Regards
Sidharth
... more >>
Flash 8 Dynamic Text line break problem?
Posted by hughes309 NO[at]SPAM hotmail.com at 10/30/2006 11:58:21 AM
Hello,
My apologies if this has been talked about already.
I have been reading in text that is formatted a little bit with HTML
tags. Now the <br> tags are broken - they don't work. Neither does
<p></p>, \r\n, etcetera. CR/LF bye bye!
Even more: in Flash 8, I can open a new document, make... more >>
getURL doesn't work in Firefox - Please help!
Posted by buddhadan2005 NO[at]SPAM hotmail.com at 10/30/2006 2:42:14 AM
Hi,
I have a world map created in flash MX2004. When you click on a
country, it triggers some javascript that changes some text that is
displayed below the flash file. It works perfectly in IE but doesn't
work at all in Firefox.
I've looked all over the groups but can't find an answer that ... more >>
How do you use the keyboard to play sound from a button?
Posted by dasaimedia at 10/30/2006 2:18:49 AM
I am building a site for a client who wants to be able to press a keyboard
button such as the "up" button and have it play an instrument sound. I am
fimiliar with html and css coding but i am not that great at actionscript. It
would be greatly appreciated if someone could show me what I would ... more >>
scrolling banner buttons
Posted by dreamfocus at 10/30/2006 12:38:30 AM
can't get the buttons to respond:
i have a scrolling banner named picWheel_mc
within the picWheel_mc are movieclip instances btn1_mc, btn2_mc, etc.
i have code on the main timeline to scroll the banner in an ininite loop
this.picWheel2_mc.xcenter = 500;
this.picWheel2_mc.speed = 0.007;... more >>
check box component
Posted by nice dice at 10/30/2006 12:00:00 AM
Hi, Im not very advanced at action script so I keep having problems! Im
building a flash form for my work that has 15 check boxes, now when the check
boxes are checked the given text appears into the dynamic text field but I need
to find out if it is possible to check random check boxes (not ... more >>
|