all groups > flash actionscript > august 2007 > threads for wednesday august 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 29 30 31
read external xml - network problem
Posted by leoserra at 8/8/2007 10:34:43 PM
Hi,
I'm finalizing a project that needs to retrieve weather information to display.
There's a main movie, that loads another movie (wich is local). This last one
gets xml information, from an external site. Localy this works fine, but when I
put in a website, the network security warning... more >>
Looping Sound Problem
Posted by e_lee at 8/8/2007 10:22:56 PM
I?m in desparate need of some AS3 help. I'm loading a swf with sound embedded
in the timeline into another file thusly:
var urlRequest:URLRequest = new URLRequest("animatio ns/ANIM_Test4.swf");
var animLoader:Loader = new Loader();
animLoader.load(urlR equest);
addChild(animeLoader);
... more >>
Externally loaded SWF X&Y position
Posted by jcedens at 8/8/2007 9:33:44 PM
I have spent the last 2 hours searching this forum for a solution to my
problem. I have read more than 20 topics and tried them all...nothing works.
My problem:
I have a SWF that uses the following script to load another swf:
loadMovieNum("Base/BASE_ALL.swf",2);
I would like to pla... more >>
Dynamic Pause/Play Toggle Button
Posted by NDempewolf at 8/8/2007 9:14:22 PM
Hello,
I am attempting to create a toggle button that can play and pause the movie I
have on the main stage (scene 1). I also have tertiary navigation that will
allow the user to jump to a different part of the movie on the main stage.
http://www.baxa.com/testing/webdemos/em2400demo.swf
... more >>
Flash / php variable passing
Posted by chopTheWood at 8/8/2007 9:02:30 PM
I have an array in php called $image_array that I want to pass to image_array
in Flash:
the php code is;
-------------------
<?
$dir_name = "/home/myHome/public_html/flashRev7/thumbImages/oil";
$dir = opendir($dir_name);
//READS THE DIRECTORY
while ($file_name = readdir($dir)) {
... more >>
Scroll text to bottom
Posted by jak9942 at 8/8/2007 8:14:10 PM
How would I go about starting the imported text at the bottom rather than
having to scroll to the bottom?
Normal:
----------------- window top
text 1
text 2
text 3
----------------- window bottom
text 4
text 5
Instead I would like:
text 1
text 2
----------------- ... more >>
Compile error
Posted by breez11 at 8/8/2007 5:36:07 PM
I am getting a type mismatch error and don't understand why.
Here is the code
The line that is outputting in error is this
xmls = new XML(xmlReceiver);
var xmlReceiver:LoadVars = new LoadVars();
xmlReceiver.onLoad = function(success:Boolean) {
if (success) {
xmls = new XML(xmlRe... more >>
Newb-type code question
Posted by Winston2 at 8/8/2007 5:31:43 PM
Can someone look at my code and tell me where I might be going wrong? I'm
trying to load a background, create a movie holder and create a button to
launch a movie. When I test the movie the button does not show. The background
loads fine. I'm using Flash Professional 8. Thank you very much.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Can't import custom class!
Posted by -KhAo- at 8/8/2007 5:16:05 PM
I have no idea why as3 is so stupid but it is and I have to deal with it.
Basically, I creatd a Server.as file with the Server class but I can't import
it into my .fla! Both are in the same folder and when I change properties to
use AS2 it works! But when I'm doing it in as3 it doesn't work...... more >>
AS 3: URLLoader
Posted by Vee at 8/8/2007 5:12:32 PM
Problem:
I cant seem to get the completeHandler function to output the results of the
variable to the textfield main_txt.
The below code is stored in a URLLoaderDataFormat.as file.
Below that is my code in the echo.php
package {
import flash.display.Sprite;
import flash.events.*... more >>
Audio/mp3 playback problem
Posted by Interlife at 8/8/2007 4:49:11 PM
Hello , could anyone help me please
i would like to introduce my problem :
i have a flash file in the first frame i put a code to load an mp3 file:
var audio:Sound= new Sound();
audio.loadSound("Dog1.mp3",true);
i put a button so when i press the button the sound will play... more >>
Flash and Javascript
Posted by arandlett at 8/8/2007 4:22:59 PM
I have a function in my html that I am returning a url back to flash for a
reference to a jpeg. However IE doesn't seem to send that variable back to
flash or Flash be able to grab that variable from IE. Safari & Firefox work
fine. I need some help figuring this out.
Javascript... more >>
Weird behaviour when changing base class of a symbol
Posted by Hyphz at 8/8/2007 4:17:03 PM
Hi folks,
I have an ActionScript class called Gem, which is declared as extending
flash.display.MovieClip.
If I link a library symbol to it with:
Class: Gem
Base Class: flash.display.MovieClip
then it works fine. But if I link it instead with:
Class: Gem1
Base Class: Gem
... more >>
Make flash wait before looping data from xml
Posted by shurleynova at 8/8/2007 4:14:04 PM
Ok now the fun part was getting flash to plot all the points based on an xml
(Thanks again Patrick) but now they want me to make the time between them
appearing a variable too. I can add extra lines to the XML to make the object
appear in the same location for a set number of frames but that ... more >>
can't remove movie clip
Posted by Fred at 8/8/2007 3:57:17 PM
I have a game and when the game ends, the aliens that are still alive
are left on the screen when it goes back to frame 1. i have tried
using the code with removeMovieClip, but it isn't working. here is
the code used to create the aliens and the code that happens when the
game is over. Please... more >>
Looking for a script to customize character look
Posted by MariaEC at 8/8/2007 3:57:06 PM
I'm building a site that incorporates some flash. What I'm trying to do is make
a site where the user can customize their own personal doll. For example I want
to have a collection of hairstyles, eyes, noses etc.; then the user can click
on any hairstyle they like and the hair appears on the d... more >>
Read XML data for weather service
Posted by leoserra at 8/8/2007 3:54:21 PM
Hi everyone,
I'm trying to make a module in Flash to read external data from a weather
service (in this case is weather channel). I tried to make this in AS3 and it
worked perfecly, but the rest of the interface is in AS2.
What I'm trying to do is to send an http adress in order to get x... more >>
separate actions from output window?
Posted by tr at 8/8/2007 3:51:47 PM
Hello,
Sorry if this has been asked before.
In Flash CS3, I have the Output, Compiler Errors and Actions in 3 tabs. I
would like to have the Actions separate so I can view my code at the same
time as either the errors our the output. Is there some way to pull these
apart?
Thanks,
Tim... more >>
Tweening pixel fonts?
Posted by MattMika at 8/8/2007 3:30:31 PM
I have these tweens on a mc:
var tween_handler_alpha:Tween = new Tween(content_mc, "_alpha",
Strong.easeIn, 0, 100, 2, true);
var tween_handler_y:Tween = new Tween(content_mc, "_y",
Strong.easeOut, 475, 15, 5, true);
How can I round the y tween to keep the text on whole y coordinates? I
... more >>
load movieclip
Posted by csgdon at 8/8/2007 3:12:32 PM
Hey, hopefully someone can help me out. I'm having a problem getting the load
movieclip script to work. Here's my situation, I have a swf file that I want to
load into another swf, I have this test file that I'm working on, I created the
swf that I want to pull in. no problem. I attach the loa... more >>
Exporting to a File
Posted by shurleynova at 8/8/2007 2:17:07 PM
Ideally outputting to an xml file is where I am headed but if there is
something that wouldbe better I am open to suggestions.
My first question is s simple yes or no - Can you export the contents of the
output window? ie. If I wanted to have all my traced objects in a file outside
the fla... more >>
TextFormat issue
Posted by thejokerman05 at 8/8/2007 1:47:15 PM
The text doesn't show with correct font. Using default Times, why? I've created
and linked the font in my Library.
var fotoLocationX:uint = 5;
var fotoLogo:TextField = new TextField;
var format:TextFormat = new TextFormat;
format.font = "CstBerlinEastMedium";
format.size = 12;
... more >>
Video with a Button on top (k)
Posted by W. Kirk Lutz at 8/8/2007 10:15:51 AM
I have a moving scrollbar with stills from various FLV videos. When the
user rolls over a still it stops the scrollbar and plays the
video(videos are about 5 seconds long). I want a button to pop up after
about 2 seconds that says "Play Entire Video". I accomplished this by
putting a cuePoin... more >>
bitmapdata.draw() does not work with crossdomain images
Posted by avijitdutta at 8/8/2007 5:59:04 AM
We are developing an dynamic animated image gallery using Flash 8 & AS2, for
which the images are called up from a different domain. I have used the
reflection class (in which bitmapdata.draw() works ) to achieve reflections.
This works fine when the images are called from the same domain. But... more >>
How do you make your own AS3 custom methods?
Posted by Marcus House at 8/8/2007 5:35:14 AM
I was wondering If I could make my own method for shape.
I have written a little function to draw a line using a square brush from one
point to another point.
Now at the moment this is just a function as follows
function drawSquareLine(shpe:Shape,x1,y1,x2,y2,brushWidth,color){
with(shpe... more >>
scrolling mouse wheel
Posted by lostinscript at 8/8/2007 5:10:31 AM
Hi,
Does anyone know how to make a movieclip scroll with the mouse wheel with a
slowdown (makes the movie clip look like its slowing down) function so that
with one scroll of the wheel the movie clip will move down then slow down and
with another scroll it will go down further etc...? I ... more >>
problems about Web&flash connection
Posted by macluz at 8/8/2007 4:16:39 AM
HI!
If i used an opening flash (localhost) to send variables to php(server) ,
how can i make it without open a web ?
I tryed many ways .
It was said that bulid a crossdomain.xml in the server would be ok.
What i want :
1 , I want a flash file at the localhost , It can sen... more >>
LoadVariable - Undefined
Posted by Jay1347 at 8/8/2007 4:00:22 AM
I'm trying to randomly load images, but I get undefined message when I want to
load a variable from a number.txt.
All files are in the same directory.
I tried to set a global variable, but no success.
Your help would be appreciated.
Thanks a bunch,
Code of the main swf contai... more >>
GlowFilters disappear on large Sprites?
Posted by cayennecode at 8/8/2007 2:49:53 AM
results in the GlowFilter disappearing....
?... more >>
Mouse Sensitive Scolling
Posted by kitster79 at 8/8/2007 12:59:11 AM
Could anyone tell me how to acheive this kind of scrolling......
http://christinagarciabridal.com/main.html From the home page click on
"PRESS" and then "NATIONAL EDITORIAL".
In the right window of the "national editorial" page, there is an interactive
scrolling movie clip...I wan... more >>
Removing movie clips with added children
Posted by TimDiggle2000 at 8/8/2007 12:00:00 AM
If I have a movie clip added as a child to another movie clip on the stage, and
I remove it's parent, and null all references to the parent, will both the
parent and child movie clip be deleted by the garbage collector? If so, will it
be done on it's regular pass or by mark and sweep?
... more >>
can someone help me explain this code
Posted by fanglinyong at 8/8/2007 12:00:00 AM
hello, when i study this code, i can't understand some code , can someone help
me to explain this codes ?
thanks very much!!!
Vector.prototype.rotate = function(angle) {
var ca = Math.cos(angle * Math.PI / 180);
var sa = Math.sin(angle * Math.PI / 180);
with(this) {
var rx = x* ... more >>
FLV & SWF player with XML Playlist
Posted by RedorDead at 8/8/2007 12:00:00 AM
What I want is to create a player that can handle SWFs and FLVs or just FLVs,
that load from a XML playlist.
Now I have seen the tutorial (Creating a Dynamic Playlist for Progressive
Flash Video) url: http://www.adobe.com/devnet/flash/articles/prog_download.html
But this populates a list... more >>
Error exporting from Flash 6 to flash 7 or 8
Posted by HUGO DION at 8/8/2007 12:00:00 AM
Hi,
Does anyone know why this script works when exported in flash 6 but not as
flash 7 or 8? I have checked all my capital letters and so on but I can?t
figure it out.
Thank in advance for your help.
//Frame 1(only one)
//Movie clip "ball" in library
for(i=0;i<8;i++){
th... more >>
Sound Mute/Play
Posted by GeckoProgrammer at 8/8/2007 12:00:00 AM
Okay, so I have this:
a sound button containing:
a sound loop clip
and some text
(look at the fla)
(SAME BUTTON BUT TWO DIFFERENT FUNCTIONS)
When I press the "mute" button, I want it to mute the sound, as well as stop
the sound movie clip.
When I press the "play" button aga... more >>
begin Fill merge with another fill
Posted by Marcus House at 8/8/2007 12:00:00 AM
Hi all.
Got a problem.
In the below example (if you paste into a new fla with AS3) you will see that
the two squares sit on top of each other. This is not what I want for a few
reasons. I am makeing a brush type tool that needs to update the shape every
time the mouse moves etc.
Is t... more >>
Artifacts in External SWF
Posted by rikenpatel at 8/8/2007 12:00:00 AM
i have created one player interface(application) in flash 8. i use that app to
play some recorded videos(swf files) one by one. that mean i load external swf
in my main swf.
we have recorded those videos using camtasia studio 4(third party software).
now if we play that swf file individu... more >>
Impossible to use XML inside a class
Posted by -KhAo- at 8/8/2007 12:00:00 AM
I have a really big problem that NEEDS fixing!
I created a custom class in a .as document and whenever I try to use XML
within it, it tells me every method doesn't exist! To make sure I wasn't doing
things like an idiot I even copy & pasted the part of code who wasn't working
into a blank do... more >>
|