Re: [Flashcoders] elearing content using adobe air for ipad

2012-06-14 Thread Rob Romanek
Hi Paul,

What we do is have a swf that has a library of animations or images, all 
contained in movie clips. These movie clips are then dropped onto the stage and 
each instance given a name.

Once the swf is loaded you can then reference the instance by using 
getChildByName("instanceName"). Once you have reference to that animation you 
can throw it into any display object and it will show up in your app.

To get around with the stop limitation you can use some code to dynamically add 
code to the animations after you have gotten access to them. We do something 
like this to dynamically add stop code just before each frame label of a movie 
clip. Then you 

for each (var fLabel:FrameLabel in _skin.currentLabels)
{
_frameLabels.push(fLabel.name);
var labelFrame:int = fLabel.frame
if (labelFrame > 1)
{
//for addFrameScript the frame numbers 
are 0 based
//to add a stop frame on the one 
previous to the current frame label: -2
_skin.addFrameScript(labelFrame - 2, 
function ():void{_skin.stop()});
}
}
//add a stop on the last frame of the skin
_skin.addFrameScript(_skin.totalFrames - 2, function 
():void{_skin.stop()});

hth,

Rob



On 2012-06-14, at 9:06 AM, Paul Steven wrote:

> Rob
> 
> Can you elaborate on this further please?
> 
> I am working on an iPad only app using Flash CS5.5 and the client has asked
> if the app could load in animated graphs. I initially thought this would be
> easy loading in a swf but then discovered that not even a stop action was
> possible.
> 
> It sounds like you may have an alternative solution so would be interested
> to know more.
> 
> Thanks
> 
> Paul
> 
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Rob Romanek
> Sent: 14 June 2012 13:58
> To: Flash Coders List
> Subject: Re: [Flashcoders] elearing content using adobe air for ipad
> 
> Hi,
> 
> You can load swfs into the app BUT the swfs can not contain any action
> script in them. This includes giving class names to items in your library or
> even simple "stop()" commands.
> 
> We use swfs as external libraries in our as3 built apps but our approach has
> been to put items on the stage and name those instances (which you can do
> with imported swfs). Then use getChildByName to extract the instances we
> need.
> 
> You definitely need to use Apple's philosophy and "Think Different" but it
> does work.
> 
> cheers,
> 
> Rob
> 
> 
> On 2012-06-13, at 10:04 AM, Hans Wichman wrote:
> 
>> . *However* as far as I know you cannot load an swf with it. This might
> require a different architectural setup than you had in mind.
>> 
>> 
>> 
>> On 13-6-2012 15:35, Sumeet Kumar wrote:
>>> Thanks a lot for such a quick reply.
>>> 
>>> I haven't googled  it much but you guessed it right,  I am bit 
>>> worried about some features like
>>> 
>>> 1.   Will urlloader/loader(inbuilt as3 class) classes work fine. I wish
>>> to load swf built in as3 in my main file.
> 
> 
> ___
> 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] elearing content using adobe air for ipad

2012-06-14 Thread Rob Romanek
Hi,

You can load swfs into the app BUT the swfs can not contain any action script 
in them. This includes giving class names to items in your library or even 
simple "stop()" commands.

We use swfs as external libraries in our as3 built apps but our approach has 
been to put items on the stage and name those instances (which you can do with 
imported swfs). Then use getChildByName to extract the instances we need.

You definitely need to use Apple's philosophy and "Think Different" but it does 
work.

cheers,

Rob


On 2012-06-13, at 10:04 AM, Hans Wichman wrote:

> . *However* as far as I know you cannot load an swf with it. This might 
> require a different architectural setup than you had in mind.
> 
> 
> 
> On 13-6-2012 15:35, Sumeet Kumar wrote:
>> Thanks a lot for such a quick reply.
>> 
>> I haven't googled  it much but you guessed it right,  I am bit worried about
>> some features like
>> 
>> 1.Will urlloader/loader(inbuilt as3 class) classes work fine. I wish
>> to load swf built in as3 in my main file.


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


Re: [Flashcoders] AIR and external mp3's

2012-03-15 Thread Rob Romanek
Hi John,

Yes I have developed apps that use external mp3 files, that was a last year so 
I'm trying to remember if we had any gotchyas. It should work. Are you sure you 
are bundling the mp3 files properly with your app so they exist on the iPad?

If I come up with any ideas I'll let you know.

cheers,

Rob

On 2012-03-15, at 2:25 PM, John R. Sweeney Jr. wrote:

> So no one has dabbled in iPad apps? That's a bit surprising or is that saying 
> "don't"?
> 
> :(
> 
> 
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
> 
> 
> 
> 
> On Mar 14, 2012, at 1:57 PM, John R. Sweeney Jr. wrote:
> 
>> Has anyone built a app in AIR for iPad? I'm experimenting now, for a project 
>> coming up and have found that when I access an external mp3 and try to load 
>> and play, that it doesn't play. Works on my desktop, but not on the iPad.
>> 
>> I have internal audio that works just fine, but can't hear the external, so 
>> I'm assuming that is not loading? I'm sure there are other gotcha's going to 
>> the iPad, so any ideas of a good resource or book on the specific subject of 
>> AIR for iPad that someone would recommend.
>> 
>> This one is going to be fun… :)
>> 
>> John
>> 
>> Senior Interactive Multimedia Developer
>> OnDemand Interactive Inc
>> Hoffman Estates, IL 60169
>> 
>> 
>> 
>> 
>> ___
>> 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Video and IOS

2011-11-21 Thread Rob Romanek
Here is a link to an article to get you going with stage video

http://www.adobe.com/devnet/flashplayer/articles/stage_video.html?PID=4166869

On 2011-11-21, at 1:31 PM, John R. Sweeney Jr. wrote:

> Howdy,
> 
> I need to create a simple app for an iPad2 that shows two videos. Everything 
> I've tried doesn't not show the video. I've tried search the NET for 
> solutions, but have found very little. Has anyone successfully played videos 
> back in an IOS/AIR app on a iPad?
> 
> Thanks,
> John
> 
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
> 
> 
> 
> 
> ___
> 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] Video and IOS

2011-11-21 Thread Rob Romanek
Hi John,

Are you sure you are packaging the videos with your app? Can you see the videos 
when you test on the desktop?
Are you trying to use stageVideo? What is the format for your videos? You will 
need flvs for  "vanilla" video playback, mp4s for stageVideo. Any sample code 
of what you have tried so far?

cheers,

Rob

On 2011-11-21, at 1:31 PM, John R. Sweeney Jr. wrote:

> Howdy,
> 
> I need to create a simple app for an iPad2 that shows two videos. Everything 
> I've tried doesn't not show the video. I've tried search the NET for 
> solutions, but have found very little. Has anyone successfully played videos 
> back in an IOS/AIR app on a iPad?
> 
> Thanks,
> John
> 
> John R. Sweeney Jr.
> Senior Interactive Multimedia Developer
> OnDemand Interactive Inc
> Hoffman Estates, IL 60169
> 
> 
> 
> 
> ___
> 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] AS3 MOUSE_OVER/OUT bubbling

2009-07-05 Thread Rob Romanek

Hey Andrew,

Try setting mouseEnabled to false for your cursor sprite.

hth,

Rob

On 5-Jul-09, at 8:40 AM, Andrew Sinning wrote:

The problem is that as soon as the custom cursor's sprite becomes  
visible, it causes a MOUSE_OUT event to get called on the image  
(because the image is intercepting the mouse-over?) and then the  
custom cursor gets turned off again.  The result is a flashing  
cursor.  Nice effect, but not what I have in mind.



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


Re: [Flashcoders] XML find and delete nodes

2009-06-09 Thread Rob Romanek
Since Jason wanted to get rid of all the nodes that were empty he  
would want to filter against !=0 and then use setChildren to refresh  
his original xml. Using setChildren is a nifty trick, much nicer than  
that delete loop I put out there.


Rob

On 9-Jun-09, at 12:24 PM, Steven Sacks wrote:

Filter the XML using E4X and then make a new XML from that filtered  
result.


var xml:XML = 








  





;
//
var list:XMLList = xml..module.(children().length() == 0);
var newXML:XML = ;
xml.setChildren(list);
trace(xml);
___
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] XML find and delete nodes

2009-06-09 Thread Rob Romanek
This might get you pointed in the right direction. You can get an  
XMLList of all the empty nodes by this kind of statement


xml.modules.module.(children().length() == 0);

but if you then try a simple delete on that

delete xml.modules.module.(children().length() == 0);

you get:  Delete operator is not supported with operand of type XMLList.
I'm not sure right now why that wouldn't work. But you could simply  
loop through the XMLList generated and do a delete on each node


var emptyModule:XMLList = xml.modules.module.(children().length() == 0);
var index:int = emptyModule.length() - 1;
for(var i = index; i > - 1; i--){
delete emptyModule[i];
}
trace(xml);

hth,

Rob

PS so as far as the delete operator I'm not sure why  
delete(xml.modules.module) works while something like  
delete(xm.modules.module.(@title == "apple")) gives an error like  
above. I would think that both those "querries" result in an XMLList,  
in the first case the delete occurs but not in the second... maybe  
some lunch will help my brain work better.






On 9-Jun-09, at 11:02 AM, Merrill, Jason wrote:

Posted this on Flash_tiger without any luck.  I know about using  
delete

in E4X XML to delete unwanted XML nodes, but how would you hunt down
through and delete any nodes (of a specific type, say "" nodes
in the example below) that don't have any children?

For example, if myXML happens to look like:










  







then with that structure, I would want my code to remove the 
nodes that have the "title" attribute values of "apple", "plum", and
"pear" since those have no child nodes.

I know I could figure it out through enough trial and error, but I've
spent enough time on it already.  Thought someone here could give a
quick answer. Thanks!


Jason Merrill

Bank of  America  Global Learning
Shared Services Solutions Development

Monthly meetings on the Adobe Flash platform for rich media  
experiences

- join the Bank of America Flash Platform Community

___
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] Creating Dynamic addEventListeners with AS3

2009-04-05 Thread Rob Romanek

You can try something along the lines of

var stateButton = getChildByName("State_" + rs[i]);
stateButton.addEventListener(MouseEvent.CLICK, StateButtonClicked);

hth,

Rob

On 5-Apr-09, at 8:33 PM, Graham Pearson wrote:


What I am trying to do is when I retrieve the recordset back from the
coldfusion component is to loop through the results like

function GetClientsWithinCategory_Result(rs.Object) {
for (var i:int = 0; i < rs.length; i++) {
 State_rs[i].addEventListener(MouseEvent.CLICK, StateButtonClicked);
 // The Value of rs[i] will return the 2 letter abriviation of the
State eg: IN, WI, etc
}
}


How do I go about combining State_ + the result from rs[i] so that
when a user clicks on Indiana it will run the actionscript within the
State Button Clicked Function



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


Re: [Flashcoders] multiple fonts in TextField?

2009-01-12 Thread Rob Romanek

Hi Michael,

If your second font is not embedded in any text field but only  
available via linkage then while it is embedded in your file it is not  
available for usage. To make it available you need to use the  
registerFont function with your linked font. After that it should show  
up in any text field with embedFonts set to true.


hth,

Rob

On 12-Jan-09, at 3:45 PM, Mendelsohn, Michael wrote:


Hi list...

I am trying to set a TextField (embedFonts = true) to some htmlText.  
It
has a defaultTextFormat of a particular font embedded with linkage  
name

"XYZ".
I have two fonts in my project, the other one being linkage "XYZBold".

I want the htmlText to be something like:
"XYZ Bold stuffXYZ regular stuff";

"XYZ regular stuff" shows up, but "XYZ Bold stuff" doesn't show up.
Can't you embed two fonts in one TextField?



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


Re: [Flashcoders] change the origin of rotation for a movieclip?

2009-01-12 Thread Rob Romanek
Hey Anthony have you checked out the MatrixTransformer class its got a  
handy function, rotateAroundInternalPoint(), which will serve you well.


Rob

On 12-Jan-09, at 3:24 PM, Anthony Pace wrote:


-Original Message-
From: Anthony Pace [mailto:anthony.p...@utoronto.ca] Sent:  
Saturday, January 10, 2009 6:12 PM

To: Flash Coders List
Subject: [Flashcoders] change the origin of rotation for a movieclip?

How do you change the origin of rotation dynamically? can it be  
done?  or will it always be 0,0


I was hoping that with the new features of as3 that this I would be  
able to indicate where I wanted the origin; yet, I am starting to  
think that I was hoping for too much.

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


Re: [Flashcoders] text line overflow

2008-11-17 Thread Rob Romanek

Hi Latcho,

I see you've gotten a couple response but I'll throw another one in to  
the mix. The main functions that will interest you are:
1) getCharIndexAtPoint which locates the char at the edge of the  
textfield

2) replaceSelectedText which is used to substitute in "..."

This is some code ripped out of a class I use that extends TextField  
and does a bunch of things for me, one of which is the truncation of  
text. It is not complete but should give you an idea for approaching  
this problem.


private var _htmlText:String = ""; //holds the complete text for the  
field even when truncation occurs
private var _tempText:TextField = new TextField();; //another  
textField which is used to truncate the text and then place it into  
this actual field
private var _gutterCompensation:Number = -5; // -5 compensates for the  
gutter on either side of the text


