Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




This Should Be An Easy Fix For Experienced AS3 Users



Ok, so I have my main swf which I load external swf's into. I have a fisheye mouse follow type gallery which I downloaded from http://www.flashmo.com/preview/flashmo_133_fisheye When I play the swf by it'self the gallery loads and everything works fine. When I load the gallery into another swf it only loads the text on the page and not the actual gallery. I don't think it's an issue with the linking set up from my menu because the page shows up, it just doesn't start the gallery. I am new to AS3 so I am thinking it is just a simple issue of where the files are being called from but I can't figure it out.
here is the ActionScript placed on the first frame of the gallery file

Code:
stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;

var filename_list = new Array();
var url_list = new Array();
var url_target_list:Array = new Array();
var title_list = new Array();
var description_list = new Array();

var i:Number;
var j:Number;
var tn:Number = 0;
var default_scale:Number = 0.6;
var new_scale:Number;
var center_x:Number = tn_group_mask.x + tn_group_mask.width * 0.5;
var half_of_tn_width:Number = 80;
var current_mc:MovieClip;

var total:Number;
var flashmo_xml:XML = new XML();
var folder:String = "thumbnails/";
var xml_loader:URLLoader = new URLLoader();
xml_loader.load(new URLRequest("flashmo_129_thumbnail_list.xml"));
xml_loader.addEventListener(Event.COMPLETE, create_thumbnail);

var thumbnail_group:MovieClip = new MovieClip();
stage.addChild(thumbnail_group);

thumbnail_group.mask = tn_group_mask;
thumbnail_group.x = tn_group.x;
thumbnail_group.y = tn_group.y;

tn_group.visible = false;
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";

function create_thumbnail(e:Event):void
{
flashmo_xml = XML(e.target.data);
total = flashmo_xml.thumbnail.length();

for( i = 0; i < total; i++ )
{
filename_list.push( flashmo_xml.thumbnail[i].@filename.toString() );
url_list.push( flashmo_xml.thumbnail[i].@url.toString() );
url_target_list.push( flashmo_xml.thumbnail[i].@target.toString() );
title_list.push( flashmo_xml.thumbnail[i].@title.toString() );
description_list.push( flashmo_xml.thumbnail[i].@description.toString() );
}
load_tn();
stage.addEventListener(Event.ENTER_FRAME, fisheye );
}

function load_tn():void
{
var pic_request:URLRequest = new URLRequest( folder + filename_list[tn] );
var pic_loader:Loader = new Loader();

pic_loader.load(pic_request);
pic_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, on_loaded);
tn++;
}

function on_loaded(e:Event):void
{
if( tn < total )
{
load_tn();
}

var flashmo_bm:Bitmap = new Bitmap();
var flashmo_mc:MovieClip = new MovieClip();

flashmo_bm = Bitmap(e.target.content);
flashmo_bm.x = - flashmo_bm.width * 0.5;
flashmo_bm.y = - flashmo_bm.height * 0.5;
flashmo_bm.smoothing = true;

var bg_width = flashmo_bm.width + 10;
var bg_height = flashmo_bm.height + 10;

flashmo_mc.addChild(flashmo_bm);
flashmo_mc.graphics.lineStyle(1, 0x666666);
flashmo_mc.graphics.beginFill(0xFFFFFF);
flashmo_mc.graphics.drawRect( - bg_width * 0.5, - bg_height * 0.5, bg_width, bg_height );
flashmo_mc.graphics.endFill();

flashmo_mc.name = "flashmo_" + thumbnail_group.numChildren;
flashmo_mc.buttonMode = true;
flashmo_mc.addEventListener( MouseEvent.MOUSE_OVER, tn_over );
flashmo_mc.addEventListener( MouseEvent.MOUSE_OUT, tn_out );
flashmo_mc.addEventListener( MouseEvent.CLICK, tn_click );

flashmo_mc.scaleX = flashmo_mc.scaleY = default_scale;
flashmo_mc.x = thumbnail_group.numChildren * 94;

thumbnail_group.addChild(flashmo_mc);
}

function tn_over(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));

if( s_no > 1 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-2) ) );
if( s_no > 0 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-1) ) );

if( s_no < thumbnail_group.numChildren - 2 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+2) ) );
if( s_no < thumbnail_group.numChildren - 1 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+1) ) );

thumbnail_group.addChild( mc );

tn_title.text = title_list[s_no];
tn_desc.text = description_list[s_no];
tn_url.text = url_list[s_no];
}

function tn_out(e:MouseEvent):void
{
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";
}

function tn_click(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));

navigateToURL(new URLRequest(url_list[s_no]), url_target_list[s_no]);
}

function fisheye(e:Event):void
{
thumbnail_group.x -= ( mouseX - center_x ) * 0.05;

if( thumbnail_group.x > tn_group_mask.x + half_of_tn_width )
{
thumbnail_group.x = tn_group_mask.x + half_of_tn_width;
}
else if( thumbnail_group.x < tn_group_mask.x - thumbnail_group.width + tn_group_mask.width )
{
thumbnail_group.x = tn_group_mask.x - thumbnail_group.width + tn_group_mask.width;
}

if( mouseY > tn_group_mask.y && mouseY < tn_group_mask.y + tn_group_mask.height )
{
for( j = 0; j < thumbnail_group.numChildren; j++ )
{
current_mc = MovieClip(thumbnail_group.getChildAt(j));
var distance:Number = Math.sqrt(
Math.pow( Math.abs( stage.mouseX - (current_mc.x + thumbnail_group.x) ) , 2)
+ Math.pow( Math.abs( stage.mouseY - (current_mc.y + thumbnail_group.y) ) , 2)
);

new_scale = 1 - ( distance * 0.002 );

current_mc.scaleX += (new_scale - current_mc.scaleX) * 0.2;
current_mc.scaleY += (new_scale - current_mc.scaleY) * 0.2;

if( current_mc.scaleX < default_scale )
current_mc.scaleX = current_mc.scaleY = default_scale;
}
}
else
{
for( j = 0; j < thumbnail_group.numChildren; j++ )
{
current_mc = MovieClip(thumbnail_group.getChildAt(j));

current_mc.scaleX += (default_scale - current_mc.scaleX) * 0.2;
current_mc.scaleY += (default_scale - current_mc.scaleY) * 0.2;
}
}
}
And here is the XML file to load the Gallery Images



