|
| View previous topic :: View next topic |
| Author |
Message |
Tidy
Joined: 25 Nov 2006 Posts: 4564 Location: USA
|
Posted: Sun Nov 29, 2009 3:18 pm Post subject: FREE FLASH WIDGET BUSINESS CARDS |
|
|
Hey everyone,
DC is proud to provide this giveaway to everyone on IMVU - Caleb68 (The Flash King) was nice enough to provide this for all of you and DC is proud to provide the support and facilities to distribute it.
As always you will be able to find info and support on the DC Flash Widget site here:
http://www.devcredits.com/flashwidget.html
Please find below the Instructions Caleb has for Setup.
Link to Flash Business Card for HTML:
http://www.devcredits.com/card1.zip
Link to Flash Business Card for Client:
http://www.devcredits.com/card2.zip _________________
 |
|
| Back to top |
|
 |
Tidy
Joined: 25 Nov 2006 Posts: 4564 Location: USA
|
Posted: Sun Nov 29, 2009 3:19 pm Post subject: |
|
|
Developer Business Card
view a example here: http://www.devcredits.com/card1.html
We have a special Item for you Developers here, and we are providing it free for all to use, there are two versions, one can be used on homepages and the other can be used within products, below you will find instructions on how to use these within your products and webpages.
Web Page Card
To use the Web Page Card you will need webspace where you can upload files to in order for it to work for you.
The first thing you'll need to do is grab the zip file containing the needed files for you to make this work, it can be gotten from the below url:
http://www.devcredits.com/card1.zip
There are 4 files contained within this zip file: card1.html, card1.swf, card1.xml, and carddc.png
STEP 1: Lets get started with editing the xml file, open it up in a text editor and you should see something like this:
| Code: |
<?xml version="1.0" encoding="utf-8"?>
<card>
<cardpic>carddc.png</cardpic>
<cardType><![CDATA[Business Card]]></cardType>
<lTitle1><![CDATA[Caleb's<br>Corner]]></lTitle1>
<img>http://userimages-akm.imvu.com/catalog/includes/modules/phpbb2/images/avatars/2277414_21404838074a72428dc9787.jpg</img>
<sTitle1><![CDATA[Something for Everyone]]></sTitle1>
<sTitle2><![CDATA[Oddities, Curiosities & Needful things]]></sTitle2>
<link1text><![CDATA[caleb68]]></link1text>
<link1>http://avatars.imvu.com/caleb68</link1>
<link2text>Visit My Catalog</link2text>
<link2>http://www.imvu.com/shop/web_search.php?manufacturers_id=2277414</link2>
</card>
|
Case is very important for the tags (<card></card>) so be sure not to change the case of these.
cardpic is the name of the background image you want to use for the card, do not include a url to the cardpic, just the name of the picture.
cardType is the vertical text on the left hand side of the card, the <!CDATA[ and ]]> tags are put in there so that if your text contains any special characters it does not break the xml file.
lTitle1 is the large text at the top of the card
img is the avatar image you want shown on the card itself, this requires the full url of the image
sTitle1 is the small text just under the large text of the card, this can be used for simple little slogans
sTitle2 is a second block of text just below the first slogan area
link1text is the title for the animated button on the card
link1 is the link that they will be taken to when they click the animated button
link2text is the title for the link just below the animated button
link2 is the link that they will be taken to when they click the link2text
STEP 2: after you've edited the xml save the file and upload it to your website
STEP 3: Edit the carddc.png to look like how you want your business card to look, the image is the exact size to fit within the file, if you make it larger the larger area wont show, and if you make it smaller the card might look funny so use this image as a base for creating your background picture.
STEP 4: once you've created the background picture you will need to upload it to the same directory as your xml file.
STEP 5: next you'll need to upload the swf file somewhere on your server, and after that, we get to the tricky part.
STEP 6: We've included card1.html to help you get started, open it up in your html editor or a text editor, you'll see something like the following:
| Code: |
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>card1</title>
</head>
<body bgcolor="#ffffff">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="351" height="228" id="card1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="card1.swf" />
<param name="FlashVars" value="loc=http://www.devcredits.com/&xmlfile=card1.xml" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="card1.swf" FlashVars="loc=http://www.devcredits.com/&xmlfile=card1.xml" quality="high" bgcolor="#ffffff" width="351" height="228" name="card1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
|
if your looking to only insert it to your imvu page or a product page, you wont need to stick it in a iframe, you'll simply need to copy everything between the <body> and </body> tags and paste it into the page. But before you do that, there are some changes we need to make to this file.
the first one is you'll need to find the line:
| Code: |
<param name="movie" value="card1.swf" />
|
and edit it to reflect where on the web your shock wave flash file is, you'll also need to change it at this spot as well:
| Code: |
<embed src="card1.swf"
|
The next thing that we will need to do is tell it where to find your xml file, and what the name of your xml file is, there are two spots that this information needs to be placed, just like the last, the first one that you will need to change is:
| Code: |
<param name="FlashVars" value="loc=http://www.devcredits.com/&xmlfile=card1.xml" />
|
change loc to reflect the website path to the xml file, change xmlfile to reflect the name of the xml file you uploaded
you will also need to change it in the embed tag, it should apear right after the swf location:
| Code: |
<embed src="card1.swf" FlashVars="loc=http://www.devcredits.com/&xmlfile=card1.xml"
|
one more thing you might want to change is where it defines the background color, so that it matches the colors of your pages for the transparent areas, you just need to edit the following:
| Code: |
<param name="bgcolor" value="#ffffff" />
|
and in the embed tag:
STEP 7: once thats all done you should be ready to add it to your page, we suggest that you save card1.html, upload it to your website and test the page to ensure that everything is displaying properly before adding it to your IMVU pages.
Remember to add it to your IMVU pages you just need to copy everything between <body> and </body>
Client Widget Business Card
Yep we made one for you to use in the client as well, and its abit simpler to add in then adding it to a webpage.
The first thing you'll need to do is grab the files, you'll find them at http://www.devcredits.com/card2.zip
This card uses the same xml format as the webpage card, so if you've already created a xml file for that one your one step ahead already, open up card2.xml and edit the xml as outlined in STEP 1 for the webpage flash, if you already have your card1.xml created just copy everrything from that and paste it into card2.xml. Do not change the name of card2.xml, save the file.
the carddc.png is the background for the card, just edit it to be the background you want for your card in the IMVU client.
After you have those two files done, its off to the previewer! *clap clap* fire up the previewer and load a product that you want to add the card to.
after you've got a product loaded in, click the "Special" tab, down at the bottom you will see a area for the flash swf, flash parameters and trigger type.
first in flash swf load in card2.swf
leave flash parameters blank
now this part is important, for funiture you need to set it to seat, for clothing objects and accessories, change it to None.
Now we need to go to the CFL Assets tab
down at the bottom there is a 'Add' Button, click the 'Add' button and select the card2.xml file, and click open, it will then be added to the CFL Assets tab and you should see it in the list.
we need to repeat this step and add in the cards background image, so click 'Add' and select your background image and click 'Open' it too should now be in the CFL Asset list.
Now we need to save the file upload it to IMVU and test it in the Client. The Previewer lacks the ability for you to be able to test flash files in it (just like actions) so you have to upload it to the server and test it in the client to see if everything is working properly
We hope you enjoy these flash objects and that you find them useful.
Enjoy!
flash file made by caleb68 for free use by everyone _________________
 |
|
| Back to top |
|
 |
caleb68
Joined: 15 Jul 2006 Posts: 3385 Location: USA - WA
|
Posted: Sun Nov 29, 2009 3:20 pm Post subject: |
|
|
hope people find it useful, it does make it nice to have a widget that you dont have to derive from someone else in order to use, and hey, free is a very good price
PLEASE NOTE THIS - Some of you may need to add a crossdomain.xml file to your site in order for the swf file to be allowed to open the xml file for the html version Card. _________________ My Products
I like the idea of Humanity, its the people I hate.

Last edited by caleb68 on Wed Dec 02, 2009 6:27 pm; edited 1 time in total |
|
| Back to top |
|
 |
L4K
Joined: 02 Jul 2007 Posts: 7225 Location: Antarctica
|
Posted: Sun Nov 29, 2009 4:19 pm Post subject: |
|
|
TY both  _________________

Stop Piracy
Crazy People Talk to Themselves |
|
| Back to top |
|
 |
GhostWhisperer
Joined: 06 Feb 2006 Posts: 889 Location: USA
|
Posted: Sun Nov 29, 2009 4:29 pm Post subject: |
|
|
Hehe. Nice one Tidy and Caleb. Nice to know no matter how hard IMVU makes it for us to advertise, there are people who can find inventive new ways to help us get our items out there. _________________ Also Laele75.
 |
|
| Back to top |
|
 |
Ravish
Joined: 25 Sep 2009 Posts: 29 Location: USA
|
Posted: Sun Nov 29, 2009 4:39 pm Post subject: |
|
|
Ooooo, yes! Thank you!!!
That looks FABULOUS
PS - Personally always been a fan of free  _________________
 |
|
| Back to top |
|
 |
Darkideas 
Joined: 23 Sep 2006 Posts: 1040 Location: United Kingdom
|
Posted: Sun Nov 29, 2009 4:46 pm Post subject: |
|
|
Fantastic gear bud.. ty _________________
 |
|
| Back to top |
|
 |
wiiing
Joined: 06 Sep 2005 Posts: 5336 Location: Australia
|
Posted: Sun Nov 29, 2009 4:57 pm Post subject: |
|
|
Thank you for making it Tidy!!
What a great idea!!  _________________
 |
|
| Back to top |
|
 |
caleb68
Joined: 15 Jul 2006 Posts: 3385 Location: USA - WA
|
Posted: Sun Nov 29, 2009 6:37 pm Post subject: |
|
|
lol yep can't beat free best price out there, glad that people like it. _________________ My Products
I like the idea of Humanity, its the people I hate.
 |
|
| Back to top |
|
 |
ArienRay
Joined: 16 Nov 2008 Posts: 301 Location: India
|
Posted: Sun Nov 29, 2009 6:42 pm Post subject: |
|
|
| How does it look like? Can any one please provide screenie? |
|
| Back to top |
|
 |
caleb68
Joined: 15 Jul 2006 Posts: 3385 Location: USA - WA
|
Posted: Sun Nov 29, 2009 6:44 pm Post subject: |
|
|
| ArienRay wrote: | | How does it look like? Can any one please provide screenie? |
working demo link was given on the second post tidy did here's the link:
http://www.devcredits.com/card1.html _________________ My Products
I like the idea of Humanity, its the people I hate.
 |
|
| Back to top |
|
 |
SpirInk
Joined: 05 Nov 2008 Posts: 1728 Location: USA
|
Posted: Sun Nov 29, 2009 10:57 pm Post subject: |
|
|
Love this stuff, guys, and it's going to be really useful for a lot of us. Going to put it up on my page, soon.
Interactive business card, here I come! |
|
| Back to top |
|
 |
WickedStormKitty
Joined: 31 Jan 2007 Posts: 110 Location: USA - CA
|
Posted: Mon Nov 30, 2009 12:02 am Post subject: |
|
|
| Fantastic Idea!! Can't wait to play with it:) |
|
| Back to top |
|
 |
neo1471
Joined: 22 Jul 2005 Posts: 3632 Location: United Kingdom
|
Posted: Mon Nov 30, 2009 8:25 am Post subject: |
|
|
brill nice going guys!  _________________
The head? i lost an auction -.-
"Crankificates" -Polystyrene |
|
| Back to top |
|
 |
Whimsee
Joined: 29 Mar 2007 Posts: 1492 Location: USA - AZ
|
Posted: Mon Nov 30, 2009 8:27 am Post subject: |
|
|
Bravo!!
Can't wait to start playing  _________________
 |
|
| Back to top |
|
 |
|
|
|
Hide ads? Get VIP!
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
| |
|