private function checkDimensions(){
_htmlText = super.htmlText;
if(super.textWidth > width - _gutterCompensation){
//use the temporary text holder to do the text shortening and replacing
_tempText.htmlText = _htmlText;
	_tempText.defaultTextFormat = super.defaultTextFormat; //this ensures  
that the "..." are placed using the correct formatting
	//find the character located at the edge of the text then count back  
2 more characters and replace everything from there to the end with  
"..."
	_tempText.setSelection(super.getCharIndexAtPoint(width- 
_gutterCompensation, 2)-2, super.text.length);

_tempText.replaceSelectedText("...");
super.htmlText = _tempText.htmlText;
}

Again is this an email/modified version so it is not complete just to  
give you ideas. (I don't remember if I really needed to use  
super.htmlText or could have gotten by with just this.htmlText)


Basically what I do is when the text field looses focus after editting  
I run the checkDimensions function which does my truncation but also  
stores the complete text. When the user brings the textfield back in  
to focus I replace the truncated text with the complete text I have  
stored.


hth,

Rob

On 17-Nov-08, at 4:26 AM, Latcho wrote:

How to break a line of text on the optimal charachter and adding  
"..." if it doesn't fit a single lined textfield

| I would like to break | this line of text.
| I would like to br... |

Any suggestions (AS3)

Latcho
___
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] open word document from flash

2008-10-23 Thread Rob Romanek
From within a browser or are you creating a stand-alone app that  
needs to open the files?


If a stand alone then you could use a wrapper. I've done this with AS3  
Flash running as an active-x component inside of Director 10. Flash  
communicates to Director, Director uses an xtra like Buddy-API to open  
the files.


Rob

On 23-Oct-08, at 3:24 PM, Bassam M wrote:


Hi guy
Is there anyway that I can open word-excel files from flash


Thanks
Basam
___
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] ComBox Box - Font Issues

2008-10-18 Thread Rob Romanek
I'm pretty sure the text field trick should work because it forces the  
font to be registered. Just embedding fonts in your library won't be  
enough if they are accessed via code only. To avoid the text field  
trick you will need to use Font.registerFont() to make them usable in  
your app. Something along the lines of:


var tClass:Class = getDefinitionByName("Gotham Medium") as Class;
Font.registerFont(tClass);

hth,

Rob

On 18-Oct-08, at 12:38 PM, Glen Pike wrote:


Hi,

  Try putting a text field off the stage set and embed your chosen  
font into it - that used to do the trick with AS2.


  Glen

karim beyrouti wrote:

Hi list  -

I am using the flash CS3 components - and have hit a little snag -  
when testing in the IDE ( or just running the SWF ) all the fonts  
show up fine - no problem. However the moment the site goes in the  
browser - the font does not show up in the ComboBox textField,  
however they show up no in the dropdown menu. I have embedded the  
font in my library - and well - i have no clue as to why this is  
not working in the browser.


this is the code i am using to format the combobox:


   var tf:TextFormat = new TextFormat();
   tf.font = "Gotham Medium";
   tf.size = 12;
   tf.bold = false;

   cmb_mc.dropdown.setRendererStyle("embedFonts", true);
   cmb_mc.dropdown.setRendererStyle("textFormat", tf);
  cmb_mc.textField.setStyle("embedFonts", true);
   cmb_mc.textField.setStyle("textFormat", tf);




Kind regards



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




--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

___
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] Problems creating a drag and drop

2008-09-24 Thread Rob Romanek
Hey Glen when you say "your mouse up is outside the stage" do you mean  
that the mouse up is occurring outside of the dragged object in which  
case the object catching the up event is the stage object. (Rest of  
your sentence seems to imply that.)


Susan, if you imagine your cursor moving faster than the drag object  
can keep up then what happens is the mouse up occurs outside of the  
object but since there is no built in mouseUpOutside event you are  
going to have to build your own. If you google "senocular as3  
mouseupoutside"  you should get some good hits on tutorials explaining  
how to use the stage object to catch these mouse up events.


hth,

Rob


On 24-Sep-08, at 2:55 PM, Glen Pike wrote:


Hi,

  It could be because your mouse up is outside the stage - I have  
had problems with that - search for "MOUSE_LEAVE" or something  
similar - it maybe on the stage object.


  Glen

Lord, Susan, CTR, DSS wrote:

Hi there,

I am having problems with my event listener for my drag and drop.
Sometimes it detects the mouse up event and sometimes it doesn't and
won't let go of the object (stopDrag). Have any of you ever run into
this? If so, is there a fix?

Basically I have this coding...

function stopDragging(event:MouseEvent):void {
trace("mouse up")
   // There is more function code I just didn't want to paste
it all in.
}

Triggered by:

for (i= 0; i < aButtons.length; i++) {
aButtons[i].mouseChildren = false;
aButtons[i].addEventListener(MouseEvent.MOUSE_DOWN,
startDragging);
aButtons[i].addEventListener(MouseEvent.MOUSE_UP, stopDragging);

}

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





--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

___
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] A Question that I've been asking for years!!

2008-08-25 Thread Rob Sampson
I'm certainly no expert but as I understand it, an interface is a class that
is only good for inheriting, never instantiating.
For example - if you were going to write two classes - Baseball and
Softball, you would want a parent class Ball. However, you won't ever
instantiate a Ball, you'll always use one of the subclasses. Furthermore,
Baseball and Softball both have similar properties (pitch, circumference,
weight, etc) but those functions are implemented differently between the
two. So instead of making a Ball class and overriding all the methods both
times, you would make an Interface that they both implement. You haven't
written any code in the interface, just defined that all Ball objects will
have a pitch method, and a circumference and weight, and the implementation
is up to them.

So that's all well and good but the real power is that you can use Ball as a
data type later to refer to either type: myBall:Ball = new Softball().

I hope that helps -


On Mon, Aug 25, 2008 at 3:39 PM, Omar Fouad <[EMAIL PROTECTED]> wrote:

> This could seem weird...
> But what the hell is an interface!!! I've read lots of books and
> posts without getting the answer. I bought "Essential AS3" to read about
> interfaces and he says that helps for multi inheritance. In other places I
> read that it is a "deal" to ensure that a class has some methods and so on.
> But what is the real benefit that I can come out with using interfaces
>
> Maybe that is stupidity or I am not smart enough to get the concept but
> believe me... its is been two years now!!
>
> Please Help!!!
>
> --
> Omar M. Fouad - Digital Emotions
> http://www.omarfouad.net
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
> ___
> 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] Function => String

2008-08-25 Thread Rob Sampson
I've been working with ExternalInterface.addCallback, and I think it's a
drag that you have to send the name of a function as a String - it seems
like there should be a way to get the name of a function dynamically the
same way Event uses public static constants for their strings – so the
compiler can find my misspellings! It's not a huge problem but (as with
everything in the ExternalInterface) it seems like the implementation wasn't
thought out, and doesn't jive with the rest of the language. So how about it
gurus...any cool toString/prototype/constructor override tricks?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Two problems with BitmapData.draw() w/r/t registration point and transparency

2008-07-03 Thread Rob Romanek

As suggested Matrix will get you there. Here is some sample code:

var box1 = new Sprite();
box1.graphics.beginFill(0xff);
box1.graphics.drawRect(-10,-10,10,10);
box1.graphics.endFill();
box1.graphics.beginFill(0x00ff00);
box1.graphics.drawRect(0,0,20,20);
box1.graphics.endFill();
addChild(box1);
box1.x = 10;
box1.y = 10;


var bounds = box1.getBounds(box1);
var bmd = new BitmapData(bounds.width, bounds.height, true, 0x00);
bmd.draw(box1, new Matrix(1,0,0,1, -bounds.x, -bounds.y),null,  
null,null, true);

var bm = new Bitmap(bmd);
addChild(bm);
bm.x = 100;
bm.y = 0;


note that what used to be the -10, -10 point in the original sprite  
has be translated to the 0,0 point in the bitmap so if you wanted to  
line the two up you need to compensate for this difference in  
registration point.


hth,

Rob


On 3-Jul-08, at 8:52 AM, Ashim D'Silva wrote:


I've found you have to set up the bitmapdata to have 4 channels
instead of 3 to get transparency.
So for a transparent image...

new BitmapData(width, height, true, 0x);

That should make it truly transparent.

And for the first part, I haven't tried it, but have you looked into
using a Matrix?

2008/7/3 jonathan howe <[EMAIL PROTECTED]>:

Hi, gang,

I have a long list of MovieClips. For each one, I want to create a  
bitmap

icon that shows the first frame.

The problems I'm having:
1. The MovieClips often have content above and before (-y and -x) the
registration point, and simply performing BitmapData.draw() I don't  
seem to

get the "negative" data
2. I'd like transparency on the resultant bitmaps.


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


Re: [Flashcoders] Maintain position on rotation

2008-06-18 Thread Rob Romanek

Hi Eric,

Try out this code, should do the trick and show that localToGlobal  
does work

Run it once as is, then uncomment the rotation and see the results.

hth,

Rob



var sprite1:Sprite = new Sprite();
sprite1.graphics.beginFill(0x00ff00);
sprite1.graphics.drawRect(0,0,100,100);
sprite1.graphics.endFill();

var sprite2:Sprite = new Sprite();
sprite2.graphics.beginFill(0xff);
sprite2.graphics.drawRect(0,0,10,10);
sprite2.graphics.endFill();

sprite1.addChild(sprite2);
sprite2.x = 90;
sprite2.y = 90;

addChild(sprite1);
sprite1.x=100;
sprite1.y=100;

//sprite1.rotation = 45;

trace(sprite1.localToGlobal(new Point(sprite2.x, sprite2.y)));


On 18-Jun-08, at 1:27 PM, eric e. dolecki wrote:

AS3. I have a MC I am rotating, and inside the MC I have a Sprite  
(affixed

to the bottom of the MC).

While rotating, I want to place another MC's x,y (each frame) on that
rotating MC. However the x,y never updates. I tried localToGlobal,  
but that
doesn't seem to change either during the rotation. Can this be  
easily done?

___
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] stack overflow in IE ?

2008-05-20 Thread Rob Romanek

FYI

Also crashes under OSX 10.5.2, Safari 3.1,  FP 9,0,115,0

On 20-May-08, at 10:13 AM, Andrei Thomaz wrote:


dear Jonathan,

in my computer, with the same versions of Firefox and FP, also under  
Vista,

it runs fine.
What worries me is that it doesn't use recursion, just some nested  
loops,

used when the algorithm ends.

thank you,
andrei


On Tue, May 20, 2008 at 10:28 AM, jonathan howe <[EMAIL PROTECTED] 
>

wrote:


Andrei,

It also crashed in Firefox 2.0.0.14 Vista PC with FP 9,0,124,0.

-jonathan



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


Re: [Flashcoders] need help.. switch statement parameters

2008-05-17 Thread Rob Romanek

Try changing this line:

 switch(event.target.selection.name) {

to this:

 switch(e.target.selection.name) {

hth,

Rob

On 17-May-08, at 11:35 AM, rlyn ben wrote:

its giving me 1120 error on switch statement parameters..  
"switch(event.target.selection.name) {" what am i missing on the  
code?...




import flash.events.Event;
import fl.events.ComponentEvent;
import fl.controls.RadioButtonGroup;

stop();

var gRB:RadioButtonGroup = RadioButtonGroup.getGroup("genderGroup");
gRB.addEventListener(MouseEvent.CLICK, genderHandler);

function genderHandler(e:MouseEvent):void {
   switch(event.target.selection.name) {
   case "maleRB":
   maleRB.value = 1;
   break;
   case "femaleRB":
   femaleRB.value = 0;
   break;
   //action
   }
}

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


Re: [Flashcoders] [AS3] Problem with For loop

2008-05-02 Thread Rob Romanek

Try the change I've added below and see if it works for you.


On 2-May-08, at 10:58 AM, SJM - Flash wrote:

This function should loop through 5 times creating 5 different  
MovieClips, each one with a mouse click event attached, which should  
trace the value of "i" either 1, 2, 3, 4 or 5. So the first  
movieclip should output 1, second should output 2 and so on...


for (var i = 0; i < itemList.length(); i++) // itemList.length()  
is equal to 5

{
 _summaryElement[i] = loadLibrary(itemContainer); // Loads  
MovieClip from library

_summaryElement[i].name = String(i);




 trace(i); // Outputs correctly "1... 2... 3... 4... 5..."

 var summaryClick = function (ev:Event)
 {




   //trace(i); // Outputs incorrectly (Outputs "5" on each  
MovieClip click) ???

trace(ev.target.name);



 }

 addChild(_summaryElement[i]); // Adds MovieClip to stage

 _summaryElement[i].addEventListener(MouseEvent.CLICK,  
summaryClick); // Adds an click event to each MovieClip

}

Thanks
SJM
___
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] to mac or not to mac

2008-03-14 Thread Rob Emenecker
> Otherwise, i'm very, VERY unreligious about operating systems, 
> because i frankly think they all suck in one way or another.

You've got a lot of nerve being rational and objective making that
statement!


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


RE: [Flashcoders] to mac or not to mac

2008-03-14 Thread Rob Emenecker
Dave,

When I get my next new/replacement workstation it will be a dual quad-core
Intel (or whatever is newer) Mac Pro. You can run OS X, Windows, etc. 

The only thing I would not do it pay Apple's predatory pricing for
additional memory sticks, RAID controller, additional drives, etc. Just get
the best processor, min memory, min hard drive, etc., then upgrade with
aftermarket.

...Rob


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


RE: [Flashcoders] Graphic design universities

2008-02-25 Thread Rob Emenecker
You might also look at Drexel University. They have an excellent
design/media, information technologies, and computer science programs.

Rob

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


RE: [Flashcoders] CDROM XML search

2008-02-21 Thread Rob Emenecker

> Looking on the web, some people seemed to recommend using Director 
> or other "wrappers" to allow access to the file system.  Anyone 
> know if this might be something to consider?

Yes. If you go this route there are several commercial database engines that
are available to you. However, the Flash Xtra for Director is not current
with the web Flash Player. Specifically it does not currently support AS3 or
certain components, and Flex is WAY OUT OF THE QUESTION.