Code:
<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
<thumbnail filename="flashmo_128_elegant.jpg" url="http://www.flashmo.com/preview/flashmo_128_elegant" target="_parent"
title="Item No. 1 (128 elegant)"
description="Elegant Design - Flash website template, subpages for products, AS3 contact form" />
<thumbnail filename="flashmo_127_curtain.jpg" url="http://www.flashmo.com/preview/flashmo_127_curtain" target="_parent"
title="Item No. 2 (127 curtain)"
description="Curtain template for making simple Flash websites including ActionScript 3 + PHP contact form" />
<thumbnail filename="flashmo_126_envelope.jpg" url="http://www.flashmo.com/preview/flashmo_126_envelope" target="_parent"
title="Item No. 3 (126 envelope)"
description="Envelope Template with drag N drop Flash photo gallery, ActionScript 3.0" />
<thumbnail filename="flashmo_125_girls.jpg" url="http://www.flashmo.com/preview/flashmo_125_girls" target="_blank"
title="Item No. 4 (125 girls)"
description="The Girls - Fashion Style Flash Template with a background music loop" />
<thumbnail filename="flashmo_124_delicious.jpg" url="http://www.flashmo.com/preview/flashmo_124_delicious" target="_blank"
title="Item No. 5 (124 delicious)"
description="Delicious Food - Restaurant Template made in Flash CS3, ActionScript 3" />
<thumbnail filename="flashmo_123_business.jpg" url="http://www.flashmo.com/preview/flashmo_123_business" target="_blank"
title="Item No. 6 (123 business)"
description="Business Template built on Flash ActionScript 3 including email contact form" />
<thumbnail filename="flashmo_122_3d_curve_gallery.jpg" url="http://www.flashmo.com/preview/flashmo_122_3d_curve_gallery" target="_parent"
title="Item No. 7 (122 3d curve gallery)"
description="3D Curve Flash Photo Gallery using Papervision3D and XML" />
<thumbnail filename="flashmo_121_3d_grid_gallery.jpg" url="http://www.flashmo.com/preview/flashmo_121_3d_grid_gallery" target="_parent"
title="Item No. 8 (121 3d grid gallery)"
description="3D Grid - Flash Photo Gallery using Papervision3D and XML" />
<thumbnail filename="flashmo_120_artwork.jpg" url="http://www.flashmo.com/preview/flashmo_120_artwork" target="_parent"
title="Item No. 9 (120 artwork)"
description="Artwork Flash Website - Dynamic XML Gallery, Free Templates" />
<thumbnail filename="flashmo_119_swimwear.jpg" url="http://www.flashmo.com/preview/flashmo_119_swimwear" target="_blank"
title="Item No. 10 (119 swimwear)"
description="Swimwear flash website, beautiful transition effects" />
<thumbnail filename="flashmo_118_fashion_gallery.jpg" url="http://www.flashmo.com/preview/flashmo_118_fashion_gallery" target="_blank"
title="Item No. 11 (118 fashion gallery)"
description="Fashion Gallery - XML photo gallery for models, simple transitions, and contact form" />
<thumbnail filename="flashmo_117_artistic.jpg" url="http://www.flashmo.com/preview/flashmo_117_artistic" target="_self"
title="Item No. 12 (117 artistic)"
description="Artistic flash website, XML product list, XML news scroller, flash contact form, smooth sliding transitions" />
<thumbnail filename="flashmo_116_dream.jpg" url="http://www.flashmo.com/preview/flashmo_116_dream" target="_self"
title="Item No. 13 (116 dream)"
description="Dream Flash website, XML news list, subpages for services, email form" />
<thumbnail filename="flashmo_116_pinky.jpg" url="http://www.flashmo.com/preview/flashmo_116_pinky" target="_self"
title="Item No. 14 (116 pinky)"
description="Pinky flash template, XML news list, subpages, contact form" />
<thumbnail filename="flashmo_115_scroller.jpg" url="http://www.flashmo.com/preview/flashmo_115_scroller" target="_parent"
title="Item No. 15 (115 scroller)"
description="Flash XML Scroller for news and announcement section, product list, portfolio list" />
<thumbnail filename="flashmo_114_horizontal_menu.jpg" url="http://www.flashmo.com/preview/flashmo_114_horizontal_menu" target="_parent"
title="Item No. 16 (114 horizontal menu)"
description="Flash XML horizontal menu, animated buttons, rollover effects" />
<thumbnail filename="flashmo_113_vertical_menu.jpg" url="http://www.flashmo.com/preview/flashmo_113_vertical_menu" target="_parent"
title="Item No. 17 (113 vertical menu)"
description="Flash XML menu vertical - glossy menu, animated menu" />
<thumbnail filename="flashmo_112_news_tab.jpg" url="http://www.flashmo.com/preview/flashmo_112_news_tab" target="_parent"
title="Item No. 18 (112 news tab)"
description="Flash XML news tab, news reader, number tabs, auto play" />
<thumbnail filename="flashmo_111_butterfly_studio.jpg" url="http://www.flashmo.com/preview/flashmo_111_butterfly_studio" target="_parent"
title="Item No. 19 (111 butterfly studio)"
description="Butterfly studio flash template including subpages" />
<thumbnail filename="flashmo_110_flower.jpg" url="http://www.flashmo.com/preview/flashmo_110_flower" target="_parent"
title="Item No. 20 (110 flower)"
description="Flower company template, rotating flower animation" />
<thumbnail filename="flashmo_109_rectangular.jpg" url="http://www.flashmo.com/preview/flashmo_109_rectangular" target="_parent"
title="Item No. 21 (109 rectangular)"
description="Rectangular portfolio flash template with simple motion tweens" />
<thumbnail filename="flashmo_108_studio.jpg" url="http://www.flashmo.com/preview/flashmo_108_studio" target="_parent"
title="Item No. 22 (108 studio)"
description="Studio template including XML portfolio list and flash email form" />
<thumbnail filename="flashmo_107_slider.jpg" url="http://www.flashmo.com/preview/flashmo_107_slider" target="_parent"
title="Item No. 23 (107 slider)"
description="Flash XML Product Slider with auto play mode" />
<thumbnail filename="flashmo_106_color_wave.jpg" url="http://www.flashmo.com/preview/flashmo_106_color_wave" target="_parent"
title="Item No. 24 (106 color wave)"
description="Color Wave Studio, flash portfolio template, email form" />
</thumbnails>
If anyone could help me out with some insight I would really appreciate it.



