RE: [Flashcoders] Printing in landscape

2006-02-19 Thread henning martens
just a thought,
can't you rotate  scale your target movieclip to match the landscape 
orientation outside of the stage and print that? just thought
that might work.
i never worked with any print functionality within flash myself.

cheerz,
henning

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of judah
Sent: Saturday, February 18, 2006 4:39 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Printing in landscape

Yeah. That would be an ok workaround. Just wanted to make sure before I 
worked it out. Thanks!

Judah

Dave Wood wrote:

 Has anyone found a way to set the print orientation to landscape?


 I don't think you can. Are you able to alert the user to the need for  
 landscape before initiating the PrintJob?
 You can then test for whether they have chosen it with  
 Printjob.orientation.

 David

___
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] video weirdness

2006-02-19 Thread quinrou .
I finally managed to fix that weird bug. All it was was that the instances
of NetConnection and NetStream were not declared as class variable but as a
local function variable. As son as I declared them as class vars the problem
was fixed.

On 2/11/06, quinrou . [EMAIL PROTECTED] wrote:

 well i'd like to share the link with the list but I affraid that my
 bandwidth is going to go over the roof... What I described above is what
 happens, as in:

 the video starts streaming but as soon as I get the mouse out of the
 thumbnail image the video stops streaming without broadcasting any event
 like flush or stop...

 this is very weird...


 On 2/8/06, John Giotta [EMAIL PROTECTED] wrote:
 
  I wouldn't be the Delegate class.
 
  I'd like to help, but do you have something I can visualize?
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


___
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 and pagebreak

2006-02-19 Thread Sander

Diego,

I write non-existing style tags in my XHTML, that contain hints for  
dividing a text into pages.


pSome text/p
p style='pagebreak' /
pSome more text/p

Flash loops over the nodes and copies the portions of text into new  
textfields into new movieClips, and adds these to a new printJob object.


Greetz,

S
___
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 in landscape

2006-02-19 Thread judah

yeah. that sortof worked. flash doesn't seem to like showing the text.

henning martens wrote:


just a thought,
can't you rotate  scale your target movieclip to match the landscape 
orientation outside of the stage and print that? just thought
that might work.
i never worked with any print functionality within flash myself.

cheerz,
henning

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of judah
Sent: Saturday, February 18, 2006 4:39 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Printing in landscape

Yeah. That would be an ok workaround. Just wanted to make sure before I 
worked it out. Thanks!


Judah

Dave Wood wrote:

 


Has anyone found a way to set the print orientation to landscape?
 

I don't think you can. Are you able to alert the user to the need for  
landscape before initiating the PrintJob?
You can then test for whether they have chosen it with  
Printjob.orientation.


David
   



___
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

 




--
Always bear in mind that your own resolution to succeed is more important than any 
one thing.

You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose. 


- Abraham Lincoln

___
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 in landscape

2006-02-19 Thread henning martens
... ok. i'll have a similar task myself for an uncoming project...
printing landscape A4 powerpoint style. seems i have to dive
into that before the job...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of judah
Sent: Monday, February 20, 2006 12:39 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Printing in landscape

yeah. that sortof worked. flash doesn't seem to like showing the text.

henning martens wrote:

just a thought,
can't you rotate  scale your target movieclip to match the landscape 
orientation outside of the stage and print that? just thought
that might work.
i never worked with any print functionality within flash myself.

cheerz,
henning

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of judah
Sent: Saturday, February 18, 2006 4:39 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Printing in landscape

Yeah. That would be an ok workaround. Just wanted to make sure before I 
worked it out. Thanks!

Judah

Dave Wood wrote:

  

Has anyone found a way to set the print orientation to landscape?
  

I don't think you can. Are you able to alert the user to the need for  
landscape before initiating the PrintJob?
You can then test for whether they have chosen it with  
Printjob.orientation.

David



___
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

  



-- 
Always bear in mind that your own resolution to succeed is more important than 
any one thing.

You can have anything you want - if you want it badly enough. You can be 
anything you want to be, do anything you set out to
accomplish if you hold to that desire with singleness of purpose. 

- Abraham Lincoln

___
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] seeking :: Oscillating SineWaves via Drawing API - let's get some some fun

2006-02-19 Thread Serge

Here is a slight modification:
What will be next steps?