If you are coding in AS2, then Director coupled with a database Xtra
(Valentina, Vizion, Arca, ADO, Datagrip, etc.) is what I would recommend.

...Rob

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


RE: [Flashcoders] CDROM XML search

2008-02-21 Thread Rob Emenecker
Glen,

You might want consider structuring the XML as a faux relational database...
#1) full text
#2) keyword index and frequency
#3) titles, volume, number, etc.

During search, you only have to trawl through #2, which would have cross-ref
IDs for numbers 1 and 3. Then pull #1 for presentation purposes and possible
search term highlighting.

...Rob


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Thursday, February 21, 2008 11:25 AM
To: Flash Coders List
Subject: Re: [Flashcoders] CDROM XML search

The system can use AS3 - as it is a CDROM.

I asked about the data size - at the moment, a sample XML file, generated by
an automatic tool is about 500k, gulp.
That means, 6MB per year, 60MB per decade at the moment.

I have asked to see the file, because there may be a lot of rubbish that can
be eliminated - I hope so..

Glen



Merrill, Jason wrote:
> First questions to get out of the way is which version of Actionscript 
> and potentially how much data (in k)?
>
> Jason Merrill
> Bank of America
> GT&O L&LD Solutions Design & Development eTools & Multimedia
>
> Bank of America Flash Platform Developer Community
>
>
> Are you a Bank of America associate interested in innovative learning 
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog and & subscribe.
>
>
>
>
>  
>
>   
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of Glen 
>>> Pike
>>> Sent: Thursday, February 21, 2008 10:50 AM
>>> To: Flash Coders List
>>> Subject: [Flashcoders] CDROM XML search
>>>
>>> Hi,
>>>
>>>I have been asked to look at a search facility for a CDROM 
>>> project.
>>>
>>>The customer is archiving magazines, 1 a month, for a decade per 
>>> CD and wants a simple search engine.
>>>
>>>The magazines will be archived as scanned images plus XML data 
>>> containing page text content.
>>>
>>>Loading in an XML file and searching / filtering is pretty easy 
>>> in principle, but I am guessing I may run into performance issues as 
>>> the amount of data is scaled up.
>>>
>>>Google is proving fairly useless today, so has anyone had much 
>>> experience of this and have any recommendations.
>>>
>>>Thanks
>>>
>>>Glen
>>> --
>>>
>>> Glen Pike
>>> 01736 759321
>>> www.glenpike.co.uk <http://www.glenpike.co.uk> 
>>> ___
>>> 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
>
>
>   

-- 

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
___
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] variable with # sign

2008-02-21 Thread Rob Emenecker
Hi Alex,

I'm very confused by this. A variable name in Flash is not what you would
necessarily push to the database anyway. You would push a string, number, or
other primative, not the internal variable name itself.

...Rob

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


RE: [Flashcoders] yahoo list?

2008-02-06 Thread Rob Emenecker
Flash_Tiger Mailing List 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Flash_tiger/

<*> To change settings online go to:
http://groups.yahoo.com/group/Flash_tiger/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
mailto:[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Corban
Baxter
Sent: Wednesday, February 06, 2008 10:03 AM
To: Flash Coders List
Subject: [Flashcoders] yahoo list?

Hey i had say a post a while back about another mailing list some others
were getting started that was just a spin off of flashcoders.
Could somebody link me? Thanks!

--
Corban Baxter
http://www.projectx4.com

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


RE: [Flashcoders] Creating a Projector for the Mac on a PC, and dealing with file references

2008-02-01 Thread Rob Emenecker
> PC/Mac hybrid CDs are normally created on Mac using Toast. You do 
> not have two sets of identical files (such as your XML files) on 
> PC and Mac sectors on CD because you can share them using aliases. 

On important thing to keep in mind if you create custom hybrid PC/Mac CDs is
that the file name length is limited to 32 characters, inclusive of
extensions. 

...Rob

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


RE: [Flashcoders] Creating a Projector for the Mac on a PC, and dealing with file references

2008-02-01 Thread Rob Emenecker
> 2. Is it possible to burn a CD for the Mac on a PC?

Yes, but not without going through a lot of gyrations. Using Nero on the PC,
you can burn *separate* Mac and PC partitions onto a CD, however to do so
you need to have the Mac partition mounted on the PC. This can be done by
via a SCSI interface (does anyone really run these anymore), or by using a
third-party tool such as MacDrive. It's kludgy at best!

As Kenneth mentioned, using Toast on a Mac with a disc type of Custom Hybrid
is the easier, softer way. A MUCH EASIER WAY!

> 3. If the answer to 2 is yes, is it possible to make the projector
auto-run?

Nope. OS X brought with it the demise of autoplay on the Mac. 

You can create a temporary disk partition/image and visually tailor it to
your liking, but you cannot specify an app package to automatically launch.
You might want to check out FileStorm at www.mindvision.com. Most everything
you can do with the basic version you can do with the Finder and Toast, but
it makes the process easier.

...Rob


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


RE: [Flashcoders] nested for loops stumper

2008-01-25 Thread Rob Emenecker
 
> yep, you need some kind of scope declaration to tell you where the 
> items are. a lot of people use thisRoot = this; (or something that 
> states the location) and then all you have to do is pass 'thisRoot' 
> around as a reference to where that item is. That way you never 
> have to say 'this' when it's not actualy 'this'.

Thumps himself in the head! Doh! What a great idea. Never thought of doing
that!


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


RE: [Flashcoders] mdash in htmlText

2008-01-15 Thread Rob Emenecker
Hi Andrew,

I took a look at what we did and, unfortunately, our solution was a
"pre-processing" script before the HTML was deployed to our Flash project.
Since there are "real" differences between Flash HTML and standard HTML --
especially with regards to white space -- we provided our client a set of
guidelines so that they could use any WYSIWYG HTML editor. We then parsed
the files subbing out character entities for Flash Unicode notation
(\u), collapsing whitespace, etc.

Sorry I did not get back to you yesterday. 

...Rob

P.S. FWIW, using split/join, is probably the easiest way to do it.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: Sunday, January 13, 2008 10:23 PM
To: Flash Coders List
Subject: Re: [Flashcoders] mdash in htmlText

Thanks Helmut.  With your lead I was able to come up with the following.
(There's probably a better way to do a replaceAll, but using slit.join is
least amount of code that I know of.)

function htmlAmpCharsToFlashHtmlAmpChars(str:String):String {

str = str.split(" ").join(" ");

str = str.split(" ").join(" ");

str = str.split("–").join("–");

str = str.split("—").join("—");

str = str.split("—").join("—");

str = str.split("‘").join("‘");

str = str.split("’").join("’");

str = str.split("“").join("“");

str = str.split("⁄").join("⁄");

str = str.split("€").join("€");

str = str.split("™").join("™");

str = str.split("←").join("←");

str = str.split("→").join("→");

str = str.split("←").join("←");

str = str.split("→").join("→");

str = str.split("↔").join("↔");

str = str.split("⇐").join("⇐");

str = str.split("⇒").join("⇒");

return str;

}
___
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] mdash in htmlText

2008-01-13 Thread Rob Emenecker
It was AS2 in Flash 8. I honestly can't recall whether it was a true regexp
or some mash-up. Will need to check with the guys back at the ranch on
Monday. I do remember having a crapload of HTML text that was peppered with
those characters and they were a problem. Will check it out tomorrow and
post a follow-up.

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: Sunday, January 13, 2008 9:58 AM
To: Flash Coders List
Subject: Re: [Flashcoders] mdash in htmlText

It would be fantastic if you could share.  Were you using AS3?  If not, what
did you do for regex?  I tried to figure out the as2lib project's
implementation of regex but couldn't get a simple replaceAll to work....

Thanks!

Rob Emenecker wrote:
> Hi Andrew,
>
> I don't know of a class that will help with this. Extended characters 
> need to be Unicode encoded in the HTML stream for Flash to properly
display them.
> I've had to do exactly what you probably don't want to do... that is, 
> scrub them out.
>
> I had a project that wrapped up late summer last year, where I had to 
> contend with a fairly simple set of characters: single and double 
> opening/closing quotes, em-dash, en-dash, copyright, registered 
> trademark, etc.
>
> When I get back to the office on Monday, I'll check to see what we did 
> for handling them in HTML text. IIRC, we ran regular expressions on 
> the HTML text swapping mnemonic style character entities for Flash 
> Unicode, e.g., \u000a.
>
> ...Rob
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew 
> Sinning
> Sent: Saturday, January 12, 2008 10:39 PM
> To: Flash Coders
> Subject: [Flashcoders] mdash in htmlText
>
> I'm running CS3 with AS2.
>
> I'm loading in some html text into a TextField with html set to true.  
> It looks like   is working correctly, but other chars such as 
> — are just being rendered literally, as "—".  This is even 
> with the entire character set embedded.
>
> Do I have to scrub all this stuff out?  Is there a class to do this?
>
> Thanks.
> ___
> 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 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] mdash in htmlText

2008-01-12 Thread Rob Emenecker
Hi Andrew,

I don't know of a class that will help with this. Extended characters need
to be Unicode encoded in the HTML stream for Flash to properly display them.
I've had to do exactly what you probably don't want to do... that is, scrub
them out. 

I had a project that wrapped up late summer last year, where I had to
contend with a fairly simple set of characters: single and double
opening/closing quotes, em-dash, en-dash, copyright, registered trademark,
etc. 

When I get back to the office on Monday, I'll check to see what we did for
handling them in HTML text. IIRC, we ran regular expressions on the HTML
text swapping mnemonic style character entities for Flash Unicode, e.g.,
\u000a.

...Rob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: Saturday, January 12, 2008 10:39 PM
To: Flash Coders
Subject: [Flashcoders] mdash in htmlText

I'm running CS3 with AS2.

I'm loading in some html text into a TextField with html set to true.  
It looks like   is working correctly, but other chars such as —
are just being rendered literally, as "—".  This is even with the
entire character set embedded.

Do I have to scrub all this stuff out?  Is there a class to do this?

Thanks.
___
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] Re: AVM1Movie unload and static variables

2008-01-10 Thread Costello, Rob R
my impression of this is that if you have static variables or methods of the 
moveclip then you have a class that extends MovieClip?

if so, my suggestion is make sure the references to the class are set to null / 
out of scope - in my experience unloading a class that extends MovieClip does 
not always delete the reference to the associated subclass of MovieClip

hth  - and might be barking up the wrong tree

rob



From: [EMAIL PROTECTED] on behalf of Matthias Dittgen
Sent: Thu 1/10/2008 2:20 AM
To: Flash Coders List
Subject: [Flashcoders] Re: AVM1Movie unload and static variables



In fact this problem applies not only for AS2/AS3 interop.
How can I unload MovieClips and thus unload static variables to have a
fresh startover, when loading the same MovieClip later again?

Matthias

On Jan 9, 2008 3:32 PM, Matthias Dittgen <[EMAIL PROTECTED]> wrote:
> Hello Flashcodes,
>
> I isolated a recent problem I had using AVM1Movies. I have build this
> everywhere mentioned Proxy for "old" Flash content (Flash8 and
> before), that enables my AS3 Application to communicate with the
> loaded AS2 based MovieClip using LocalConnection.
>
> Now I load an "old" Movie for the first time into an own container
> within my proxy AVM1Movie and I lockroot it, too. Later the Movie gets
> unloaded and sometime later the Movie ist loaded again to a new
> container. The second time, the Movie does NOT work as expected,
> because static variables from its former incarnation are still set.
>
> Questions:
> Why are these variables still there and not deleted by garbage
> collection or the like?
> How can I have it work? Is there more than lockroot, I can do?
>
> Any help or comment on this is welcome.
>
> Matthias
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education and Early Childhood 
Development.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Software Patent Question

2008-01-04 Thread Rob Emenecker
That's not a bad idea, provided that you have patent/copyright lawyers who
will also handle your case pro-bono in their free time! ;p
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Mennenoh
Sent: Friday, January 04, 2008 1:41 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Software Patent Question

Thanks, for the opinions. I have to agree with Charles on this - the patent
is bunk. I just wanted to hear it from someone else. Makes me want to make
an open-source makeover engine. It might be something to do in all my
free-time. Heh



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


[Flashcoders] projector ports

2007-12-23 Thread Costello, Rob R
Hey all

Whats the deal with flash projectors and port numbers / firewalls? 

I have a swf with a line like this 

mcLoader.loadClip(image_url, valid_mc) 

Anyway, this works fine from inside the browser 

And, from home, it works fine from the flash projector 

but, from work, it only loads if I have previously been to the image_url
in the browser - ie doesn't work if image_url is a valid but new file 

is this a port thing? 

Cheers and thanks and merry merriment 

Rob 


Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education and Early Childhood 
Development.

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


[Flashcoders] flashcoders list page

2007-10-21 Thread Rob Buse

I've requested to be unsubscribed several times via:

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

The confirmation e-mail never shows.
Neither does the password reminder.

-Rob

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


Re: [Flashcoders] Radial Gradient Programmatic Masks in AS3.0

2007-09-13 Thread Rob Romanek

This should work for you...

http://www.manibus.com/codeSamples/maskTest.fla

Rob

On Thu, 13 Sep 2007 15:41:46 -0400, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:

Yeah, that didn't work, i am not using the timeline, very rarely do i  
use the timeline these days.

I need a working example to understand the exact process

Thanks,
Patrick
On Sep 13, 2007, at 12:35 PM, Rob Romanek wrote:


What have you tried?

I don't think you can do this via the timeline you need to do it  
programatically by setting the mask of a clip to another clip which has  
it's bitmap caching set to true.


hth,

Rob

___
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] Radial Gradient Programmatic Masks in AS3.0

2007-09-13 Thread Rob Romanek