FlashKit > Flash Help > Actionscript 3.0
Posted on: 11-11-2008, 01:24 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Help Require From All Experienced MAC Users
I've created a flash website for my client. Initially site was targeting Windows Version only but after completing the website, my Client wants that website to work in MAC too.

Site seems to be messing up in MAC Version:

What he's complaining is that:
Problem#1
"The site still don't work for me (Internet Explorer people on macs). It
just goes to a blank screen after you click "enter". I have the latest
versions of everything for Mac, and it still don't work."

Problem#2
"So I got to see it by using Netscape(which I hate), and inside
there were some problems. Like when I clicked on a few things it said
"Netscape doesn't know what to do with this file" or "Page not found"...

Can anyone test this website and able to provide any tip to fix this problem.

here is the link: www.infared.com

I'll be waiting for you reply.

Should Be An Easy One For The Experienced
I'm looking for some script to make 3 vertical lines "bounce" back and forth in a movie at random speeds.
Any help?

I am using MX if that makes a difference.

Much Thanks !

monk e

Mac Users Please....easy Question
hi there, i was wondering if any of you mac users out there could test this page for me. specificly, if one of the videos are clicked on, and the video loads up, are you seeing the play/pause button and the "scrubbing" bar where you can go to where you would like to in a scene? i see it but i wonder if that is not visible on mac? here's the page
and thanks for your feedback!

denise

How To Make Flash Content, Easy For Users To Update?
Hello, and thanks for taking the time.

I'm creating a store map for a company that
is updating at least once a month their list of
current stores. And they want to be able to update
the map on their own, but I have no idea on how
to make it easy for them (not knowing flash) to do
the following:

1.Add another store name.
2.Add the corresponding address and picture.
3.Add the corresponding store map.

So my question is:
Is there any program that lets user update their data
and pictures without messing with flash?

Any ideas or directions to related reading would help
Thanks!!
-Waltman

License.Limit.Exceeded With 4x150 Users Licence And Only 300 Real Users
We have 4x150 users licence, set to unlimited bandwith.

We get these messages in event viewer:
Connection rejected by server. Reason : [ License.Limit.Exceeded ] : (_defaultRoot_, _defaultVHost_) : Max connections allowed exceeds license limit. Rejecting connection to : our_app_name/.

It appends a lot since the last few days, even before last update 2.0.3

At the same time, when we check the administration console, the number in the _defaultVhost is much lowe than 600, the maximum number of user that is allowed.

Licences are all OK in the administration console.

We have to restart the Flash server service to correct the problem.

Please help...

Need Mac-users & Alternative Browser Users To Test A Web Page...
Hello,

I am working on a site that uses a simple flash navigation (at the client's request) and I'd appreciate it if I could get some feedback from Mac users as well as PC users with alternative browsers (non-IE).

Specifically what I'm looking for is whether the flash works correctly and sits in the correct place (as opposed to appearing someplace it shouldn't) .You should also hear a subtle clinking sound when mousing over one of the main navigation links.

Here's what it should look like (note that the navigation should line up exactly with the horizontal lines in the background):


http://www.metapanda.com/colorimpact...mpact_demo.jpg (please excuse the poor quality of the jpeg... keeping loading time in mind here)

And here's the link to the actual page: http://www.metapanda.com/colorimpact/

Please note: links currently lead to 404 pages... this is not an error, the site just isn't finished yet

Thanks everyone!

Now I AM Experienced...
at getting this code NOT to work...


i have this button in my flash movie...

on (press) {
_root.whoIs = "yes";
loadVariables ("courseMapValues.asp", _root, "POST");
}

i want the value of whoIs (which i set to yes, obviously) to be passed to my ASP page. this ASP page should set a key value of a cookie (whoIs) to yes. my ASP code is below...

<%@ Language=VBScript %>
<%Response.Expires=0%>
<%Response.Buffer=true%>


<%


Response.Cookies("values").expires=dateAdd("y",1,d ate)



' module one
Response.Cookies("values")("whoIs")= Request.Form("whoIs")

%>


when i look at my cookie values in my browser, i see this...


values
wpdd=&whoIs=&fab=&qrc=&ssb=&comps=&fiveTotal=&what Is=&oneTotal=&fourTotal=&howDoes=&threeTotal=&mdo= &fiveOne=&resPricingCm=&somo=&mounts=&twoTotal=&se rviceD=&fiveTwo=&ddr=&sixTotal=&intro3=
localhost/cookiesFlash
1024
1834770432
29501583
2016209520
29501505
*
i have a lot of other values i am passing but i cut most of that stuff out so you can see my particular problem, but, as you can see, my value of "whoIs" in my cookie is still nothing.


can anyone see why the "yes" value of whoIs is not being passed to my ASP script?

Has Anyone Ever Experienced...
Has anyone ever experienced an extremely long publishing process with a relatively small movie (400k) . . . The only factors I can think of are: The use of the Scroll Bar component (modified), and several dynamic text fields with embedded fonts (Universe, Universe Bold and Universe Light . . . all referenced from an exteral SWF file). That's about it. . . I find it hard to believe that these three things are contributing to this publishing time. Unless it's the amount of dynamic text fields (each using the Scroll Bar). . . Any thoughts????

Thanks!

TO EXPERIENCED WEBMASTERS
From your experience, conclude which is your CHOICE!

---------------------------------------------------------

1)Which DOMAIN REGISTRATION company is the BEST for you????






2)WHich PAID HOST is the best for you???





3)WHICH FREE DOMAIN HOST is the best out there??

------------------------------------------------------------





