deviantART

 
About Me Official Beta Tester Programmer psykopath20/Male/Australia Recent Activity Deviant for 4 Years
17 Month Subscription
Statistics 129 Deviations
2,525 Comments
14,842 Pageviews

20

Sat May 23, 2009, 12:24 AM
It's my birthday. Gunna get so pissed

[link]

[link]


I got so pissed

deviantID

Wii Monster Lab Friend Code: 5284 8187 7372

http:­//whit3rabbit­.mybrute­.com

Devious Info

  • Current Residence: NSW Australia
  • Interests: Programming, Entheogens, Partying
  • Favourite movie: Niagara Niagara, Almost Famous
  • Favourite band or musician: My musical taste does not define me, but
  • Favourite genre of music: you can check what I'm listening to here http://last.fm/user/psykopath
  • Favourite poet or writer: Philip K Dick, Dean Koontz
  • Operating System: Vista / Linux Mint
  • Favourite game: Any good rpg
  • Favourite cartoon character: ATHF
  • Personal Quote: i'll shit in your coffee
  • Tools of the Trade: Gloves,rope,taser,pepper spray,handgun,ski mask,bottle opener,duct tape
http://www.shiftunderscore.com

Comments


Hey, thanks for the coding help.

There is a problem, though. From the right, it floats nicely; but from the top, it doesn't - it's all the way in the bottom for some reason.

--
Alizarin Crimson: One who prefers their own Elysium, a collected being of brilliant ambiance and nurturing.
are you using float or absolute positioning?
absolute positioning should work from anywhere (unless its parent element has position:relative)
if your floating it, maybe try putting it before your table in the source.
otherwise, ask this question in the programming forum :p

--
overabundance causes confusion of time versus necessity.hurry, only 6 seconds to go.repeat as necessary.
Nevermind; tried putting the coding at the top of the code-page, and it worked. Because before, I put it all the way in the bottom, lol.

--
Alizarin Crimson: One who prefers their own Elysium, a collected being of brilliant ambiance and nurturing.
Heh, I didn't notice your reply, glad you got it working.

--
overabundance causes confusion of time versus necessity.hurry, only 6 seconds to go.repeat as necessary.
All thanks to you. :D

--
Alizarin Crimson: One who prefers their own Elysium, a collected being of brilliant ambiance and nurturing.
:)

--
overabundance causes confusion of time versus necessity.hurry, only 6 seconds to go.repeat as necessary.
In a May 12th post about jpgEncoder you said:

"Either fix the registration point to the topleft, or when calling myBitmapSource.draw, offset it with a matrix."

I'm in a similar situation except changing the registration point to top left is not an option...my registration point must remain in the center. Can you modify my code below so that it aligns to the top left corner of the movieclip content? I'd really appreciate your help!!!!



import com.adobe.images.JPGEncoder;

var enc:JPGEncoder = new JPGEncoder(90);
var file:FileReference = new FileReference();

var bititmapData = new BitmapData(floorplan_mc.width, floorplan_mc.height, true, 0x000000);

var counter:int = 0;
function capture():void {
bit.draw(floorplan_mc);
counter++;
// save out each capture
file.save(enc.encode(bit), "my floorplan "+counter+".jpg");
}


THANKS MUCH!!!
You do it by offsetting it with a matrix, as you quoted.

So, your first step would be, Google: offset bitmapdata.draw using matrix

And the second result is your solution: [link]

--
overabundance causes confusion of time versus necessity.hurry, only 6 seconds to go.repeat as necessary.
Awesome...thanks so much. I spent all day yesterday googling for an answer and trying different ways to fix that. I really appreciate your assistance!
Thank you!:iconpounceglomp:

--
Goddam money. It always ends up making you blue as hell.
~J.D. Salinger, The Catcher in the Rye

Site Map