localToGlobal - just can't understand it.
Read through the forums, searched the web... Cannot yet understand exactly how localToGlobal works or in my case, why it does not work:
I have the following MXML:
< mx:VBox id = paddingTop "LoadBalancer" = "20" verticalGap = "20" horizontalAlign = "center" width = "100%" height = "100%" includeIn = "LoadBalancer" >
< mx:Image source="@Embed (source = 'internet_cloud.png')" = ".5" scaleY scaleX = ".5" / > ".
< mx:Image source="@Embed (source = 'foundrysigtc.png')" scaleX = ".2" scaleY = ".2" id = "Foundry" / > »»»
< mx:HBox horizontalGap = '20' id = 'LoadBalanceX' >
< mx:Image source="@Embed (source = 'x3650m2.png')" scaleX = ".5" scaleY = ".5" id = 'x 1' / > '.
< mx:Image source="@Embed (source = 'x3650m2.png')" = ".5" scaleY scaleX = ".5" / > ".
< mx:Image source="@Embed (source = 'x3650m2.png')" = ".5" scaleY scaleX = ".5" / > ".
< / mx:HBox >
< s:Group >
< s:Line visible = "false" id = "line1" >
< s:stroke >
< s:SolidColorStroke color = 'red' alpha = weight '1' = "10" / >
< / s:stroke >
< / s:Line >
< / s:Group >
< / mx:VBox >
I would like to make a distinction between the foundry and x 1. Finally, I want to draw between the central point, or the nearest edge between the two men. For the test case, I just want to close.
So, when I enter "LoadBalancer", my function enterState State is set to:
private function loadBalancer(): void {}
var: node = stepNodeMap [VIP];
updateNodeStatus (node, NodeStatus.NOW);
var foundryPoint:Point = new Point (foundry.x, foundry.y);
var globalFoundryPoint:Point = foundry.localToGlobal (foundryPoint);
trace (globalFoundryPoint.x);
trace (globalFoundryPoint.y);
var x3650Point:Point = new Point (x1.x, x1.y);
var globalXPoint:Point = x1.localToGlobal (x3650Point);
trace (globalXPoint.x);
trace (globalXPoint.y);
}
Now, I expect to have two different points, even if x 1 and the Foundry have the 0.0 value in their own coordinate space... But when I look at my journal, I have this:
753
124
753
124
There is something fundamental on spaces coordinated in flex that I can not enter. I think I'm doing good things... But the results are not what I expect. Pointers?
Maybe the stateChange event or a UPDATE_COMPLETE next. Or maybe you
have to wait for a transition at the end.
Tags: Flex
Similar Questions
-
Beginner help and I just can't understand this...
So I try to guide a few words. I put my anchor and begin to follow the curves and create the path and then finished the first letter. But when I start the 2nd letter and my first anchor I'm totally losing the first letter that I have drawn just a click away. Why? How to keep the first letter and then go to the 2nd? If I'm unclear in my question or I use bad conditions please ask me what you are confused about and I'll try to re - explain. Help if I'm doing this for my wedding and I made the images in layers, but there are no layers with my letters they need all in a single layer. Can I do each on its own layer and then put them all back on a single layer again? PLEASE HELP ~ ~! THANK YOU IN ADVANCE WITH THE BOTTOM OF MY CŒUR OF THOSE WHO CHOOSE TO TRY AND HELP...
I understand not a screenshot of what I'm doing and what I get. Captain Morgan photography is what I'm doing and the Minnesota photo shows what happens after I receive the first letter made.
WyldRyd
Looks like you are using a color fill with the background color (for example, white on white) on no fill color. When you draw the first path, or letter, yo can see the path because it is selected. When you start to draw the second path, the first path seems to disappear becaue it is not selected. It is still there, though. Either go to the map view (command Y) or select the first letter (where you drew just click) and apply a color fill different through the color or Swatches Panel.
-
Help! I just can't understand
I feel very stupid,.
I removed the print head for cleaning cartridge and now can't figure out how to put it back. I see the instructions but still not get it. I'm trying to place the cartridge back with the color at the top icons, but it does not slip. Don't know what I'm doing wrong. The bar is raised. Can someone please?
What print template you have? If the 'bar' you are referring to is the latch for the printhead (also the transport to contain the ink cartridges), try to remove the ink cartridges, put in the print head, first lower the latch to lock it and then install the ink cartridges.
-
Ah, I see.
Which is caused by default html5 text chute fills by adding inline elements (what are the images in text will eventually be).
You can remove one of several ways, the easiest would be to add the css to the image directly (in this way, if the fill is something you want or need on the other images, it will leave those alone)...
style = "display: block;" >
-
Can not understand how to network my laptop windows 8 with my PC running XP Tower.
I have worked on it for hours and just can not understand. I have two computers connected wirelessly to the internet via a telephone line modem. have changed both computers to have as the workgroup name. I ran assistants set up and got to the point where computers see eachother, but does not share anything between them. My main goal is to be able to print wireless from my Windows laptop, 8 to the PC that is connected to the printer. I followed all the steps in this link http://windows.microsoft.com/en-us/windows/networking-home-computers-running-different-windows#networking-home-computers-running-different-windows=windows-vistabut nothing works. Any ideas?
PC connections from one to the other, is usually held with a CAT5
cable... It looks like an ethernet cable, but is not. If both in the same database.
In addition, microsoft has a utility called 'print migrator' downloading to xp, open,.
create a shortcut, move the shortcut to windows pc 8...
-
Chips list are not showing - can't understand why
Hi - I just can't understand why the bullets are not appear on my site. CSS is clearly there for OL and UL but they are not the display. Here is the page in question:
https://Dev3.Orr.NOAA.gov/oil-spills/Cosco-Busan
Here's the CSS:
https://Dev3.Orr.NOAA.gov/sites/all/themes/creative-responsive-theme/style.CSS
Can someone tell me what is the problem? The bullets do not appear on IE or Chrome, at least that they are not for me.
Thank you.
Brainfart, sorry...
ul li, li ul.menu li ul.links .item-list ul li {}
background: url("images/marker.png") no-repeat scroll 4px Center rgba (0, 0, 0, 0);
list-style: square inside.
margin: 0 0 0 15px;
padding: 0 0 0 15px;
}
-
I have a new office and myself can not understand how to download Lightroom, without registering for an account or a new trial! I have a monthly plan with Adobe already and have been using Lightroom on my laptop. Can anyone help please?
- Sign in to your account on www.adobe.com
- Download and install the cloud desktop application
- Using the cloud desktop application, install Lightroom CC 2015.3
-
(1) downloaded the evaluation version Microsoft Windows Small Business Server (SBS) 2011 Essentials to my laptop (Windows 7, IE 9) but now I can not understand how to open it
(2) in addition, I want to assure you that I understand how the server works. Is it just software? No box to connect the computers up to?
Hello
The question you have posted is related to Small Business Server 2011. Please post your question in the Forums of Windows Small Business Server. Consult the following link:
http://social.technet.Microsoft.com/forums/en-us/smallbusinessserver2011essentials/threadsHope this helps
-
virtual surface keyboard & ctrl alt delete... I can't understand?
I just bought a surface. To ask my office by logmein access I have to hit ctrl alt delete. I can't understand how on the touchpad. Thank you!
Hello
Thank you for contacting Microsoft Community.For ctrl + alt + del functionality, you can press the Windows key + power button, at the same time, and you can find the screen with the options like Lock, change user, logout and the Task Manager.Response if the issue is not resolved. -
I can't understand how to and dangle object
When I change a layer name by adding 'swing' and create a point of origin and put them both in the same folder that I've seen a few videos, he is there no dangle effect happening and I can't understand it. What I am doing wrong? I'd like to help even though I know it's good basic thank you!
For the part of the character you want to hang, create a group that contains the work for that part, and then create benchmarks for the 'origin' and one or several "Swing" locations that will be controlled by the behavior of Dangle. Then name the group with the prefix '+' (by example, "+ sheet") so that its contents can be offended regardless of his brothers.
If you put "Swing" on behalf of the Group (for example, "+ leaf Dangle"), it will create an implicit Dangle handle in the center of the frame enclosing group, so you can or don't want according to the movement you want to produce.
You can also use the tool Dangle in the Panel of the puppet to add handles Dangle and just set the structure (Group and its content, but no handles 'Swing') in Photoshop/Illustrator. In this way, you can experiment with Dangle handle character places.
If you want to share your work, we can suggest how to set up for pending.
We are also working on a new video tutorial for Dangle we will publish when you are ready.
Thank you.
-
I use the latest version of Lightroom (5.5) and when I try to set up new user export presets, Lightroom keeps default 'e-mail' instead of 'hard drive '. I am using Microsoft Outlook. I just want to export small files in a folder on my hard drive to upload on a photography website that I belong to but Lightroom wants to email them instead. I can't understand this strange behavior and why it does not work as it is supposed to. I don't know if it's a problem of lightroom, an OS problem or a problem with Microsoft Outlook. Thanks in advance.
I had the same problem and I solved it by choosing post-processing-> after export-> Do nothing, instead of just leave it blank. It will be useful.
-
Why do you say that the FACT table is off standard? I just don't understand.
Why do you say that the FACT table is off standard? I just don't understand.
According to my understanding, normalization is the process of getting rid of redundant. So, the fact table have redundant. So how is it that they say it is off standard.
What dimension tables? They are also OF normailzed?
Can you explain in words simple pls.Fact tables are generally standardized.
Dimensions are usually denormalised because they often contain descriptive and rollup/hierarchical data repeated. Snow flake off a dimension will normalize the data.
See you soon
If -
I finally got my site to the top and everything runs great... except that I can't understand why this page behaves as if it was too broad.
http://www.johnnez.com/mainbooks.html
He is defeated in the live preview... but not in the browser preview.
Thanks for the tips...
Jn
Well, I was looking at your code for a longer period that is now in good health and the only thing I can think is to ask if you want to have two container div with a class of content?
Tags to balance that up.I don't know if it's the anser but you can try to delete one of these and then find an of the
Try just to comment on the following:
Then put in the comment end tag and see if that helps.
Just a thought
Martin
-
1009 error that I can't understand...
I have a video player with commands that I exported as swf (dialogue). I'm trying to get that video player to open in an another fla (holder.fla) when a certain button is clicked. The problem is when we click the button I get an error #1009 that I can't understand:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at 3_fla::main_mc_1/initVideoPlayer() at 3_fla::main_mc_1/frame1()
initVideoPlayer() is the dialogue function that implements the player controls:
function initVideoPlayer():void { // hide buttons mcVideoControls.btnUnmute.visible = false; mcVideoControls.btnPause.visible = false; // set the progress/preload fill width to 1 mcVideoControls.mcProgressFill.mcFillRed.width = 1; mcVideoControls.mcProgressFill.mcFillGrey.width = 1; // add global event listener when mouse is released stage.addEventListener( MouseEvent.MOUSE_UP, mouseReleased); // add event listeners to all buttons mcVideoControls.btnPause.addEventListener(MouseEvent.CLICK, pauseClicked); mcVideoControls.btnPlay.addEventListener(MouseEvent.CLICK, playClicked); mcVideoControls.btnStop.addEventListener(MouseEvent.CLICK, stopClicked); mcVideoControls.btnMute.addEventListener(MouseEvent.CLICK, muteClicked); mcVideoControls.btnUnmute.addEventListener(MouseEvent.CLICK, unmuteClicked); mcVideoControls.mcVolumeScrubber.btnVolumeScrubber.addEventListener(MouseEvent.MOUSE_DOWN, volumeScrubberClicked); mcVideoControls.mcProgressScrubber.btnProgressScrubber.addEventListener(MouseEvent.MOUSE_DOWN, progressScrubberClicked); // create timer for updating all visual parts of player and add // event listener tmrDisplay = new Timer(DISPLAY_TIMER_UPDATE_DELAY); tmrDisplay.addEventListener(TimerEvent.TIMER, updateDisplay); // create a new net connection, add event listener and connect // to null because we don't have a media server ncConnection = new NetConnection(); ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); ncConnection.connect(null); // create a new netstream with the net connection, add event // listener, set client to this for handling meta data and // set the buffer time to the value from the constant nsStream = new NetStream(ncConnection); nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler); nsStream.client = this; nsStream.bufferTime = BUFFER_TIME; // attach net stream to video object on the stage vidDisplay.attachNetStream(nsStream); // set the smoothing value from the constant vidDisplay.smoothing = SMOOTHING; // set default volume mcVideoControls.mcVolumeScrubber.x = (53 * DEFAULT_VOLUME) + 645.25; mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 698.25 + 53; setVolume(DEFAULT_VOLUME); }
The function is called at the bottom of the rest of the code.The code I use to enter dialogue in holder.fla is:
var img1Request: URLRequest = new URLRequest("videos/3-2-10.swf"); var img1Loader: Loader = new Loader(); btns_mc.marchImg_btn.addEventListener(MouseEvent.CLICK, clickEvent); function clickEvent(event:MouseEvent):void{ img1Loader.load(img1Request); img1Loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadNowEvent); function loadNowEvent(event:Event):void{ container_mc.addChild(img1Loader); } }
Any help is greatly appreciated!
pigeon7081
It is close.
Just remove this line of code to myconst() and you should be good to go.
p.s. Please mark this thread as answered.
-
An error in this Applescript that I can't understand
Hi, I searched some forums and found this script below which I modified. It works great except for a single statement:
runScript If = 1 then number error -128 I want the script to do is, when a USB drive is mounted and is in the ignoredVolumes as "USB Untitled" I want the script to stop. What I can't understand is, runScript is set to 1, "Untitled USB" Monte, runScript is not changed, why don't the script stops with an error "user cancelled"? On the other hand, if a key USB Monte is not in the ignoredVolumes, runScript is set to 2 and copy the file I want it. What hurts? It's probably something that will be very obvious when I see the answer.
Thanks for any help with this problem,
Mike.
property ignoredVolumes: {'10,10 30 1. 5 't', 'files 1. 5 't', "Untitled USB"} - add if necessary
property videoExtensions: {"avi", "mov", "mpg", "wmv", "mp4" and "mkv"}
the value newVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / new")
the value oldVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / old")
game runScript to 1
tell application "System events".
the value rootVolumes to disk (POSIX file ' / Volumes ' in the text)
the value allVolumes to name of every element of disc of rootVolumes
the value numofallVolumes to the County of allVolumes
Repeat with the present book in allVolumes
say application 'Finder '.
if (the present book is not in ignoredVolumes and (this book as text) is not '. ') DS_Store') then
if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2
runScript If = 1 then number error -128 - it does not give a 'User cancelled' error when "Untitled USB" is mounted
runScript If = 2 then
try
duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / new ") as text) to newVolume
on error number errorNumber errorMessage
_error value of errorMessage
_errorNum the value to errorNumber
If errorNumber is -15267 then
display the dialog box "This file already exists in folder a." buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10
If the returned button of result is 'No' then
Error number-128
on the other
If the result is 'OK' or back button gave up lead and then of
eject the present book
display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5
return
end if
end if
end if
end try
Try
duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / old ") as text) to oldVolume
on error number errorNumber errorMessage
_error value of errorMessage
_errorNum the value to errorNumber
If errorNumber is -15267 then
display the dialog box "This file already exists in the folder B" buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10
If the returned button of result is 'No' then
Error number-128
on the other
If the result is 'OK' or back button gave up lead and then of
eject the present book
display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5
return
end if
end if
end if
end try
display the dialog box "USB key will Auto Eject in 10 seconds or click OK... "buttons button 1 with the title"copy Complete - Eject? "default {'OK', 'No'} which gives after 10
If the returned button of result is 'No' then
Error number-128
on the other
If the button returned of result is "OK" or gave up a result then ejection of the this book
display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5
end if
end if
end if
end say
end Repeat
end say
The way in which your external block If is currently based, the script can't do anything when this book is in the ignoredVolumes, it can not yet test the runScript value. Try something like this:
If the present book is in the ignoredVolumes then
game runScript to 1
on the other
if (the present book as text is not '. ') DS_Store') then
if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2
end if
end if
Of course, you need to remove a "end if' the end of the script.
Maybe you are looking for
-
Why has Firefox suddenly lost all the graphics and went to the text only?
When I started this morning Mozilla Firefox has emerged as a text-only page, as did everything I tried to access it through Firefox. I did an uninstall, folder cleaning and clean install of the latest version of Firefox, but it has developed exactly
-
I recently sent information sensitive to H & R Block... and misspelled the addresswherever the mail goes... who has access?
-
This function is used to work.
-
I downloaded the free version of Runtastic ok earlier in the day, but all my attempts to download the pro version failed with reason "Cannot download app". I get this message after seeing the progress cycle indicator shows that the download is comple
-
Satellite L450D - 11V peripheral WLAN disappeared
My daughter has this laptop and lost features Wi - Fi during January 2010. I downloaded the latest BIOS and WLAN drivers, but the device is still missing in Device Manager. BIOS has active WLAN. The laptop is running Windows 7, and the device is a Re