Here's my answers:


1) http://www.GoDADDY.com
2) http://www.Powweb.com
3) http://www.netfirms.com



let's share our recommendations shall we?

Experienced Help Needed Please
i want to move the browser window by clicking and holding a button within flash. how can i do this. please help.

Anyone Experienced With Formail.pl
I am using formmail.pl on a customers site and I cannot get it to work, the form goes through, but I never recieve the email. I've made sure that it is a valid email address, here are my files:

Never Experienced Like This Before, Please Check.
Hi Everyone

I know it must be something which i dont know about in flash 8 or since before. I have taken out one layer from one design FLA which shows an image opacity tweening from 0 to 100. i have checked the effect control in the propoerties panel to adjust it according to mine, but couldtn find any Color or effect applied to it.

Please check the attached FLA for a clear view, on the layer 1 its the extracted layer.

On the layer 2 its my test.

YOu will see the difference in both effects, PLEASE can anyone tell me where am i missing as i have tried half an hour just to find How and where is this image shine effect is controlled.

Any help would be appreciated.

Thanks
Fahad.

Any Experienced Programmer?....Please HELP
Hello everybody.

I'm trying to build this website and I got to the point where I REALLY need somebody's help since I don't know much about programming.
I will try to explain...I have flash 8

I have a 6 buttons (b1, b2, b3...b6) and 6 animations(a1, a2, a3...a6) all in the same scene

I have a piece of code that allows me to activate and deactivate the buttons when they are Pressed/Released.
I want to link each animation to one button, for example: When "b1" is Activate to gotoAndPlay the frame 1 of animation "a1", and so on, when "b2" is activate to play "a2", etc.

Here's the code that I have for the buttons:

code: var myButtons = [this.b1, this.b2, this.b3, this.b4, this.b5, this.b6];

for (var i=0; i<myButtons.length; i++){
myButtons[i].onRelease = function() {
this._parent.activateItem (this);
}
}

this.activateItem = function(item) {
if (this.currentItem != false) this.deActivateItem();
this.currentItem = item;
this.currentItem.gotoAndStop("in");
this.currentItem.enabled = false;
}

this.deActivateItem = function() {
this.currentItem.enabled = true;
this.currentItem.gotoAndPlay("out");
this.currentItem = undefined;
}

this.stop

[F8] Experienced People Look Here
Hi.

Im kindda new (as in new new) to this flash thing and found this cube thing i want to use.

I want to put a picture on each side of the cube.

Each side should also work as a button,- which it allready do,- but i want it to open a new window where I can put different stuff in.

How do i do that.

If anyone knows,-please help by doing.

Regards

M

Anyone Experienced In Isometrics?
I've been chatting back and forth about isometrics with Odendaal and have it pretty much down, but there's one last thing I can't figure out... to get the floor you take the position on the square grid your on and divide it by -2.5 for the y-axis... now this is great for going up sides... but what is the proper formula for creating the y movement between 2 slopes that make up a corner?

Question For The More Experienced...
i just foudn out a bout this site, and its fabulous. I'm totally new to flash have barely even started.

I've just been trying to sharpen up my xhtml & css for some time, and am going to try and learn some new languages.

this site has great tutorials, but what are your suggestions for other great tutorial sites?? of course flash and actionscript can be pretty daunting, so i really wanna start out with good, fun basics that won't frustrate me too much into not wanting to learn it. this site looks like it will be fun once i get started!

any help would be appreciated. thanks!

Challenge For Experienced Scripters
making things easier on earlier problem.

trying to do this
printAsBitmap ("printoutput", "bmovie");

printoutput has a #b frame to define exact area.

the calling button is in a movie "calc" that is loaded into another one.

As long as I just look at "calc" it works perfectly. However, when I press the button when "calc" was loaded into _level1 of the other movie, the sizing is completely wrong and funny enough the printoutput loses all links to the variables of dynamic text.

Anybody knows what the problem could be - I bet it is just a simple reference thing!

Thanks a lot

Newbie Here Looking For A Little Guidence From The Experienced...
Howdy everyone...like i said...i'm a newbie and i'm looking for a little guidence. Ok...so i know how to shape and motion tween...i know how to make a button...so now i wanna get better with Flash. I don't know where to go from here. I by no means have all of the basics down but i'd like to learn them and i'd like to become a better user. So could anyone point me in the right direction? Or maybe give me a project to start with? That'd be VERY much appreciated. If this is a bothersome post then i apologize...i just don't know what to do. Thanks a lot you guys.


-Charlie-

Looking For Experienced Flash Designer
Hey Guys,

The Creativ Network are looking for a flash design to replace our old one. You would be part of the Creativ Network but we would be paid for work done not monthly. This usually puts people off but here goes. The designer may need to do one piece of work for free (at the time) this means you would earn the money in the long run not straight away. We have plenty of paying clients that would like work doing aswell.

If you are interested please mail robert@creativnetwork.com
Our site is www.creativnetwork.com

Experienced ActionScripter Needed
Hi Guys and Girls,

We are a small, yet very busy web application development company and we are looking for an experienced ActionScripter who is based in London to come and work with us.

If this is you and you know your way around Flash AS like the back of your hand, we need you!

Send me an email if you are interested. No chancers please...

Look forward to hearing from you

Grant

Has Anyone Experienced Any Sort Of Problems?
with the newer flash players for safari/mac ie?

i am running into a problem where some clips aren't loading in mac ie but loading fine in everything else...

Experienced Flash User Plz Help Me
hi guys, im makin a site, and i need to maek a mp3 player for it that constantly loops tracks.

ive been tryin to get this mp3 player working on and off for a week or two and i cant figure it out, i aint very good with the actionscript side of flash

i have put up the .fla here some of u hardcore users could probably do it in like 5 mins. id really appreciate if someone can have a look at it for me. cheers

click here for the fla

if u need any info just ask. thanks

Thermal Printers... Experienced Help, Please?
Hi All,

Over the years I've thrown Flash around as the answer for multimedia cd's, websites, ria's, etc. I've had a lot of fun with it all, but now I've managed to stump myself.