var mc = this.createEmptyMovieClip( mc, 11);

onEnterFrame = function ()
/*
t - time
(x,y)
*/
{
var t = getTimer()/1000; //100
var x0=0, x1 = Math.PI*10;
var imax = 100;
var xy = getData( this, myFunction, x0, x1, t, imax);//
drawLine (mc, xy);
}


// --
function myFunction ( x, t)
{
return x*Math.sin(x*t)
}
// --
function getData ( this_o:Object, func:Function, x0 :Number, x1 :Number, 
t:Number, imax :Number) :Array

{
 var x, dx = (x1-x0)/(imax-1);
 var xy = new Array ();

 for (var i=0; iimax; i++) {
   x = x0 + i*dx;
   xy[i] = {x:x, y: func.call( this_o, x, t)}
 }

  return xy;
}
// --
function drawLine ( mc:MovieClip, xy :Array)
{
 mc.clear();
 mc.lineStyle(0, 0, 100);

 mc.moveTo( xy[0].x, xy[0].y);

 var imax = xy.length;
 for (var i=1; iimax; i++)
 {
   mc.lineTo( xy[i].x, xy[i].y);
 }
}



- Original Message - 
From: Martin Wood [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, February 17, 2006 6:14 PM
Subject: [Bulk] Re: [Flashcoders] seeking :: Oscillating SineWaves via 
Drawing API




its quick and its dirty but it should give you something to work with :



for(var n=0;n3;n++)
{
var sinewave:MovieClip = _root.createEmptyMovieClip(sinewave + n,n+1);

sinewave._y = 100;

sinewave.phase = n * 10;
sinewave.frequency = ((n + 1) * 5) / 50;
sinewave.amplitude = 60 - (n * 10);
sinewave.speed = (n + 1) / 5;
sinewave.heightDeviation = Math.random() * 30;

sinewave.onEnterFrame = function()
{
this.phase+=this.speed;
_root.drawSineWave(this,this.phase,this.amplitude + (Math.sin(this.phase) 
* this.heightDeviation),this.frequency);

}
}

function drawSineWave(mc:MovieClip, phase:Number, amplitude:Number, 
frequency:Number)

{
var numPoints:Number = 80;
var width = 550;

mc.clear();
mc.lineStyle(2,0,100);
var y:Number = Math.sin(phase * frequency) * amplitude;

mc.moveTo(0,y);

var dx:Number = width / numPoints;

for(var x=0;xnumPoints;x++)
{
y = Math.sin((phase + x) * frequency) * amplitude;
mc.lineTo(x * dx,y);
}
}

you can just stick this into the first frame of an .fla

let me know if you need some explanations.

thanks,

Martin

artur wrote:

its 3 waves that need to appear randomly oscillating in height..

___
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] Printing in landscape

2006-02-19 Thread Steven Sacks
I posted a solution to this a few weeks ago.  Here is a link to the solution
on the MM forums.  Skip to the bottom post:

http://tinyurl.com/e4cuf

Hope this helps!

___
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] Zinc 2.5 making Components slow

2006-02-19 Thread Sascha Balkau
Is somebody using mdm Zinc v2.5 with v2 or similar components? I'm working 
on a standalone application for a client where I need to use Zinc to save 
data to harddisk and the application uses the Bit Components set because the 
tabpane is needed.
I have a screen that has a tabpane with 6 tabs and on every tab are 12 
comboboxes. To build this up takes long already in a normal SWF but it even 
gets slower in a Zinc published EXE. Plus the tabpanes and comboboxes are 
getting very sluggish after published with Zinc.
Does somebody know why this is happening? I would be interested in making it 
run faster or like to hear somebodies experience with using SWF 
Studio/mProjector for a similar situation.


Thanks,
Sascha


--
Flash Game Programming Wiki http://fgpwiki.corewatch.net/
H1DD3N.R350URC3 http://hiddenresource.corewatch.net/

___
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 in landscape

2006-02-19 Thread JesterXL
Get a blog.  It's Viagra for tinyurl.

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Sunday, February 19, 2006 11:14 PM
Subject: RE: [Flashcoders] Printing in landscape


I posted a solution to this a few weeks ago.  Here is a link to the solution
on the MM forums.  Skip to the bottom post:

http://tinyurl.com/e4cuf

Hope this helps!

___
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