Hi all,
I have a table Customer, which relates to an address table. Each customer has one address. I'd like to have one form that allows the user to create their Customer and Address at the same time.
I currently have an Address field in tblCustomer. It's a lookup field based on this Row...
Okay, here's what I have:
Table: element_logs
Columns:
id (int, PK)
parent_id (int)
element_id (int, FK)
updated_at (datetime)
What I'd like to do is find the most recent element_ids with the same parent_id.
That is, given a parent_id of say 5, and a date of yesterday, I want the id of each...
Hi all,
I'm writing an ASP.Net 3.5 MVC application, and I'm wondering the best way to test code with webservices. Obvisouly I don't need to call the webservice for each test. Is there a way to stub it out? What's the recommended way of doing this?
As an aside question, I'm currently using...
Okay, first of all, I don't know what I'm doing. This isn't what I normally do, I'm a developer. However, I'm the best we've got at the time (long story...)
So, here's what I'm trying to do. We have a DNS record for stage.mydomain.com and dev.mydomain.com. I've edited an existing httpd.conf...
Hi guys,
I have a friend who is designing the graphics and logo for a new business, and they want a web presence. My friend has asked me to put together an estimate for them. My question is, how do I know how much to charge? What metrics do you use? Hours? Story Points? How much is my...
Alright, let me try to explain my situation....
I have a class (AppCore) that extends MovieClip.
I have a MovieClip called StageContents.
I have a class (DefaultCaption) with a button on it, that extends MovieClip.
In AppCore, I essentially do this:
var StageContents:MovieClip = new...
Hi guys, I've been having a bit of a problem upgrading from AS2 to AS3. I used to have this line:
var si:MovieClip = searchField.attachMovie("toc_item", "ti"+pg, searchField.getNextHighestDepth(), ({x:40+c*285, y:r*150+90}));
I tried changing it to
var si:MovieClip =...
I'm trying to upgrade from AS2 to AS3. I thought I had updated all the code, but now I get this error:
1152: A conflict exists with inherited definition flash.display:DisplayObject.mask in namespace public.
With no line associated to it, and only "story_mc" as the source. story_mc is a movie...
Hi guys,
We're looking at upgrading one of our apps to ActionScript 3. Can you guys give any insight about the process? Tips & Tricks? How long did it take?
-------------------------
Matt Grande
C# Master.
Ruby on Rails Admirer.
ActionScript Student.
JavaScript Hate-Monger.
Hi all,
So what's the difference between _width and width? _height and height? _alpha and alpha?
Anyone know? Why do some have underscores and others don't?
-------------------------
Matt Grande
C# Master.
Ruby on Rails Admirer.
ActionScript Student.
JavaScript Hate-Monger.
Hi all, I was wondering if you could help me with this.
I'm parsing HTML, and I was wondering how I could see if there is an opening tag (<) followed by any non-slash character.
For example, this would return true:
<a href="http://tek-tips.com">
But this would return false:
</a>
(Keep in...
Hi all,
I'm fairly new to Flash, but I'm fairly experienced in ActionScript due to some Flex development. I'm assuming my problem is related to there being a difference between the envirnments, but I can't figure out what it is.
I have a simple RegExp:
var pattern:RegExp = new RegExp("<.*")...
I installed Ferret recently and I can't seem to get it working. My searches will only return results if I search for '*'. This is extra-odd, since we're using MySQL as a database, and the wildcard is '%'.
Has anyone experienced this? How did you fix it?
-------------------------
Call me...
I have a question about circular references. How would I accomplish this?
I want to make a Category that can have any number of sub-categories.
Would it just be like this?
class Category < ActiveRecord::Base
belongs_to :category, has_many :category, :class_name => "Category"...
Does the event fired when something is bound only fire when an equal sign is used?
For example, this doesn't cause a re-bind:
ValueObject.BoundArrayCollection.addElement(newElement);
But this does:
var array:ArrayCollection = ValueObject.BoundArrayCollection;
array.addElement(newElement)...
Hi all,
I've been looking into unit testing a Cairngorm application. Since all (or, at least, most) of the methods return void, how do you go about testing it? Is this possible with FlexUnit?
Ideally, I'd like to check when a model-locator gets databound.
Thanks!
-------------------------...
This is more theoretical than practical, but which of these two statements would execute faster?
SELECT dye_method
FROM SC_CUSTOM_STYLE_SPEC
WHERE (dye_method IS NOT NULL) AND (dye_method != '')
GROUP BY dye_method
or
SELECT DISTINCT dye_method
FROM...
Hi all,
I'm wondering if this is possible. I have an XSLT file that converts some XML from one standard to another. Is there a way that I can put the new standard in and get the old standard out? Like, tell it to do the exact opposite of what it's doing?
Otherwise, is there a tool/script...
Hi again,
So, until recently, I've been sending emails for my client by just throwing HTML into the body of the email. They now want the HTML page to be sent as an attachment. I'm wondering how I can take the HTML code that I have (currently stored in a string) and attach it to the file...
Hi guys,
I'm having a bit of a RegEx problem, and I was hoping you could help.
I have the following code
ArrayList strArray = new ArrayList();
string strPattern = @"\(.*\)";
foreach (Match m in Regex.Matches(str, strPattern))
strArray.Add(m.ToString());
I'm trying to get the data out of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.