I'm trying to put together a proposal for a tourism kiosk. For the most part, things seem pretty simple. I'm going to use something like Yahoo's AS-Map APIs for building maps in flash. All the interface should be pretty easy. Remote maintenance I've got covered. But my big problem is figuring out printing.

I'm not a stranger to Flash printing, but I'm a complete nube when it comes to using a thermal printer, which is what I'd need to be using. So, here's a few quick questions. If anyone has used a thermal printer before from Flash, I'd really appreciate some input...

Item 1 - Avoiding the damned printer dialog box.

I'm pretty sure I'm stuck on this one. Everything I can find says I can't get rid of it using any of the standalone app development tools, although I can at least use SWF Studio or (*cringe*) Zinc to automatically acknowledge the dialog and hit "OK" without user interaction. But, hey, if anyone has another thought, I'm open to it.

Item 2 - How easy is it to print?

Is printing to a thermal printer just as easy as printing to, well, any laser printer or inkjet? For all intents and purposes, could I develop the entire application by printing to my default network printer (a laserjet), and then when time came for deployment, simply set the default printer on the kiosk machine to the attached thermal printer without having to change all my coding?

Any other sage words of wisdom? I want to jump all over this project, and while the client is waffling over whether or not printing is a necessity, I think that from a marketing and useability standpoint it is essential, so I want to have all my ducks in arrow before I start fighting the good fight, so to speak.

Thanks in advance for any help...

Looking For Experienced Flash User
i need someone to create a flash banner for a new website, the website is partyhater.com and the site that is currently up is not the finished product, so dont judge just yet. I'm looking for someone too make a rotating news banner like the ones on 1up.com or IGN.com, if u can help it would be greatly appreciated, if interested email me at hippyhater6@msn.com or IM me at Chunkylover0422 or just post on the forum

Thermal Printers... Experienced Help, Please?
Hi All,

Over the years I've thrown Flash around as the answer for multimedia cd's, websites, ria's, etc. I've had a lot of fun with it all, but now I've managed to stump myself.

I'm trying to put together a proposal for a tourism kiosk. For the most part, things seem pretty simple. I'm going to use something like Yahoo's AS-Map APIs for building maps in flash. All the interface should be pretty easy. Remote maintenance I've got covered. But my big problem is figuring out printing.

I'm not a stranger to Flash printing, but I'm a complete nube when it comes to using a thermal printer, which is what I'd need to be using. So, here's a few quick questions. If anyone has used a thermal printer before from Flash, I'd really appreciate some input...

Item 1 - Avoiding the damned printer dialog box.

I'm pretty sure I'm stuck on this one. Everything I can find says I can't get rid of it using any of the standalone app development tools, although I can at least use SWF Studio or (*cringe*) Zinc to automatically acknowledge the dialog and hit "OK" without user interaction. But, hey, if anyone has another thought, I'm open to it.

Item 2 - How easy is it to print?

Is printing to a thermal printer just as easy as printing to, well, any laser printer or inkjet? For all intents and purposes, could I develop the entire application by printing to my default network printer (a laserjet), and then when time came for deployment, simply set the default printer on the kiosk machine to the attached thermal printer without having to change all my coding?

Any other sage words of wisdom? I want to jump all over this project, and while the client is waffling over whether or not printing is a necessity, I think that from a marketing and useability standpoint it is essential, so I want to have all my ducks in arrow before I start fighting the good fight, so to speak.

Thanks in advance for any help...

Need Experienced Flash Developers Help
If you have 1-2 years of experience, I need your help, there is not pay involved, but I can host your site for you, with as much space and bandwidth needed.


AIM: ComradeFidel *Preferred
Email: dinker@smalltn.com

For Those Experienced With Bitmap Data
How do you change the coordinates of a bitmap data object? IE, not the holder that is displaying the BMD, but the BMD itself.

I have an example here, 3 bitmap data objects, with their holders lined up next to each other on the stage, now I want to be able to draw on each one individually, with the same drawing MC. However, the drawing MC simply draws on all 3 simultaneously.

What can I do on this test to get all 3 bitmap datas to draw when the mouse is over them, BUT, with the same drawing MC, not 3 seperate ones.

Cheers,
Joe

For Experienced... Constructor Style
Hi pros :D

I have learned a lot from the couple applications that i have done with classes but i am still new to those.

I don't really have an error or problem here. I just wanted an experienced eye to peek in this example of class/subclass constructor and let me know if I have any bad habits or malpractices or wrong way of doing things.

this is the super class's constructor. '_' after the name of the variable[ie scope_], i just so i can easily track what variable was defined in the actual constructor. The variables with '_' before the name, are the ones that come as the attribues [ie _sc, _dpth ]
Code:

function Elements(_sc, _dpth, _isFront, x, y)
{
   scope_ = _sc;
   depth_ = _dpth;
   sideIsFront_ = _isFront;
   x_ = x;
   y_ = y;
   
   setXY();
   setSideMC();
   createLayer();
   createTheElement();
}


And here is the extended class's constructor.
Code:

function TextElement(_sc:MovieClip, _dpth:Number, _isFront:Boolean, _txt:String, x:Number, y:Number)
{   
   super(_sc,_dpth, _isFront, x, y);
   scope_ = _sc;
   theText = _txt;
   initialization();
}


I would really appreciate any advice ...

Need Advice From Experienced Business Persons
I know that site pricing is a touch and feel kind of thing, but how much does a seriously tripped out Flash site go for these days? I'm talking ball-park figures here. I've heard of sites that go for $500 and go up to $1900. How much do you think a site like 2advanced would cost the average consumer? I'm trying to break into the business. If anyone wants to be cool and check out my site http://www.lunarwebdesigns.com, how much would one charge for a fairly comparable project.

Thanks anyone.

Experienced User W/ Newbie Question
Ok, I just upgraded to MX from Flash 5 and now I find that I can't do a simple little thing. Therefore, I'm asking for help (reminds me when I first started learning Flash!!!)

On the main stage, I drew a box and then converted it to a movie clip. In the editing mode for the movie clip I want to apply a motion tween that changes the tint from black to red. Really basic right? hehe...or so I thought. I have keyframes on 1, 10, and 20. I simply want the black on 1, red on 10, and black on 20 to make a 'glowing' effect for the tween and the movie clip.

