ActiveDen

Memory Game

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years

Hi,

I am interested in buying an extended license so that we can customise the source code – I can’t find you email to make direct contact?

Thanks

SMeesters

Please contact me through my profile here at the marketplaces. There is a contact form through which I can be emailed.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
ianproyle Purchased

Hi SMeesters,

great game, really easy to customise! noticed a tiny bug in the file though… if i view the game in ie9, the second time the game loads (if i refresh the page for example) the loadbar position changes and appears at the top of the flash stage…

any idea what might be causing this?

thanks!

SMeesters

Hi,

Seems like ie9 has trouble detecting the correct stage size. It’s an unknown problem to me but I think it can be fixed:

Inside MemoryGame.as, replace all occurrences of “stage.stageWidth” with 800 and all occurrences of “stage.stageHeight” with 500.

That should do it I hope.

  • Belarus
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
letsrock Purchased

Hi. Good work, but i need help. Why when i use to add to loader this(http://graph.facebook.com/1848331011/picture), pictures dont be loaded and when time to function CreateLevel a have message in outpot: Cannot access a property or method of a null object reference. But when i use this link for add to loader: http://profile.ak.fbcdn.net/hprofile-ak-snc4/260924_1848331011_372572715_q.jpg – its loading fine. Also, normal Loader(class), loads first link fine.

  • Belarus
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
letsrock Purchased

CODE : var imageURLRequest:URLRequest = new URLRequest(fiendsPhotos[i]); loader.add(imageURLRequest, { id:”card” + i } );

// fiendsPhotos its Array: https://graph.facebook.com/100002686934053/picture?type=normal https://graph.facebook.com/100003160368535/picture?type=normal https://graph.facebook.com/100003270621460/picture?type=normal https://graph.facebook.com/100003592398192/picture?type=normal Why BulkLoader dont load this pictures?
SMeesters

Hi. Try doing this: Change

loader.add(String(xmldata.properties.@imagePath + image.@url), { id:”card” + i } );

to

loader.add(String(image.@url), { id:”card” + i } );

Now place the full image paths in the XML . e.g.

<card url=”https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash2/49003_100002686934053_1986427417_s.jpg” />

<card url=”https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/157656_100003160368535_1377999979_s.jpg” />

Or replace image.@url to get a url from an array of strings like fiendsPhotos[i]. But you will need the full path I guess.

  • Belarus
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
letsrock Purchased

Hi! Can you help? How i can change size of img(images) wich i loading trougth bunk loader? I try in cards.as: img.content.width = 50; img.width = 50; img.bitmapData.width = 50; img.scaleX = 50; But no one is works… Iam working at this: http://vasilevich.by/VW/Game.htm – if you click play trought FACEBOOK – you will see my problem!

SMeesters

Hi. Sorry but I couldn’t try the demo (as it requires facebook). Have you tried the XML settings for image size?

imageHeight="100" 
imageWidth="100" 

Edit: I now realize you need to scale the actual source images. One moment please.

SMeesters

Please try this change to Card.as. Hopefully it will work.

public function Card(gi:MemoryGame, img:DynamicBitmap) 
{
    this.gi = gi;
    this.img = img;

    var nw:int = int(gi.xmldata.properties.@imageWidth);
    var nh:int = int(gi.xmldata.properties.@imageHeight);
    var bb:Bitmap = new Bitmap(img.bitmapData);
    var bd:BitmapData = new BitmapData(nw, nh, true, 0x000000);
    bd.draw(bb, new Matrix(nw/ bb.width, 0, 0, nh/ bb.height));
    img.bitmapData = bd;
}
  • Belarus
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
letsrock Purchased

Big Thanx!:) I try it, its workd! But now i have somethink like this: http://vasilevich.by/VW/Untitled-1.jpg Its need to reposition img.data

And one more question – how activate smothing for images? in dynamicImage i turn on(true) parametr smoothing but its not works.

SMeesters

You should set imageWidth and imageHeight in the XML to be the same size as the backside image you are using, so the other side of the cards are the right size. It should fix position issues too.

For smoothing I hope this works:

Line 66 of Card.as, change to:

g_card.bitmapData = img.bitmapData;
g_card.smoothing = true;

Line 83:

g_card.bitmapData = gi.g_backside.bitmapData;
g_card.smoothing = true;
  • Has been a member for 2-3 years
  • United Kingdom

hello,

how easy would it be to implement a pop up text box for each pair which appeared when you matched a pair correctly?

thanks!

SMeesters

Hello,

It shouldn’t be hard. Make a call to your code from the RemoveCardsFromDeck() function in MemoryGame.as.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
mrmons Purchased

I just purchase it and I need to have 30 cards but when I put for 30 cards it crash, even 20 it crash too.

So…any solution?

SMeesters

It’s because you need to add more cards to the XML file. See the read me PDF , “ADDING NEW IMAGES ”.

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
mrmons Purchased

How can I remove the drop shadow apply to each cards?

  • Bought between 10 and 49 items
  • Has been a member for 1-2 years

Hi, how can I use an embeded font for the textfields?

And: I bought an extended licence so can I modify the look and feel (design) and use it for 1 customer?

SMeesters

Hi,

For embedding fonts follow these steps http://www.youtube.com/watch?v=Org-cI5V_mU

Take note of you name of the class you chose for linkage (at 0:32 of the video, AnythingYouWant).

Change in GameScore.as and GameTimer.as all the occurances of

“Arial” to > new AnythingYouWant()

For the second question: yes.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi,

When I change to fullscreen, the wallpaper or bacjground does not fit the screen. How can I fix this

  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years

Hi! Nice game!!

I want to do something a little different… when the clock reached 1:00 the player loose and have to start over.. can you tell me how can i do it? I know basic and a liitle more of AS3 .

Hope you can help me! Thanks a lot!!

  • Bought between 50 and 99 items
  • Has been a member for 1-2 years
hostdz Purchased

Hi what do I need to do to trigger a jump to a new image in the scene timeline [ if(condition) gotoAndStop(2); ]

  • Bought between 10 and 49 items
  • Has been a member for 4-5 years

Hi there, it doesn’t work with flash CS6 – I get a syntax error on line 1. What do I need to do to make it work?

  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
citla Purchased

Hi, how do i change the size of the cards (no the size of the image inside the card) and where exactly can i change the size of the document?

  • Bought between 1 and 9 items
  • Has been a member for 2-3 years

Hi, could you maybe tell me how to integrate the game into my website? I’m asking because it runs on my own computer but NOT when I copy it on the webserver. Have I mist here something? Thanks for your help

  • Bought between 1 and 9 items
  • Has been a member for 2-3 years

Best regards

  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 100 and 1 000 dollars

excellent work,good luck:)

by
by
by
by
by