Re: [Flashcoders] Good CMS options?

2008-11-15 Thread Jim Robson
Alfresco is highly customizable, using Java or JavaScript web scripts,
and it's open source.

http://wiki.alfresco.com/wiki/Main_Page

- Jim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FW: [Flash_Tiger] Outsourcing and Actionscript specs

2008-11-05 Thread Jim Robson
I agree with Joel; your best bet is to provide a highly detailed
design spec with complete API, and also provide guidance on what
components to extend, etc. The downside is that it takes a lot of time
to do all of this work, and depending on your particular situation, it
may be unrealistic.

Another option is to provide a best-practices document (such as you
did), and then specify the framework / architecture that you want them
to use. The danger here (as I have found out the hard way) is that if
the developers you choose are not familiar with the framework you
specify, you may end up with enough spaghetti to feed your family for
about a year.

For me, the most helpful practice is performing frequent code reviews
during the development process. If you can deal with their code in
modest-sized chunks and give them detailed feedback on what should be
done to improve it, you can dramatically improve the final product.
Again, this takes time, but it also pays big dividends.

HTH
- Jim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] PureMVC vs Cairngorm // who's better?

2008-04-11 Thread Jim Robson
Good timing - I just posted this last night:
http://www.robsondesign.com/blog/index.php/2008/04/10/puremvc-vs-cairngorm/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of artur
Sent: Friday, April 11, 2008 3:09 PM
To: flashcoders
Subject: [Flashcoders] PureMVC vs Cairngorm // who's better?

whats the verdict for using one over the other --  for a Flex+AMFphp  RIA.



thanks
-- 

*artur :.***

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] PureMVC vs Cairngorm // who's better?

2008-04-11 Thread Jim Robson
I sent this to the list well over an hour ago, and it still hasn't shown up,
so I'm re-sending. Forgive me if you receive it twice...

-Original Message-
Good timing - I just posted this last night:
http://www.robsondesign.com/blog/index.php/2008/04/10/puremvc-vs-cairngorm/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of artur
Sent: Friday, April 11, 2008 3:09 PM
To: flashcoders
Subject: [Flashcoders] PureMVC vs Cairngorm // who's better?

whats the verdict for using one over the other --  for a Flex+AMFphp  RIA.



thanks
-- 

*artur :.***

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How do you do this?

2008-02-25 Thread Jim Robson
Hello all,

There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to go
about creating this kind of effect; my (few and rare) attempts at 3D
animation in Flash have not performed nearly this well:

http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf

Any ideas/hints/urls/etc?

- Jim

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] ADA compliance Flash

2008-02-04 Thread Jim Robson
This page on Adobe's website has a categorized list of accessible Flash
applications. It's somewhat dated, but at least it provides a demonstration
of a range of accessibility features.

http://www.adobe.com/resources/accessibility/examples.html

Here's Adobe's blog on accessibility:

http://blogs.adobe.com/accessibility/

hth

-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Peacock
Sent: Monday, February 04, 2008 10:53 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ADA compliance  Flash

Just wondering if there are any good solid resources / approaches for
staying ADA compliant when creating a project in Flash. I'm not entirely
sure of the approach people take on the subject, so I'm scoping it out
before said project starts.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] placing mc on the stage

2008-01-16 Thread Jim Robson
Pedro,

Is this what you're going for?


function attachMovies() {
for (var i = 0; i2; i++) {
var mc =
canvas.attachMovie(code,code+i,this.getNextHighestDepth());
mc._x = Math.random()*500;
mc._y = Math.random()*100;
}
}



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pedro
Kostelec
Sent: Wednesday, January 16, 2008 2:53 PM
To: Flash Coders List
Subject: [Flashcoders] placing mc on the stage

Hello
i got this code:

this.createEmptyMovieClip(canvas,this.getNextHighestDepth()); //creates an
empty MC in which i attach 2 textMCs
canvas._x = random500;//should place the MCs to a random position when they
load but it doesn't work?!?-What is wrong here?
canvas._y = random100;

attachMovieInterval = setInterval(attachMovies, 200);//set interval for
green mc reload

function attachMovies() {
for (var i = 0; i2; i++) {
canvas.attachMovie(code,code+i,this.getNextHighestDepth());
canvas.code1._x = random500;
canvas.code1._y = random100;
canvas.code2._x = Stage.width/2;
canvas.code2._x = Stage.height/2;//how do i do to define the x and y
position of each mc separately?
}
}

sorry for writing it so briefly. My keyboard doesn't work well and i cannot
type a lot
-

-- 
Pedro D.K.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Google Analytics ga.js Update

2008-01-16 Thread Jim Robson
Corban,

This may just be a typo in your email, but there was a space between the
underscore and trackPageview. More to the point, did you try this syntax: 


ExternalInterface.call(pageTracker._trackPageview, page);

See:
Programming ActionScript 3.0 / Flash Player APIs / Using the external API /
Using the ExternalInterface class

-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corban
Baxter
Sent: Wednesday, January 16, 2008 3:00 PM
To: Flash Coders List
Subject: [Flashcoders] Google Analytics ga.js Update

Hey guys I was working on updating my script for the new Google
Analytics ga.js code. Can some one tell me what I might be missing in
my code?

My actionscript:


