Need a query string to a specific point and zoom in a public GIS Flash document
I am working with a client's website, and have no developer access to the Flash document, only public access.
I have been given the url for a county map that is presented in an interactive Flash document.
http://68.156.95.45/newberrygis//#1
Client would like me to focus in on their specific development, which requires panning the map and zooming in.
How can I find a query string that will help me to do that?
The functionality of the GIS map was important. I was given the email for the person in charge of the map, who helped me out. It appeared that he was able to outline the road in the neighborhood that I needed to focus on. That provided a parcel ID, which in turn made it possible to focus in on the proper area. This is supposition on my part; perhaps he has other info that gave him the parcel ID.
I'm not a huge fan of Flash on other than desktops and laptops, but it is what it is, client needs to use it, I need to help the client out!
B
Similar Messages
-
How can I link to a specific point and zoom in a public GIS Flash map?
I have been given the url for a county map that is presented in an interactive Flash document.
http://68.156.95.45/newberrygis//#1
Client would like me to focus in on their specific development, which requires panning the map and zooming in.
How can I find a query string that will help me to do that?The functionality of the GIS map was important. I was given the email for the person in charge of the map, who helped me out. It appeared that he was able to outline the road in the neighborhood that I needed to focus on. That provided a parcel ID, which in turn made it possible to focus in on the proper area. This is supposition on my part; perhaps he has other info that gave him the parcel ID.
I agree with Ken...I'm not a huge fan of Flash on other than desktops and laptops, but it is what it is, client needs to use it, I need to help the client out!
B -
Need help when swapping rooms in my point and click game
Ok i am making my first point and click game in flash to familiarize myself with some of the basics.
I have set up a room with a 2 walls(rooms) at the moment, and on the first frame there are 4 screws that when clicked play a small animation and are then removed, works fine so far. But if i leave that room then go back into it the screws are back in their original position. How do i stop this from happening, i am guessing i have to put an if formula somewhere on my addChild(TLscrew) or put it somewhere else besides in the enter_frame function. Anyway heres my code any help would be appreciated.
import flash.events.MouseEvent;
import flash.events.Event;
import flash.display.MovieClip;
stop();
myWords.addEventListener(MouseEvent.CLICK, cleartext);
doorHandle.addEventListener(MouseEvent.CLICK, losehandle);
doorBit.addEventListener(MouseEvent.CLICK, turnDoorBit);
tele.addEventListener(MouseEvent.CLICK, turnOnTele);
skyremote.addEventListener(MouseEvent.CLICK, gotoRemoteBack);
addEventListener(Event.ENTER_FRAME, loop);
var TLScrew:MovieClip = new screw();
var TRScrew:MovieClip = new screw();
var BLScrew:MovieClip = new screw();
var BRScrew:MovieClip = new screw();
var topBattery:MovieClip = new AABattery();
var bottomBattery:MovieClip = new AABattery();
var remoteHand:MovieClip = new Hand();
var TLout:Boolean = false;
var TRout:Boolean = false;
var BLout:Boolean = false;
var BRout:Boolean = false;
var doorBitStraight:Boolean = true;
var teleSwitchedOn:Boolean = false;
var beenToOtherRoom:Boolean = false;
TLScrew.addEventListener(MouseEvent.CLICK, screwout1);
TRScrew.addEventListener(MouseEvent.CLICK, screwout2);
BLScrew.addEventListener(MouseEvent.CLICK, screwout3);
BRScrew.addEventListener(MouseEvent.CLICK, screwout4);
function loop(e:Event):void{
tele.buttonMode = true;
TLScrew.buttonMode = true;
TRScrew.buttonMode = true;
BLScrew.buttonMode = true;
BRScrew.buttonMode = true;
doorHandle.buttonMode = true;
addChild(TLScrew);
TLScrew.x = 258;
TLScrew.y = 205.1;
addChild(TRScrew);
TRScrew.x = 268;
TRScrew.y = 205.1;
addChild(BRScrew);
BRScrew.x = 268;
BRScrew.y = 230.35
addChild(BLScrew);
BLScrew.x = 258;
BLScrew.y = 230.35;
if(TLScrew.currentFrame == 24){
removeChild(TLScrew);
if(TRScrew.currentFrame == 24){
removeChild(TRScrew);
if(BLScrew.currentFrame == 24){
removeChild(BLScrew);
if(BRScrew.currentFrame == 24){
removeChild(BRScrew);
function losehandle(e:MouseEvent):void{
myWords.text = "handle fell off";
doorHandle.gotoAndPlay(2);
doorHandle.removeEventListener(MouseEvent.CLICK, losehandle);
function turnDoorBit(e:MouseEvent):void{
if(TLout == true && TRout == true && BLout == true && BRout == true && doorBitStraight == true){
doorBit.rotation = 75;
doorBitStraight = false;
else if(TLout == true && TRout == true && BLout == true && BRout == true && doorBitStraight == false){
doorBit.rotation = 360;
doorBitStraight = true;
function gotoRemoteBack(e:MouseEvent):void{
gotoAndStop(2);
addChild(topBattery);
addChild(bottomBattery);
addChild(remoteHand);
topBattery.x = 174.8;
topBattery.y = 134.75;
bottomBattery.x = 127.8;
bottomBattery.y = 192.8;
bottomBattery.rotation = 180;
remoteHand.x = 360.3;
remoteHand.y = 143.75;
arrowBack.addEventListener(MouseEvent.CLICK, gotoMain);
beenToOtherRoom = true;
function gotoMain(e:MouseEvent):void{
removeChild(topBattery);
removeChild(bottomBattery);
removeChild(remoteHand);
gotoAndStop(1);
function turnOnTele(e:MouseEvent):void{
if(teleSwitchedOn == false){
tele.gotoAndStop(2);
teleSwitchedOn = true;
}else if(teleSwitchedOn == true){
tele.gotoAndStop(1);
teleSwitchedOn = false;
function cleartext(e:MouseEvent):void{
myWords.text = "";
function screwout1(e:MouseEvent):void{
TLScrew.gotoAndPlay(2);
TLout = true;
function screwout2(e:MouseEvent):void{
TRScrew.gotoAndPlay(2);
TRout = true;
function screwout3(e:MouseEvent):void{
BLScrew.gotoAndPlay(2);
BLout = true;
function screwout4(e:MouseEvent):void{
BRScrew.gotoAndPlay(2);
BRout = true;Here is my new code including the suggestion of taking the false out of my Booleans which has got me a step closer to where i want to be (thanks) but now with this code when i click my TLscrew it plays the movieclip then when it reaches the end of the animation it removes itself(as intended), but none of the other screws are removing themselves when they reach the frame 24 like they are meant to. Any ideas where i have went wrong?
Thanks for the help
import flash.events.MouseEvent;
import flash.events.Event;
import flash.display.MovieClip;
stop();
var topBattery:MovieClip = new AABattery();
var bottomBattery:MovieClip = new AABattery();
var remoteHand:MovieClip = new Hand();
var TLout:Boolean;
var TRout:Boolean;
var BLout:Boolean;
var BRout:Boolean;
var doorBitStraight:Boolean = true;
var teleSwitchedOn:Boolean = false;
var TLScrew:MovieClip = new screw();
var TRScrew:MovieClip = new screw();
var BLScrew:MovieClip = new screw();
var BRScrew:MovieClip = new screw();
myWords.addEventListener(MouseEvent.CLICK, cleartext);
doorHandle.addEventListener(MouseEvent.CLICK, losehandle);
doorBit.addEventListener(MouseEvent.CLICK, turnDoorBit);
tele.addEventListener(MouseEvent.CLICK, turnOnTele);
skyremote.addEventListener(MouseEvent.CLICK, gotoRemoteBack);
addEventListener(Event.ENTER_FRAME, loop);
TLScrew.addEventListener(MouseEvent.CLICK, screwout1);
TRScrew.addEventListener(MouseEvent.CLICK, screwout2);
BLScrew.addEventListener(MouseEvent.CLICK, screwout3);
BRScrew.addEventListener(MouseEvent.CLICK, screwout4);
function loop(e:Event):void{
tele.buttonMode = true;
TLScrew.buttonMode = true;
TRScrew.buttonMode = true;
BLScrew.buttonMode = true;
BRScrew.buttonMode = true;
doorHandle.buttonMode = true;
if(!TLout){
addChild(TLScrew);
TLScrew.x = 258;
TLScrew.y = 205.1;
if(!TRout){
addChild(TRScrew);
TRScrew.x = 268;
TRScrew.y = 205.1;
if(!BRout){
addChild(BRScrew);
BRScrew.x = 268;
BRScrew.y = 230.35
if(!BLout){
addChild(BLScrew);
BLScrew.x = 258;
BLScrew.y = 230.35;
if(TLScrew.currentFrame == 24){
removeChild(TLScrew);
if(TRScrew.currentFrame == 24){
removeChild(TRScrew);
if(BLScrew.currentFrame == 24){
removeChild(BLScrew);
if(BRScrew.currentFrame == 24){
removeChild(BRScrew);
function losehandle(e:MouseEvent):void{
myWords.text = "handle fell off";
doorHandle.gotoAndPlay(2);
doorHandle.removeEventListener(MouseEvent.CLICK, losehandle);
function turnDoorBit(e:MouseEvent):void{
if(TLout == true && TRout == true && BLout == true && BRout == true && doorBitStraight == true){
doorBit.rotation = 75;
doorBitStraight = false;
else if(TLout == true && TRout == true && BLout == true && BRout == true && doorBitStraight == false){
doorBit.rotation = 360;
doorBitStraight = true;
function gotoRemoteBack(e:MouseEvent):void{
gotoAndStop(2);
addChild(topBattery);
addChild(bottomBattery);
addChild(remoteHand);
topBattery.x = 174.8;
topBattery.y = 134.75;
bottomBattery.x = 127.8;
bottomBattery.y = 192.8;
bottomBattery.rotation = 180;
remoteHand.x = 360.3;
remoteHand.y = 143.75;
arrowBack.addEventListener(MouseEvent.CLICK, gotoMain);
beenToOtherRoom = true;
function gotoMain(e:MouseEvent):void{
removeChild(topBattery);
removeChild(bottomBattery);
removeChild(remoteHand);
gotoAndStop(1);
function turnOnTele(e:MouseEvent):void{
if(teleSwitchedOn == false){
tele.gotoAndStop(2);
teleSwitchedOn = true;
}else if(teleSwitchedOn == true){
tele.gotoAndStop(1);
teleSwitchedOn = false;
function cleartext(e:MouseEvent):void{
myWords.text = "";
function screwout1(e:MouseEvent):void{
TLScrew.gotoAndPlay(2);
TLout = true;
TLScrew.removeEventListener(MouseEvent.CLICK, screwout1);
function screwout2(e:MouseEvent):void{
TRScrew.gotoAndPlay(2);
TRout = true;
function screwout3(e:MouseEvent):void{
BLScrew.gotoAndPlay(2);
BLout = true;
function screwout4(e:MouseEvent):void{
BRScrew.gotoAndPlay(2);
BRout = true; -
Custom Report Query - Patches install on specific computer AND date installed
I'm looking to create a 2 custom reports that show installed. I have a similar report already but it shows patches needing to be installed.
Devices in a collection with columns for total number security patches installed (I'll break them out further by severity)
Breakdown of each patch installed on a computer (from report 1) and the date installed. (may also include severity, KB article, description etc. I already have these fields)
Essentially I'm looking for the query to pull this data and add to an existing report format I'm already using.
Ideas?Garth,
Thanks for the reply. I've flipped the 2->3 in the report and that gave me what I needed.
The other piece was the date installed. This was not in either report. I did however find it under the database view ucsa.LastStatusChangeTime which my report was already pulling. -
I have a Table called Test_ X in which there are two fields:
1) date_value
2)Application_Name
requirement: we have to calculate the number of days ramaining through date_value field and compare it to with n days.
if it is less than n days it should raise an error through raiserror statement.
I get the below logic to get the no of days before expiry:
select GETDATE() 'Today Date',
date_value 'expiry date',
abs(DATEDIFF(dd,date_value,getdate()))'No of days before expiry'
from dbo.Test_X
where Application_Name='xyz'
With above satatement am able to get the Number of days before expiry .
my question is how to comare it with a variable say n days and if is less than n days it should raise an by using raiserror statement .
Please help or advice.You can use variables in the RAISERROR, but not expressions, e.g.
DECLARE @Days INT;
SET @Days = ABS(datediff(day, '19000101', CURRENT_TIMESTAMP));
RAISERROR (
N'This is message %s %d.'
,-- Message text.
10
,-- Severity,
1
,-- State,
N'number'
,-- First argument.
@Days
);-- Second argument
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Trying to get AS3 game to keep score of user points and not loop when added to Flash CS4 website
Here is my scripting (seperated into two pages) the font in red is causing the drama so far:
package
import flash.display.Sprite;
public class Easymind extends Sprite //Class Definition
private var timer:Timer;
private var count:uint;
private var prevCount:uint;
private var scoreText:TextField;
private var score:uint;
public function Easymind () //Constructor function
init();
private function init():void
var gift:Gift = new Gift();
gift.x = Math.random() * stage.stageWidth; // is the same as (0 to 0.99) * 550
gift.y = Math.random() * stage.stageHeight; // is the same as (0 to 0.99) * 576
addChild(gift);
scoreText = new TextField();
scoreText.x = 500;
scoreText.y = 10;
scoreText.width = 20;
addChild(scoreText);
stage.addEventListener(MouseEvent.MOUSE_DOWN, kill);
timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, addGifts);
timer.start();
private function addGifts(eTimerEvent)
prevCount = count;
count ++;
for (var i:uint = prevCount; i < count; i++)
var gift:Gift = new Gift();
gift.name = "gift" + i;
gift.x = Math.random() * stage.stageWidth; // is the same as (0 to 0.99) * 550
gift.y = Math.random() * stage.stageHeight; // is the same as (0 to 0.99) * 576
addChild(gift);
private function giftShower()
if (this.numChildren > 250)
timer.stop();
var i:int = this.numChildren;
while(i--)
removeChildAt(i);
addChild(scoreText);
SECOND ActionSript PAGE
package
import flash.display.MovieClip;
import flash.events.*;
import flash.utils.Timer;
import flash.text.*;
public dynamic class Gift extends MovieClip
private var dx:Number = Math.random() * 10; // make gift scurry
private var dy:Number = Math.random() * 10;
public function Gift ()
this.gotoAndStop(Math.ceil(Math.random() * 4));
this.addEventListener(Event.ENTER_FRAME, scurry);
stage.addEventListener(MouseEvent.MOUSE_DOWN, kill);
public function scurry (e:Event)
if (this.x < 0 || this.x > 550)
this.dx *= -1;
if (this.y < 0 || this.y > 576)
this.dy *= -1;
this.x += this.dx; // make gift scurry
this.y += this.dy;
public function die()
this.removeEventListener(Event.ENTER_FRAME, scurry);
parent.removeChild(this);
private function kill (e:MouseEvent):void
if(e.target is Gift)
e.target.die();
score += 10;
scoreText.text = score.toString();and as i mentioned, what's the problem related to that code. the reason i ask is because that code shouldn't compile. specifically,
stage.addEventListener(MouseEvent.MOUSE_DOWN, kill);
timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, addGifts);
timer.start();
is incorrect. and
private function addGifts(eTimerEvent)
prevCount = count;
count ++;
for (var i:uint = prevCount; i < count; i++)
var gift:Gift = new Gift();
gift.name = "gift" + i;
gift.x = Math.random() * stage.stageWidth; // is the same as (0 to 0.99) * 550
gift.y = Math.random() * stage.stageHeight; // is the same as (0 to 0.99) * 576
addChild(gift);
private function giftShower()
is incorrect.
if you don't have a problem with your code compiling, then copy your code and paste it into this forum. -
XSl formula for pulling values based on parameters or query strings
Hello,
I have a custom list in SharePoint
List Column/Fields (any time a new item is created these are the fields that need values)
Machine = ID2
SpecLabel = text string value
SpecValue = text string value
Using DataFormWebPart
I Filter values by Machine by creating a parameter with a query string as its source.
And pull the values
<xsl:value-of select="@SpecLabel" />
<xsl:value-of select="@SpecValue" />
On the browser I add the parameter to the URL sting to filter each machine ID.
?=Machine=1
Back in the XSL i use the same parameter to pull the value of the string as my header title.
<xsl:value-of select="$paramMachine"/>
Problem
I need a formula that will pull just the the SpecValue data for a specific item.
Example: I have thee items below and I need to just pull the “SpecValue” for the Built Year which is 2014.
Machine = 1
SpecLabel = Speed
SpecValue = 10
Machine = 1
SpecLabel = Color
SpecValue = Red
Machine = 1
SpecLabel = Built YearSpecValue = 2014
Any Suggestion?Hi,
According to your post, my understanding is that you wanted to the formula to filter a list item.
You can create the formula similar like below.
<xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row[@City = 'Abington']"/>
More reference:
http://sympmarc.com/2011/08/15/compound-filtering-in-data-view-web-parts-dvwps-with-sharepoint-designer/
http://blog.jussipalo.com/2012/01/sharepoint-filter-data-form-web-part.html
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Adding query string parameter to link
I'm reviewing this tutorial by David Powers and I'm using CS6.
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt2.html
Everything went well until I tried to add query string parameters to links (EDIT and DELETE) on the manage_posts.php page.
"You add a query string to the end of a link through the Parameters dialog box, and bind the primary key from the recordset. Although it's a simple operation, many people tend to get it wrong, so follow the next steps carefully."
I did. In fact I did it twice. Both times DW inserted = sign in the wrong place.
DWCS6 code:
<td><a href="update_post.php?<?php echo $row_getPosts['post_id']; ?>=<?php echo $row_getPosts['post_id']; ?>">EDIT</a></td>
Corrected Code:
<td><a href="update_post.php?post_id=<?php echo $row_getPosts['post_id']; ?>">EDIT</a></td>
Anyone else experiencing this?
Nancy O.OK. I typed the Name manually. But I neglected to hit the tab key twice to arrive at the Value input field.
Screenshot 1
After hitting tab key twice, value field is in focus and 2nd lightening bolt appears.
Gads! No wonder people mess this up.
Thanks, David. I appreciate your clarification.
Nancy O. -
Encrypt query string parameters
Hi All,
I have a SharePoint designer workflow email. I want to send encrypted link to users within email. Is there any way to send encrypted query string parameters?
Please guide me how to send parameters with url in email so that users cannot see it.
All suggestions are highly appreciated.
Regards and ThanksHi,
Per my knowledge, we can't Encrypt query string parameters in SharePoint Designer.
As a workaround, we can encrypt query string parameters using C# code and store the URL in a list. Then we can get the URL in SharePoint Designer.
http://www.codeproject.com/Articles/33350/Encrypting-Query-Strings
Best Regards
Dennis Guo
TechNet Community Support -
We use mod_plsql to create webpages. One annoying charactersitic of this framework is having to explicitly define all Query String parameters that a procedure could possibly accept.
We have some jquery stuff we're developing that retrieves data from oracle using PL/SQL procedures over http (mostly XML formated, but we're also lookg at JSON). We have 1 tool we're exavluating that does this, but fails, and we don't know why...I think it's because it is sending some query string parameters that are undocumented and we're not getting any notice to what might be missing/sent.
So, my question is, is there a way to tell what query string parameters are being passed to a procedure? Assuming it is failing by sending undefined parameters of course...oBean wrote:
We use mod_plsql to create webpages. One annoying charactersitic of this framework is having to explicitly define all Query String parameters that a procedure could possibly accept.Why not use the 2 parameter call interface instead?
You add an exclamation mark to the URL call to the procedure. E.g.
instead of
http://my-server.mydomain.com/orcl/scott.myproc?name=John&code=123
the call is changed to the following:
http://my-server.mydomain.com/orcl/!scott.myproc?name=John&code=123
This instructs mod_plsql to pass the query string as name-value arrays. The signature of procedure SCOTT.MyProc will thus no longer look like this
create or replace procedure MyProc( name vachar2, code number ) is ...
But as follows:
create or replace procedure MyProc( name_array owa_util.vc_arr, value_array owa_util.vc_arr ) is
The procedure can now deal with variable query strings from the web browser. -
Hi,
The problem page is located at
http://gauravchandra.info/gpi/mediaCentre.html
I am using flash query string to pass a value into a variable
so that the flash file loads at a particular frame.
If you see the object and embed element, I have written
"Body_image.swf?section=flame" in the movie source. This makes my
flash movie play from a frame labeled - flame. But it is working
only in internet explorer and that too only on local machine. When
I upload it on server, it starts from the first frame everytime. In
internet explorer, it works only on local and it does not even work
on local in firefox.
What am I doing wrong? Please help as it is urgent.
GauravWould this be better suited for the Flash forum?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"gaurav_ch" <[email protected]> wrote in
message
news:gec4aq$gr9$[email protected]..
> The flash file is kept at
http://gauravchandra.info/gpi/Body_image.fla
>
> Please help.
>
> Gaurav -
Need a query to list all table names
I have more than 500 tables in my database.
'insert_date' & 'update_date' columns are found in more than 100 tables with data type as date.
I need a query to list all table names and 'insert_date' , 'update_date' column's content.
Please Help
Lee1212
Message was edited by:
LEE1212I have more than 500 tables in my database.
'insert_date' & update_date column is found in more
than 100 tables with data type as date.
I need a query to list all table names and
'insert_date' column's content.What do you mean by "column's content". A table can have many rows. Do you want to display all the distinct value for these columns?
Below is the query to get the tables which has columns insert_Date and update_date
select table_name
from user_tab_columns
where column_name ='INSERT_DATE'
or column_name ='UPDATE_DATE'
/You can write a PL/SQL block to retrive the distinct values of INSERT_DATE for these tables
declare
TYPE ref_cur IS REF CURSOR;
insert_date_cur ref_cur;
lv_insert_date DATE;
cursor tables_list IS
select table_name
from user_tab_columns
where column_name ='INSERT_DATE';
begin
for cur_tables in tables_list
loop
OPEN insert_date_cur for 'SELECT DISTINCT insert_date from '||cur_tables.table_name;
DBMS_OUTPUT.PUT_LINE(cur_tables.table_name);
DBMS_OUTPUT.PUT_LINE('--------------------------------');
LOOP
FETCH insert_date_cur into lv_insert_date;
EXIT WHEN insert_date_cur%NOTFOUND;
DBMS_OUTPUT.PUT_LINE(lv_insert_date);
END LOOP;
CLOSE insert_date_cur;
end loop;
end;I haven't tested this code. There might be some errors. Just posted something to start with for you. -
Need to customize the variable info sent to a query string
Hello,
I have run into a small issue while trying to send user data
selected from 1 DateField and 3 ComboBoxes in a form. Everything is
sending correctly except for the DateField, when sent is places
much un-needed info in the query string.
For example, this is what I need it to look like in the query
string:
https://reservations.ihotelier.com/onescreen.cfm?LanguageID=1&HotelID=13337&DateIn=09%2F28 %2F2006&Children=1&Adults=3&Length=3
Here is what is actually showing up right now:
https://reservations.ihotelier.com/onescreen.cfm?LanguageID=1&HotelID=13337&DateIn=Thu%20S ep%2028%2000%3A00%3A00%20GMT%2D0700%202006&Children=1&Adults=3&Length=3
You'll notice that everything is fine except for the DateIn
variable. So, I guess I'm asking if anyone knows how I can
customize the data that is sent to the query string, with specific
characters (example: I don't need "%20" in the DateIn, however I
need those to be "%2F"), as well as the name of the month to be
just the month number. I need to get rid of all the time
information in the DateIn variable. Please, any help would be
greatly appreciated! Thank you in advance! :)
Here is my action script right now:The functionality of the GIS map was important. I was given the email for the person in charge of the map, who helped me out. It appeared that he was able to outline the road in the neighborhood that I needed to focus on. That provided a parcel ID, which in turn made it possible to focus in on the proper area. This is supposition on my part; perhaps he has other info that gave him the parcel ID.
I'm not a huge fan of Flash on other than desktops and laptops, but it is what it is, client needs to use it, I need to help the client out!
B -
Color query, at specific point on screen
I need to query the color value at a specific x,y point on
the global stage, regardless of whether there is an
image/canvas/etc there or not. I'd use getPixel(x,y) but that
depends on there being BitmapData to check, and like I said: I want
to investigate regardless of screen content.
Can anyone help? Thanksquote:
Originally posted by:
atta707
Here is how you'll take a snapshot of your application:
var app:Application = Application.application as Application;
var bmd:BitmapData = new BitmapData(app.width, app.height);
bmd.draw(app);
var bm:Bitmap = new Bitmap(bmd);
var uic:UIComponent = new UIComponent();
uic.addChild(bm);
addChild(uic);
You can change 'app' in above code with stage and it should
work. the most important piece for you is the instance of
BitmapData; this class methods like getPixel and getPixel32 that
might do the trick for you!
Hope this helps.
ATTA
This worked, thanks! In order to gain a bit of speed (maybe)
can a certain area (say a canvas) be snapshot into the BitmapData
area, instead of the entire app window? -
In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .
Hi Srinath,
The below blog might be useful
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
regards,
Harish
Maybe you are looking for
-
Very strange: can not enable root.
One of my old G4 behaves very strange, unless everything is running very well, I can't log in as root. Also after enabling root in NetInfo manager, I can't login as root, neither as user nor using SSH. I resetted the Pasword using the Install-DVD. Bu
-
Captivate 8 print handouts blank screenshots
Hi, When I print handouts in Captivate 8, the Word document doesn't show the screenshots of each slide. Instead it shows white boxes. I have cleared Captivate cache, restarted my computer and also tried it on a different computer. Any ideas ? Thanks,
-
Hi Guys I have a problem using URLVariables. I want to pass more than one variable to PHP and I tried this code: var variables:URLVariables = new URLVariables("firstName=paul&lastName=cortez"); Just to isolate the problem, I removed lastName first th
-
Enable https connection to the portal
Dear all, i tried to implement an https connection to my portal environment but i received this error: "IisProxy.dll: 500 Internal Server Error ProxyWorker(): IOException: SapSSLStart() failed: -30 (SSSLERR_SERVER_CERT_MISMATCH) at SapConnection.cpp:
-
App store icon is missing from my iPad. How do I retrieve it?
App store icon is missing from my iPad. How do I retrieve it?