dimension

Finding (loaded) image size in AS3 (Action Script 3.0)

Im currently using the following function to load an image, however i could not figure out a way to find the width of the loaded image, which i intend to use before placing the next image using the same function. Note that q is a a variable (a number) which is used to load differant images. =X i need help obtainning the loaded image w...

Cube Calculated Member Question

I'm rather new to SSAS and am completely stumped on how to solve this problem. I have a dimension called Thresholds. Within the Thresholds dimension there are the following Members: [Threshold Year], [Threshold1 Amount], [Threshold2 Amount], [Threshold3 Amount] I also have a measures called [Qualifying Commission], [Tier1 Amount],...

serialize problem in php

I want to serialize a multidimension array in php: $arr['foo'] = array('bar'=>'foo'); I'm going to pass $arr to an eval function and so i needed it to be serialized. When eval runs, it actually passes this as an argument to a class method, call it helper method, this helper method then takes that argument and converts it back to a rea...

Dimension Security in OLAP Cubes

Hi , I have defined dimension security in my OLAP cube by creating roles and assigning users to each roles. Each user in a role can only see the location they belong to. When I browse the cube using a role , I see correct location for that role. But, when I browse the cube using "Other User" feature in "Change User" and test it for the...

Why does this code in VBA Power Point work fine witout Dim commands for numbers?

From one of VBA tutorials I learned that variables contining numbers should be firstly declared as integers: Dim mynumber as integer But, please, look at this code: Sub math() A = 23 B = 2 ABSumTotal = A + B strMsg = "The answer is " & "$" & ABSumTotal & "." MsgBox strMsg strMsg = "The answer is " & "$" & Sqr(AB...

how to change a external swf's dimention in Actionscript project?

Hi I used Loader to load an external swf file, and try to display it in a fixed area, like a fixed dimention sprite object. And I dont know the exact size of the swf file, I just want it to fit the fixed area. Is that possible? code: var loader:Loader = new Loader(); loader.load(new URLRequest("some path")); loader.contentLoaderInfo...

How can I get one dimension from a bi-dimensional array in VB.Net?

I have an application in VBA that gives to my VB.Net dll one bi-dimensional variant. It is a an array, in which every component is a another array containing two positions. I want to get this two-position array. When I am using VBA I can access directly the data from each position by doing: dataArray(index, 0) or dataArray(index, 1) ...

MATLAB matrix replacement assignment gives error

I tried to update some part of a matrix, I got the following error message: ??? Assignment has fewer non-singleton rhs dimensions than non-singleton subscripts My code tries to update some values of a matrix that represent a binary image. My code is as follows: outImage(3:5,2:4,1) = max(imBinary(3:5,2:4,1)); When I delete last parame...

Scaling an image in a scroller resizes the scroller when relative dimension are set to the scroller

Hi, I would like to position relatively a scroller in my application like below. When I scale the image, I resize the scroller... <s:Scroller width="50%" height="50%" > <s:Group> <mx:Image id="img" source="sample.jpg" /> </s:Group> </s:Scroller> If I set absolute dimension to the scroller like below, it ...

MDX: use dimension values on columns

Hi, I wanted to use dimension properties on columns. So, in the mdx query, I dragged in those properties from the dimension "member properties". But, for some reason, the values for those properties are nulls only. However, if the dimension members are used on rows, they have legitimate values. Is there any other way, I can pull in th...

select all values from a dimension for which there are facts in all other dimensions

I've tried to simplify for the purposes of asking this question. Hopefully, this will be comprehensible. Basically, I have a fact table with a time dimension, another dimension, and a hierarchical dimension. For the purposes of the question, let's assume the hierarchical dimension is zip code and state. The other dimension is just des...

PHP image dimension

How to get width and height of an image? I have $variable = 'http://site.com/image.png" Want to get width of this image to $width and height to $height. Like: $variable = 'http://site.com/image.png" $width = '300'; // image width is 300px $height = '500'; // height is 500px Thanks. ...

SSAS: change boolean to 'yes' or 'no'

Hello, i'm new to Analysis Services. I have created a dimension on a boolean column. Now users want to have 'yes' and 'no' instead of 'true' and 'false' as result. Thanks. ...