function tracking(page) {
import flash.external.ExternalInterface;
ExternalInterface.call(pageTracker._ trackPageview(' + page +
'););
}

tracking(/flash/home);

Google's Javascript:

script type=text/javascript
var gaJsHost = ((https: == document.location.protocol) ?
https://ssl.; : http://www.;);
document.write(unescape(%3Cscript src=' + gaJsHost +
google-analytics.com/ga.js'
type='text/javascript'%3E%3C/script%3E));
/script
script type=text/javascript
var pageTracker = _gat._getTracker(UA-2876431-9);
pageTracker._initData();
pageTracker._trackPageview();
/script

Thanks in advance!

-- 
-cb
http://blog.projectx4.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Google Analytics ga.js Update

2008-01-16 Thread Jim Robson
Right, but my suggestion doesn't change that. I'm just referring to the
syntax of the code inside your tracking() method; I'm not suggesting that
you do away with the method. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corban
Baxter
Sent: Wednesday, January 16, 2008 3:45 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Google Analytics ga.js Update

I was trying to make it an easy call to the function from anywhere in
the site. Thats why I created the function. I was hoping to just keep
from having to write both lines all over the site.

On Jan 16, 2008 2:17 PM, Jim Robson [EMAIL PROTECTED] wrote:
 Corban,

 This may just be a typo in your email, but there was a space between the
 underscore and trackPageview. More to the point, did you try this
syntax:


 ExternalInterface.call(pageTracker._trackPageview, page);

 See:
 Programming ActionScript 3.0 / Flash Player APIs / Using the external API
/
 Using the ExternalInterface class

 -Jim


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Corban
 Baxter
 Sent: Wednesday, January 16, 2008 3:00 PM
 To: Flash Coders List
 Subject: [Flashcoders] Google Analytics ga.js Update


 Hey guys I was working on updating my script for the new Google
 Analytics ga.js code. Can some one tell me what I might be missing in
 my code?

 My actionscript:


 function tracking(page) {
 import flash.external.ExternalInterface;
 ExternalInterface.call(pageTracker._ trackPageview(' + page +
 '););
 }

 tracking(/flash/home);

 Google's Javascript:

 script type=text/javascript
 var gaJsHost = ((https: == document.location.protocol) ?
 https://ssl.; : http://www.;);
 document.write(unescape(%3Cscript src=' + gaJsHost +
 google-analytics.com/ga.js'
 type='text/javascript'%3E%3C/script%3E));
 /script
 script type=text/javascript
 var pageTracker = _gat._getTracker(UA-2876431-9);
 pageTracker._initData();
 pageTracker._trackPageview();
 /script

 Thanks in advance!

 --
 -cb
 http://blog.projectx4.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com

 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Corban Baxter
http://www.projectx4.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] digest

2007-10-19 Thread Jim Robson
The welcome email included a URL for changing your options. Here it is again
for convenience:
http://chattyfig.figleaf.com/mailman/options/flashcoders/



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Bitterman
Sent: Friday, October 19, 2007 12:28 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] digest

Apparently some user preferences were jostled/reset by the move.

Where can I change my subscription mode to digest?

d
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Development on PC vs Mac

2007-06-21 Thread Jim Robson

Thanks guys!

To everyone who responded to this post with your own first-hand 
knowledge and experience - I appreciate the info very much. I learned 
a lot.


-Jim
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash Development on PC vs Mac

2007-06-20 Thread Jim Robson
Questions for those of you who have done Flash development on both
platforms:

What are the pros and cons of Flash development on Mac vs PC? Which
platform would you recommend?

My laptop is in need of replacement, and my employer generally gives
us a choice of IBM (lenovo) or Mac.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Development on PC vs Mac

2007-06-20 Thread Jim Robson
Seth -

Thanks for the advice (to me) and the caution (to the entire community). I
am researching much more than just the Flash question, but since I am
primarily a Flash / Flex developer, it seemed appropriate to put the
question to my peers and learn from their experiences.

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Seth Green
Sent: Wednesday, June 20, 2007 12:17 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash Development on PC vs Mac

I'd say your choice of Mac vs. PC should go well beyond which is better 
for flash development considering there are major differences between 
the two.

I'd like to challenge the rest of the people on the list not to get into 
a PC vs Mac fanboy debate and keep this particular discussion to flash 
development on the two OSs.

My only anecdotal evidence is that my wife works for a prominent 
interactive agency that does a ton of flash development. their entire 
flash team uses Macs.



Jim Robson wrote:
 Questions for those of you who have done Flash development on both
 platforms:
 
 What are the pros and cons of Flash development on Mac vs PC? Which
 platform would you recommend?
 
 My laptop is in need of replacement, and my employer generally gives
 us a choice of IBM (lenovo) or Mac.
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] onReleaseOutside event - AS3

2007-06-20 Thread Jim Robson
Derrick Grigg has a good post on this (the responses are worth reading as
well) 

http://www.dgrigg.com/post.cfm/11/08/2006/Flex-2-AS-3-onReleaseOutside



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl
Sent: Wednesday, June 20, 2007 12:42 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] onReleaseOutside event - AS3

Just Curious, why the heck is there no onReleaseOutside Events in AS3? I was
building a custom scrubber the other day and couldn't fine any events for
this. Flex has one, why not AS3?


B.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] TextFileds not receivign data?

2007-04-30 Thread Jim Robson
Just took a quick look, but I think that this line may be giving you 
trouble:


myId = _root[mytext+[i]];

You may want to try this instead:

var myId = _root.createTextField(mytext+[i], 1, myX, 0, 100, 30);

HTH
Jim

On Mon, 30 Apr 2007 21:06:49 +1000
 John Trentini [EMAIL PROTECTED] wrote:

Hi guys,


I want to create as many text fields (which eventually I would like 
to turn into buttons) as the length of an array. I also want to use 
the content of the array to populate the text of the fields created 
dynamically. I have tried everything I know but all I seem to get 
is one filed with the lasat item in the array, sheesh!


I've gone absolutely mad on this one (newish to actionScript, I am!) 
but can anyone tell me what  I am doing wrong here? I could do with a 
helping hand or seven =:-)




var myTxt:Array = new Array(branding, news, about us, print, 
marks, contact);

var myX = 430;
var menuArray:Array = new Array();
var ySpacing:Number = 90;
//

/*create  textFields**/
//
//

for(i=0; imyTxt.length; i++) {
   _root.createTextField(mytext+[i], 1, myX, 0, 100, 30);
   myId = _root[mytext+[i]];
   myId._y = ySpacing;
   ySpacing += 40;
   //   
   trace(myTxt[i]);//the trace works, it list all tyhe 
lements in the array but
   myId.text = myTxt[i];  // this one in not producing the 
appropriate 
results

   //
   myId.border = false;
   myformat = new TextFormat();
   myformat.font = Verdana;
   myformat.size = 14;
   myformat.bold = true;
   myformat.color = 0x55;
   myformat.align = right;
   //
   myId.selectable = false;
   myId.setTextFormat(myformat);
   //myId.text = myTxt[i];  //tried putting it at the end but no 
dah!

   //
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Job Posting: Falls Church, VA

2007-04-25 Thread Jim Robson
Job description below. Please note the citizenship and clearance
requirements as well as the location. Although the description seems to
emphasize non-Flash skills, Flash / Flex is really the key skill set to have
for this position.  

If you think you're a good match and you're interested, please email me off
list.

Thanks
Jim
-

User Interface Software Engineer

Position Location: Falls Church, VA 

Position Requirements

- US Citizenship with Active DoD Security Clearance (minimum Secret)

- BS degree (engineering or computer science preferred) or equivalent
experience

- Minimum 5 years experience with HTML/DHTML/XHTML, CSS, JavaScript, AJAX

- Experience with Flash, ActionScript, Flex

- Proficient with User Interface Engineering, Data Visualization, Usability
Methodology, Information Architecture

- Experience with Web Development Tools (Macromedia, Adobe, others)

- Proficiency with Software development processes, source control, and
documentation

- Strong problem solving skills and analytical capabilities

- Excellent verbal and written communication

- Ability to perform effectively without extensive supervision

- Ability to function well in a team environment


Beneficial Skills/Experience


- Java/J2EE and XML development

- RDBMS (preferably Oracle)

- Apache/Tomcat

- BusinessObjects


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ExternalInterface.call - javascript error

2007-01-23 Thread Jim Robson
Nick,

I get that error whenever my JavaScript references an ActionScript function
that isn't specified as a callback function. 

In other words, if the JavaScript says:

myFlashMovie.getFoo();

Then the ActionScript inside myFlashMovie needs to say:

ExternalInterface.addCallback(getFoo);

Otherwise, I'll get that JavaScript error.

HTH
-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Zotta
Sent: Tuesday, January 23, 2007 9:26 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ExternalInterface.call - javascript error

Hello flashcoders,

Does anyone know the cause of the javascript error: Object doesn't support
this property or method when using ExternalInterface.call() to comunicate
between Flash and Javascript?  My javascript function is triggered, but
before executing its actions, a javascript error popup appears with the
message :Object doesn't support this property or method. Even if the
javascript function is blank (nothing to execute), the javascript error
still appears.
No javascript error in Firefox or Opera, but only in IE (6 and 7).
I get this error both locally and on the webserver.
All the tests were made with FlashPlayer 9.

Thanks a lot,

Nick
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Some AS3 components troubles

2007-01-10 Thread Jim Robson
Janis,

I think you need to make the path to the icon gif relative to the component
file. So, if your component file is in root/components and icon.gif is in
root/ then the path needs to be:

imageInstance.source = ../icon.gif;

BTW, there is a good list for Flex coders here:
http://tech.groups.yahoo.com/group/flexcoders/

HTH
-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janis Radins
Sent: Wednesday, January 10, 2007 12:37 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Some AS3 components troubles

Hey people!

I'm trying to make some pretty simple UI component in Flex and it seems like
I'm missing something.
I think I've read everything I could but I cannt find what is it I'm
missing, maybe someone on this list knows wheres the problem.
So what I am doing is:
1. I create some pretty simple MXML project just for test with this content
?xml version=1.0 encoding=utf-8? mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:myComp=components.* layout=absolute
myComp:TestComponent/myComp:TestComponent
/mx:Application

Pretty simple.
xmlns:myComp=components.* defines that components can be found in folder
named components in root of project, where I have this file
TestComponent.aswith following content package components {
import mx.core.UIComponent;
import mx.controls.Image;
import flash.display.Shape;
public class TestComponent extends UIComponent {
private var imageInstance:Image = null;
public function TestComponent() {
 super();
imageInstance = new Image();
imageInstance.source = icon.gif;
addChild(imageInstance);
trace(TestComponent initialized!);
var shape:Shape = new Shape();
shape.graphics.beginFill(0xFF);
shape.graphics.drawCircle(50,50,25);
addChild(shape);
}
}
}

icon.gif is bitmap stored in root folder of project.
Seems like pretty stright forward and theres nothing to break, but it isnt
so. Shape appears, which make me think that component instance is
initialized and placed in display list.
But I really have bad luck with creating mx.controls.Image i think I tried
everything with no luck.
There must be something I'm missing, but I have no idea what is it :)

Oh, and when I tried to extend some component directly it works, seems like
thers no blank components for me!
Any help will be apreciated!

Jānis

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] scrolling dynamic movie clip

2007-01-10 Thread Jim Robson
If you want the buttons in the movie clip, you just need to scroll the clip
and the buttons at the same time. Something like this:

btnUp.onPress = function(){
scrollMe(-1);
}
btnDown.onPress = function(){
scrollMe(1);
}
function scrollMe(dir:Number){
var nudge:Number = 20*dir);
this.-_y += nudge;
btnUp._y -= nudge;
btnDown._y -= nudge;
} 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 1:37 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

Good catch I overlooked that, although I had to move the scroll buttons to
the main timeline. I really want the scroll buttons in the loaded library
item. If someone has a suggestion for that great. If not I will just make
the scroll buttons invisible until a specific button is selected.

thanks 

David Brunswick
Senior Multimedia Developer/OLP Administrator FedEx Customer Information
Services Customer Service Organizational Learning
901-434-6605
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 11:41 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

David,

Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.

Where you now have:
this.backgroundvalue._y+=20;

I think you want:
this.backgroundvalue_mc._y+=20;

HTH
-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 12:36 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] scrolling dynamic movie clip

Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip(empty_mc, 1);

 

this.start_btn.onRelease = function() {

attachMovie(backgroundvalue,backgroundvalue_mc, 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress Up)

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress Down)

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Some AS3 components troubles

2007-01-10 Thread Jim Robson
Jason,

I use mx:Image all the time to load JPG's, GIF's, and PNG's. Have been using
it for a year now. I use it for loading both at compile time and at runtime.
Works great. 

I think perhaps you are misinterpreting that section of the documentation a
little. It's contrasting images with Flex apps, not static images with
dynamic images. 

HTH
-Jim

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Wednesday, January 10, 2007 1:47 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Some AS3 components troubles

Try mx.controls.SWFLloader (or in MXML, mx:SWFLoader ) instead of
mx.controls.image. My understanding of image (at least in a Flex context) is
that it's only for static images, not dynamic images. Swfloader can do
.swfs, .jpegs,.pngs, etc.  Not sure if that is it, but that's what my
experience has been.  Also, the help docs on mx.controls.image say:

Flex also includes the SWFLoader control for loading Flex applications. You
typically use the Image control for loading static graphic files and SWF
files, and use the SWFLoader control for loading Flex applications. The
Image control is also designed to be used in custom item renderers and item
editors. 

Jason Merrill
Bank of America
Learning  Organizational Effectiveness
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janis 
Radins
Sent: Wednesday, January 10, 2007 12:37 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Some AS3 components troubles

Hey people!

I'm trying to make some pretty simple UI component in Flex and it 
seems like I'm missing something.
I think I've read everything I could but I cannt find what is it I'm 
missing, maybe someone on this list knows wheres the problem.
So what I am doing is:
1. I create some pretty simple MXML project just for test with this 
content ?xml version=1.0 encoding=utf-8? mx:Application 
xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:myComp=components.* layout=absolute
myComp:TestComponent/myComp:TestComponent
/mx:Application

Pretty simple.
xmlns:myComp=components.* defines that components can be found in 
folder named components in root of project, where I have this file 
TestComponent.aswith following content package components {
import mx.core.UIComponent;
import mx.controls.Image;
import flash.display.Shape;
public class TestComponent extends UIComponent {
private var imageInstance:Image = null;
public function TestComponent() {
 super();
imageInstance = new Image();
imageInstance.source = icon.gif;
addChild(imageInstance);
trace(TestComponent initialized!);
var shape:Shape = new Shape();
shape.graphics.beginFill(0xFF);
shape.graphics.drawCircle(50,50,25);
addChild(shape);
}
}
}

icon.gif is bitmap stored in root folder of project.
Seems like pretty stright forward and theres nothing to break, but it 
isnt so. Shape appears, which make me think that component instance is 
initialized and placed in display list.
But I really have bad luck with creating mx.controls.Image i think I 
tried everything with no luck.
There must be something I'm missing, but I have no idea what is it :)

Oh, and when I tried to extend some component directly it works, seems 
like thers no blank components for me!
Any help will be apreciated!

Jānis

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] scrolling dynamic movie clip

2007-01-10 Thread Jim Robson
Oops - typos in the code!

The first two lines in scrollMe() should be:
var nudge:Number = 20*dir;
this._y += nudge;

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 1:53 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

If you want the buttons in the movie clip, you just need to scroll the clip
and the buttons at the same time. Something like this:

btnUp.onPress = function(){
scrollMe(-1);
}
btnDown.onPress = function(){
scrollMe(1);
}
function scrollMe(dir:Number){
var nudge:Number = 20*dir);
this.-_y += nudge;
btnUp._y -= nudge;
btnDown._y -= nudge;
} 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 1:37 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

Good catch I overlooked that, although I had to move the scroll buttons to
the main timeline. I really want the scroll buttons in the loaded library
item. If someone has a suggestion for that great. If not I will just make
the scroll buttons invisible until a specific button is selected.

thanks 

David Brunswick
Senior Multimedia Developer/OLP Administrator FedEx Customer Information
Services Customer Service Organizational Learning
901-434-6605
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Wednesday, January 10, 2007 11:41 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip

David,

Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.

Where you now have:
this.backgroundvalue._y+=20;

I think you want:
this.backgroundvalue_mc._y+=20;

HTH
-Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 12:36 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] scrolling dynamic movie clip

Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.

 

Here is a sample of the code

 

stop();

theClip.createEmptyMovieClip(empty_mc, 1);

 

this.start_btn.onRelease = function() {

attachMovie(backgroundvalue,backgroundvalue_mc, 1);

backgroundvalue _mc._y = .9;

backgroundvalue _mc._x = 0;

 

}

 

 

Then for the movie clip backgroundvalue scroll buttons I have this

Up btn

 

on(press, release, keyPress Up)

{

this.backgroundvalue._y+=20;

}

 

Down btn

on(press, release, keyPress Down)

{

this.backgroundvalue._y -=20;

}

 

This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.

 

Any suggestions?

 

David Brunswick

Senior Multimedia Developer/OLP Administrator

FedEx Customer Information Services

Customer Service Organizational Learning

901-434-6605

 

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

2007-01-02 Thread Jim Robson
You might want to try the Flexcoders list:
http://tech.groups.yahoo.com/group/flexcoders/

Meanwhile, if I understand your question correctly, you might want to look
at ASDoc: http://labs.adobe.com/wiki/index.php/ASDoc

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kalani
Bright
Sent: Tuesday, January 02, 2007 8:09 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] FlexBuilder/Actionscript 3 Meta Tags

Aloha,
 
I'm new to this list and looking forward to the support I can give and the
help I can receive.
 
Anyway, about a week ago I started programming in AS 3.0 in Flex Builder 2.
Now I'm wondering about meta tags and so forth for code hinting.
 
I would like to enable in the codeing process to provide textual information
in the code completion tooltip.
 
For example:
if my method is:
 
/*
 @summary Says hello to someone
 @arguments argName The name of the person to say hello to  @returns True if
the operation was successful and False if it failed */ public function
sayHello(argName:String):Boolean {
//code here...
}
 
 
if I type:
MyClass.sayHello(
 
rather than seeing sayHello(argName:String):Boolean in the code hinting
window I want to see something like this:
 
sayHello(argName:String):Boolean
Say hello to someone
TAKES: argString:String - The name of the person to say hello to
RETURNS: True if the operation was successful and False if it failed
 
Anyone know how to do this.  I've searched the net and can't find anything.
Search under flex builder, actionscript, flash, and eclipse for meta tags
and wasn't able to locate a thing except for AS 2.0 components which are
removed from 3.0
 
I had some of this when I was coding in primalscript and there were meta
tags when I was working with ActionScript 2.0 and components.
Are there any 3.0 meta tags anyone is aware of?  
 
Thanks for your help,
 
Kalani Bright
kalani at manastudios dot com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Local variables and function arguments

2006-12-19 Thread Jim Robson
Danny,

I just ran the following in Flash 8 (AS2) and it worked as expected: 

function testArgument(foo:String){ 
if(foo == undefined) foo = Foo was not defined;
this.txtField.text += [+foo+];
} 
testArgument();


The string, [Foo was not defined] was printed in the text field. 

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: Tuesday, December 19, 2006 7:53 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Local variables and function arguments

For, well, pretty much ever, I've worked on the assumption that in this
structure:

function myFunc(tVar:String) {
}

the variable tVar was automatically defined in local scope: that is, I can
write

function myFunc(tVar:String) {
if (tVar == undefined) { tVar = limpet } }

But you know what? That's not true! I've just discovered (and bear in mind,
I've been using that code structure for years) that I have to declare the
variable:

function myFunc(tVar:String) {
if (tVar == undefined) {var tVar:String = limpet } }

That seems really weird to me. Am I wrong? Is there some other explanation?

Danny

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Horizontal Scrolling List Breaks Accordion?

2006-12-12 Thread Jim Robson
Hello all,
 
Has anyone successfully placed a horizontal scrolling list of thumbnails
inside an Accordion component? When I try to do this, the player thinks that
the Accordion has stretched to accommodate the scrolling list, even though
visually the Accordion does not grow wider. As a result, the display is
completely messed up. You can see what I mean here: 
 
http://robsondesign.com/etc/flashcoders/scroller_in_accordion/scroller_in_ac
cordion.html

You can see that while the Accordion is just under 400 pixels wide, the
Player acts as though it's over 600 pixels wide. You can see it even more
clearly in the trace() statements. You can download the complete source code
here, and test it for yourself: 

http://robsondesign.com/etc/flashcoders/scroller_in_accordion/scroller_in_ac
cordion.zip

Anyone see what I'm doing wrong here? Or is this a limitation of the
technology?

-Jim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Jim Robson
Mike,

I know Steven  others have already responded to your question, but as it
happens I just posted the source code of an app that (I think) does what
you're looking for. It's one step more complex than you asked for - it
actually creates multiple scrolling lists inside an Accordion (thereby
breaking the Accordion - but that's a separate issue :-)

Anyway, the app loads images and text via XML and puts the images in a
horizontal scroll pane - and this aspect of the app works fine. You could
easily strip out the Accordion and related code, and use this as a guide: 
 
http://robsondesign.com/etc/flashcoders/scroller_in_accordion/scroller_in_ac
cordion.zip

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dunlop
Sent: Tuesday, December 12, 2006 4:05 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] loading thumbnails into a scrollable box via AS

Wow!! Steven, thanx so much!! I will give this a shot and let you know how
it worked out. Thanks again for taking the time to write all this out :)

Best,
Mike D

...
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]

 First, break it up into different pieces.  The first piece is the XML 
 parsing, the second piece is drawing the thumbnails, and the third 
 piece is scrolling the thumbnails.  I'll leave the XML parsing out of 
 this and focus on drawing the thumbnails.

 Here's the most straightforward way to do this.  We could do it all 
 with code but let's mix it up a little since it's your first time.

 1) Make an empty movie clip. Name it MC_Empty.

 2) Draw a 50x50 pixel red square on the stage.  Delete the border.
 Select the square and hit F8.  Name it MC_Square.

 3) Make two layers in the timeline.  Name the top layer MC_Mask and 
 name the bottom layer MC_Container.

 4) Put MC_Square on the MC_Mask layer and name it MC_Mask.

 5) Put MC_Empty on the MC_Container layer and name it MC_Container.

 6) Resize MC_Mask to whatever size you want the visible area to be.

 7) Turn the MC_Mask layer into a Mask.  It should automatically mask 
 MC_Container.

 8) Now that your timeline is set up it's time to write some code.

 I'm going to use some arbitrary values here for example. Season to 
 taste.


 var imageArray:Array = parsedXmlImageArray; // Set these values var 
 visibleRows:Number = 5; var visibleCols:Number = 4; var gutter:Number 
 = 10;

 // These are set based on what you set above var colWidth:Number = 
 (MC_Mask._width / visibleCols); var rowHeight:Number = 
 (MC_Mask._height / visibleRows); var thumbWidth:Number = colWidth - 
 gutter; var thumbHeight:Number = rowHeight - gutter; var rows:Number; 
 var cols:Number;

 function draw() {
   rows = 0;
   cols = 0;
   MC_Container.thumbs.removeMovieClip();
   MC_Container.createEmptyMovieClip(thumbs, 10);
   var i:Number = imageArray.length;
   while (i--) {
 var mc:MovieClip = MC_Container.thumbs.createEmptyMovieClip(item 
 + i, i);
 mc._x = cols * colWidth;
 mc._y = rows * rowHeight;
 mc.createEmptyMovieClip(img, 10);
 mc._visible = false;
 mc.img.loadMovie(imageArray[i]);
 mc.onEnterFrame = function() {
   if (this.img._width  0) {
 this._width = thumbWidth;
 this._height = thumbHeight;
 this._visible = true;
 delete this.onEnterFrame;
   }
 };
 if (++cols == visibleCols) cols = 0;
 if (cols == 0) rows++;
   }
 }


 This is a simple example.

 First, we set up some initial variables that you can play with.  
 Decide how many visible rows and columns you want and how much space 
 you want in between the thumbnails (gutter).  It will then determine 
 the sizes of the thumbnails, rows and columns based on the dimensions 
 of MC_Mask.  In this way, you can resize it easily by setting the 
 width and height of MC_Mask and calling draw() again.

 The draw function:

 Creates an empty movieclip inside MC_Container called thumbs.  This 
 makes it easier to refresh the view by simply removing the thumbs clip 
 rather than removing every single movieclip inside it.

 Then we loop through the array of image paths you got from parsing 
 your XML.

 In the loop, we create a reference to an empty movieclip.  The name of 
 the clip is item + i (item1, item2, etc.) and its depth is set to i.
 We also make it invisible.

 We set its _x to the number of columns times the width of the columns 
 and its _y to the number of rows times the height of the rows.

 Inside that clip we create an empty movieclip to load the image into, 
 and tell it to load movie.

 Then, we put an onEnterFrame on the movieclip (not the image clip 
 because when you loadMovie, when it's done loading it will overwrite
 onEnterFrame) that checks to see when the image has loaded, and then 
 resizes the image to the thumbWidth and thumbHeight we set above.  
 Then it makes the clip visible.  We do this so the image doesn't show 
 until it's done loading and resized.

 Then we increment cols 

RE: [Flashcoders] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Jim Robson
I think you can see an example here: http://www.adobe.com/
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew
Sent: Tuesday, December 12, 2006 7:14 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] DHTML menu rolling over on top of flash possible?

Hi all, my coworker asked me this question that stumped me.  Hopefully one
of you can help us out? :)

The question is, is it possible for the browser to render a dropdown menu
(done in CSS/DHTML) that is positioned right on top of a flash banner.  That
is, you would see the dropdown coming down on top of the flash banner when
rolling over the menu.

Thanks!

 
-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Jim Robson
Not only their users; I noticed at the MAX conference that a number of
Adobe's own employees use Macs (there's a pun in there somewhere). 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Reuben
Stanton
Sent: Tuesday, December 12, 2006 7:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] DHTML menu rolling over on top of flash possible?

funny that Adobe of all places do this - it does the old annoying DHTML
flashing effect in safari making it basically unusable  
would've thought a large number of Adobe customers are Mac users.




On 13/12/2006, at 11:22 AM, Jim Robson wrote:

 I think you can see an example here: http://www.adobe.com/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Boon 
 Chew
 Sent: Tuesday, December 12, 2006 7:14 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] DHTML menu rolling over on top of flash 
 possible?

 Hi all, my coworker asked me this question that stumped me.   
 Hopefully one
 of you can help us out? :)

 The question is, is it possible for the browser to render a dropdown 
 menu (done in CSS/DHTML) that is positioned right on top of a flash 
 banner.  That is, you would see the dropdown coming down on top of the 
 flash banner when rolling over the menu.

 Thanks!


 -
 Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training http:// 
 www.figleaf.com http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] nodeValue not working?