What have you tried?

I don't think you can do this via the timeline you need to do it  
programatically by setting the mask of a clip to another clip which has  
it's bitmap caching set to true.


hth,

Rob

On Thu, 13 Sep 2007 14:19:42 -0400, Patrick Lemiuex <[EMAIL PROTECTED]> wrote:


Hi,
I was trying to script a spotlight effect in AS3... I didn't have any  
luck, apparently, it's pretty common to do this and come up with a  
rectangle.  Does anyone have a working example of this?  This is  
probably something I am going to do over and over again so help is  
really appreciated.


Thanks,
Patrick

___
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 with listener for custom class (AS3)

2007-09-13 Thread Rob Romanek

Hi Dane,

Here are some thoughts for you to try. First off since you are not  
actually working with a display object you don't need this class to extend  
sprite. The easiest way to give the class the ability to send out events  
is to have it extend EventDispatcher and then you can have it dispatch  
events as required...  here is you sample pared down a bit, just dealing  
with xml


package {
import flash.events.*;
import flash.net.*;
public class fileImports extends EventDispatcher {
public var newStyleSheet:StyleSheet = new StyleSheet();
public var newXML:XML = new XML();
public function fileImports(xmlFile:String):void {
var xmlToLoad:URLRequest=new URLRequest(xmlFile);
var xmlLoader:URLLoader = new URLLoader;

xmlLoader.load(xmlToLoad);
//event listeners
xmlLoader.addEventListener(Event.COMPLETE,xmlLoaded);

}

public function xmlLoaded(event:Event):void {
newXML = XML(event.target.data);
dispatchEvent(new Event(Event.COMPLETE));
}
}
}

then in the movie calling the class

var tFile = new fileImports("data/xml/presenter1.xml");
tFile.addEventListener(Event.COMPLETE, xmlDone);
function xmlDone(e:Event){
trace("done");
}

hth,

Rob

On Tue, 11 Sep 2007 15:25:05 -0400, Dane Williams <[EMAIL PROTECTED]>  
wrote:



My problem is I don't know how to "listen" to the class
from the main timeline to find out if the class is finished processing  
the
XML. Right now if I try to use "fileForThis.newXML" I get a value of  
null.
But if I put a trace on newXML in the class, it shows the content of my  
XML

file.
I have gotten this to work on other projects because I haven't tried to  
use

the data immediately - so the data has time to "process" before it's put
into a text field, etc.
I appreciate any help I can get on this. Thanks!

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] Live Preview communicating with Flash

2007-08-30 Thread Rob Romanek
I'm playing around with components some more in Flash and am trying to  
figure out a way for the live preview to get the file name of the  
currently active document in Flash. I was wondering if this might be  
doable using the ExternalInterface class. While I can get the live preview  
to tell be that an external interface is available I can't work out what  
functions I can call to the application hosting that live preview(i'm  
assuming that is Flash itself) and if there is a call that would return  
the file name of the current document.


Any thoughts? Is there an easier way to do this?

thanks,

Rob
___
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] long dash

2007-08-23 Thread Rob Romanek

I reference this page:

http://www.w3.org/TR/html4/sgml/entities.html

try c="a — b"

hth,

Rob


On Thu, 23 Aug 2007 14:07:38 -0400, natalia Vikhtinskaya  
<[EMAIL PROTECTED]> wrote:



Hi
I thought it simple but that does not work.I am trying to show long dash
c="a — b"
txt.html=true;
txt.htmlText=c;
But that does not work. What am I doing wrong?
Thanks in advance
___
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




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] AS3 BitmapGradientFill

2007-07-18 Thread Rob Romanek

Thanks alot, that does the trick.

Rob

On Wed, 18 Jul 2007 16:45:59 -0400, Rákos Attila  
<[EMAIL PROTECTED]> wrote:




Set up a matrix which determines the gradient box and pass it to the
beginGradientFill(), e.g:

var m: Matrix = new Matrix();
m.createGradientBox(100, 100);

_grad.graphics.beginGradientFill("linear", [0xff, 0xff,  
0xff, 0xff], [1, 1, 1, 1], [0,85,170,255], m);


  Attila

___
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] AS3 BitmapGradientFill

2007-07-18 Thread Rob Romanek
I'm sure I'm missing something basic here. In Flash 9 I'm trying to create  
a gradient fill that starts at blue, over the first 3rd of the shape it  
fades to white, remains solid white over the next 3rd then over the final  
3rd it fades from white back to blue. I thought the code below should do  
it but I get an image that starts off solid white for about the first 3rd  
then fades to blue.


Any suggestions on what I'm doing wrong.

Thanks,

Rob



var _grad:Shape = new Shape();
_grad.graphics.beginGradientFill("linear", [0xff, 0xff, 0xff,  
0xff], [1, 1, 1, 1], [0,85,170,255]);

_grad.graphics.drawRect(0,0,100,100);
_grad.graphics.endFill();
addChild(_grad);
___
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] RE: obfuscation swf !

2007-07-17 Thread Costello, Rob R

> 2006/5/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Is there any good way or method for obfuscation a Flash file so that
> swf works fine after obfuscation and also prevent any one to
> understand the code easily . Few common softwares for obfuscation are
> just not that good as swf stops working after using them . Of if not
> obfuscation is there any other method to prevent swf to be decompiled
> to fla . help will be really appreciate .
>
> Thx
>
> Max

My understanding is that encryption is unreliable - since the player has to be 
able to decrypt it anyway, and the swf format is known - so any trick that 
fools the decompiler is vulnerable to being corrected in the next release of 
the decompiler

I've written a home grown obfuscator of sorts (for AS2). It's a bit slow and 
clunky - and not AS3 compatible - but does what I need. (It can parse AS2 
source code for variable and functions names using VB, and then obfuscate the 
byte code using FLASM.)

> Few common softwares for obfuscation are  just not that good as swf stops 
> working after using them .

depending on coding style, you need to avoid changing names of variables that 
correspond to other constants (eg names of nodes in an XML file that are 
matched in your code - won't match if you rename the coded version)

Also array syntax (AS2) that does things like ["prop" + x]  - don't want to 
rename prop0, prop1 etc elsewhere

So you typically need some sort of exclusion list. I don't know that you can 
ask the software to reliably work out which variables must be excluded in some 
of these contexts.

(In some cases I could observe if functionality was impaired and look in that 
region of code for array syntax etc.)

I had a look at ASO lite a while ago and at the time it took the approach of 
not renaming any functions or classes - just simple variables, and it also 
allows a custom exclusion list.

I was naïve enough to try my own (using Flasm and VB) that also did function 
names etc.

The current ASO version now seems to rename functions and class names etc 
(still allowing a custom exclusion list).

Its pretty fast - but I've had your issue - my code stops working and I can't 
work out which additional variables to exclude. For example it seemed to kill 
the V2 mx components - and it was finding thousands of variables from those 
components.

It seemed to me that I only wanted to obfuscate my own code (eg I don't mind if 
people decompile the mx components etc).

So I revisited the one I'd tinkered with. Its slow - uses VBA and Flasm. (I 
tested it as compiled VB6 and almost identical speed. VBA allows me to use 
Excel for data storage.

I now get it to parse my AS2 files first and locate all of the variables and 
functions names I have introduced. (I don't get it to scan the mx source files 
so it will leave them in swf).

I do have a list of excluded native functions - onRollOver etc.

Anyway, then VBA uses FLASM to search for those variables in the byte code (flm 
file). (not all of them make it into the byte code)

Then, when there is a common list (my variables / functions / class names that 
do appear in the swf - it does text a text / replace with an "illegal" name - 
eg an integer  - which works at byte code level, but not if decompiled).

This is all horribly slow (10 minutes - for say 75 classes - 400 k of AS2 files 
- 200 k of swf - 2 MB  flm file - on slowish machine)

Not sure it would qualify as a "good solution" for other contexts

But it does work well for my AS2 based development and I have full control over 
obfuscation and I know it works.

 I don't know what method ASO uses though I saw on the Flasm website that one 
of ASO's people helped them optimise Flasm - so maybe a similar (more 
optimised) approach. Was too aggressive for me though - couldn't get it to work.

Any interest in this?

Cheers

Rob

Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education.
___
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] AS3 package and class access

2007-07-17 Thread Rob Romanek

What is your import statement for the singleton like?

import com.foo.view.MySingletonClass;

Rob

On Tue, 17 Jul 2007 14:10:56 -0400, Matt Muller <[EMAIL PROTECTED]>  
wrote:



Hi, I have a question about class instantiation.

I have a class in this package com.foo.view.playerSkins

I am trying to instantiate a singleton in com.foo.view (1 dir up)

The compiler is throwing the following error...

1120: Access of undefined property TestInstance.

However when its in the same package com.foo.view.playerSkins I can  
import

and instantiate it.

Has anyone got any ideas?

Cheers,

MaTT

___
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 Rob Davis :: Solaris Media
 

Would you need two licenses of Flash - one for each OS?

Rob

 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Marc Hoffman
> Sent: 20 June 2007 12:50
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Flash Development on PC vs Mac
> 
. 
> Another huge consideration is what software you will be 
> using. Is it all cross-platform? Who will be buying the 
> licenses for new software, and will it make a difference if 
> they have to buy licenses for two platforms rather than one?


___
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] as3 Loader.content.name error

2007-06-07 Thread Rob Romanek
Another workaround that I've been using is to use the loading swf as  
wrapper for the movieClip I ultimately want to display on the stage.


Create the content you want to use as movieClip symbol in your swf, export  
for actionscript, no need to put it on the stage, and give it a class  
name. Now you can load the wrapper swf. As soon as you do all the classes  
in that wrapper will be available throughout your project and you can  
access them by name. Untested e-mail code:


loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, loaderInit);
var request:URLRequest = new URLRequest(pageSource);
loader.load(request);

private function loaderInit(event:Event):void{
  var myClass:Class = getDefinitionByName("myClassInMySwf") as Class;
  var newClip:MovieClip = new myClass();
  newClip.name = "test";
  addChild(newClip);
}

This way you can create a library of swfs that you can load in and use as  
required. If you make two libraries with the class internally named the  
same then you can change up your app just by loading in a different  
"library" swf.


Rob

On Thu, 07 Jun 2007 13:39:48 -0400, Patrick Matte|BLITZ  
<[EMAIL PROTECTED]> wrote:


I want to rename the content because I need to be able to access it  
later using getChildByName("test");


But since its not possible, I think I'll have to make my classes dynamic  
and do this instead :


private function loaderInit(event:Event):void{
event.target.removeEventListener(Event.INIT, loaderInit);
this["test"] = event.target.content;
addChild( this["test"] );
}




___
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] as3 Loader.content.name error

2007-06-07 Thread Rob Romanek

If you want to call addChild on the content then you can simply do:

addChild(event.target.content)

and that will throw your content on the stage. I'm not sure why it is not  
possible to name that new content. I've tried playing around with this  
myself and can't figure out how once you've loaded the content you can  
access that content as a class. I've loaded up swfs and can reference  
classes within the swf no problem and create instances of those classes  
but if I try to get a class definition for the content all I can get is  
MovieClip and I can't figure out how to create new instances of the that  
loaded content without running another loader


Not sure if that helps you any or not.

Rob

On Wed, 06 Jun 2007 22:59:33 -0400, Patrick Matte|BLITZ  
<[EMAIL PROTECTED]> wrote:


Is there a way a change the name of the Loader content property. I'd  
like to call addChild() on the content instead of the Loader itself.  
Like this :



loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, loaderInit);
var request:URLRequest = new URLRequest(pageSource);
loader.load(request);

private function loaderInit(event:Event):void{
event.target.removeEventListener(Event.INIT, loaderInit);
var page:Page = event.target.content;
page.name = "test";
}


That code throws this error but I cant understand why.

Error: Error #2078: The name property of a Timeline-placed object cannot  
be modified.

at flash.display::DisplayObject/set name()
at com.blitzagency.fabric::Main/::loaderInit()


___
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 Developer Needed

2007-06-04 Thread Rob Kingyens

Our company is currently seeking a Flash developer to work with us on a
project (temp or contract basis).

Candidates must have existing experience working with Actionscript, XML,
CSS, sending data to a Windows Web Service and SCORM 1.2 compliance.

Please reply to [EMAIL PROTECTED] if interested in this opportunity.

Best regards.
___
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 C3 and Embedding resources

2007-06-01 Thread Rob Romanek

Try this out in your sub-loaded swf

var tClass:Class = getDefinitionByName("Box") as Class;
addChild(new tClass());

hth,
Rob

On Fri, 01 Jun 2007 12:15:09 -0400, Smith, Philip <[EMAIL PROTECTED]> wrote:



If a graphical library linkage element you want to
add/attach is in the host .swf library (ie 'Box' class), how you would
access it from a sub-loaded .swf without throwing an error?
subSWF->addChild(new Box()) --undefined.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Friday, June 01, 2007 12:01 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash C3 and Embedding resources

[Embed] is Flex only, because FlexBuilder doesn't have a library, like
the Flash IDE has.


___
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] AS3 Component talking to authoring environment

2007-05-28 Thread Rob Romanek

Hi All,

I've been playing around with building my own components in AS3 and am  
trying to figure out if there is a way to get the live preview of the  
component to get info from the authoring environment. For example the file  
path of the fla into which the component was dropped.


Thanks,

Rob
___
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] Freelance Flash / Zinc developer needed for music project

2007-05-01 Thread Rob

Dear Flashcoders,

I'd like to widen this request out location-wise. We'd be interested to talk
to any freelance Flash developers worldwide with good Zinc experience,
particularly delivering to the Mac desktop. You'd need to be online and able
to conference on Skype.

See below for more details.