Before, I was able to click on an instance on the main stage and access tint, alpha, brightness, etc from the "color" selector on the properties panel. However, when I'm in the editing mode for the above mentioned movie clip, I can't do this, hence my problem for this very simple effect!!

Is there something I have to do that's new in MX for this? I feel silly asking, but I'm stumped! lol

HELP!

Address Bar Prob In Browser 4 Experienced Dev's
hi all, this is for flash 5 but i dont know if it should be in this forum... but i would like 2 know if this prob can be combated using actionscript so here goes >

i am designing a website using flash for everything. to enter the website u arrive at the start page where from all the following pages appear in a browser window with no attributes, ie. no address, nav bar etc. all nav is in the flash movies.

the prob...

if i go back to the start page (the page with all attributes present)
and click on the upsidedown triangle button(located in the address bar) to quick show previous addresses visited it lists all the pages in my site i viewed, this sux cause if i click on one of these it obviously will go to the right page but will not be in the browser window with no attributes.
scrollbars will be present and so on.

Is there anyway to block the browser from storing the other site URL's except for the start page from where the open browser is activated ???


Thanks
protocol

Has Anyone Experienced Flash Skipping Frames?
I have developed a few flash files with my new MX 04 and I noticed that sometimes (about 50 - 50) my movie skips frames. I tried publishing a projector movie thinking it was a loading issue but it still skipped frames. Below are more information in detail about the two projects I had this happen with.

Project 1
Timeline on level 0 had several movies placed on it. Lets say frame 1 had one movie and frame 50 had another. When the head reached frame 50 the movie would play but the fiirst few frames of the movie (with heavy animation) were skipped. WHY? This project was designed for CD-ROM not the web. Again, sometimes it would play and other times it would not.

Project 2
Timeline on level 0 had a goto command to make the movie skip to the end of the timeline. Again I placed a loading loop to make sure that everything was loaded but sometimes the movie skipped the goto frame and continued playing along the timeline. DOES ANYONE ELSE EXPERIENCE THIS? This is for the web not CD-ROM.

Thanks for your help and insight.

Experienced Flash Developer Wanted...
for the following problem i have.......


im creating a game, i have the ship in place and moving correctly. This is an empty MC, which places a spaceship pic in itself, depending on the ship the user chooses. The empty MC is moved around the screen via keys.

i am using 'key.isdown(space)' to place a laser beam instance onto the stage where the craft is, this beam MC moves itself up the screen and dissappears.

thats it in theory...


the following code is connected to the emptyclip(where spaceship appears):

code---------------------------------------


if(Key.isDown(Key.SPACE)){
var lasername="laser"&_global.lasernum+1;
var thisx = _x;
var thisy= _y;
_root.attachMovie("laser_exp",lasername,10);
setProperty(lasername,_x,thisx);
setProperty(lasername,_y,thisy);
//need to also send lasername value to the laser instance so can delete itself

}


code----------------------------------------

the laser beam MC attaches itself, but always in the top corner(x:0,y:0), and doesnt leave the screen when it gets to the top of the movie (so essentially appears and stays in place).

what i need is to set the x/y props of the attached beam so it appears where the craft was when it fired it, then i need to pass the 'lasername' var value (telling me the instance name of the attached laser MC) to a var inside the attached laser clip, so when it gets to the top, it can remove itself using its name.

---------------
pretty simple really, and its my syntax thats wrong.
And i need the code to pass vars between MC's.

thx

MW

Experienced Flash Developer Wanted...
...for the following problem i have.......

hi........

im creating a game, i have the ship in place and moving correctly. This is an empty MC, which places a spaceship pic in itself, depending on the ship the user chooses. The empty MC is moved around the screen via keys.

i am using 'key.isdown(space)' to place a laser beam instance onto the stage where the craft is, this beam MC moves itself up the screen and dissappears.

thats it in theory...


the following code is connected to the emptyclip(where spaceship appears):

code:
if(Key.isDown(Key.SPACE)){
var lasername="laser"&_global.lasernum+1;
var thisx = _x;
var thisy= _y;
_root.attachMovie("laser_exp",lasername,10);
setProperty(lasername,_x,thisx);
setProperty(lasername,_y,thisy);
//need to also send lasername value to the laser instance so can delete itself

}


the laser beam MC attaches itself, but always in the top corner(x:0,y:0), and doesnt leave the screen when it gets to the top of the movie (so essentially appears and stays in place).

what i need is to set the x/y props of the attached beam so it appears where the craft was when it fired it, then i need to pass the 'lasername' var value (telling me the instance name of the attached laser MC) to a var inside the attached laser clip, so when it gets to the top, it can remove itself using its name.

---------------
pretty simple really, and its my syntax thats wrong.
And i need the code to pass vars between MC's.

thx

MW

EDIT: Added as tags for the code sample. - jbum

Tricky Question For Experienced Coders
Hey everyone

I'm trying to figure this one out, but it's pretty tricky. I'm making a site, where you can practice music theory, and within this site there's a section, where you can learn to hear what type of interval that there is between 2 tones. I have mp3 files with these tones: (if you don't know anything about music, it's just a bunch of tones where the following is 1 halftone higher than the previous)

Mp3 file # 1: C
Mp3 file # 2: C#
Mp3 file # 3: D
Mp3 file # 4: D#
Mp3 file # 5: E
Mp3 file # 6: F
Mp3 file # 7: F#
Mp3 file # 8: G
Mp3 file # 9: G#
Mp3 file # 10: A
Mp3 file # 11: Bb
Mp3 file # 12: B
Mp3 file # 13: C (in a higher octave)
Mp3 file # 14: C#
Mp3 file # 15: D
Mp3 file # 16: D#
Mp3 file # 17: E
Mp3 file # 18: F
Mp3 file # 19: F#
Mp3 file # 20: G
Mp3 file # 21: G#
Mp3 file # 22: A
Mp3 file # 23: Bb
Mp3 file # 24: B
Mp3 file # 25: C (in yet a higher octave)