2006-12-11 Thread Jim Robson
John:

That was it! Thank you very much!

I can't wait to finish this project, and get back to AS3 and E4X!!!

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Axel
Eriksson
Sent: Monday, December 11, 2006 8:24 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] nodeValue not working?

You must do customerAbout = customer.firstChild.firstChild.nodeValue; to get
the textNode and its value. Sometimes this is confusing, but the text itself
is in fact a node too.

/John


11 dec 2006 kl. 14.16 skrev Jim Robson:

 Hello all,

 I can't seem to access the nodeValue property of my XMLNode objects in 
 Flash
 8 Pro. I can print the entire node (with XML markup included), which 
 isn't very useful. But when I try to print xmlNodeInstance.nodeValue, 
 I consistently get null. My code is below - can anyone see where I'm 
 going wrong?

 -Jim

 //ActionScript:
 xml.onLoad = function(success:Boolean){ if(success){ 
 showData(this.firstChild); }else{ trace(oops!); } }

 function showData(rootNode){
 if(rootNode.nodeName.toUpperCase() == CUSTOMERS){ sector = 
 rootNode.firstChild; while(sector != null){
 if(sector.nodeName.toUpperCase() == SECTOR){ sectorName = 
 sector.attributes.name; // This prints the correct value:
 trace(Sector:  + sectorName);
 customer = sector.firstChild;
 while(customer != null){
 if(customer.nodeName.toUpperCase() == ORGANIZATION){ // I can access 
 the XML attributes without issue customerName = 
 customer.attributes.name; // This prints the correct value:
 trace(Customer Name:  + customerName); // The problem comes in when 
 I attempt to get // the nodeValue of an XMLNode...
 customerAbout = customer.firstChild.nodeValue; // **This prints null:
 trace(About:  + customerAbout);
 // If I leave out the nodeValue, Flash reads // the entire node...
 customerAbout = customer.firstChild;
 // **This prints the entire node, including // XML markup (not very 
 helpful):
 trace(About:  + customerAbout);
 }
 customer = customer.nextSibling;
 }
 }
 sector = sector.nextSibling;
 }
 }
 }

 XML:
 customers
 sector name=Financial Services
 organization name=ACME Financial Services id=1  
 fileName=acme.jpg
 aboutLorem ipsum dolor sit amet, consectetuer adipiscing elit. /
 about
 caseNulla facilisi. Donec sollicitudin, ante non dictum gravida,/
 case
 quoteNeque porro quisquam est qui dolorem ipsum quia dolor sit amet, 
 consectetur, adipisci velit./quote /organization /sector 
 /customers

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] _accProps not recognized by compiler

2006-12-07 Thread Jim Robson
I'm using Flash Pro 8, and the compiler isn't recognizing _accProps for a
button instance. I'm not having any trouble setting _accProps properties for
a movie clip, but the following code returns an error when attempt to
publish. Any idea what would cause this? Code and error message are pasted
below. 

//Here's the code: 

if(btn._accProps == undefined) btn._accProps = new Object();
btn._accProps.name = continent;
btn._accProps.description = accDesc;
btn._accProps.shortcut = Ctrl+N;
btn.tabIndex = i+1;

//= 

//Here is the error I get: 

There is no property with the name '_accProps'.
if(btn._accProps == undefined) btn._accProps = new Object();

**Error** Scene=Scene 1, layer=script, frame=2:Line 79: There is no property
with the name '_accProps'.
btn._accProps.name = continent;

**Error** Scene=Scene 1, layer=script, frame=2:Line 80: There is no property
with the name '_accProps'.
btn._accProps.description = accDesc;

**Error** Scene=Scene 1, layer=script, frame=2:Line 81: There is no property
with the name '_accProps'.
btn._accProps.shortcut = Ctrl+N;

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Searching for Generator-like utility

2006-11-17 Thread Jim Robson
Chris,

Thanks for the suggestion, but I spent some time looking at Flagstone's
offering, and it seems to be for rendering .swf only. 

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Mitchell
Sent: Thursday, November 16, 2006 10:13 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Searching for Generator-like utility 


I know you can use this to generate .swf. not sure about the images. Its
worth checking out. I have created swfs with it. You would have to know some
java though. http://www.flagstonesoftware.com/transform/index.html
   
  chris
   
  
Jim Robson [EMAIL PROTECTED] wrote:
  Remember Macromedia Generator? With the Generator extensions in the Flash
authoring environment, you could create .swt files with placeholders for
dynamic data and images. The Generator Server could then render these at
runtime into .swf, .jpg, .gif, or .png files. With the advent of Flash MX,
Generator was phased out. Does anyone know of a way to implement the
functionality of Generator today? Specifically, I'm looking to convert
Flashs file to .png files at runtime.

Any thoughts / suggestions?

-Jim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


 
-
Sponsored Link

Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo -  Calculate
new house payment ___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Open a local .html file on click of a button

2006-11-17 Thread Jim Robson
Vivek,

getURL is the correct method. Here's the syntax:

testButton.onRelease = function(){
getURL(try.html);
}

In the above, testButton is the instance name of the button. You'll want
to replace that with the instance name of your button.

If you are patient, and spend lots of time with the documentation (and
trial-and-error), you'll get there!

Good luck!

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
Gaikwad
Sent: Friday, November 17, 2006 7:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Open a local .html file on click of a button

Hi all,

 

I have a folder in which there are 3 files.

 

1.   one.fla

2.   one.swf

3.   try.html (this is just a simple html file on my local disk)

 

There is a button inside one.fla file, on click of which I want to open the
try.html page.

I tried using getURL method. But it didn't work for me.

How to go about it?

 

 

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Open a local .html file on click of a button

2006-11-17 Thread Jim Robson
Just be aware that passing JavaScript as a parameter to getURL does not work
reliably in all browsers (e.g. IE6). If you need to have a pop-up with
specific parameters, you're better off putting the JavaScript in the HTML
wrapper and using ExternalInterface to invoke it. Otherwise, passing
_blank to getURL works fine.

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Éric
Thibault
Sent: Friday, November 17, 2006 8:57 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Open a local .html file on click of a button

If you want to open and center an html popup... I use this code...

var ResX:Number = System.capabilities.screenResolutionX;
var ResY:Number = System.capabilities.screenResolutionY;
var WidthPopup:Number = 620;
var heightPopup:Number = 450;
   
var CentreX:Number = Math.round((ResX - WidthPopup) / 2);
var CentreY:Number = Math.round((ResY - heightPopup) / 2);

getURL(javascript:var mypopup =
window.open('try.html','title','personalbar=no,toolbar=no,status=no,scrollba
rs=no,location=no,resizable=no,menubar=no,left= 
+ CentreX + ,top= + CentreY + ,width= + WidthPopup + ,height= +
heightPopup + ');mypopup.focus(););

You can use also the getURL like getURL(try.html, _blank); if you 
want another window.

A+

Vivek Gaikwad a écrit :
 Hi all,

  

 I have a folder in which there are 3 files.

  

 1.   one.fla

 2.   one.swf

 3.   try.html (this is just a simple html file on my local disk)

  

 There is a button inside one.fla file, on click of which I want to open
the
 try.html page.

 I tried using getURL method. But it didn't work for me.

 How to go about it?

  

  

  

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

   

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Searching for Generator-like utility

2006-11-17 Thread Jim Robson
I located a methodology for generating PNGs from Flash at runtime here:
http://jerryscript.hostrocket.com/flash/draw/SWFDrawing2JPEG.html

It makes use of the GD and Ming libraries. Has anyone on the list used this
method, or something similar? I'd be interested in any lessons you learned
through your experience - advantages, disadvantages, gotcha's, etc.

Thanks
-Jim  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Thursday, November 16, 2006 10:04 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Searching for Generator-like utility 

Remember Macromedia Generator? With the Generator extensions in the Flash
authoring environment, you could create .swt files with placeholders for
dynamic data and images. The Generator Server could then render these at
runtime into .swf, .jpg, .gif, or .png files. With the advent of Flash MX,
Generator was phased out. Does anyone know of a way to implement the
functionality of Generator today? Specifically, I'm looking to convert
Flashs file to .png files at runtime.

Any thoughts / suggestions?

-Jim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Searching for Generator-like utility

2006-11-16 Thread Jim Robson
Remember Macromedia Generator? With the Generator extensions in the Flash
authoring environment, you could create .swt files with placeholders for
dynamic data and images. The Generator Server could then render these at
runtime into .swf, .jpg, .gif, or .png files. With the advent of Flash MX,
Generator was phased out. Does anyone know of a way to implement the
functionality of Generator today? Specifically, I'm looking to convert
Flashs file to .png files at runtime.

Any thoughts / suggestions?

-Jim

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Searching for Generator-like utility

2006-11-16 Thread Jim Robson
I saw that posting, and it's great. However, I'm looking for a method that
doesn't require Flash Player 9. Do you know of a way to accomplish it in
Player 8 (and lower)?

Thanks for the help

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eka
Sent: Thursday, November 16, 2006 10:09 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Searching for Generator-like utility

Hello :)

With BitmapDatas, AS3, flexBuilder, the flex 2 sdk you can do this now :)

for example : http://www.kaourantin.net/2005/10/png-encoder-in-as3.html

EKA+ :)


2006/11/16, Jim Robson [EMAIL PROTECTED]:

 Remember Macromedia Generator? With the Generator extensions in the 
 Flash authoring environment, you could create .swt files with 
 placeholders for dynamic data and images. The Generator Server could 
 then render these at runtime into .swf, .jpg, .gif, or .png files. 
 With the advent of Flash MX, Generator was phased out. Does anyone 
 know of a way to implement the functionality of Generator today? 
 Specifically, I'm looking to convert Flashs file to .png files at runtime.

 Any thoughts / suggestions?

 -Jim

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Sample PHP script for handling XML from Flash

2006-06-21 Thread Jim Robson
Matt:
 http://php.net/ has tutorials and a comprehensive manual. If you have
experience with ASP, then you should be able learn the basics of PHP
quickly.

-Jim 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of matt
stuehler
Sent: Wednesday, June 21, 2006 2:34 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Sample PHP script for handling XML from Flash

All,

This may be more than I should ask for, but I'm looking for a sample or two
of PHP that can do the following:

- Receive an XML doc from Flash
- Extract certain nodevalues and attribute values
- Create and SQL query that stores those values in a MySQL database

and vice versa:

- Retrieve a record from a MySQL database
- create an XML doc containing the record's values
- send that XML doc to Flash

I've done this many times before with ASP and SQLserver or Access (so I'm
familiar with the Actionscript and SQL), but I've never used PHP or MySQL
before.

I'm hoping that with a working sample, I can modify it to the specifics of
my project.

I'd be very grateful for any sample code, helpful advice, or useful links.

Cheers,
Matt Stuehler
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Best Flash data access way opinions

2006-06-21 Thread Jim Robson
Jorge:

I like using Flash Remoting with ColdFusion components for the following
reasons:

1. Fast development
2. Flexibility: using Remoting and CFCs, you can move a variety of data
types over the pipe
3. Extensibility
4. Maintainability
5. Fast data transfers (can be much more efficient than moving XML)
6. Easily handle authentication and security with ColdFusion (e.g. CFLOGIN)
7. Tight integration between Flash and CF helps to keep things simpler

Jim
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jorge
Antonio Diaz Gutierrez
Sent: Wednesday, June 21, 2006 2:44 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Best Flash data access way opinions

Hi everyone:
   There are differents ways to comunicate Flash Action Script with Data
Bases. One of the most used is XML generation trough PHP. I would like to
hear about differents ways and opinions about it. What techniques you use??
and wichone is the most powerfull??
   Thanks you all.
 
   Jorge Díaz

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Best Flash data access way opinions

2006-06-21 Thread Jim Robson
You are certainly entitled to your opinion! :-)

I really don't think anything is faster to implement than CFCs and Remoting.
You just build the CFC, set access=remote, and you're done on the server
side. (Hope you think I'm entitled to my opinion!)
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
| BLITZ
Sent: Wednesday, June 21, 2006 3:00 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Best Flash data access way opinions

AMFPHP is faster and easier to implement than CF Remoting, IMO.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash coders content degrading

2006-06-12 Thread Jim Robson
FWIW: I've been working with Flash for over 6 years, but there are still a
lot of things I haven't done. I've built some complex apps, but they are
business apps (functionality revolves around the basic CRUD) intended to be
displayed in the browser on desktop PCs. So, for example, I've never built
an app for the pocket PC, I've never built a game, and I've done very little
with video. If I were to get a new assignment in one of these areas, then I
might post a question that seems like a newbie question to some other people
on the list. Is it wrong to post such questions? As ryanm pointed out, all
you need to do is delete the messages that don't interest you.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of 8ball
Developer
Sent: Monday, June 12, 2006 12:14 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash coders content degrading

People, stop the madness

The flash player question is not a newbie question. I have over 8 years of
flash development under my belt. It's a simple question, not newbie and I
still don't have a good answer for it.



On 6/12/06, Mike Mountain [EMAIL PROTECTED] wrote:



  Too many people answering newbie posts instead of pointing
  them to the newbie list.

 I'm guilty of that - it was the flash player thread that prompted the
 hang on a minute... moment and begat this email


  Plus, too many OT posts. Why would someone want to read
  discussions on non-Flash coding topics in Flashcoders? That's
  what other lists are for.

 These can be debatable it's true - depends what ti is - I don't want to
 see posts about the last episode of Lost on here, but I don't mind the
 odd bit of humour in a thread that is flash coders related.

 I just seem to find myself scanning over/deleting instantly more and
 more posts, whereas 8-12 months ago I was reading the vast majority


 M
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flex List?

2006-06-09 Thread Jim Robson
http://www.flexcoders.org 
 http://groups.yahoo.com/group/flexcoders


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan Thatcher
Sent: Friday, June 09, 2006 12:38 PM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Flex List?

I asked the question end of day yesterday about converting javascript (AJAX)
to Flex.  It dawned on me that I should probably really be asking that
question on a Flex Listserve.  Is there one?  Someone mentioned one the
other day, but I can't for the life of me find the message that referenced
it.  I know that figleaf doesn't have a Flex listserve :-(  so what is the
best most active Flex list?

 

TIA,

 

Dan

 

Dan Thatcher
Online Learning
The American Academy of Professional Coders
801-238-9893 (office)
801-879-9253 (mobile)

 

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...

2006-06-09 Thread Jim Robson
I don't know whether this applies to your situation but...

We had a similar issue that was caused by anomalies in the data (believe it
or not). It was a billing system built in Flash with a ColdFusion middle
tier and a SQL Server backend. When one particular user pulled up certain
accounts, the Flash UI would freeze on her. I know this doesn't make sense,
but we solved it by analyzing the data in the accounts in question and
looking for anomalies. We removed these anomalies, and sure enough the
user's problem disappeared.

We never figured out why these anomalies affected the Flash player, nor did
we figure out why they *didn't* affect anyone else's player except for that
one user. But the same issue arose with several different client accounts
and that same user. 

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Anderson
Sent: Friday, June 09, 2006 12:23 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...

Yes, it's the SAME 5% of the users -

So there must be something in common with all these people.

Please keep those comments coming :)  I need all the help I can get
right now!

Many thanks!

Mike 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Friday, June 09, 2006 11:22 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...

Do the 5% have the same http: browsing capabilities as the 95%?  I had a
similar issue and found out because I was new here, and even though I
could browse to most web sites, unknown to me my http access was
somewhat restricted until I was granted full, regular access.  Are there
any possible http access restrictions on these users for some reason?

JavaScript document.write method to write out the Flash Object tags
-

That shouldn't have anything to do with it since you said the
application starts - so they are past the Javascript at that point.  It
sounds like the Remoting call is failing for those users for some
reason.  

And is it always the same 5% or is it 5% of random users?  If it's
random, I have also had problems with network blips because someone else
was working on an application at the time or whatever.  If it's always
the same 5% then it seems to be due to something specific to their
configuration and not a network blip.

Anyway, things to think about.

Jason Merrill
Bank of America
Learning Technology Solutions
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders- 
[EMAIL PROTECTED] On Behalf Of Mike Anderson
Sent: Friday, June 09, 2006 11:57 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...

Hello All,

I have a very intense problem, that must be addressed ASAP - our users

are getting really angry :(

We have a typical AS 2.0 Flash Application to view maps - and we are 
using Remoting w/ColdFusion in order to send our data back and forth.

For only like 5% of the users, the application starts and loads 
completely with all it's related controls.  BUT when the time comes
for
the initial Remoting call to the server (which populates all the 
dropdowns, etc.) it just hangs indefinitely - and we just can't figure

out what is going on.

The other 95% of the user base is working perfect!  We have had
comments
regarding security settings, etc. so I know some users may have
problems
there, and some have Corporate Firewall problems - but that type of 
issue has to be addressed with the Admin person.  We are using the 
JavaScript document.write method to write out the Flash Object tags
-
in order to circumvent the Click to Activate this control problem.

What issues are we not seeing, or taking into consideration, which
would
affect this 5% of the user base?

Also, a quick note, we are running ColdFusion on Port 80 - so there
are
no other port issues that I am aware of (in case some users were 
blocking port 8500).  I was confident that if we ran everything on
Port
80, that this app would be friendly to all Firewalls.

Thanks in advance, for any advice you can throw my way.

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the 

RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...

2006-06-09 Thread Jim Robson
Yes, her system was ostensibly identical to other systems in the same
billing department: same hardware, same OS / version, same browser /
version, same Flash player / version. 

The only other time I remember an incident similar to yours was when we
built an app using the WebServiceConnector component in Flash 7. For a small
% of users the app would load, but it was devoid of data. It turned out to
be a firewall issue. We ended up rebuilding the app using LoadVars objects
(Remoting was not available, as the backend was all Micro$oft products.)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning
Sent: Friday, June 09, 2006 12:48 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...

Jim, 

Curious, did the individual that had the problem have the same version
of Flash Player?  I'm sure you checked that out, but that is a curious
problem...

Doug Coning 
Senior Web Development Programmer
FORUM Solutions, LLC
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Jim Robson
 Sent: Friday, June 09, 2006 12:44 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting
hangs...
 
 I don't know whether this applies to your situation but...
 
 We had a similar issue that was caused by anomalies in the data
(believe
 it
 or not). It was a billing system built in Flash with a ColdFusion
middle
 tier and a SQL Server backend. When one particular user pulled up
certain
 accounts, the Flash UI would freeze on her. I know this doesn't make
 sense,
 but we solved it by analyzing the data in the accounts in question and
 looking for anomalies. We removed these anomalies, and sure enough the
 user's problem disappeared.
 
 We never figured out why these anomalies affected the Flash player,
nor
 did
 we figure out why they *didn't* affect anyone else's player except for
 that
 one user. But the same issue arose with several different client
accounts
 and that same user.
 
 -Jim
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mike
 Anderson
 Sent: Friday, June 09, 2006 12:23 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting
hangs...
 
 Yes, it's the SAME 5% of the users -
 
 So there must be something in common with all these people.
 
 Please keep those comments coming :)  I need all the help I can get
 right now!
 
 Many thanks!
 
 Mike
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
Merrill,
 Jason
 Sent: Friday, June 09, 2006 11:22 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Flash SWF Loading fine, but Remoting
hangs...
 
 Do the 5% have the same http: browsing capabilities as the 95%?  I had
a
 similar issue and found out because I was new here, and even though I
 could browse to most web sites, unknown to me my http access was
 somewhat restricted until I was granted full, regular access.  Are
there
 any possible http access restrictions on these users for some reason?
 
 JavaScript document.write method to write out the Flash Object
tags
 -
 
 That shouldn't have anything to do with it since you said the
 application starts - so they are past the Javascript at that point.
It
 sounds like the Remoting call is failing for those users for some
 reason.
 
 And is it always the same 5% or is it 5% of random users?  If it's
 random, I have also had problems with network blips because someone
else
 was working on an application at the time or whatever.  If it's always
 the same 5% then it seems to be due to something specific to their
 configuration and not a network blip.
 
 Anyway, things to think about.
 
 Jason Merrill
 Bank of America
 Learning Technology Solutions
 
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Mike Anderson
 Sent: Friday, June 09, 2006 11:57 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Flash SWF Loading fine, but Remoting hangs...
 
 Hello All,
 
 I have a very intense problem, that must be addressed ASAP - our
users
 
 are getting really angry :(
 
 We have a typical AS 2.0 Flash Application to view maps - and we are
 using Remoting w/ColdFusion in order to send our data back and
forth.
 
 For only like 5% of the users, the application starts and loads
 completely with all it's related controls.  BUT when the time comes
 for
 the initial Remoting call to the server (which populates all the
 dropdowns, etc.) it just hangs indefinitely - and we just can't
figure
 
 out what is going on.
 
 The other 95% of the user base is working perfect!  We have had
 comments
 regarding security settings, etc. so I know some users may have
 problems
 there, and some have Corporate Firewall problems - but that type of
 issue has to be addressed with the Admin person.  We are using

RE: [Flashcoders] onResize (when done)

2006-06-06 Thread Jim Robson
The Stage.onResize event works perfectly as long as the scale mode is set to
noScale (the example below from the Flash 8 docs is pretty good). If the
movie is set to scale, then the event is never fired, and all bets are off.
You can, however, use JavaScript to fire a resize event when the user
resizes the browser. 

// From the Flash 8 docs:
this.createTextField(stageSize_txt, this.getNextHighestDepth(), 10, 10,
100, 22);
var stageListener:Object = new Object();
stageListener.onResize = function() {
stageSize_txt.text = w:+Stage.width+, h:+Stage.height;
};
Stage.scaleMode = noScale;
Stage.addListener(stageListener);



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mick G
Sent: Monday, June 05, 2006 8:34 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] onResize (when done)