Please email [EMAIL PROTECTED] with your links, resume and
rates. Serious applicants only and NO agencies.

All the best,

Rob

-- Forwarded message --
From: Flashcoder Zinc <[EMAIL PROTECTED]>
Date: 29-Apr-2007 17:34
Subject: US-based freelance Flash / Zinc developer needed for music project
To: flashcoders@chattyfig.figleaf.com

Dear Flashcoders,

We are looking for an experienced freelance Flash and MDM Zinc developer
with a good portfolio and an educational background in software development
to work on an exciting music-related project.

You are comfortable working with Zinc to deliver robust executables to the
PC and Mac desktop. You are familiar with file download/upload, Flash local
connection, XML in Flash, writing and reading files to the local file
system, coding Flash GUIs and creating installers.

You must be able to make it to New York initially and for meetings from time
to time.

Please call me on +1 646 884 4236 or email
[EMAIL PROTECTED] your links, resume and rates.
Serious applicants only and NO agencies.

I look forward to hearing from you.

Thanks,

Rob
___
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] copying formatted text out of flash

2007-04-08 Thread Costello, Rob R
Hello

Is there any way to copy formatted text to the system clipboard

ie I don't really want all the html / textformat tags

But I'd like to be able to copy formatted text out of textbox / textarea


I'm thinking that's not too easy - its either plain text, or textformat
tags?

Hoping I'm wrong

Cheers

Rob



Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education.
___
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 database - very conservative connections

2007-03-31 Thread Costello, Rob R
Dear all

I am using sendAndLoad to extract data from an MS Access db, via an ASP
page.

When running on my localhost, this only works if I restrict calls to the
asp/db to about one per 30s.

Any more, and the XML.onLoad callback returns a "success" value of false
- (ie fails!)

It does work fine if I step through very slowly - 1 page access per 30s.


Its like the database is still tied up after the first access.

I assume that I have some permission or database setting set
incorrectly, but I can't find it.

The ASP pages close the SQL connection when finished
Conn.Close()
Conn=null

(Have also added all the iusr and (helper accounts) permissions I can
think of for the wwwroot folder)

This did run fine on a slower laptop at one stage (it was also XP, but
it was an older version of Flash - mx2004. Now using Flash8)

Any insights or help very greatly appreciated

Thanks

Rob



Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education.
___
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] scope in AS3

2007-03-29 Thread Rob Romanek
On Wed, 28 Mar 2007 18:14:50 -0400, Dennis Asher <[EMAIL PROTECTED]>  
wrote:



I've managed to avoid OOP till now but AS3 is here and no choice now.
 What's wrong in the class below? The code in the mouseover/mouseout
 functions do not reference the textfield correctly. I've tried adding:

 event.hello.visible = true;

 and

 event.target.hello.visible = true;



Hi Dennis,

Made a small change to your code by moving the variable hello outside of  
the function and into
the level of the class so that all functions in the class can access this  
variable


When you build you project I am assuming that you created a movie clip in  
the library then in the properties you set the class to be Location. Then  
dragged an instance of the Movieclip onto the stage and named it. The  
thing you have to be aware of is that the mouseevents you are setting up  
are associated with the movieclip and not the text field. It is the  
rolling into and out of the movieclip that will change the visibility.  
With this in mind you will have to have something occuping space in your  
movie clip, create a filled square for example. If you don't have any  
objects in your movieclip then the clip will not have any dimensions so a  
mouseover will never be registered and you will never see the text appear.


You can also try adding the movieclip dynamically via actionscript by  
having this in a frame script:


var my_mc:Location = new Location();
this.addChild(my_mc);

and you rollover effect will work as well.

hth,

Rob

-

package {
   import flash.display.MovieClip;
   import flash.events.MouseEvent;
   import flash.display.DisplayObjectContainer;
   import flash.text.TextField;


public class Location extends MovieClip {
var hello:TextField = new TextField();

public function Location() {
addEventListener(MouseEvent.MOUSE_OVER, 
mouseOverListener);
addEventListener(MouseEvent.ROLL_OUT, mouseOutListener);
addChild(hello);
hello.text = this.name;
hello.visible = false;
}

private function mouseOverListener(event:MouseEvent):void {
 hello.visible = true;
}

private function mouseOutListener(event:MouseEvent):void {
hello.visible = false;
}
}
}
___
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] Actionscript 3.0 help w/ simple HelloWorld

2007-03-26 Thread Rob Romanek

Hi Ron and elibol,

Thanks for the explanations and link both helped straighten out my  
understanding of the packaging structure.


Rob

On Mon, 26 Mar 2007 12:17:10 -0400, elibol <[EMAIL PROTECTED]>
wrote:


Here is a good article on class/package syntax and structure:

http://probertson.com/articles/2006/07/28/one-file-many-as3-classes/


and

On Mon, 26 Mar 2007 13:08:48 -0400, Ron Wheeler  
<[EMAIL PROTECTED]> wrote:


The following would be a good directory structure for your  
documentation, sources and test specifications (there could be lots of  
other directories but the main one is the source directory

___
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] Actionscript 3.0 help w/ simple HelloWorld

2007-03-26 Thread Rob Romanek
On Mon, 26 Mar 2007 12:17:10 -0400, elibol <[EMAIL PROTECTED]>  
wrote:



Here is a good article on class/package syntax and structure:

http://probertson.com/articles/2006/07/28/one-file-many-as3-classes/


___
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] Actionscript 3.0 help w/ simple HelloWorld

2007-03-26 Thread Rob Romanek

Hi Ron,

Thanks for the suggestion but still no luck on my end.

It seems that on my set up I need to have a constructor named the same as  
the .as file and that constructor has to be initiated prior to any of the  
other classes being initiated. So I set up


public class MyPackage{
public function MyPackage{
}
}

and then can either do an import or set up the .as file as my document  
class and after that I can access HelloWorld or MyClass. This seems to  
follow the examples that came with the Flash 9 alpha, which all use the  
document class approach and none of the .as files has more than one class  
in them, even though you can put more than one class inside. So I'm still  
a bit flummoxed as to how the package is working for Jason and not me, ah  
well. Probably something stupid I'm doing and the light will go in a few  
days.


Just to complete this I've also tried creating a folder called MyPackage  
and putting the .as files in there and again without the constructor named  
the same as the .as file it did not work


My understanding of 'package' is that the dot path that occurs after it is  
the path to the .as file so if the MyPackage.as is sitting in the same  
directory as your .fla then I would only have 'package' at the top of the  
file, if it were in a directory called MyPackage then the syntax would be


package MyPackage

thanks for ideas,

Rob

On Sat, 24 Mar 2007 09:26:10 -0400, Ron Wheeler  
<[EMAIL PROTECTED]> wrote:



Something to try

change
import MyPackage.*;
to import myPackage.HelloWorld

import myPackage.MyClass


See if the errors change.

Ron

Merrill, Jason wrote:

I dunno, that's how I have it set up and it works fine for me - Perhaps
your Flash 9 Preview Alpha is messed up.  I assume your publish settings
are all correct, - I don't know why it would do that.

Jason Merrill
Bank of America  GT&O Learning & Leadership Development
eTools & Multimedia Team

___
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] Actionscript 3.0 help w/ simple HelloWorld

2007-03-23 Thread Rob Romanek

Hi Jason,

My packageTest.fla is

import MyPackage.*;
var hw:HelloWorld = new HelloWorld();
var mc:MyClass = new MyClass();

and in the same directory I have MyPackage.as

//MyPackage.as
package MyPackage
{

public class HelloWorld
{
public function HelloWorld()
{
trace("hello world constructor");
}
}

public class MyClass
{
public function MyClass()
{
trace("MyClass constructor");
}
}
}

In the windows Flash 9 Alpha IDE I try to run this and I get

**Error** Scene 1, Layer 'Layer 1', Frame 1 : Line 2, Column 8 :  
[Compiler] Error #1046: Type was not found or was not a compile-time  
constant: HelloWorld.

var hw:HelloWorld = new HelloWorld();
**Error** Scene 1, Layer 'Layer 1', Frame 1 : Line 3, Column 8 :  
[Compiler] Error #1046: Type was not found or was not a compile-time  
constant: MyClass.

var mc:MyClass = new MyClass();
ReferenceError: Error #1065: Variable  
Timeline0_f549bc2eccff3a4d88caed7024db465e is not defined.


This seems to me as if it should work. I don't know if it is the Flash IDE  
causing me grief, if there is some preference file I don't have set  
correctly or what.


Other than this issue I'm having a lot of fun with AS3 especially the new  
text features.


thanks,

Rob

On Thu, 22 Mar 2007 20:39:14 -0400, Merrill, Jason  
<[EMAIL PROTECTED]> wrote:



I have a question back at you along this example.
any insights why yours can run as MyPackage.as?


Do you start out your package as:

package MyPackage
{
//class definitions
}

and then import like this:

import MyPackage.*

?

That should work.


___
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] Actionscript 3.0 help w/ simple HelloWorld

2007-03-22 Thread Rob Romanek

Try adding this to your fla

addChild(hw);

In your HelloWorld class you've added your textField inside but since you  
have added you HelloWorld() object to the display list of the movie it  
will never get drawn.


I have a question back at you along this example. I'm running on windows  
and if I set up my project that I have


my.fla
[MyPackage]
   MyPackage.as (with the HelloWorld class)

using the code in the fla I never get HelloWorld to properly initiate.  
Instead I get an error
**Error** Scene 1, Layer 'Layer 1', Frame 1 : Line 2, Column 8 :  
[Compiler] Error #1046: Type was not found or was not a compile-time  
constant: HelloWorld.

var hw:HelloWorld = new HelloWorld();

if I change the name of the .as file to
HelloWorld.as
then all works fine

any insights why yours can run as MyPackage.as?

Rob

On Thu, 22 Mar 2007 09:08:45 -0400, Merrill, Jason  
<[EMAIL PROTECTED]> wrote:



//MyPackage.as
package MyPackage
{
//do I actually need this one?:
import flash.display.DisplayObjectContainer;

import flash.display.Sprite;
import flash.text.TextField;

public class HelloWorld extends Sprite
{
public function HelloWorld()
{
var message_txt:TextField = new TextField();
message_txt.text = "Hello World";
addChild(message_txt);  //does not show!
trace("constructor runs")//traces fine
}
}
}

Then in the .fla, I put:

import MyPackage.*
var hw:HelloWorld = new HelloWorld();

The constructor traces fine in the output window, but the TextField does
not show.  What have I done wrong?  My Export settings in F9 As3 preview
are for AS 3.0 and FP9.  In later scripts, I tried moving the textfield,
changing the color, changing the stage color to be sure it wasn't
matching the textfield and this invisible, etc...(but it should show as
black Times New Roman text by default anyway...)



___
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] AS 3.0 - Typecast a new Obj instantiated from a library linked class to a 'displayObject'

2007-02-23 Thread Rob Romanek

Hi Dave,

I'm not sure you need to be accessing your bitmap via a movieClip. I'm  
doing something similar but I use the bitmap directly from the library. I  
se the bitmap up an auto generated class using 'Linkage' i.e. 'myBitmap'  
then if I need the bitmapData in yourscript simply say:


var myBitmapData:myBitmap = new myBitmap();
var myBitmapInstance:Bitmap = new Bitmap(myBitmapData, "auto", true);
this.addChild(myBitmapInstance);

No need for a movieClip. I'm going to guess that when you use the  
movieClip you are accessing the bitmap as a child of that movieClip and  
trying to extract the bitmapData from that. I tried a similar approach and  
it did not work. Seems that bitmaps assigned in authoring mode return a  
type of Shape and not Bitmap when you try to access them. I'm guessing  
this is a bug in the alpha version.


hth,

Rob

On Fri, 23 Feb 2007 13:12:55 -0500, Dave Geurts  
<[EMAIL PROTECTED]> wrote:



Hello,

  So I have a movieClip in the library that is set to Export as a  
class with the Auto Create Class feature, with the name  
"rotate_sphere".  rotate_sphere basically contains a .png  that I would  
like to copy as bitmapData to a new bitmap Object so that I can take  
advantage of the smoothing parameter on 'New  
Bitmap(bitmapData,snapping,SMOOTHING)'.  Because this object needs to  
scale and I would like to keep it looking "smooth" with keeping the  
edges anti aliased.  I am getting a Type Coercion error which reads:
 cannot convert rotate_sphere$ to flash.display.DisplayObject when I am  
trying to get the bitmapData.

___
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] components in flash

2007-01-17 Thread Costello, Rob R
Do you need to call invalidate on the component?
I've had that when using scrollpanes with dynamic text - they don't take
their needed dimensions till you force a redraw with invalidate

--


Date: Tue, 16 Jan 2007 14:11:13 -0500
From: Gustavo Duenas <[EMAIL PROTECTED]>
Subject: Re: [Flashcoders] components in flash
To: Flashcoders mailing list 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain;   charset=US-ASCII;   delsp=yes;
format=flowed

hi, I did, but the error is still there, the movie is in a loader
component, even it has a preloader component also,  how can I do?
any ideas?


Regards.


On Jan 16, 2007, at 1:37 PM, Hans Wichman wrote:

> Hi,
> yes, don't do anything at all until the whole movie is loaded.
> There is
> probably a lot of info on this in the archive.
>
> So in other words, as long as _root.getBytesLoaded > 4 and <
> getBytesTotal,
> dont jump to frames, create components etc.
> Only when getBytesLoaded==getBytesTotal, (or _framestotal ==
> _framesloaded),
> it's safe to do so.
>
> You can also wrap your movie into a loader movie, and have that
> loader movie
> take care of things.
>
> greetz,
> JC
>
>
> On 1/16/07, Gustavo Duenas <[EMAIL PROTECTED]> wrote:
>>
>> any ideas about how can I fix it?
>>
>> regards
>>
>> Gustavo Duenas
>>
>> On Jan 16, 2007, at 11:46 AM, Hans Wichman wrote:
>>
>> > sounds like another preloading issue:)
>> >
>> > grtz
>> > JC
>> >
>> >
>> > On 1/16/07, Gustavo Duenas <[EMAIL PROTECTED]>
>> wrote:
>> >>
>> >> Does anyone know why the components in flash don't always read
>> well
>> >> and need to refresh the page.
>> >> The case is that I'm using a scrolling bar component attached to a
>> >> dynamic text, the first time the component is read , is white,
>> then
>> >> when I do the refresh page in my browser it appears as is
>> should be.
>> >> Any ideas?
>> >>
>> >>
>> >>
>> >> Regards
>> >>
>> >>
>> >> Gustavo Duenas
>> >>
>> >> ___
>> >> 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
>> >
>>
>> Gustavo Duenas
>> Creative Director
>> LEFT AND RIGHT SOLUTIONS LLC
>> 1225 w. Beaver St. suite 119
>> Jacksonville, FL 32204
>> 904 . 2650330
>> www.leftandrightsolutions.com

Important - This email and any attachments may be confidential. If received in 
error, please contact us and delete all copies. Before opening or using 
attachments check them for viruses and defects. Regardless of any loss, damage 
or consequence, whether caused by the negligence of the sender or not, 
resulting directly or indirectly from the use of any attached files our 
liability is limited to resupplying any affected attachments. Any 
representations or opinions expressed are those of the individual sender, and 
not necessarily those of the Department of Education.
___
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] Need a little help with rtmp and streaming video...

2007-01-15 Thread Rob Bayne
are you using "speedera" or a co-located server?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeff
Small
Sent: Monday, January 15, 2007 2:11 PM
To: Flashnewbie Mailing List; Flashcoders mailing list
Subject: [Flashcoders] Need a little help with rtmp and streaming
video...


Anyone else had this problem?

I've got a video that Akamai has indicated is rendered and working
fine. They've tested it on their end and all is good. I've used the
Dreamweaver "Insert Flash Video" command. I've entered the rtmp url
correctly. I've uploaded ALL the required files, including main.acs,
and the AC_RunActiveContent.js file, and all the SWF skins. Everything
is in the right place. I've used this "Insert Flash Video" command on
a plain, white, blank html page with no additional markup.

Whenever I hit the page, I get nothing. No error, nothing indicating
anything is wrong. In fact... I simply get *nothing* on the page. My
status bar on the browser indicates I have an open connection to my
development server, but nothing ever displays.

Anyone tried inserting streaming video from a streaming server and
gotten *nothing* before? The video is fine, in fact, they even put up
a "test" flv file for me, and I can't even get that one to display
correctly. The urls are perfect. Just no flash. I've tested in Safari,
IE and Firefox on a Mac, IE and Firefox on Windows, and
just...nothing. I'm about to pull my hair out. This is supposed to be
a very straightforward process, but it seems like it's everything but.
___
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] Resrict number of lines input textfield [SOLVED]

2006-12-20 Thread rob

You made my day, Danny!
This is a lot better than what I had.
Thank you,
Rob


2006/12/20, Danny Kodicek <[EMAIL PROTECTED]>:


> Hi all,
> I need to restrict user input to a certain number of lines in
> a textfield.
> Flash 8, AS2.
> After an extensive search something like this showed up:
>
> //txtFld is obviously the TextField, n is the max number of
> lines shrinkString = function (txtFld, n:Number):Void {
> var l = txtFld.text.length;
> for (var i = 0; i txtFld.scroll = txtFld.maxscroll;
> if (txtFld.bottomScroll>n) {
> txtFld.text = txtFld.text.slice(0, -1);
> } else {
> break;
> }
> }
> };
> myTextField.onChanged = function() {
> shrinkString(this, 10);
> };
>
> This is close to what I need but it has a major drawback; it
> simply cuts off the text at the end. So when a user inserts a
> 'return' an entire line of text disappears.


How about something like this?

obj = new Object()
obj.maxHeight = 100
obj.currText = txtField.text
obj.onKeyDown = function () {
this.currText = txtField.text
}
obj.onChanged = function() {
if (txtField.textHeight>100) {
txtField.text = this.currText
}
}
txtField.addListener(obj)
Key.addListener(obj)

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] Resrict number of lines input textfield

2006-12-19 Thread rob

Hi all,
I need to restrict user input to a certain number of lines in a textfield.
Flash 8, AS2.
After an extensive search something like this showed up:

//txtFld is obviously the TextField, n is the max number of lines
shrinkString = function (txtFld, n:Number):Void {
   var l = txtFld.text.length;
   for (var i = 0; in) {
   txtFld.text = txtFld.text.slice(0, -1);
   } else {
   break;
   }
   }
};
myTextField.onChanged = function() {
   shrinkString(this, 10);
};

This is close to what I need but it has a major drawback; it simply cuts off
the text at the end. So when a user inserts a 'return' an entire line of
text disappears. I could change the TextField into a single line,
eliminating carriage returns. But that is not quite what I'm looking for.
Is there a way to catch/detect key presses before they effect the contents
of a TextField. And then get rid if them -unless it's the delete/backspace
key-?
Or is there any other way to block addition of text when a certain maximum
of lines has been reached?
I would really appreciate any help since this problem has been bothering me
for quite some time now.
Rob
___
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] Transparent list component

2006-12-19 Thread Rob Coenen
Hello gang,

what is the current status on components-with-transparent-backgrounds?
I did search the archives but and it seems people have been working on
all sorts of patches and solutions, but is there a real definitive
solution?

Never thought that putting a background image in a list view component
would be hard... :-)


___
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 Remoting Possible In Powerpoint??

2006-11-09 Thread Rob Sandie
Have embedded a SWF into powerpoint using standard flash embed methods.

 

Have remoting logic built into SWF that I need to occur with our database on
the web and a netstream call for a video via RTMP/FMS.

 

Is there a powerpoint plugin that will enable access to the web?

 

Thank you!

 

- rob

___
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] FlashComm not recording streams...

2006-10-30 Thread Rob Bayne
perhaps you do not have the 'record' parameter set in publish statement:

yournetstream_ns.publish("your_flv", "record");

...or you can append to a stream with "append" parameter.
...or if you want live only, no archive, "live" parameter.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ryanm
Sent: Friday, October 27, 2006 4:30 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] FlashComm not recording streams...


I have a 1.5 comm server and I added in some code to record streams, and 
when the record method is called, it creates the idx file but no flv. Any 
idea why?

ryanm 

___
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] VitalStream Bandwidth detection

2006-10-04 Thread Rob Bayne
looks like bwcheck to me. i'd just use p_bw in a condition where p_bw is 
detected bandwidth.

if p_bw is less than than x play stream1, else if p_bw is greater than x and 
less than y play stream2, else play stream3. 
ie. stream1=56kbps; stream2=150kbps; stream3=300kbps;

i usually run the bwcheck on an interval several times and get an average bw 
figure to go by and even dynamically change streams-- you can do it seemlessly 
by bookmarking ns.time and seeking to it once new stream has loaded.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Weil
Sent: Tuesday, October 03, 2006 12:38 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] VitalStream Bandwidth detection


Does anybody have code to detect users bandwidth on VitalStream? I'm using
the custom player source provided by vitalstream but it only works with
single bitrate streams. When I try to use a multi bitrate stream as the
sname parameter in the m_XMLURI string the player fails. Looking through the
source code I found some clues as to why it is not working, but don't have a
lot of time to debug the code and find the solution. I've been working with
VitalStream support on this and they are no help at all. They sent me links
to an irrelevent adobe tutorial as their solution.

Here is a fragment of code from that player that hints about bandwith
detection but also says it is not used?!!?

[code]
//the server calls this object to continue (auto bandwidth detection is
complete)
this["nc"+i].onBWDone = function(p_bw) {
trace("onBWDone: "+p_bw);
//we pass the successful netConnection and the
calculated bandwidth speed to
// the onconnected function to continue
this.mc.onConnected(this, p_bw);
};
m_payload = 0;
//this function is not currently used; it is for checking
bandwidth speed
// initiated by the server
this["nc"+i].onBWCheck = function() {
trace("onBWCheck returning:
"+(this.mc.m_payload+1));
return ++this.mc.m_payload;
};
[/code]

So my question is: Does anybody have a working (multi-bitrate streams)
example of a video player for the VitalStream content delivery system? They
have players that work with multi-bitrate streams in .swf format but do not
release the flv source for those players. 

Any help would be appreciated. A working .fla example would be priceless!

Thanks,
Brian


___
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] VitalStream Bandwidth detection

2006-10-03 Thread Rob Sandie
VBR and Flash Media Server stream length detection could be the source of
this problem. I have done work for VitalStream before and seen this issue
come up with MP3 streaming at least. To get a more detailed answer, this is
a question better asked on the Flash Media Server forums: FlashMedia
[EMAIL PROTECTED]


- rob sandie




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Weil
Sent: Tuesday, October 03, 2006 12:38 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] VitalStream Bandwidth detection

Does anybody have code to detect users bandwidth on VitalStream? I'm using
the custom player source provided by vitalstream but it only works with
single bitrate streams. When I try to use a multi bitrate stream as the
sname parameter in the m_XMLURI string the player fails. Looking through the
source code I found some clues as to why it is not working, but don't have a
lot of time to debug the code and find the solution. I've been working with
VitalStream support on this and they are no help at all. They sent me links
to an irrelevent adobe tutorial as their solution.

Here is a fragment of code from that player that hints about bandwith
detection but also says it is not used?!!?

[code]
//the server calls this object to continue (auto bandwidth detection is
complete)
this["nc"+i].onBWDone = function(p_bw) {
trace("onBWDone: "+p_bw);
//we pass the successful netConnection and the
calculated bandwidth speed to
// the onconnected function to continue
this.mc.onConnected(this, p_bw);
};
m_payload = 0;
//this function is not currently used; it is for checking
bandwidth speed
// initiated by the server
this["nc"+i].onBWCheck = function() {
trace("onBWCheck returning:
"+(this.mc.m_payload+1));
return ++this.mc.m_payload;
};
[/code]

So my question is: Does anybody have a working (multi-bitrate streams)
example of a video player for the VitalStream content delivery system? They
have players that work with multi-bitrate streams in .swf format but do not
release the flv source for those players. 

Any help would be appreciated. A working .fla example would be priceless!

Thanks,
Brian


___
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] trivial or mysterious problem with component?

2006-08-11 Thread Costello, Rob R
Dear all

 I have a strange problem getting a V2 component to initialize
I can copy code works that fine in one class, compiled into another
class (and another swf), and it no longer works - just fails silently

This is the essence of it :

import mx.controls.Button;

class Mysterious {
function Mysterious () {
doStuff()
}

function doStuff() {
var endNoteButt = _root.createClassObject(Button,
"endNoteButt",1000);
trace(endNoteButt);
;
}
}


In the original class, it traces : _level0.endNoteButt
In the new class it traces : undefined

Very odd ...i might well be missing something trivial / obvious, but I
can't see it...

I know that V2 objects need some time to fully initialize, but they
shouldn't return undefined?

Bit more info that might help someone advise me here
(1) in the first (working) case, Mysterious is instantiated from another
class - in the second from the main timeline
(2) using MX2004 IDE - both swf's compile and run fine - no errors
(3) this is a new PC. fscommand also seems to have stopped working on
this machine - unrelated? Security issue?
(4) both have same directory location, and class paths set for the swf

Help?!

TIA
Rob

Important -
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training..
___
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] Re: Programmatically instantiating a class that extends MovieClip

2006-07-03 Thread Costello, Rob R
As a variant on the __proto__ method (which I gather is what the compiler 
actually uses behind the scenes anyway) I also bundle the code into a static 
method 

 

 

 Class A { 

... 

 

// dynamicMc (no library symbol) will be added and subclassed to mcSubClass

dynamicMc:MovieClip  = McSubClass.addInstance(baseMC);

}  

 

 

class McSubClass extends MovieClip{ 

 

function McSubClass {

  //empty constructor

}

 

function init(){

 

  //initialize mc - add dynamic graphics etc 

 

} 

 

static function addInstance (base_mc) {

 

var newMc;

var nd = base_mc.getNextHighestDepth();

newMc= base_mc.createEmptyMovieClip("mcSubClass"+nd,nd);

newMc.__proto__ = new McSubClass ();

newMc.init();

return newMc;

}

 

 

}

 

maybe mc.__proto__ == MyClass.prototype (below) is better than my  
newMc.__proto__ = new McSubClass ()  

my method (i picked up on this list) does have the side effect that the 
constructor can't initialize the mc, hence the separate init call after the 
__proto__ / constructor; all wrapped in one method so I don't forget  

 Rob 

 

 

> Subject: Re: [Flashcoders] Programmatically instantiating a class that

> extends MovieClip.

> To: "Flashcoders mailing list" 

> Message-ID:

> <[EMAIL PROTECTED]>

> Content-Type: text/plain; charset=UTF-8; format=flowed

> 

> Hello :)

> 

> it's easy, you must use __proto__

> 

> AS2 - MyClass extend MovieClip !!!

> 

> MyClass extends MovieClip {

> 

>  // o Constructor

> 

>  public function MyClass() {

> 

>  }

> 

> }

> 

> 

> 

> var mc = createEmptyMovieClip("myInstance", 1) ;

> mc.__proto__ == MyClass.prototype ;

> MyClass.call(mc) ;

> 

> EKA + :)

> 

> 

> 

> 

> 2006/6/29, Scott Hyndman <[EMAIL PROTECTED]>:

> >

> > That's exactly what I mean. As a result you can do cool things like