What I want flash to do, is to select 2 files to play: 1 random MP3-file between #1 and #12... and after that it has to randomly select one of the files that is between the number of the first selected file and the following 11 files. Flash must not play for example file # 1 and then play file #24, because the intervals are too far from eachother. It has to be an interval of no more than an octave (that is from C to the following C, 11 tones higher). So if flash selects file # 3, the second file has to be from file #3 to file #14

What is teasing me even more is that the user has to be able to select which intervals he wants to practise. So if he chooses that he only wants to practice the second and the third tone in a scale, flash still has to select a random number between file # 1 and #11, and then when it has to select the other file, it has to randomly select between the 2 files that he has choosen to test himself in...

Are you following me? Help would be much appreciated....
thanks - from Ronze

Never Experienced This POPUP Problem Ever, Please Check.
Hi Everyone

I dont know why but i have set the right code for the popup on th ebutton but its not doing anything, PLEASE anyone check and let me knwo what could be the problem.

The pther problem is that though i have the flash player installed in my system but even after that some sites are showing that you dont have the flash player installed and go to this link to download it:

http://www.macromedia.com/support/do...shplayer/help/

I get there , download it, it showed me the 3d animation in flash succesffully installed, then again when i go to any site the same error message.

Is it my security settings problem? or flash player problem?

really appreciate any response

Thanks
F.

Experienced AS 3.0 Experts, Best Book To Learn As3
Hi I am fairly new to AS3.0, but i have used it quite extensively, but in the sense to where i am not fully proficient in it. In your opinion whats the absolute best book to learn as3? Thank you

Has Anyone Experienced This? Slow Audio Playback.
I'm wondering if anyone has experienced the issue I'm having...

I'm using the same Flash/XML MP3 player that I've used on many occasions, but for some reason now, some of the mp3s that I'm pulling in are playing at a slower pitch.

Because It only happens to some MP3s it makes me think that it's not the SWF but something to do with the MP3. The one thing they all have in common is that they were all songs that were created in Garageband, then exported to iTunes as an AIF and then converted to MP3. I have yet to experience a problem with songs that I've downloaded or ripped from CDs.

Here's the link to the player and two songs. Both songs were done in Garageband and converted to MP3 the exact same way, yet while the first songs plays fine, the second plays back much slower that it's source.

http://www.theheavycoats.com/music/newstuff/testaudio.htm


Below are the direct links to the MP3s so you can see that the source MP3 plays fine on its own.

http://www.theheavycoats.com/music/newstuff/answeredprayers_new.mp3
http://www.theheavycoats.com/music/newstuff/seasong_new.mp3


I'm considering posting this on Apple's forum as well. What do you guys think?

Thanks.

Hiring Experienced ActionScript Developer
partyStrands, has a full-time position available for a Flash Developer.

To apply, please send a cover letter, resume, salary requirements, work samples, references to jobs@mystrands.com with the subject: partyStrands Flash Development Engineer.

JOB SUMMARY
If you dream in ActionScript and strive to create rich interactive experiences for clients such as MTV, we've been looking for you.

You should have a solid foundation in creating, optimizing and delivering rich media experiences over the Internet across multiple browsers and platforms. At least 3 - 5 years of professional flash development experience is preferred.


QUALIFICATIONS
Excellent working knowledge of the following required:
- Flash 9 and Flash CS3 Professional
- Adobe ActionScript 3.0 Programming
- Adobe Flex Builder 2
- XML and dynamically driven content

Proficient with:
- JavaScript, HTML, CSS

Nice to have experience:
- Adobe Flex Builder 3
- Adobe Flash 10
- Adobe AIR
- ASP, PHP
- Database integration
- Multiplayer socket servers
- Flash media server / Red5
- PhotoShop, Illustrator, and AfterEffects


About partyStrands:
partyStrands creates interactive solutions for the entertainment, nightlife and concert industries that utilize interactive screens, online and mobile phones to create an engaging and enhanced consumer experience.

Our offices are located in Corvallis, Oregon and we are currently developing solutions for clients in the United States, Spain and Brazil and are expanding our footprint to even more countries.

If you are a creative, energetic and driven individual, wanting to work for an exciting and growing start-up company and create solutions for current clients of ours such as MTV, we look forward to hearing from you.

www.partyStrands.com

Did You Experienced Flash 8 Upload Issues?
Hi there!

Mac or PC or Linux users did you ever used Flash 8 Upload through any browser (Safari, Firefox, Opera, IE, etc)?

If you ever experienced Flash 8 Upload Issues using FileReference or FileReferenceList (POSIXErrors, HTTPErrors, onComplete never reached, etc) just post your problem here as a reply to this posting.

I do this because some Flash experts seems to believe that there's no issue at all nor they ever existed !!!

Thanks!

Flash Video And Macintosh - Anyone Experienced?
Hi all,

seems I am the only developer out, who has to implement flash video compatible with Macintosh. I wonder, if Macromedia simply did not care about Macintosh cache problems or if I am too stupid.

I got some videofiles (around 3 / 6 MB) showing a filmproduction companies work. We used to develop their site back in Flash 5 times using Quicktime for all vid stuff - perfect fit.

Now, we were asked to do it completely in Flash. Good idea.

First we used a loadMovie() approach to do this, embedding swf files (cause it was nice to have a kind of progressive download but stay Flash MX compatible). Works perfectly on PC. Macintosh crashes at small Internet Explorer cache sizes.

So we switched to MX2004 and FLV files / components - same effect. Small cache - huge problem.

Macromedia announced in a white paper, that FlashCom would not require much RAM / cache, cause it provides real streaming instead of progressive download.

I wonder if this (horrible expensive) solution (which our client does not even think of to pay for) is the only way to do it.

Anyone out, experiencing the same problem?

Is there a way to increase cache size without user input (via AS, whatever).

Please help - this is not only about loosing money. We are commited to flash-based development and many of our clients provide content for a Macintosh target audience. There must be a solution to implement video for both platforms.

Thanks a lot. Martin

Newbie Needs Help From Experienced Flash User
I have seen this a thousand times already on these forums so I am embarressed to ask it again, but I am working on a project that has to get done tonight.