My question is two-fold:  Is it possible to determine if the stage is
resizing larger?  smaller?  only height?  only width?

If you don't want to use onEnterFrame, just do the same process by checking
the Stage.width and Stage.height with a setInterval and compare the current
values with the last.



On 6/6/06, Flash Mel [EMAIL PROTECTED] wrote:

 I had a question about this.  There is a solution in the archives
 (

http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/056558.
html
 )
 where someone used onEnterFrame.  That solution was back in 2002.  Is
 there a better alternative now?

 My question is two-fold:  Is it possible to determine if the stage is
 resizing larger?  smaller?  only height?  only width?


 Ah, my mind is boggled!

 Cheers,

 fM
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Bug in Runtime Style Declarations

2006-06-06 Thread Jim Robson
When setting the fill colors for a component class at runtime, Flex breaks.
It's possible to set the fill colors for an instance, but not for a class. 

Take a look at the code below. The first function, setInstanceStyle, works
fine. The second function, setClassStyle, causes the MenuBar to disappear
and the buttons to stop working.

It's possible to change other styles using the same method as is used in
setClassStyle. For example, I can change background color, border color, and
text styles using the same methodology as is used in setClassStyle. But when
I try to set fillColors using that method, the component disappears and the
program hangs.

As far as I can tell, this is a bug. I haven't found any other mention of
it, though.

Does anyone have any more info on this? Am I missing something? 


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:XML id=mainMenuData format=e4x source=mainMenu.xml /

mx:Script
![CDATA[
import mx.styles.*;

private var menuBarStyle:CSSStyleDeclaration = new
CSSStyleDeclaration(menuBarStyle);

private function
setInstanceStyle(event:MouseEvent):void{
mainMenu.setStyle('fillColors',[0xCC,0xCC]);


}
private function
setClassStyle(event:MouseEvent):void{
 
menuBarStyle.setStyle('fillColors',[0xCC,0xCC]);
 
StyleManager.setStyleDeclaration('MenuBar',menuBarStyle,true);
}
]]
/mx:Script

mx:MenuBar id=mainMenu dataProvider={mainMenuData.menuitem}
labelField=@label width=100% /

mx:Button id=instanceButton label=Set Instance Style
click=setInstanceStyle(event); x=20 y=40 /
mx:Button id=classButton label=Set Class Style
click=setClassStyle(event); x=180 y=40 /

/mx:Application


!-- Here's the xml used for the menu (mainMenu.xml) --
?xml version=1.0 encoding=utf-8?
root
menuitem label=File
menuitem label=New /
menuitem label=Open /
menuitem label=Exit /
/menuitem
menuitem label=View
menuitem label=Toolbars /
menuitem label=Source /
/menuitem
menuitem label=Help
menuitem label=Online Help /
menuitem label=About Style Test /
/menuitem
/root

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Bug in Runtime Style Declarations

2006-06-06 Thread Jim Robson
Sorry - 

This was posted to the wrong list. Please ignore.

(It's a Flex bug.)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Tuesday, June 06, 2006 7:17 AM
To: 'Flashcoders mailing list'
Subject: [Flashcoders] Bug in Runtime Style Declarations

When setting the fill colors for a component class at runtime, Flex breaks.
It's possible to set the fill colors for an instance, but not for a class. 

Take a look at the code below. The first function, setInstanceStyle, works
fine. The second function, setClassStyle, causes the MenuBar to disappear
and the buttons to stop working.

It's possible to change other styles using the same method as is used in
setClassStyle. For example, I can change background color, border color, and
text styles using the same methodology as is used in setClassStyle. But when
I try to set fillColors using that method, the component disappears and the
program hangs.

As far as I can tell, this is a bug. I haven't found any other mention of
it, though.

Does anyone have any more info on this? Am I missing something? 


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:XML id=mainMenuData format=e4x source=mainMenu.xml /

mx:Script
![CDATA[
import mx.styles.*;

private var menuBarStyle:CSSStyleDeclaration = new
CSSStyleDeclaration(menuBarStyle);

private function
setInstanceStyle(event:MouseEvent):void{
mainMenu.setStyle('fillColors',[0xCC,0xCC]);


}
private function
setClassStyle(event:MouseEvent):void{
 
menuBarStyle.setStyle('fillColors',[0xCC,0xCC]);
 
StyleManager.setStyleDeclaration('MenuBar',menuBarStyle,true);
}
]]
/mx:Script

mx:MenuBar id=mainMenu dataProvider={mainMenuData.menuitem}
labelField=@label width=100% /

mx:Button id=instanceButton label=Set Instance Style
click=setInstanceStyle(event); x=20 y=40 /
mx:Button id=classButton label=Set Class Style
click=setClassStyle(event); x=180 y=40 /

/mx:Application


!-- Here's the xml used for the menu (mainMenu.xml) --
?xml version=1.0 encoding=utf-8?
root
menuitem label=File
menuitem label=New /
menuitem label=Open /
menuitem label=Exit /
/menuitem
menuitem label=View
menuitem label=Toolbars /
menuitem label=Source /
/menuitem
menuitem label=Help
menuitem label=Online Help /
menuitem label=About Style Test /
/menuitem
/root

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Where to politely and appropriately discuss pricingissues

2006-06-01 Thread Jim Robson
I agree with Nick Weekes' suggestion that any pricing info should include
the country. I would also suggest that we break it down a bit further - by
region. I recently moved from Connecticut to northern Virginia (Washington
DC area) and have found that even within the US the pay scale from one
region to another can be significantly different - and so can the cost of
living. 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Jim Robson
Frank,

You are correct - with 2.0 you don't need the server. The server components
are only required for certain functionalities such as messaging. 

I'm just starting with Flex myself, and so far I like it. 

Jim


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 11:51 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flex vs. Flash IDE

Hi,
I've been too busy developping in Flash lately to give a try to the new Flex
yet, so excuse me if the following question sounds stupid:

Flex use to be a server product, but with the new Flex Builder can you
simply build a swf file like you do with flash and include it in regular
html page? (and therefore php,etc...)
Or do you absolutely need to have a specific Flex server of some sort
running in order to deliver those files?

Thank you,
Frank


-Original Message-
From: Muzak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 6:45 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex vs. Flash IDE


 The other issue i see with flex is it's ability to scale.  It doesn't 
 seem to have the ability to handle a ton of simultaneous connections 
 very well, ala Flash Media Server.  Perhaps I'm off base here, but I'd 
 prefer to develop the front ends in flash and communicate back and 
 forth with a traditional back-end I.E. ASP, PHP, etc.  Those things are
free to develop on, more prove and seemingly scale a hell of a lot better.
Yes, it's not as simple as an EASY button, but if work was easy it'd be
fun and we'd all be broke.


Have you looked into FDS?
http://labs.adobe.com/technologies/flexdata_services2/

When you say: develop the front ends in flash You mean the Flash IDE?

What makes you think developing in Flex does not allow you to communicate
with any traditional back-end?
Flex Builder is just an IDE. The end result is an swf the same as with the
Flash IDE. It's just that an swf published from Flash is currently a
different version.

regards,
Muzak 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Jim Robson
I spent some time evaluating OpenLaszlo for my employer, and it's very nice.
We nearly chose it over Flex. However, Flex turned out to be the winner for
us. Here are some of the reasons:

- Flex has native XML socket server support
- Flex supports SOAP in compiled SWF deployments (Laszlo only supports it if
you use the server component)
- The Flex IDE has a traditional debugger built in
- The Flex IDE is more powerful and mature than the Laszlo IDE (even though
it's still in Beta, it blows the Laszlo eclipse plugin away)
- Flex has a much larger and more active developer community
- Adobe is a well-known name, and brings a certain comfort level to clients
and prospective clients
- Flex supports SVG
- FA Bridge
- ActionScript 3.0 is preferable to JavaScript




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jcanistrum
Sent: Thursday, May 25, 2006 12:31 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex vs. Flash IDE

and what about OpenLaszlo, has someone given it a try ?

I saw some very good demos overthere 

http://www.openlaszlo.org/demos



2006/5/25, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hi,
 I've been too busy developping in Flash lately to give a try to the new
 Flex
 yet, so excuse me if the following question sounds stupid:

 Flex use to be a server product, but with the new Flex Builder can you
 simply build a swf file like you do with flash and include it in regular
 html page? (and therefore php,etc...)
 Or do you absolutely need to have a specific Flex server of some sort
 running in order to deliver those files?

 Thank you,
 Frank


 -Original Message-
 From: Muzak [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 25, 2006 6:45 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flex vs. Flash IDE


  The other issue i see with flex is it's ability to scale.  It doesn't
  seem to have the ability to handle a ton of simultaneous connections
  very well, ala Flash Media Server.  Perhaps I'm off base here, but I'd
  prefer to develop the front ends in flash and communicate back and
  forth with a traditional back-end I.E. ASP, PHP, etc.  Those things are
 free to develop on, more prove and seemingly scale a hell of a lot better.
 Yes, it's not as simple as an EASY button, but if work was easy it'd be
 fun and we'd all be broke.
 

 Have you looked into FDS?
 http://labs.adobe.com/technologies/flexdata_services2/

 When you say: develop the front ends in flash You mean the Flash IDE?

 What makes you think developing in Flex does not allow you to communicate
 with any traditional back-end?
 Flex Builder is just an IDE. The end result is an swf the same as with the
 Flash IDE. It's just that an swf published from Flash is currently a
 different version.

 regards,
 Muzak



 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




-- 
João Carlos
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Jim Robson
Mike,

I didn't have much luck with the Laszlo community. I posted several
questions, and most of them went unanswered. Maybe they just don't like
ignorant newbies?

I also couldn't get Laszlo Systems to answer all of my questions. They sent
me a nice email when I joined their forum, but when I asked some questions,
they only answered some of them (and the answers they did send were a long
time coming). 

Overall, it seemed to me that the Laszlo support was lacking compared to
what I've found with Flex.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin
Sent: Thursday, May 25, 2006 1:34 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flex vs. Flash IDE

Yes OpenLaszlo is a great solution.  Ive used it quite a bit.  They have 
a awesome community for help and getting started with it.

jcanistrum wrote:
 and what about OpenLaszlo, has someone given it a try ?
 
 I saw some very good demos overthere 
 
 http://www.openlaszlo.org/demos
 
 
 
 2006/5/25, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hi,
 I've been too busy developping in Flash lately to give a try to the new
 Flex
 yet, so excuse me if the following question sounds stupid:

 Flex use to be a server product, but with the new Flex Builder can you
 simply build a swf file like you do with flash and include it in regular
 html page? (and therefore php,etc...)
 Or do you absolutely need to have a specific Flex server of some sort
 running in order to deliver those files?

 Thank you,
 Frank


 -Original Message-
 From: Muzak [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 25, 2006 6:45 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flex vs. Flash IDE


  The other issue i see with flex is it's ability to scale.  It doesn't
  seem to have the ability to handle a ton of simultaneous connections
  very well, ala Flash Media Server.  Perhaps I'm off base here, but I'd
  prefer to develop the front ends in flash and communicate back and
  forth with a traditional back-end I.E. ASP, PHP, etc.  Those things are
 free to develop on, more prove and seemingly scale a hell of a lot 
 better.
 Yes, it's not as simple as an EASY button, but if work was easy it'd be
 fun and we'd all be broke.
 

 Have you looked into FDS?
 http://labs.adobe.com/technologies/flexdata_services2/

 When you say: develop the front ends in flash You mean the Flash IDE?

 What makes you think developing in Flex does not allow you to communicate
 with any traditional back-end?
 Flex Builder is just an IDE. The end result is an swf the same as with 
 the
 Flash IDE. It's just that an swf published from Flash is currently a
 different version.

 regards,
 Muzak



 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 
 
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] unescape function problem

2006-05-24 Thread Jim Robson
%25 is the URL code for the % sign. So Flash is correct; when you pass %25
in a URL-encoded string, you are in fact passing simply %. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
lakhanpal
Sent: Wednesday, May 24, 2006 6:18 AM
To: Flashcoders mailing list
Subject: [Flashcoders] unescape function problem

Hi,

I am trying to pass url Encoded values to Flash through querystring.
Everything is working fine when i unescape the passed value.
But when i pass % sign for which url encoded value is %25. When i get value
in Flash it's showing me % only, not %25. Can there be any reason for it?
because for rest all values it's passing correct value.

Thanks,
Vivek
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] unescape function problem

2006-05-24 Thread Jim Robson
OK, I misunderstood your first post - sorry about that. 

I've never had to use an unescape function in Flash. Whenever I've passed a
URL-encoded string, it just worked. Sorry I can't help.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
lakhanpal
Sent: Wednesday, May 24, 2006 6:52 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] unescape function problem

Actually if i try to pass to pass ' as %27 it pass it as it is and i have to
unescape it to get ' value. But if i pass %25 it shows me % that's what is a
bit confusing. Infect for rest all values i.e. all special characters i have
to use unescape function to get url.encoded values back to normal string.

Thanks
Vivek

On 5/24/06, Jim Robson [EMAIL PROTECTED] wrote:

 %25 is the URL code for the % sign. So Flash is correct; when you pass %25
 in a URL-encoded string, you are in fact passing simply %.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Vivek
 lakhanpal
 Sent: Wednesday, May 24, 2006 6:18 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] unescape function problem

 Hi,

 I am trying to pass url Encoded values to Flash through querystring.
 Everything is working fine when i unescape the passed value.
 But when i pass % sign for which url encoded value is %25. When i get
 value
 in Flash it's showing me % only, not %25. Can there be any reason for it?
 because for rest all values it's passing correct value.

 Thanks,
 Vivek
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] unescape function problem

2006-05-24 Thread Jim Robson
Users cause a lot of trouble, don't they? :-)

Is it necessary to allow users to use the  character? If possible, you
could modify the UI so that it doesn't accept characters that cause problems
in the code. 

Another possible solution is to modify the UI so that it replaces problem
characters with substitutes for purposes of transmission. Then the code on
the receiving end would reverse the process. For example, if a user types in
, you could programmatically replace it with some unlikely string such as
~` before sending it. Then, on the receiving side, you would
programmatically replace any instance of ~` with . 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
lakhanpal
Sent: Wednesday, May 24, 2006 7:15 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] unescape function problem

actually i also never had to use it because i never encoded the querystring.
But this time i got a real scenario in which user was trying to pass ab
where  is the seperator for name-value pair in querystring so i had to
shift to url encode method.
Which in turn led me to ' problem. :(

Anyway thanks for replying.
Vivek
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flex list

2006-05-23 Thread Jim Robson
Flexcoders:
http://groups.yahoo.com/group/flexcoders


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: Tuesday, May 23, 2006 10:12 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Flex list

what's the main list people are using for Flex discussion?

Thanks for the help,

-- 
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Jim Robson
There are some .NET web services on http://www.xmethods.net/

What version of Flash are you using?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, May 18, 2006 10:35 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] .NET and XML Web services

I've been using XML in Flash for a while, just by loading in a physical
XML file from a server.  In my new job I have an ASP.NET coworker who
said they wouldn't be able to create a flat .xml file on the server for
me because of security restrictions, so he said he will be providing a
Web service - sending XML data directly to my Flash file.  I assume
Flash Remoting is the way to go: call an ASP page with Remoting and get
XML returned from it?  Or how does that work?  I have done some Remoting
before.  What is the best approach?  
 
Is there any sample code anyone can send?  And is there any .NET XML web
service someone has out there publicly that I can try and connect to to
test this out?  Thanks!
 
Jason Merrill
Bank of America
Learning and Organizational Effectiveness
Technology Solutions
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Jim Robson
If you want to use remoting, you'll need to have it on the server. Since the
server code is in .NET, you may not have remoting available. But if you do
have remoting available, there are some tutorials out there to get you
started, such as:
http://www.oreillynet.com/pub/a/javascript/2003/01/09/flash.html
http://www.adobe.com/devnet/java/articles/jrun_fr_ws.html

If you don't have remoting available, you could use the WebServiceConnector
component. Just search the Flash documentation for the WebServiceConnector. 

I don't have any sample code available to post. 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Thursday, May 18, 2006 10:44 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] .NET and XML Web services

Thanks! I'll check that out from home tonight, but for now, any code or
information you can post on the list would be helpful since they haven't
set me up with internet access yet - I had to temporarily borrow a
co-worker's internet proxy logon just to subscribe to Flashcoders and
then disconnect.  Hopefully, I'll get that resolved soon, but for now, I
can't get to that site.  What's the best/most common method to connect
to an XML .NET web service with Flash?

I'm using Flash 8, publishing to Flash 7 for this project.

Thanks,

Jason Merrill
Bank of America
Learning and Organizational Effectiveness Technology Solutions

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim
Robson
Sent: Thursday, May 18, 2006 10:39 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

There are some .NET web services on http://www.xmethods.net/

What version of Flash are you using?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Jim Robson
Tom:

How do you use a LoadVars object for an XML web service? I thought that the
LoadVars object only handled URL-encoded data.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Thursday, May 18, 2006 11:26 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

My preferred method to date is to use LoadVars and access the .Net web
services over a standard HTTP request.  The reason for this is that I can
easily write my own WebServices class that extends LoadVars, and it ends up
being lighter and faster than the one Adobe provides.

I haven't tried the Remoting method, although I would like to at some point
since the built-in compression would be highly desirable: XML web service
responses can end up being bloated due to the size of all the tags. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of j.c.wichman
Sent: Thursday, May 18, 2006 10:46 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

Hi Jason, 
u probably can, but you dont *have* to use remoting.

You can create a reference to the webservice by simply using:
new WebService(http://location to your webservice here.asmx?wsdl,
this.logger);

Look at this one for example
http://www.flash-db.com/services/tutorials/mxclasses/mxwebservices.php?page=
2

I do think you need to include the WebserviceClasses in your swf, by
dropping them in your library (from window, common libraries).
Drop a button on your stage, name it result_btn, and copy and paste the code
from the example.

greetz
Hans
 


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Merrill, Jason
 Sent: Thursday, May 18, 2006 4:35 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] .NET and XML Web services
 
 I've been using XML in Flash for a while, just by loading in 
 a physical XML file from a server.  In my new job I have an 
 ASP.NET coworker who said they wouldn't be able to create a 
 flat .xml file on the server for me because of security 
 restrictions, so he said he will be providing a Web service - 
 sending XML data directly to my Flash file.  I assume Flash 
 Remoting is the way to go: call an ASP page with Remoting and 
 get XML returned from it?  Or how does that work?  I have 
 done some Remoting before.  What is the best approach?  
  
 Is there any sample code anyone can send?  And is there any 
 .NET XML web service someone has out there publicly that I 
 can try and connect to to test this out?  Thanks!
  
 Jason Merrill
 Bank of America
 Learning and Organizational Effectiveness Technology Solutions
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] .NET and XML Web services

2006-05-18 Thread Jim Robson
Thanks Tom. I wish I knew that about the onData handler 2 years ago - it
would have saved me some work. 

In any case, it's always good to learn new things. Thanks again.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Thursday, May 18, 2006 11:53 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

Jim,

If you use the LoadVars.onData handler rather than the onLoad handler, you
get the raw response before it is parsed and you can invoke your own parser.

I should note that the reason I ended up doing this is because I'm dealing
with huge chunks of data (greater than 1MB) and the WebService class was
simply not fast enough.  The WebService class uses a SoapCall object to load
the data, which in turn uses an XML object.  The XML object had a memory
leak in Player 7 (would consume 40MB of RAM for a 1MB web service response),
and would also hang the player for about 10 seconds while it parsed all that
data.

So, under normal circumstances, the WebService class would be just fine.  I
don't mean to recommend that anyone use the LoadVars object for web services
unless they are targeting Player 7 and have no other alternative.

-tom


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson
Sent: Thursday, May 18, 2006 11:32 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

Tom:

How do you use a LoadVars object for an XML web service? I thought that the
LoadVars object only handled URL-encoded data.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
Sent: Thursday, May 18, 2006 11:26 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

My preferred method to date is to use LoadVars and access the .Net web
services over a standard HTTP request.  The reason for this is that I can
easily write my own WebServices class that extends LoadVars, and it ends up
being lighter and faster than the one Adobe provides.

I haven't tried the Remoting method, although I would like to at some point
since the built-in compression would be highly desirable: XML web service
responses can end up being bloated due to the size of all the tags. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of j.c.wichman
Sent: Thursday, May 18, 2006 10:46 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] .NET and XML Web services

Hi Jason, 
u probably can, but you dont *have* to use remoting.

You can create a reference to the webservice by simply using:
new WebService(http://location to your webservice here.asmx?wsdl,
this.logger);