> > reparenting -- like moving a button from one window to another. It

> > handles the MovieClip creation itself.

> >

> > A code example really isn't too easy, because the framework that

> > allows this to be possible is quite large. If you were really

> > interested, you could look at the code. Here's a link:

> >

> > http://tinyurl.com/jqtwv

> >

> > It's a gigantic class...so it might be difficult to work through. The

> > important method is createMovieClips(), which is called when a view

> > (the type of object that encapsulates movieclips) moves to a new

> > superview.

> >

> > Scott

> >

> > On 29/06/06, Jim Kremens <[EMAIL PROTECTED]> wrote:

> > > "Why not subclass object instead? Both ActionStep and ASwing work this

> > > way, then create movieclips on the fly. It's very nice to work with."

> > >

> > > So you never really subclass movieclip, you use composition instead.

> In

> > > other words, your class has a movieclip, but it isn't a movieclip.,,

> > >

> > > Is that what you mean, or am I missing the point?  Can you give a

> small

> > code

> > > example?

> > >

> > > Thanks,

> > >

> > > Jim Kremens

 

 

 

 

--- original message  

 

Subject: Re: [Flashcoders] Programmatically instantiating a class that

  extends MovieClip.

To: "Flashcoders mailing list" 

Message-ID:

  <[EMAIL PROTECTED]>

Content-Type: text/plain; charset=UTF-8; format=flowed

 

Hello :)

 

it's easy, you must use __proto__

 

AS2 - MyClass extend MovieClip !!!

 

MyClass extends MovieClip {

 

 // o Constructor

 

 public function MyClass() {

 

 }

 

}

 



 

var mc = createEmptyMovieClip("myInstance", 1) ;

mc.__proto__ == MyClass.prototype ;

MyClass.call(mc) ;

 

EKA + :)

 



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
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] Printing with dynamically loaded transparent PNG's

2006-05-19 Thread Rob Muller

Hi Peter,

Shouldn't be any problem - but you need to set the printAsBitmap options
parameter to true.. which unfortunately means all your vectors will print as
bitmaps as well.

Cheers,
Rob.

On 5/19/06, Peter Gehring <[EMAIL PROTECTED]> wrote:


Hello again...

I'm looking for a solution to print dynamically loaded PNG's with their
transparency.  I haven't been successful in printing hardcoded PNG
transparency, so I'm not entirely hopeful that I'll find a reasonable
solution for printing these directly.  I need to overlay the transparent
images on a colored background so it's got to be accurate.

I've hit a wall already, have searched everywhere I can think of and
haven't
seen anything on this problem.
I've tried a few of the old tricks like movie clip transparency/color/size
manipulation to force correct output, but haven't been successful.

My other thought for a solution was to capture bitmap data of the
loaded clip with the PNG using bitmapData.draw, but this doesn't print
either (saw an archived post here on this).   I'm trying to avoid having
to
send that image back to the server for process to jpg/gif and return it
just
to print the current complex graphic in the .swf.

Thoughts?

Thanks much,

Peter
___
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] url encoding in flash?

2006-05-15 Thread rob costello
hello all 

Is there a method / function to URL encode a query string from inside
flash - or do we have to do that manually? 

I have a situation where I need to do an XML sendAndLoad to an external
php file

I want to do this as GET and pass a parameter to the query string of the
php file 

The parameter is itself a URL with a complex query string (contains
characters such as & and =) 

Not surprisingly, this breaks how php reads in the query string  -
causes it to think there are extra name / value pairs in the url 

So I'm thinking if there was a URL encoding routine in Flash I could
pass the parameter safely, and get php to deencode 

Any help appreciated

Rob 




Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
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 local Html File from offline Presentation

2006-03-21 Thread Rob

Sorry, the file isn't in the same directory. Even though:
If I open the .swf in a browser it works, but if I try to get it opening 
inside the flash projector it won't...



Alfredo Laguia Laborda wrote:

if the file "first.html" is in the same directory than the ".swf"
just call getUrl('first.html','_blank');

bye
- Original Message - From: "Rob" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Tuesday, March 21, 2006 3:24 PM
Subject: [Flashcoders] Loading local Html File from offline Presentation



Hello Flashfriends,

I'd like to open a local html site from a projector-presentation on CD.
I need to point to an relative (because I dont know the CD-Driveletter 
of the running Systems) URL on the CD (absolute path: 
CD-DriveLetter:\websites\first.html) . I've tried:


getUrl('file://websites/first.html','_blank');
getUrl('websites/first.html','_blank');

There are around 200 sites in my websites-folder, so I don't like to 
use fscommand because of the fact that I need a entire .exe/.bat-file 
for every site, because you can't pass parameters with fscommand...


Any sugestions on that issue?
Thank you in advance.

Robert

___
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

__ Información de NOD32, revisión 1.1441 (20060313) __

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.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] Loading local Html File from offline Presentation

2006-03-21 Thread Rob

Hello Flashfriends,

I'd like to open a local html site from a projector-presentation on CD.
I need to point to an relative (because I dont know the CD-Driveletter
of the running Systems) URL on the CD (absolute path:
CD-DriveLetter:\websites\first.html) . I've tried:

getUrl('file://websites/first.html','_blank');
getUrl('websites/first.html','_blank');

There are around 200 sites in my websites-folder, so I don't like to use
fscommand because of the fact that I need a entire .exe/.bat-file for
every site, because you can't pass parameters with fscommand...

Any sugestions on that issue?
Thank you in advance.

Robert


___
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] Loading local Html File from offline Presentation

2006-03-21 Thread Rob

Hello Flashfriends,

I'd like to open a local html site from a projector-presentation on CD.
I need to point to an relative (because I dont know the CD-Driveletter 
of the running Systems) URL on the CD (absolute path: 
CD-DriveLetter:\websites\first.html) . I've tried:


getUrl('file://websites/first.html','_blank');
getUrl('websites/first.html','_blank');

There are around 200 sites in my websites-folder, so I don't like to use 
fscommand because of the fact that I need a entire .exe/.bat-file for 
every site, because you can't pass parameters with fscommand...


Any sugestions on that issue?
Thank you in advance.

Robert

___
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] RE: rich text box

2006-03-06 Thread Costello, Rob R
Hi Sander,  my need is for the latter 
"a text box in which people can create rich text content with a formatting 
toolbar so you can send it so a server-side script" 
 
Rob

 
- Original Message ----- 
Rob,

Is a rich text box a

"box you can fill with HTML content easily"
or a
"box in which people can create rich text content with a formatting 
toolbar so you can send it so a server-side script"?

S


On 04 Mar 2006, at 13:00, Costello, Rob R wrote:

> anyone know of rich text box components in flash MX2004 - 
> preferably with source code


Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
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] rich text box

2006-03-04 Thread Costello, Rob R
Hello all 

anyone know of rich text box components in flash MX2004 - preferably with 
source code 

I have a feeling that there is resoure kit with one (DRK?) and i have an old MX 
book (Hall/Wan) that sets out the code for one in MX 

will pursue these two options but thought i'd see if the list has other 
solutions for this

Rob 

 



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
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] RE: Focus in the text field

2006-01-16 Thread Costello, Rob R
are you using firefox? 

is so, you might need to look at the wmode (in the html page) - can't recall 
the details but their is an issue that stops FF displaying cursor with wmode 
set to transparent - change the setting and will correct, if indeed it is that 
issue

-Original Message-
Date: Tue, 17 Jan 2006 11:13:29 +0530
From: "Sumeet Kumar" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] Focus in the text field
To: "Flashcoders mailing list" 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="us-ascii"

Even this line is not working the focus is getting set but the
Cursor is not visible

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]  ] On Behalf Of Chris
Velevitch
Sent: Tuesday, January 17, 2006 11:05 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Focus in the text field

You might also need to set the cursor position Selection.setSelection(0,
0);


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au




Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: Interactive SWF in a Scroll Pane

2006-01-15 Thread Costello, Rob R
might be that problem where a v2 component hogs the focus 
if so, use 

selection.setFocus(this)

in an onPress or onRelease handler of the movie clip inside the scrollpane to 
get them to take focus properly 

hth

Rob 

--

Message: 12
Date: Wed, 11 Jan 2006 21:16:56 -0700 (MST)
From: "Jason Lutes" <[EMAIL PROTECTED]>
Subject: [Flashcoders] Interactive SWF in a Scroll Pane
To: 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=iso-8859-1

Is there a way to allow the contents of a scroll pane component instance
to receive mouse events? Mine doesn't seem to be doing it.

-
pixelTwiddler, a.k.a. Jason

Respect yourself, and THINK about stuff



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] motion detection

2005-12-07 Thread Rob Dackson
Cedric,

Very very nice, thanks for the link!

//RobD


2005/12/7, Cedric Muller <[EMAIL PROTECTED]>:
>
> some  nice fire effect w/motion detection ...
> I did some tests a few months ago, but then I didn't have Flash 8
> (coding without seeing the results > had to encode the swf file > then
> test in a browser) ... so I didn't go to far with research, but it
> seems that motion detection in f8 is pretty strong ... (because of
> BitmapData)
>
> take a look at grant's incomplet gallery:
>
> http://www.incomplet.org/
>
> cedric
>
> > What does it do, apart from crashing IE and FF when you open it?
> >
> >> http://www.playdocam.com/flash8/fire.html
> >
> > --
> > Daniel Cascais
> > Tel: +56 (0)2  4589495
> > Cel: +56 (0)9  9417355
> > ___
> > 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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] motion detection

2005-12-07 Thread Rob Dackson
It seems to be a Quicktime Movie, so maybe you have a
problem with your QT installation?

Direct link to the movie, if it works better:
http://www.playdocam.com/flash8/playdocam-flash8.mov

/RobD

2005/12/7, Daniel Cascais <[EMAIL PROTECTED]>:
>
> What does it do, apart from crashing IE and FF when you open it?
>
> > http://www.playdocam.com/flash8/fire.html
>
> --
> Daniel Cascais
> Tel: +56 (0)2  4589495
> Cel: +56 (0)9  9417355
> ___
> 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] motion detection

2005-12-07 Thread Rob Dackson
Hi George,

I don't know much about motion detection in Flash, but I think this
site has the best example so far that shows it's definitely possible
to make very exact and fluid detections in Flash 8:

http://www.playdocam.com/flash8/fire.html

// RobD

- Original Message -
 From: "George" <[EMAIL PROTECTED]>
To: 
Subject: [Flashcoders] motion detection

> hi
> i was wondering what luck people have had with motion detection.
> i have been doing motion detection in processing for quite some time,
> but haven't have too much luck in flash,because of speed issues. i
> can get basic difference images etc. as per guy watson's tutorial on
> macromedia, and then get a motion point, but am wondering what the
> trick is in flash to get more point specific stuff like this without
> killing the processor
> http://www.benga.li/cam_exp/cameraActivity_07.swf
> any hints/code would be much appreciated.
> thanks
> all the best
> george
> ___
> 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] RE: How to make a class instance self-destructible?

2005-12-07 Thread rob costello
On a related note, I'd be interested to know what people make of
destroyObject method in the V2 components   ie UIObject.destroyObject() 
I've had no luck using it to clear component instances
does a component instance call it on itself, as the syntax seems to
suggest; or call it on another instance? 

componentInstance.destroyObject(instanceName)

either way it doesn't unload the instance for me; I end up unloading
components with unloadMovie,  setting variables to null, and sometimes
loading empty mc's into the component depth ... all of which feel like
hacks since I can't get the obvious method to work properly

thanks for remedial advice 

Rob 

On 12/3/05, Boon Chew <[EMAIL PROTECTED]> wrote:
> I am trying to get a class to destroy itself, calling delete obj looks
too unnatural, amidst all OO code.
>
>   Could someone explain why the following doesn't work?
>   The following code doesn't work, is there another way to achieve
this?  Also,
>
> class A
> {
>function destroy()
>{
>   delete this;  // doesn't delete itself
>}
> }
>
> var a = new A();
> delete a;  // delete works here

'delete' only removes the reference, not the actual object. There is
no way to actually destroy an object. All you can do is remove all
references to it, and wait for the GC to remove it from memory at some
unspecified time.

var obj = {data:5};
var obj_ref = obj;
obj_ref.data = 6;

// this proves that it's a reference, and not a copy: both show the same
// value, even though I only changed one
trace(obj.data); // 6
trace(obj_ref.data); // 6

// delete the reference
delete obj;

// as you can see, the object itself was not deleted, only that
// particular reference.
trace(obj.data); // undefined
trace(obj_ref.data); // 6


-David R



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] mac windows

2005-11-28 Thread Costello, Rob R
hello 

i'm running windows but having some problems with a swf on the Mac player  .. 
which isn't convenient to debug ... macs are few and far between where i work 
and play 

is there anyway to get a mac player to run under windows; or any online service 
that simulates a mac client? 

cheers

Rob 



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] re : dynamic accordion header text

2005-11-26 Thread Costello, Rob R
I also had trouble dynamically setting accordion headers .. ended up changing a 
few lines in the accordion class  to do it... 

I didn't recall even finding the labelPath property .. if that works to change 
the label, but the width is the issue when adding more characters, maybe 
calling an invalidate method on the accordion or its children would force a 
redraw and correct the layout?  worked to solve a similar issue i had with the 
scrollpane needing to be invalidated before it added the scroll bars for 
dynamically added content 