I just started using Flash five or so days ago and I need to know how to show a "preloader" movie while the actual movie (its a slideshow) downloads.

I thought I understood what I was doing when I created a movie clip and positioned it in the first frame, checked the download status there, and looped until the movie was loaded and then jumped out of the first frame.

But nothing I do works right. Either the clip takes on the timeline (speed etc) of the parent movie or vice versa. Or it just doesnt play. On and on and on.

I guess I need "idiot steps" for making this work.

Is there anyone on right now who can help me?

Looking For Experienced Flash Designer In Orange County Or LA
I am looking for a flash designer that can also work with HTML. The project is for a major manufacturer and we are looking for a way to showcase a new product. We currently need a consultant to talk with regarding our goals. If you are available for a phone conference please let me know.

Experienced Flash Designer Wanted For Project
Must have 4+ years of flash experience in building exceptional websites. Must be a team player, be able to meet deadlines and take direction. Work offsite no problem. Please send a letter of introduction, links to sites you’ve been responsible for creating and your rates.

Where Do I Find Anm Experienced Action Scripted Fast?
Hi,

I have a Flash presentation which needs completed. Basically, all of the buttons need programmed and as a newbie who is running out of time to learn, I need some help.

First, I'd like to know where you find people who can do this (here?)

Secondly, how long it would take to programme approx 875 buttons (many of which are repetitions (e.g home button, help button, exit button appearing on every screen). There are approximately 109 screens which need to be linked.

Thirdly, what would be a realistic price to expect to pay for someone to do this? It is a non-profitmaking project for a voluntary organisation.

Thanks

Experienced Flash Knowledge Needed <MP3 Related>
Hey,
I type this script in my first frame of my Flash movie:
<embed src=>"http://pathto/player.swf"
menu="false" quality="high" width="300"
height="320" name="index"
type="application/x-shockwave-flash"
go/getflashplayer"
flashvars="playList=http://pathto/playlist.xml&ShowPlaylist=1&ShowEQ=1&firstTrack=1&
initVol=50" wmode="transparent"
border="0" />

And it comes up with this error:

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Unexpected '<' encountered
<embed src=>"http://pathto/player.swf"
Total ActionScript Errors: 1 Reported Errors: 1


Why is this??

thanks Jimmy

Need Some Experienced Help For Defining On What Date A Certain Sunday Is(code Inside)
Hi,

What I would like to achieve is to dynamically get the DayLightSavingTime for European countries. The problem I encounter is with defining what the date of the last sunday in the two Months is. The code seems to retrieve the sunday_begin correctly (30th) but the sunday_end is retrieved as the 31st (which isn't a Sunday).


Code:
//retrieve last sunday in March and last sunday in October for (Europe)DaylightSavingTime

//define begin date
DLST_begin = new Date();
DLST_begin.getYear();
month_begin=2;
DLST_begin.setMonth(2);
for(i=1; i<32; i++){
DLST_begin.setDate(i);
if(DLST_begin.getDay() == 0){
sunday_begin = i;
}
}
//define end date
DLST_end = new Date();
DLST_end.getYear();
month_end=7;
DLST_end.setMonth(7);
for(i=1; i<32; i++){
DLST_end.setDate(i);
if(DLST_end.getDay() == 0){
sunday_end = i;
}
}
//define today
today = new Date();
this_month=today.getUTCMonth();
this_date=today.getUTCDate();

if(month_begin < this_month < month_end){
DLST =1;
}else if(this_month == month_begin){
if(this_date < sunday_begin){
DLST =0;
}else{
DLST =1;
}

}else if(this_month == month_end){
if(this_date > sunday_end){
DLST =0;
}else{
DLST =1;
}

}else{
DLST =0;
}


Thnx alot for the help..

Greets,

Tony

Need Some Experienced Help For Defining On What Date A Certain Sunday Is(code Inside)
Hi,

What I would like to achieve is to dynamically get the DayLightSavingTime for European countries. The problem I encounter is with defining what the date of the last sunday in the two Months is. The code seems to retrieve the sunday_begin correctly (30th) but the sunday_end is retrieved as the 31st (which isn't a Sunday)*should be 26th of October for this year*.



Code:
//retrieve last sunday in March and last sunday in October for (Europe)DaylightSavingTime

//define begin date
DLST_begin = new Date();
DLST_begin.getYear();
month_begin=2;
DLST_begin.setMonth(2);
for(i=1; i<32; i++){
DLST_begin.setDate(i);
if(DLST_begin.getDay() == 0){
sunday_begin = i;
}
}
//define end date
DLST_end = new Date();
DLST_end.getYear();
month_end=7;
DLST_end.setMonth(7);
for(i=1; i<32; i++){
DLST_end.setDate(i);
if(DLST_end.getDay() == 0){
sunday_end = i;
}
}
//define today
today = new Date();
this_month=today.getUTCMonth();
this_date=today.getUTCDate();

if(month_begin < this_month < month_end){
DLST =1;
}else if(this_month == month_begin){
if(this_date < sunday_begin){
DLST =0;
}else{
DLST =1;
}

}else if(this_month == month_end){
if(this_date > sunday_end){
DLST =0;
}else{
DLST =1;
}

}else{
DLST =0;
}

Thnx alot for the help..

Greets,

Tony

Newb To Flash...can Any Experienced People Take A Look...small Problem I Think...
newb to flash...can any experienced people take a look...small problem I think...

I have the .fla file if any of you have the time or want to look at it real quick....I think it is a rather minor problem....basically I know it has to do with the actionscript on the "menu ac" layer which is basically to move the top menu buttons around....they work if I set the publish settings to flash player 5 but when I put it to 6, they whole scene floats and zooms around, emulating the behavior that the action script is only supposed to do to my menus....which is weird....I have to publish, compile under 6 b/c my other menu with the drop down and video mask on the left side won't work...

any help would be great....I am sure any veteran of this program would be able to solve this in a minute or two...

here is where you can D/L the .fla file:
http://www.geocities.com/michaelnyden/flotating.fla

-Mike

Copyright © 2005-08 www.BigResource.com, All rights reserved