Look at this one for example
http://www.flash-db.com/services/tutorials/mxclasses/mxwebservices.php?page=
2

I do think you need to include the WebserviceClasses in your swf, by
dropping them in your library (from window, common libraries).
Drop a button on your stage, name it result_btn, and copy and paste the code
from the example.

greetz
Hans
 


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Merrill, Jason
 Sent: Thursday, May 18, 2006 4:35 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] .NET and XML Web services
 
 I've been using XML in Flash for a while, just by loading in 
 a physical XML file from a server.  In my new job I have an 
 ASP.NET coworker who said they wouldn't be able to create a 
 flat .xml file on the server for me because of security 
 restrictions, so he said he will be providing a Web service - 
 sending XML data directly to my Flash file.  I assume Flash 
 Remoting is the way to go: call an ASP page with Remoting and 
 get XML returned from it?  Or how does that work?  I have 
 done some Remoting before.  What is the best approach?  
  
 Is there any sample code anyone can send?  And is there any 
 .NET XML web service someone has out there publicly that I 
 can try and connect to to test this out?  Thanks!
  
 Jason Merrill
 Bank of America
 Learning and Organizational Effectiveness Technology Solutions
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your

[Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Jim Robson
Hello all,

I'm getting an error that makes no sense at all. I distilled the code to its
simplest form, and I'm still getting the error. I have a movie with one
frame and one movie clip on the stage, with the instance name tmp. Here is
the code:

var color:Color;
color = new Color(tmp);
color.setRGB(0xFF);

Here is the error that I get when I try to compile:

 There is no method with the name 'setRGB'.

I am using Flash 8 on Windows XP Pro. I understand that the Color object has
been deprecated in 8, but it should still compile. 

I also have Flex 2.0 with Flash Player 9 installed on the same box - I don't
think this should affect the Flash compiler, but perhaps it does. If none of
you have experienced this error, perhaps I should post it to the Flexcoders
mailing list?


Jim


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Jim Robson
Barn - 

Thanks for testing the code. Do you have Flex 2.0 / Flash Player 9 on your
system? If not, then I think that may be the cause of my problem (I do have
them installed; we're using Flex for upcoming projects).

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Canfield
Sent: Wednesday, May 17, 2006 10:23 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Color.setRGB - no such method?

I am unable to reproduce the error.

Created a movieclip and gave it the instance name tmp, copied and pasted
the code directly from your email, and it compiles with no errors (and
turns the movieclip red).

-- 
Byron Barn Canfield


 Hello all,

 I'm getting an error that makes no sense at all. I distilled the code to
 its
 simplest form, and I'm still getting the error. I have a movie with one
 frame and one movie clip on the stage, with the instance name tmp. Here
 is
 the code:

 var color:Color;
 color = new Color(tmp);
 color.setRGB(0xFF);

 Here is the error that I get when I try to compile:

 There is no method with the name 'setRGB'.

 I am using Flash 8 on Windows XP Pro. I understand that the Color object
 has
 been deprecated in 8, but it should still compile.

 I also have Flex 2.0 with Flash Player 9 installed on the same box - I
 don't
 think this should affect the Flash compiler, but perhaps it does. If none
 of
 you have experienced this error, perhaps I should post it to the
 Flexcoders
 mailing list?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Jim Robson
Thank you both for your help!

It turns out the problem had to do with the CLASSPATH settings and the fact
that another developer on my team had created a Color class in a different
namespace. The result was that Flash was grabbing this custom Color class
instead of the intrinsic one. 

Sorry for the wild goose chase. :-\

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Canfield
Sent: Wednesday, May 17, 2006 12:01 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Color.setRGB - no such method?

I have neither Flex nor Flash Player 9 -- I suspect your conclusion is
correct. Wild hair (is Flash 9 player beta?): might want to see if it's a
case issue, and use a different name for the color object (i.e., Flash 6
player would also reject color for use as an object name, as it was not
case sensitive and color was a reserved word).

-- 
Byron Barn Canfield


 Barn -

 Thanks for testing the code. Do you have Flex 2.0 / Flash Player 9 on your
 system? If not, then I think that may be the cause of my problem (I do
 have
 them installed; we're using Flex for upcoming projects).


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Scrollpane Movement

2006-05-16 Thread Jim Robson
Don't you want...

ratio = contentHeight/trackHeight

Or am I missing something too?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch
Sent: Tuesday, May 16, 2006 12:43 PM
To: Flashcoders
Subject: [Flashcoders] Scrollpane Movement

I'm knocking up a quick scrollpane(needs to be small filesize) and I'm
having a '20 minutes till home time moment'...

To work out the amount to move the content I have it as:

ratio = contentHeight - trackHeight;

theContent._y += pixelsMoved * ratio;

Where track is the slot the scroll bar moves up and down in and content is
the MC I'm putting in the scroll pane.

What haven't I thought of or what am I doing wrong.

Right now the content shoots off screen. I'm still debugging but I thought
I'd put this out there incase someone has the equation needed to hand.

Thanks.

Adrian Lynch

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Help needed for Novice

2006-05-04 Thread Jim Robson
Loren,

The stop() command is commented out on frame 5 (Start). That would explain
why the movie blows by that frame. If I am reading it correctly, this is
what is happening: When the movie gets to frame 5, it loads start.swf and
keeps playing until it gets to frame 15, where it loads objectives.swf into
the same movie clip (screen), thereby replacing start.swf.

By the same token, it looks as though the stop() command on frame 15
(Objectives) will prevent the movie from progressing to the Introduction
frame, and therefore the code to load intro.swf is never reached - unless
you have some code inside objectives.swf that instructs the main timeline to
resume playing when objectives.swf is finished, which of course I can't see.

Regarding your play control buttons, they are not addressing the movie clip
that you are trying to control. You are trying to control start.swf,
objectives.swf, and intro.swf. However, your control buttons are all
addressing _root.screen, which is the container into which you load the
others. To fix this, you could assign an instance name for the loaded movie
clips, and use the same name for each clip, and change the code in the
control buttons to address it. For example, if you assigned them all the
instance name foo you could change the code in the playme.onRelease
function to _root.screen.foo.play();

HTH

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Loren R.
Elks
Sent: Wednesday, May 03, 2006 3:36 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Help needed for Novice

Hi:
I need to load external swfs into a mc.  They will play in sequence, as soon
as one ends, the next one will start.  When running it blows by the first
external swf (start.swf) and the rest of the external swfs will not continue
to load and play after the objectives.swf.  Could someone take a look at my
code and tell me what I'm doing wrong?

I've created controls that will allow me to play, pause and stop the
external swfs while they're playing (however, these buttons do not seem to
have any effect on the external swf when it is playing).  I think it is a
scope issue, but I am not sure.  

Also, there's a combo box at the bottom, which allows the user to jump to
any external swf (it actually jumps to certain labels on the main timeline)
at any time.  The combo box appears to work OK.

The FLA is located at:  www.digitalhorizonstudios.com/exstream/newplayer.fla


By the way, this presentation is a fullscreen .exe file when in use, not a
swf played in an html file.

Thanks SO MUCH for any help on this one.

Please reply to the list AND email me directly if you have a solution.


Loren Elks
 The only real mistake is the one from which we learn nothing. - John
Powell
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Q:Flash 8 and memory leaks

2006-05-03 Thread Jim Robson
My first guess is that it's a coding issue. I ran the movie a few times, and
I didn't have any trouble till I clicked the shapshot button. Every time I
clicked that button, Firefox crashed immediately.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, May 03, 2006 10:28 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Q:Flash 8 and memory leaks

Hi
I built a quick demo recently thats crashing my Firefox browser...:)

www.bitstream.ca/flash8/

Is anyone aware of any memory leak issues as they pertain to flash 8?

Is this a coding issue or simply a player/plugin issue?

Any help appreciated!

Jim Bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] x, y coordinates when using Mouse Listener object arenot giving correct output

2006-05-02 Thread Jim Robson
Vivek,

It seems to be a bug in certain versions of the player. I dragged a TextArea
component onto the stage, named it mouseText, and modified the code as
shown below. When I published the movie and opened the HTML container in
Firefox, then it worked correctly. However, the error persists in IE. (I'm
running Flash 8 authoring tool, Flash Player 8.5, and the latest versions of
both browsers on Win XP Pro.)

/*/
/ Modified code

var mouseListener:Object = new Object();

mouseListener.onMouseDown = function() {
trace(mouseDown x:  + _level0._xmouse);
trace(mouseDown y:  + _level0._ymouse);
mouseText.text += mouseDown x:  + _level0._xmouse + \n;
mouseText.text += mouseDown y:  + _level0._ymouse + \n;
 updateAfterEvent();
};
mouseListener.onMouseUp = function() {
trace(mouseUp x:  + _level0._xmouse);
trace(mouseUp y:  + _level0._ymouse);
mouseText.text += mouseUp x:  + _level0._xmouse + \n;
mouseText.text += mouseUp y:  + _level0._ymouse + \n;
updateAfterEvent();
};

Mouse.addListener(mouseListener); 

//

Can anyone shed any more light on this? Are we just missing something, or is
this a bug?

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vivek
lakhanpal
Sent: Tuesday, May 02, 2006 6:31 AM
To: Flashcoders mailing list
Subject: [Flashcoders] x, y coordinates when using Mouse Listener object
arenot giving correct output

Hi All,

I would like to get mouse coordinates i.e. xmouse  ymouse when user's click
in my flash file and I am using mouse listener for this.

The problem i encountered is as follow

I did left click on stage and got some x, y coordinates then without moving
my mouse i did right click at same place.
Now i moved my mouse to some other place in the file and did left click
there and and i got last x,y coordinates.
Which is wrong output.

Here is the code i am using in my flash file.
//
// Create a mouse listener object
var mouseListener:Object = new Object();

mouseListener.onMouseDown = function() {
trace(mouseDown  + _level0._xmouse);
trace(mouseDown  + _level0._ymouse);
 updateAfterEvent();
};
mouseListener.onMouseUp = function() {
trace(mouseUp  + _level0._xmouse);
trace(mouseUp  + _level0._ymouse);
updateAfterEvent();
};

Mouse.addListener(mouseListener);

//

Please suggest me some solution to this problem.


Thanks,
Vivek
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Can this be true?

2006-05-02 Thread Jim Robson
In IE, I'm getting 25 fps.
In Firefox, I'm getting 27.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Kønig
Sent: Tuesday, May 02, 2006 10:37 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Can this be true?

At this link there is a swf embeded in a html with a 5 line script that 
measures fps:

http://www.fla10.com/test/test.html

The movie is set to 30 fps but plays at around 23 and I have a good 
computer!

Does flash automatically loose this much power and I just never noticed??

What numbers are you guys getting?

/Michael


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com