if not, i could dig up the code if changed .. i do have accordions with dynamic 
headers ... had to make a couple of minor changes to return types and scope in 
the accordion class to expose the header mc ... [i remember finding a property 
which would show the current header text, and could be changed, but the 
displayed header wouldn't change (... maybe invalidate would have fixed that 
also? i don't know) 

anyway, i have a hack that does it, if the invalidate method doesn't fix your 
width issue

cheers

Rob 



Message: 12
Date: Thu, 24 Nov 2005 12:26:19 -0800
From: "Nick Appelmans" <[EMAIL PROTECTED]>
Subject: [Flashcoders] dynamic accordion header text
To: 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="us-ascii"

How do I allow a user to dynamically change the label in the header of an
accordion component? I've used the labelPath.text property but this does not
allow me to adjust for text width so the number of characters in the new
label has to be <= to the old label or it will get truncated in the header
display. I cannot set the width with labelPath.width either. Is this the
best way to change a label through user input?



myAccordion.header0.labelPath.text = "myNewLabel";



Thanks for any help.




Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] HTTP 206 Partial Content and LoadMovie

2005-11-11 Thread Rob Baker
I do not believe that the problem is related to the
206 HTTP response.  I have seen the same thing happen
with only 2 swf libraries.  I’m not a flash coder
myself, but I can vouch for the fact that there can be
a load ordering dependency introduced when multiple
objects are loaded that results in a hang.  I can
reproduce this every time in Firefox.  Perhaps it is
due to prefetching?





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] the incredible world of IE on the mac....

2005-11-09 Thread Rob Maurizi
Are you using https or http? I've found issues w/ IE where https  
mungs the returns from the db/loadVars.


-Rob


On Nov 9, 2005, at 5:41 AM, Tom Rhodes wrote:


Hello,

Anyone now of any good reason why a piece of flash player 7 content  
would show in every browser and platform tested but NOT on a mac in  
internet explorer?


i think it might have something to do with DB calls or loadMovie.  
but i'm stumped.


cheers,

tom.

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




--

Rob Maurizi
Web Developer / Flash Developer

Center for Teaching & Learning
University of Vermont

802-656-0317 // [EMAIL PROTECTED]
http://rmaurizi.blog.uvm.edu/

"Trying to make everyone happy makes no one happy"

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


[Flashcoders] RE: scope in classes

2005-11-07 Thread rob costello
Just a guess as to why Delegate might not work... (if you using MTASC to
compile)  I was using Delegate without apparent success when I
introduced it to a project that I was compiling using MTASC. Appeared to
compile OK but Delegate didn't work as expected. 
Then, I compiled with MM IDE, and it did work; and continued to work
when subsequently compiling with MTASC.
I'm using the -mx switch to enable component classes; so MTASC handles
classes in the mx namespace differently; don't fully understand the ins
and outs of this,  but might explain the issue I had with
mx.utils.Delegate - maybe it needs Delegate exported to the swf from the
MM IDE 
Anyway, that got Delegate working for me 

Cheers
Rob 



> --
> 
> Message: 1
> Date: Mon, 7 Nov 2005 12:11:30 -0500
> From: "Eric E. Dolecki" <[EMAIL PROTECTED]>
> Subject: [Flashcoders] scope in classes
> To: Flashcoders mailing list 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 
> Wondering what the best way to scope mc event functions to a function
> in a class is...
> 
> lets say in the class init (this is for a component), you attach some
> mcs.
> 
> Then you want to have onRelease functions that scope back down to a
> private function to handle that. Whats the best way to do that
> without nesting functions and keeping scope? Delegate.create(this,
> funcName) ends up scoping to the mc in question.
> 
> ed
> 
> 
> --



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] [OT] light mac AS2 text editor

2005-11-03 Thread Rob Maurizi
I hear TextMate is pretty good for this sort of thing. And I believe  
there are AS2 compiler plugins for it as well.


-Rob


On Nov 3, 2005, at 5:08 AM, [EMAIL PROTECTED] wrote:


Hi there,

slightly off-topic but can anyone recommend a good light freeware  
AS2 text

editor for the Mac? Something like BBEdit but with perhaps a few more
features... [ie. not Eclipse :)]

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




--

Rob Maurizi
Web Developer / Flash Developer

Center for Teaching & Learning
University of Vermont

802-656-0317 // [EMAIL PROTECTED]
http://rmaurizi.blog.uvm.edu/

"Trying to make everyone happy makes no one happy"

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


Re: [Flashcoders] retreive all mc's inside parent mc

2005-11-01 Thread Rob Maurizi
I think if they EXIST at all in _parent and they are of type  
"movieclip", then the code will be executed. I use this type of thing  
all the time to act on multiple movieclips (with generic event  
handlers, etc.) and it work great.


It shouldn't require you to have access to the mc variables at all.

HTH.
-Rob


On Nov 1, 2005, at 10:06 AM, Éric Thibault wrote:


A million thanks to all!

The only problem is that I don't have access to my mc's variables  
(I have on the first frame of my mc's a boolean set to true) at  
start up?


Do I have to let them "live" for at least 1 frame to have access to  
their variables?  If so I'll have to rethink the project with  
initialisation scripts.


JesterXL wrote:



for(var p in this._parent)
{
   if(typeof(this._parent[p]) == "movieclip")
   {
   // do something here
   }
}

- Original Message - From: "Éric Thibault"  
<[EMAIL PROTECTED]>

To: "Flashcoders mailing list" 
Sent: Tuesday, November 01, 2005 9:01 AM
Subject: Re: [Flashcoders] retreive all mc's inside parent mc


Éric Thibault wrote:




Hi all!

Is there a way to list all instances (named or not) of mc's inside a
parent mc?  Like in a for or while loop?

And then manimulate them?

Thanks in advance!




I said manu . p . ulate ;-)






--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality /  
Advertencia de confidencialidad <http://www.rec.ulaval.ca/lce/ 
securite/confidentialite.htm>


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




--

Rob Maurizi
Web Developer / Flash Developer

Center for Teaching & Learning
University of Vermont

802-656-0317 // [EMAIL PROTECTED]
http://rmaurizi.blog.uvm.edu/

"Trying to make everyone happy makes no one happy"

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


Re: [Flashcoders] blog presentation > flash

2005-10-31 Thread Rob Maurizi
We've done several sites using WordPress strictly as the CMS and  
bypassing a lot of the "blog" features of the front end (comments,  
etc.).


It shouldn't be too difficult to wrangle WP's template tags in your  
own PHP scripts to output to your Flash interface. This goes along  
with Judah's point about the site being sort of a hybrid with Flash  
as the visitor's UI, but using HTML as the CMS UI.


Examples of the HTML sites we've done with WP as the CMS include:
• http://www.uvm.edu/webct/
• http://www.uvm.edu/blogging/
• http://www.uvm.edu/~bio1and2/

These all allow for the site admin/owner to update the content using  
WP's administrator tools and simply make use of the template tags to  
generate an entirely different interface for the visitor.


HTH.
-Rob



On Oct 31, 2005, at 2:48 PM, Judah Frangipane wrote:


Hi dc,

I started a Flash UI for drupal project a while ago. After my  
research I

figured you could do a Flash front end to display data but it would be
difficult to do the data entry. So the option would be a mixed site  
with
Flash to display content and HTML to create it. I came to the  
conclusion

that Drupal needed an xml api to pull in straight from the index.php
page otherwise I would have had to write my own xml api or parse the
html in an xml object. At the time (~Feb, 05) someone said they had  
made

an xml api but it was not ready to be released to the public. My
conclusion is that you can easily enough use Flash for sections of the
site template but not the whole thing. Looking at it now it may take
just as much time to setup flash remoting and pull in data from the
drupal database or a custom database. The only advantage of drupal at
this point is using the editors and login system already built into  
it.
I still have the design documents (rough drafts) if you are  
interested. HTH


Judah

dc wrote:


I need to do a product site which is viewed in flash, but want to  
use a

blogging system to manage the content updates.

seems like wordpress has well documented DB apis etc to pull the post
content out of;
has anyone seen other blogging systems that someone has written a  
flash
presentation layer on top of? are there any open source projects  
in this

direction?

I like Drupal's UI as a way to input content, but the API is a  
little much

to pull data out of ...
I havent looked at mambo, but it may work.

I could also use a wiki, as the site content is not really -timeline-
oriented, but most wiki systems seem a little too free-form with  
the data.


Thanks!

/dc
---
  David "DC" Collier
mailto:[EMAIL PROTECTED]
  +81 (0)80 6521 9559
  skype: callto://d3ntaku
---
  Pikkle 株式会社
  http://www.pikkle.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




--

Rob Maurizi
Web Developer / Flash Developer

Center for Teaching & Learning
University of Vermont

802-656-0317 // [EMAIL PROTECTED]
http://rmaurizi.blog.uvm.edu/

"Trying to make everyone happy makes no one happy"

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


[Flashcoders] Re: Newbie AS3 question

2005-10-29 Thread Costello, Rob R
yes,   this is true in ActionScript 

referencing or instantiating a singleton class via a static getInstance method, 
is a different matter to all methods of a class being static

> > > The former is calling an instance method and the latter is calling a
> > > static
> > > method.
> > >
> > > Instance methods have access to instance data that is persisted as
> long
> > as
> > > the instance exists, static methods have access only to static data
> and
> > > that
> > > data passed in to the method call.
> > >
> > > Is this not true in ActionScript?


 

 



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] a little OT (maybe): Flash in Firefox

2005-10-26 Thread Rob Maurizi
Is the file named with a .php extension? Also, try using   
to bracket your PHP code (vs. the ).



-Rob



On Oct 26, 2005, at 12:09 PM, MetaArt wrote:


I have a php page, with this code:
-- 
-- 

require "config.php"; ?>


ViaWeb Institute - il portale dell'e-learningNAME="aesop" content="multimedia" />CONTENT="0" />HTTP-EQUIV="Cache-Control" CONTENT="no-cache" />bgcolor="#f5f5f5" leftmargin="0" topmargin="0" marginwidth="0"  
marginheight="0" scroll="no"><!-- 
</tt><tt>defaultStatus = "ViaWebInstitute | e-laerning for You!"//--></ 
</tt><tt>script><table width="100%" height="100%" border="0" cellpadding="0"  
</tt><tt>cellspacing="0">  <tr><td align="center"  
</tt><tt>valign="middle"><object classid="clsid:D27CDB6E- 
</tt><tt>AE6D-11cf-96B8-44455354" codebase="http:// 
</tt><tt>download.macromedia.com/pub/shockwave/cabs/flash/ 
</tt><tt>swflash.cab#version=6,0,29,0" width="800" height="600"> 
</tt><tt><param name="movie" value="platform.swf?chiave1=PILLOLA  
</tt><tt>BLU&chiave2=PILLOLA AZZURRA&chiave3=PILLOLA VERDE&chiave4=$&chiave5= 
</tt><tt>$&chiave7=$&chiave8=$&chiave9=$&chiave10=$&chiave11=$&chiave13= 
</tt><tt>$&chiave14=$&chiave15=$&chiave16=$&chiave17=$&chiave19=$&chiave20= 
</tt><tt>$&chiave21=$&chiave22=$&chiave23=$&chiave25=$&chiave26=$&chiave27= 
</tt><tt>$&chiave28=$&chiave29=$&chiave30="><param name="quality"  
</tt><tt>value="high"><embed src="platform.swf?chiave1=PILLOLA  
</tt><tt>BLU&chiave2=PILLOLA AZZURRA&chiave3=PILLOLA VERDE&chiave4=$&chiave5= 
</tt><tt>$&chiave7=$&chiave8=$&chiave9=$&chiave10=$&chiave11=$&chiave13= 
</tt><tt>$&chiave14=$&chiave15=$&chiave16=$&chiave17=$&chiave19=$&chiave20= 
</tt><tt>$&chiave21=$&chiave22=$&chiave23=$&chiave25=$&chiave26=$&chiave27= 
</tt><tt>$&chiave28=$&chiave29=$&chiave30=" width="800" height="600"  
</tt><tt>quality="high" pluginspage="<a  rel="nofollow" href="http://www.macromedia.com/go/">http://www.macromedia.com/go/</a> 
</tt><tt>getflashplayer" type="application/x-shockwave-flash"></embed></ 
</tt><tt>object></td>  </tr></table></body></html>
</tt><tt>-- 
</tt><tt>-- 
</tt><tt>
</tt><pre style="margin: 0em;">

</pre><tt>if I open the page with IExplorer, its all right, if instead I open  
</tt><tt>with Firefox, the page don't is showed on monitor, where appear the  
</tt><tt>code, like this:
</tt><tt>-- 
</tt><tt>-- 
</tt><tt>
</tt><tt><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><?  
</tt><tt>require "config.php"; ?>
</tt><pre style="margin: 0em;">
<html><head>
<title>ViaWeb Institute - il portale dell'e-learning</title>
<META NAME="aesop" content="multimedia" />
<META HTTP-EQUIV="expires" CONTENT="0" />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache" /></head>
</pre><tt><body bgcolor="#f5f5f5" leftmargin="0" topmargin="0"  
</tt><tt>marginwidth="0" marginheight="0" scroll="no">
</tt><pre style="margin: 0em;">
<script language="JavaScript">
<!--
defaultStatus = "ViaWebInstitute | e-laerning for You!"
//-->

cellspacing="0">






pluginspage="http://www.macromedia.com/go/getflashplayer";  
type="application/x-shockwave-flash">





-- 
-- 


Which can be the reason of this strange behavior?


 Enrico Tomaselli
  +> web designer <+
  [EMAIL PROTECTED]
http://www.metatad.it
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Rob Maurizi
Web Developer / Flash Developer

Center for Teaching & Learning
University of Vermont

802-656-0317 // [EMAIL PROTECTED]
http://rmaurizi.blog.uvm.edu/

"Trying to make everyone happy makes no one happy"

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


[Flashcoders] window depth

2005-10-19 Thread Costello, Rob R
is there a way to attach a V2 window component without it taking over the top 
layer - i need to move objects in front of it

thanks in advance 

Rob 

 



Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders