all groups > flash actionscript > february 2006 > threads for wednesday february 8
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
can single words in parapraphs of text show a pop up
Posted by beyondthebrand at 2/8/2006 10:39:07 PM
I would like to have a paragraph of text in flash but within the paragraph
there are key words which i want to have pop up a speech bubble, is this
possible? If so how do i do it?
Urgently need to know as i am trying now for tomorrow.
Thanks,
Neil
... more >>
Trouble with Loader and If statement
Posted by LSNsaltlamp at 2/8/2006 10:20:51 PM
I am trying to have a mc (my background) change based on the size of picture
that's loaded into the loader. If the picture is less than 400 I want my
background to change from landscape to portrate (land2port) and if it's greater
than 400 i want it to change from portrate to landscape (port2la... more >>
Wrapping Dynamic Text
Posted by MBlazer at 2/8/2006 9:44:21 PM
Does anyone know how to create a "break" within a Dynamic textfield? I'm trying to avoid creating three Dynamic textfields and stacking them.
Thanks in advance!
ME... more >>
SIMPLE Easing on a button
Posted by stevenmarron at 2/8/2006 9:35:20 PM
Hi all,
I must be really thick,
I cannot seem to find any code for easing/tweening for flash pro 8....!
All i want to do is move a vertical rectangle up when someone rolls over it
and down when they roll off it.
button1.onRollOver = function ()
{
Move up in a tweening/easi... more >>
Dynamic TextField in class
Posted by l810c at 2/8/2006 9:21:37 PM
....my traces print
undefined
undefined
Clear._x undefined
class Loader extends MovieClip{
public function Loader() {
var Clear:TextField = this.createTextField("Clear", 500, 30, 30, 50, 20);
Clear.text = "Clear";
Clear._x = 60;
trace(Clear._width);
trace(Clear... more >>
Please help with making things visible when on a rollover
Posted by beyondthebrand at 2/8/2006 9:18:25 PM
I have one mc called mcTotalamber and another mc called mcText all i want is to
hide the mcText on the start and then when you rollover the mcTotalamber it
makes the mcText visible
I have started by hiding the mcText on a top action layer:
mcText._visible = false;
I am then stuck on ... more >>
Mask problems again!
Posted by thejokerman05 at 2/8/2006 9:05:22 PM
I just made a mask (with help from LuigiL) that works fine except that it
doesn't mask with a straight edge. Hard to explain, take a look
http://www.gregory.se/flash/gregory2.html
The code looks like this;
mclListener.onLoadInit = function(target_mc:MovieClip) {
target_mc._visi... more >>
Help referencing array
Posted by stinsong at 2/8/2006 8:57:23 PM
Hi All
I'm a new actionscript user. I'm building a memory type game without the
random background cards.
I have created a couple of arrays one for the colour that I'll use to compare
cards with and one for the cards covering the background image.
My problem is referencing the arr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System.capabilities.version
Posted by F|2eaK at 2/8/2006 8:55:32 PM
Hi,
I just wanna know how can i use "System.capabilities.version" to detect the flash player?
Any help would be appreciated.
=)... more >>
XML.sendAndLoad working on some computers but not others
Posted by Skraelling at 2/8/2006 8:38:26 PM
I'm experienceing a strange problem where a simple xml.sendAndLoad will work
fine on most computers, but fail on others. I've read the security documents
for Flash 8 and believe I'm doing everything correctly: The .swf file is on
the same domain (and in the same directory) as the PHP file be... more >>
Code clutter in conversion to 2.0
Posted by TimToady at 2/8/2006 7:59:40 PM
Hi, I'm in the process of converting a flash application from actionscript 1.0
to 2.0. However, I've noticed this conversion is making my code less
convenient to handle, in a particular way. I am wondering if anyone has a
suggestion for how to avoid the following phenomenon.
One of the ... more >>
how do I stop this "rain-actionscript"???
Posted by Belzzz at 2/8/2006 7:54:37 PM
So I added this code to my movie and then it hit me that I have no clue on how
to stop the rain on a sertain frame??? (im a compleate newbie on actionscript)
so how do I do that?
var swidth = 550;
var sheight = 400;
// movieclip to hold our 'drops'
_root.createEmptyMovieClip("Drop... more >>
loadMovie loads swf into instance1
Posted by bigstar1 at 2/8/2006 7:05:45 PM
I must be overlooking something, but I can't understand why loadMovie is
loading my swf into instance1 instead of the parent empty movie clip. How can
I can control an mc if the swf is loading into automatic instance names?
this.createEmptyMovieClip("logo_mc", 1);
logo_mc.loadMovie("test.... more >>
Button not working unless mouse is moved
Posted by Math Tutor at 2/8/2006 7:02:33 PM
I have a flash program written for a statistics class that is meant to
illustrate the value of choosing experiment subjects randomly. A button on the
screen randomly picks 10 out of 20 mice for the experiment and calculates a few
statistics. You can run this program (trial) 100 times and view ... more >>
AS 2.0 vs 1.0? Flash MC 6.0 vs 7.2??
Posted by James from EOW at 2/8/2006 6:57:21 PM
I have this code that gives no errors at all in Flash MX 6.0... but in 7.2 it
gives allllll sorts of syntax errors.... and as far as I can tell, the
difference is NOT between AS 2.0 and 1.0...
on (rollOut) {
if (_root.general_mc._currentframe < 61) {
gotoAndStop("general_mc",1);... more >>
trick question
Posted by zorisbu at 2/8/2006 5:48:41 PM
hello,
I have 5 different graphics, that could possibly follow each other from top to
bottom when someone clicks on a menu option in the webpage, so if the image is
image1 and the user clicks on menu2, the image2 and image1 will move from top
to bottom leaving only image2 on the screen
I... more >>
multiple dimension arrays
Posted by don Carlos at 2/8/2006 5:21:00 PM
I'm developing a Flash questionnaire and I need to carry not only the data from
each question, but also summary data for each section of the document. Will
actionscript support a 2 dimension global array, like arrayName? Additionally,
I'll be passing the variable data to a php-based form for... more >>
Simple Flash Question
Posted by Drocco at 2/8/2006 5:19:54 PM
This is probably the most basic flash question, but on this same site, I need
to know how when you click away from the home page, the coffee cup empties,
then the next page loads. Can anyone help me with this issue? I need my page to
do something similiar, pretty much unload the current scene,... more >>
sending variables remotely between swf's
Posted by NodeNode at 2/8/2006 5:03:22 PM
I have to figure out how to send a simple 4 digit variable from one flash movie
across the web to another flash movie.
Any pointers to help me get started would be fantastic.
I'm entering a year into a field in the first swf, and then when I hit enter,
it opens the second flash movie and... more >>
set initial time in a timer
Posted by mrsrowe at 2/8/2006 4:54:29 PM
below is a nice bit of script to increment a timer. I need to know how I could
set the initial value of the textbox to say 20:30:15 and increment from there
instead of starting from 0:0:0.
Thanks
onEnterFrame = function () {
time = getTimer();
miliseconds = time;
minutes = Ma... more >>
XML from php
Posted by dsdsdsdsd at 2/8/2006 4:30:29 PM
hello;
I am retrieving data from a MYSQL via php using my_LV.sendAndLoad( ... );
this is not a problem normally because I just retrieve variables and their
values;
however this particular time MYSQL needs to return a multi-nested
tree-structured array; I could ofcourse have php brea... more >>
Creating masking unload, load effect with swfs
Posted by jbrown1280 at 2/8/2006 4:13:50 PM
I am loading a SWF into an empty movieclip on my main timeline of my main swf.
I am trying to create an effect where when a button is pressed it "wipes off"
the current SWF off the stage and "wipes on" the new SWF. The "wipe on" is just
a mask effect inside the SWF being loaded. I am having tr... more >>
ActionScript then Manual Tween doesn't work
Posted by logeye at 2/8/2006 4:04:31 PM
I'm surprised.
In the first frame I have 4 lines of code. Each line is a problem. I have to
remove all four lines for the SWF file to work as desired. The lines of code
in frame 1 are:
this.airSpeedIndicator2._xscale=240;
this.airSpeedIndicator2._yscale=240;
this.airSpeedIndicator... more >>
Animating Dynamic Text
Posted by MBlazer at 2/8/2006 4:01:07 PM
I'm trying to animation dynamic text (slide in and fade up) based on cuePoints
within a video. The slide in works fine but the fade in doesn't until I change
it from Dynamic to Static.
So my question is:
- How can achieve both animations with Dynamic text?
- Using Dynamic text, what ty... more >>
URLs in Flash
Posted by bignige2 at 2/8/2006 3:44:24 PM
I'm not sure if this has been answered else where in the forum, so I apologise
if I'm retreading old ground, but I have spent hours trying to solve this
problem.
My flash file contains 5 or 6 category headings, all of which should link to
seperate webpages. I have tried using the propertie... more >>
Pop up descriptions
Posted by beyondthebrand at 2/8/2006 3:39:08 PM
Hi all,
I am building an interactive praph that has points on it for certain
companies. So each company is an icon and when you roll over that icon a
description pop up comes on. Now i know there are many ways of doing this but i
need to know what is the cleanest way of doing this? I have ... more >>
actionscript loop
Posted by Swhxswt at 2/8/2006 3:28:37 PM
I'm trying to get a certain portion of a movie to play through ten times, can
you tell me what I'm doing wrong here.
gotoAndPlay(begin)
if (hello == null){hello = 0;}
++hello;
if(hello <= 10){gotoAndPlay(begin);
}
else{ gotoAndPlay(done)}
... more >>
I Need Help with "LoadMovie" and target paths
Posted by lint95 at 2/8/2006 3:00:32 PM
can anyone help with this one,
I'm trying to create a CD that has multiple swf files. I need to load each swf
file from a button in the previous one. That's pretty simple to do. However the
problem that I am having is that several of the swf files have timelines with
nested movie clips. I... more >>
Problems running the same XML script twice
Posted by Fransgaard_ at 2/8/2006 2:35:04 PM
I've run into this rather odd problem. To start with the beginning I am writing
a Hiscore for a game (actionscript 1). It writes xml code into a shared object.
I can read the xml file fine, I can manipulate it to add in newscores and I
can save it off to the shared object fine.
Next time... more >>
Remove Items from Associative Array
Posted by dsvsadvas at 2/8/2006 2:33:26 PM
Hi,
Does anyone know how to search and remove an item from an associative array? I
tried to use the splice() method
but this didn't work since associative arrays don't have numerical indexes
like a regular array. Thanks.
... more >>
This mask doesn't work
Posted by thejokerman05 at 2/8/2006 2:24:36 PM
This is supposed to mask in the image, but it will not work. Anyone understands
this code or have I written it wrong?
import mx.transitions.Tween;
import mx.transitions.easing.*;
#include "lmc_tween.as"
stop();
var up:Tween = new Tween(nav, "_y", Strong.easeOut, 317, -11, 24, fa... more >>
Accessing children of a Movieclip
Posted by alex key at 2/8/2006 1:15:40 PM
Hi i'm trying to access the children of a movieclip...
I know you can use for(i in moveclipname) .....
But I am tryign to access them in a way of movieclipname; To no avail!
Any ideas would be greatly appreciated!
My code:
function checkhit()
{
var thisItem = menu_mc[i... more >>
external link - WIDTH and HEIGHT
Posted by jbradhuss at 2/8/2006 2:41:53 AM
experienced Flash designers. i am very new to using Flash - VERY NEW and wet
behind the ears. i have been asked to work with a Flash file and I have gotten
the links intergrated into the site so they call to external pages that can be
easily updated using HTML ...
my question, is there a ... more >>
Webservice Connector in Flash 8
Posted by gravideo at 2/8/2006 1:53:27 AM
I hope you don?t mind my contacting you directly. But you seem knowledgeable on
the subject.
I have an application that uses web services provided by geocoder.com (
converts a street address to latitude and longitude) and Microsoft?s
Terraserver (additional info plus a satellite imag... more >>
if movieclip_x= gotoAndHelpMePlease)
Posted by pauldrystonewall at 2/8/2006 1:38:36 AM
hi all,
it's been ages since i have done any flash work, and even then i never did
much/any actionscript....so i would be very grateful if anyone could help me
get my head around this one.
i'm building my own "portfolio" and basically i have all the content as one
movieclip which i sli... more >>
Mouse control
Posted by skullnz at 2/8/2006 1:28:09 AM
Flash limits your ability to interact with the mouse, such as not allowing you
to catch right clicks and not allowing you to reposition it. Obviously if this
was available in Flash natively you'd have adware abusing it enormously.
Are there any third-party applications out there that extend ... more >>
internet explorer error message
Posted by codescodescodes at 2/8/2006 12:29:38 AM
I'm experiencing this problem quite often and at first I didn't think it was
anything, but now I think it might be something. When I load a completed .swf
and the accompanying .html to a server and I open internet explorer and
navigate to the site, it works fine, but when I close internet ex... more >>
please help
Posted by has981 at 2/8/2006 12:00:00 AM
Hello forum,
I have a swf into an html page and I need to call an actionscript function from javascript, is there anyway to do so??
if not, then is there anyway around it??
many thnx in advance.... more >>
Weird singleton problem
Posted by mr.eddy at 2/8/2006 12:00:00 AM
I have two different singleton classes. I call them both from the timeline with
var myvar1:MyClass1 = MyClass1.getInstance();
var myvar2:MyClass2 = MyClass2.getInstance();
trace("this line is executed");
... now the funny thing is that the MyClass2.getInstance() function never gets
execu... more >>
Problems with getting correct height of a multiline textfield with autoSize
Posted by ragnaroekle at 2/8/2006 12:00:00 AM
i got problems to get the right height of a dynamically created textfield
the returned height is always the same as of a singleline textfield although
the text is shown correctly as multiline
Actionscipt looks like:
MovieClip.prototype.textbody = function(p_string) {
instanceName = "t... more >>
Change how far a scrollPane can scroll
Posted by OniLink at 2/8/2006 12:00:00 AM
Hi,
I need to change how far a scrollPane can scroll down. How do I achieve this?
I have tried changing the _height and setSize, but all that does is change the
size of the scrollPane window.
Thanks for any help,
~Oni.
... more >>
Just a quickie check on code
Posted by thejokerman05 at 2/8/2006 12:00:00 AM
I get this error when compiling my flash. Done this before and cant see what's
wrong. Anyone?
**Error** Scene=Scene 1, layer=as, frame=1:Line 14: Type mismatch in
assignment statement: found Number where String is required.
for(i = 0; i < myArray.length; i++){
--- The code ---
... more >>
motion guide attachMovie
Posted by 55ewan at 2/8/2006 12:00:00 AM
Hello,
I have a number of paths as MovieClips in the Library
I have a number of Animations as MovieClips in the Library
Can I associate the paths with the animations as motion guides at runtime?
Thanks for your help,
Ewan
... more >>
Really need help!
Posted by jbtalk2me2 at 2/8/2006 12:00:00 AM
I need help with two items.
FIRST - I would like to play an external swf file when a button is released in
one scene of my template. I know how to create the button and place it but I
can't seem to find or write the script to start my external movie in a stand
alone window, while pausing ... more >>
Smooth Scorlling text? as in About Flash screen
Posted by vijayasarathy.a at 2/8/2006 12:00:00 AM
Hi all flash-es ,
If u hv seen the scrolling text in Flash Help-->About Flash, its pretty good!
How they hv come up with such a smooth scrolling text; its so Beauty ( i like
it).
I tried with timer & scroll property of text field.
But its not as smooth as its in that About Flash screen.
... more >>
Get the url of the page
Posted by Gabi Dorobantu at 2/8/2006 12:00:00 AM
What is the script that gets me the Address of the page where the swf is running?... more >>
Objects and functions
Posted by DazFaz at 2/8/2006 12:00:00 AM
Hi,
Im trying to apply a function to a generic object:
function hitFunction(){
this.onMouseUp = function(){
if(this.HitTest(_root._xmouse,_root._ymouse,true)){
trace("This "+_name+" has been pressed");
}
}
}
MyMovieClip = new hitFunction();
MyMovieClip2 = new hitFunction();
... more >>
reversing movieclips
Posted by *kip* at 2/8/2006 12:00:00 AM
Hi
On my parent movieclip there are 3 movieclips which build a complete picture.
One of the buttons on the parent movieclip should reverse those movieclips and
then "goto" a different frame within itself. How do i do that?
... more >>
|