Articulate Community Forums



Articulate Community Forums » Articulate Product Forums » Articulate Engage SDK » Anyone working on anything?

 
 
LinkBack Thread Tools Search this Thread
Old 08-12-2010, 01:37 PM   # 61
Member
 
this.onEnterFrame's Avatar
 
Join Date: Jun 2007
Posts: 257
Default Re: Anyone working on anything?


a simple mistake I have made a few times is zipping the parent folder rather then selecting and zipping the files.....
I have not tried to use multiple swfs but as Dave says there is no place in the xml for it.
The player SDK does allow you specify multiple files...
__________________
Lots of Articulate widgets at:
eLearningEnhanced.com
Follow me on Twitter @onEnterFrame
Visit my blog: www.frameEntered.com
this.onEnterFrame is offline  
Old 08-12-2010, 03:28 PM   # 62
Moderator
 
UnkieXeon's Avatar
 
Join Date: Nov 2008
Posts: 696
Default Re: Anyone working on anything?


Quote:
Originally Posted by danreid70 View Post
I'm just getting into the Engage SDK, and found a neat interaction I'm trying to merge with the SDK. I think I have all the files in place, and understand the .artpkg (as a zip file) packaging - I think I have the package.xml file set up correctly, the icon graphics and everything set up correctly - but when I try and install the package, it says it's successful, but never shows up in Engage. I know I'm missing something, but can't seem to find what it is. ....
Dan,

Thank you for uploading your Engage SDK project. The package.xml version number must be a whole number in order for it to install correctly. Changing this from 0.2 to 1.0 corrected this.

Hope this helps.
__________________
Dave Burton
Senior Customer Support Engineer
Articulate
http://www.articulate.com/support/
__________________

E-Learning Heroes, the new Articulate community site, is now available! Come join and check out the new forums, tutorials, downloads, and more!
UnkieXeon is offline  
Old 08-12-2010, 03:38 PM   # 63
Member
 
Join Date: Apr 2010
Posts: 11
Default Re: Anyone working on anything?


Ohwow... See, I KNEW it was something little!

I always used "0.1" version numbers when something was just starting out... makes sense though!

I changed it and it showed up! Thank you!

Now I just have to make it actually "work".

So... If I do have 2 SWF files in the package, but only 1 (the main one) is referenced in the package.xml file, can the main one still load the 2nd one? I mean... when the interaction is installed, will the support files from the package go along with the outputted Engage interaction?


If so, it opens up lots of possibilities for external content (within an engage interaction! awesome! I mean, if it can work)...


Last edited by danreid70 : 08-12-2010 at 03:41 PM.
danreid70 is offline  
Old 08-12-2010, 03:51 PM   # 64
Moderator
 
UnkieXeon's Avatar
 
Join Date: Nov 2008
Posts: 696
Default Re: Anyone working on anything?


You can include as many files as you wish in the .artpkg file (no folders are allowed), all of which will get placed in the interactions install directory. I've never tested making references to the the files contained in the installed interaction directory, however, I don't see why this wouldn't work as long as all references are relative.
__________________
Dave Burton
Senior Customer Support Engineer
Articulate
http://www.articulate.com/support/
__________________

E-Learning Heroes, the new Articulate community site, is now available! Come join and check out the new forums, tutorials, downloads, and more!


Last edited by UnkieXeon : 08-12-2010 at 03:54 PM.
UnkieXeon is offline  
Old 08-13-2010, 10:08 AM   # 65
Member
 
Join Date: Apr 2010
Posts: 11
Default Re: Anyone working on anything?


---APPENDED: I found it! "duh!" LOL!
C:\Documents and Settings\<user>\Application Data\Articulate\Engage\CommunityTemplates

And yes, it is in there - my 2nd SWF file. Hmm... I'll keep you all posted...

----------------

Dave, could you tell me where the interactions install directory is? I tried finding where my interaction goes when installed from the package, to see if that 2nd SWF file is in there, but can't seem to find it. My interaction seems to be grabbing the info when I preview it (I put a field on there to dump the data to, and it's getting it), but the SWF file I'm loading into the main one isn't showing up - and I'm not sure if it's something I'm doing wrong in code, or if the file isn't being copied into the same folder when installed. It works when I run it directly from the folder I'm working in, but the loaded SWF never shows up when I preview it from Engage...

Oh, and Happy Friday the 13th!


Last edited by danreid70 : 08-13-2010 at 10:12 AM.
danreid70 is offline  
Old 08-13-2010, 11:00 AM   # 66
Moderator
 
UnkieXeon's Avatar
 
Join Date: Nov 2008
Posts: 696
Default Re: Anyone working on anything?


Dan,

I am personally excited to see what you are planning. Our Engage SDK Community is starting to get some legs, thanks to developers like yourself. Welcome aboard!
__________________
Dave Burton
Senior Customer Support Engineer
Articulate
http://www.articulate.com/support/
__________________

E-Learning Heroes, the new Articulate community site, is now available! Come join and check out the new forums, tutorials, downloads, and more!
UnkieXeon is offline  
Old 08-16-2010, 09:47 AM   # 67
Member
 
Join Date: Apr 2010
Posts: 11
Default Re: Anyone working on anything?


Thanks for your enthusiasm! Yes, I think after getting over this one hurdle, I'll have a decent template for creating lots of new interaction packages.

I'm still stuck on the "external SWF files", though.

It seems as if when published, it renames the SWF that is my main SWF, to "engage.swf", and puts everything else into an "engage_content" folder... but not my external SWF file(s)...

So publishing it wreaks havoc on the support files. I don't think this is going to work. I mean, there are obviously "post publishing" tricks I could do: manually copying files into the engage_content folder "after" publishing, but that's not very user-friendly.

Argh. So close. But there seems to be no "clean" way around this.
danreid70 is offline  
Old 08-16-2010, 10:44 AM   # 68
Moderator
 
UnkieXeon's Avatar
 
Join Date: Nov 2008
Posts: 696
Default Re: Anyone working on anything?


The files placed in the Interaction install folder will not get transferred automatically when publishing your interaction from Engage; this is handled by one of the SDK class files. You will have to create an actionscript/class to reference a relative link to any additional files. Does this make sense? The only files/folders that are dumped/created when creating a new interaction are as follows:

publishdata (folder)
sounds (folder)
VidLoader.html
zoom.html
engage.js
VidLoader.swf
data.xml
scheme.xml
sourcedata.xml
__________________
Dave Burton
Senior Customer Support Engineer
Articulate
http://www.articulate.com/support/
__________________

E-Learning Heroes, the new Articulate community site, is now available! Come join and check out the new forums, tutorials, downloads, and more!
UnkieXeon is offline  
Old 08-19-2010, 02:27 PM   # 69
Member
 
Join Date: Apr 2010
Posts: 11
Default Re: Anyone working on anything?


Well, I've created my interaction as a single swf file now (wish I could have swapped out external files, had a cool idea for that), and as I've been bouncing back and forth between projects, I've lost my "track" here, and can't figure out how to access the html data, per step, within the interaction! Argh. :o

For the title, I'm pulling:

for (var i = 0; i < nStepCount; i++){
oCurStep = g_oInteractionEngine.GetStepByIndex(i);
.....
cf = fractionize(oCurStep.StepTitle);


........ the "oCurStep.StepTitle"... references the step title, and I'm trying to set some variables going through each step in a loop and grabbing the media, html text, etc... but... I can't figure out how to access that other stuff! Helpppp!!!...

Can you help me again?!
danreid70 is offline  
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Articulate E-Learning Blogs

×

Search Engine Friendly URLs by vBSEO 3.1.0