SWF Resources
I'm embedding a swf into a PDF. I'm at the stage where I need to add resources. I'm not sure what I need to include. Really, the only things in the flash file that I did not create myself were three jpegs. Do I need to embed these resources into the PDF as well in the Resources option or can I simply not embed anything and have it be fine? I tested it out with no resources and it ran fine, but I don't know how it will run on someone else's computer who doesn't have the JPEGs.
I guess my question really boils down to if the swf file already embedded the JPEGs into it or not. If it embedded the JPEGs already, I don't need to add them as an additional resource in my PDF, do I?
If there is a way to do it, you won't find it here in the Flash Player forum.
The answer will be either in the InDesign forum or the Flash Pro forum.
This forum only deals with the Player, and not with anything that creates content.
Similar Messages
-
Embed an .swf, no way to extend a class?
I'm having trouble tying a embeded .swf resource to a custom
class to control it.
I can use
[Embed(source="mypic.jpg")]
public class MyPic extends BitmapAsset
//code to controll the class goes here.
However, no such approach seem to work with .swf. I can embed
them at a variable level, but if I try to tie them to a class and
extend something, I get a refusal.
So, my question is this: How do I embed an swf and then have
the object extend a controller class? I don't want to put the logic
in the loaded .swf, that makes replacing the graphics a hassle, I
want to seperate my code from my resources.
All input is very very welcome, I've been stuck on this for a
while.Looks like you haven't defined the WF scope or the site where you are trying to deploy the workflow to isn't included in the scope
Check this article
http://fangdahai.blogspot.in/2013/04/on-premise-windows-workflow-server.html
Thanks | epmXperts | http://epmxperts.wordpress.com -
How to cache swf files via browser
I notice that games on facebook ara caching lot's of swf files in browser temparary folder, I'm wondering how this is done, I'm new to web techs :> Somebody help? Thanks a lot.
AndrewYuCWA1987 wrote:
Thank U
but what i attend to do is:
- swf resource is need, and there're a lot
- they're on the server first
- when loading swf needed, access loacally file first, if there's none, get remote swf resource from server
- after load from remote, cache swf files locally for the next application runs
How can this be done?
all the above happens by default unless a user clears their cache or has not browser cache- which you can't control.
I met sand box issue when I apply URLRequest api, and I've looked into game's on facebook and other SNS platform, caching is the
common way to build a game, there's a "loader.swf?v=XXXX" there, and if I copy it to file system and run it, surely it's doing URLLoading and trigger a sand box trouble like I do, but when it's applied in the browser, or say in the way it's originally used, it worked,
So I doubt there's something I can do to implement the goal I've imagined, question is, how ) ;
appending a changing query string (?v=XXX) to a url is a common way to prevent browser caching by making the browser think each of those swfs are different by virtue of the changing query string. -
Aligning Background Images/SWFs
I am using a SWF as an asset file to set backgrounds, or
insert images via a mx:Box at certain places in my application.
I do this by creating a mx:Box and a CSS style that specifies
the SWF resource in a background-image tag. Problem is that the SWF
is always centered in the mx:Box when using the style.
I've tried to set horizontal-align: left; but that didn't
have any effect.
So, how do you align a background-image to the left, using a
style? Is there a better approach?
Thanks,
JB...same problem. Design view isn't browser view. I selected "no repeat" (CS3). I also tried to drag the image to fit.
However, the design window doesn't seem to be the dimension of what visitors to my pages will be viewing.
How do I know what dimensions to set in the Property Inspector? -
Slide views only to be reported, but grade is reporting to lms as 0 instead of n/a
My client has a number of quiz questions throughout their course. They asked that the quiz be set up to allow infinite attempts until the learner gets the answer right, and that there are no points or grade associated with the quiz. I've set up each question as a quiz question, but set the grade to be 0. I did it as a quiz question as there are matching type questions, multiple choice, etc. and I found it valuable to have the structure in place to add in the content. The reporting preferences are set up as to report back slide views only, but when this file communicates with the LMS, it is reporting back a pass/complete but giving a grade of 0. I'd like it to show up as n/a under the grade rather than 0.
Also, this course isn't booking marking and learners aren't happy because when they go back in their answers aren't saving. As well, the client wanted backward movement to be allowed but when the learner clicks the back button to go back through the slides, it automatically resets the question slides and they have to re-answer them to continue. Is there a way to change a setting so that the answers will stay in place?
And my last question (promise, sorry for so many) under the quiz settings and then required there are 4 options. I'm just wondering if anyone can explain these 4 options and what each do, so that I can make sure I'm selecting the best one. Up until now it's been a trial/error type of thing, but it would be great if anyone can share some additional info.Thanks so much! I'm the only one working in Captivate, and so I can't even tell you how helpful it is to have replies and people that understand what I'm asking.
I looked into the manifest file, but I couldn't seem to find the masteryscore text. Here's a copy and paste of my manifest file. Am I missing something?
<?xml version="1.0" encoding="UTF-8" ?>
<manifest identifier="captivate client and family centred care_ID" version="1.3" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:imscp="http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_v1p3"
xmlns:imsss="http://www.imsglobal.org/xsd/imsss"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd
http://www.imsglobal.org/xsd/imsss imsss_v1p0.xsd
http://ltsc.ieee.org/xsd/LOM lomStrict.xsd">
<metadata>
<schema>ADL SCORM</schema>
<schemaversion>CAM 1.3</schemaversion>
<lom xmlns="http://ltsc.ieee.org/xsd/LOM">
<general>
<identifier>
<catalog>Adobe Captivate Course</catalog>
<entry>captivate client and family centred care_ID</entry>
</identifier>
<title>
<string language="x-none">captivate client and family centred care_Course_Title</string>
</title>
<description>
<string language="x-none"></string>
</description>
<keyword>
<string language="x-none"></string>
</keyword>
</general>
<lifeCycle>
<version>
<string language="x-none">1.0</string>
</version>
<status>
<source>LOMv1.0</source>
<value>final</value>
</status>
</lifeCycle>
<metaMetadata>
<identifier>
<catalog>test</catalog>
<entry>test 1000</entry>
</identifier>
<metadataSchema>LOMv1.0</metadataSchema>
<metadataSchema>SCORM_CAM_v1.3</metadataSchema>
</metaMetadata>
<technical>
<format>text/html</format>
<location>.</location>
</technical>
<educational>
<typicalLearningTime>
<duration>PT0H0M</duration>
<description>
<string language="x-none">Average length of time to experience this Adobe Captivate Project.</string>
</description>
</typicalLearningTime>
</educational>
<rights>
<cost>
<source>LOMv1.0</source>
<value>no</value>
</cost>
<copyrightAndOtherRestrictions>
<source>LOMv1.0</source>
<value>no</value>
</copyrightAndOtherRestrictions>
</rights>
<classification>
<purpose>
<source>LOMv1.0</source>
<value>idea</value>
</purpose>
<description>
<string language="x-none"></string>
</description>
<keyword>
<string language="x-none">Adobe Captivate</string>
<string language="x-none"></string>
</keyword>
</classification>
</lom>
</metadata>
<organizations default="captivate client and family centred care_ID_ORG">
<organization identifier="captivate client and family centred care_ID_ORG">
<title>captivate client and family centred care_Course_Title</title>
<item identifier="captivate client and family centred care_ID_SCO" isvisible="true" identifierref="captivate client and family centred care_ID_SCO_RES">
<title>captivate client and family centred care_SCO_Title</title>
<imsss:sequencing>
<imsss:objectives>
<imsss:primaryObjective objectiveID="PRIMARYOBJ" satisfiedByMeasure="false">
</imsss:primaryObjective>
</imsss:objectives>
<!-- to override the default SCORM 2004 completion setting, add this... -->
<imsss:deliveryControls completionSetByContent="true" objectiveSetByContent="true"/>
</imsss:sequencing>
<adlcp:dataFromLMS>.</adlcp:dataFromLMS>
<adlcp:timeLimitAction>exit,message</adlcp:timeLimitAction>
</item>
</organization>
</organizations>
<resources>
<resource adlcp:scormType="sco" identifier="captivate client and family centred care_ID_SCO_RES" type="webcontent" href="captivate client and family centred care.htm">
<file href="captivate client and family centred care.swf"></file>
<file href="captivate client and family centred care.htm"></file>
<file href="SCORM_support/scorm_support.htm"/>
<file href="SCORM_support/scorm_support.js"/>
<file href="SCORM_support/scorm_support.swf"/>
</resource>
</resources>
</manifest> -
I am using Captivate 2.0 and trying to make a SCORM content
that will report user interaction in the new Fronter 7.1
(www.fronter.com). I use the reload SCORM 1.2 player for complaince
check, since I do not have one for SCORM 2004 (
http://www.reload.ac.uk/scormplayer.html)
I have created a test cp file with just one question and 7
slides. I pack the output in .zip with SCORM 1.2.
When loading into the reload player I get the error message
Problem validating manifest
(file:C:/Documents%20and%20Settings/Martin/reload/reload-scorm-player/server/webapps/reloa d-scorm-player/course-packages/22/imsmanifest.xml:
12, 92): cvc-complex-type.3.2.2: Attribute 'xsi:schemalocation' is
not allowed to appear in element 'lom'.
I can see the .xml manifest from Captivate and line 12. The
manifest is posted at the bottom of this page.
Now when I use the LMS system fronter 71, which has SCORM
2004 and SCORM 1.2 support, the whole package loads and reports
pass/fail but not the user interactions. Fronter 71 has support for
this, and I would like to know what I have done wrong. I tried both
SCORM 1.2 and SCORM 2004.
Here comes the manifest for scorm 1.2 and then afterwards for
scorm 2004
<?xml version="1.0" encoding="utf-8" ?>
- <manifest identifier="testthree" version="1.0" xmlns="
http://www.imsproject.org/xsd/imscp_rootv1p1p2"
xmlns:adlcp="
http://www.adlnet.org/xsd/adlcp_rootv1p2"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.imsproject.org/xsd/imscp_rootv1p1p2
imscp_rootv1p1p2.xsd
http://www.imsglobal.org/xsd/imsmd_rootv1p2p1
imsmd_rootv1p2p1.xsd
http://www.adlnet.org/xsd/adlcp_rootv1p2
adlcp_rootv1p2.xsd">
- <metadata>
<schema>ADL SCORM</schema>
<schemaversion>1.2</schemaversion>
- <lom xmlns="
http://www.imsglobal.org/xsd/imsmd_rootv1p2p1"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemalocation="
http://www.imsglobal.org/xsd/imsmd_rootv1p2p1
imsmd_rootv1p2p1.xsd">
- <general>
- <title>
<langstring
xml:lang="x-none">testfour</langstring>
</title>
- <catalogentry>
<catalog>Adobe Captivate Course</catalog>
- <entry>
<langstring
xml:lang="x-none">testthree</langstring>
</entry>
</catalogentry>
- <description>
<langstring xml:lang="x-none">min description
ML</langstring>
</description>
- <keyword>
<langstring xml:lang="x-none" />
</keyword>
</general>
- <lifecycle>
- <version>
<langstring xml:lang="x-none">1.0</langstring>
</version>
- <status>
- <source>
<langstring
xml:lang="x-none">LOMv1.0</langstring>
</source>
- <value>
<langstring xml:lang="x-none">Final</langstring>
</value>
</status>
</lifecycle>
- <metametadata>
<metadatascheme>ADL SCORM 1.2</metadatascheme>
</metametadata>
- <technical>
<format>text/html</format>
<location>.</location>
</technical>
- <educational>
- <typicallearningtime>
<datetime />
</typicallearningtime>
</educational>
- <rights>
- <cost>
- <source>
<langstring
xml:lang="x-none">LOMv1.0</langstring>
</source>
- <value>
<langstring xml:lang="x-none">no</langstring>
</value>
</cost>
- <copyrightandotherrestrictions>
- <source>
<langstring
xml:lang="x-none">LOMv1.0</langstring>
</source>
- <value>
<langstring xml:lang="x-none">no</langstring>
</value>
</copyrightandotherrestrictions>
</rights>
- <classification>
- <purpose>
- <source>
<langstring
xml:lang="x-none">LOMv1.0</langstring>
</source>
- <value>
<langstring xml:lang="x-none">Idea</langstring>
</value>
</purpose>
- <description>
<langstring xml:lang="x-none">min description
ML</langstring>
</description>
- <keyword>
<langstring xml:lang="x-none">Adobe
Captivate</langstring>
<langstring xml:lang="x-none" />
</keyword>
</classification>
</lom>
</metadata>
- <organizations default="testthree_ORG">
- <organization identifier="testthree_ORG">
<title>testfour</title>
- <item identifier="testone" isvisible="true"
identifierref="testone_RES">
<title>testtwo</title>
<adlcp:maxtimeallowed />
<adlcp:datafromlms />
<adlcp:masteryscore>80</adlcp:masteryscore>
<adlcp:timelimitaction>exit,message</adlcp:timelimitaction>
</item>
</organization>
</organizations>
- <resources>
- <resource identifier="testone_RES" type="webcontent"
href="cap2 1-2.htm" adlcp:scormtype="sco">
<file href="cap2 1-2.swf" />
<file href="cap2 1-2.htm" />
<file href="SCORM_support/scorm_support.htm" />
<file href="SCORM_support/scorm_support.js" />
<file href="SCORM_support/scorm_support.swf" />
</resource>
</resources>
</manifest>Here is the one for scorm 2004
<?xml version="1.0" encoding="UTF-8" ?>
- <manifest identifier="tthree" version="1.3"
xmlns="
http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:imscp="
http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:adlcp="
http://www.adlnet.org/xsd/adlcp_v1p3"
xmlns:imsss="
http://www.imsglobal.org/xsd/imsss"
xsi:schemaLocation="
http://www.imsglobal.org/xsd/imscp_v1p1
imscp_v1p1.xsd
http://www.adlnet.org/xsd/adlcp_v1p3
adlcp_v1p3.xsd
http://www.imsglobal.org/xsd/imsss
imsss_v1p0.xsd
http://ltsc.ieee.org/xsd/LOM
lomStrict.xsd">
- <metadata>
<schema>ADL SCORM</schema>
<schemaversion>CAM 1.3</schemaversion>
- <lom xmlns="
http://ltsc.ieee.org/xsd/LOM">
- <general>
- <identifier>
<catalog>Adobe Captivate Course</catalog>
<entry>tthree</entry>
</identifier>
- <title>
<string language="x-none">tfour</string>
</title>
- <description>
<string language="x-none">min description
ML</string>
</description>
- <keyword>
<string language="x-none" />
</keyword>
</general>
- <lifeCycle>
- <version>
<string language="x-none">1.0</string>
</version>
- <status>
<source>LOMv1.0</source>
<value>final</value>
</status>
</lifeCycle>
- <metaMetadata>
- <identifier>
<catalog>test</catalog>
<entry>test 1000</entry>
</identifier>
<metadataSchema>LOMv1.0</metadataSchema>
<metadataSchema>SCORM_CAM_v1.3</metadataSchema>
</metaMetadata>
- <technical>
<format>text/html</format>
<location>.</location>
</technical>
- <educational>
- <typicalLearningTime>
<duration>PT0H0M</duration>
- <description>
<string language="x-none">Average length of time to
experience this
Adobe Captivate Project.</string>
</description>
</typicalLearningTime>
</educational>
- <rights>
- <cost>
<source>LOMv1.0</source>
<value>no</value>
</cost>
- <copyrightAndOtherRestrictions>
<source>LOMv1.0</source>
<value>no</value>
</copyrightAndOtherRestrictions>
</rights>
- <classification>
- <purpose>
<source>LOMv1.0</source>
<value>idea</value>
</purpose>
- <description>
<string language="x-none">min description
ML</string>
</description>
- <keyword>
<string language="x-none">Adobe
Captivate</string>
<string language="x-none" />
</keyword>
</classification>
</lom>
</metadata>
- <organizations default="tthree_ORG">
- <organization identifier="tthree_ORG">
<title>tfour</title>
- <item identifier="tone" isvisible="true"
identifierref="tone_RES">
<title>ttwo</title>
- <imsss:sequencing>
- <imsss:objectives>
- <imsss:primaryObjective objectiveID="PRIMARYOBJ"
satisfiedByMeasure="true">
<imsss:minNormalizedMeasure />
</imsss:primaryObjective>
</imsss:objectives>
</imsss:sequencing>
<adlcp:dataFromLMS>.</adlcp:dataFromLMS>
<adlcp:timeLimitAction>exit,message</adlcp:timeLimitAction>
</item>
</organization>
</organizations>
- <resources>
- <resource adlcp:scormType="sco" identifier="tone_RES"
type="webcontent" href="cap2 2004.htm">
<file href="cap2 2004.swf" />
<file href="cap2 2004.htm" />
<file href="SCORM_support/scorm_support.htm" />
<file href="SCORM_support/scorm_support.js" />
<file href="SCORM_support/scorm_support.swf" />
</resource>
</resources>
</manifest>
Please help -
Problems with Scorm and Captivate
There appears to be a major problem with Scorm compliance and Captivate 4.
From my understanding, Scorm 1.2 requires that the Manifest include the filenames of all resource files in order to import them. It appears that when Captivate externalizes its resources (Skins, etc) it does not include them in the Manifest. This is because Captivate does not dynamically create the manifest, but rather uses template manifest to fill in variables. The file that is missing from the template is untitled_skin.swf. Below is the template and the output from my test. From the template, it does not appear that Captivate will support anything other than a single SWF and be compliant with Scorm 1.2 (1.2 Scorm Specs http://www.imsglobal.org/content/packaging/cpv1p1p2/imscp_bestv1p1p2.html)
Template:
<resources>
<resource identifier="@RD_MQZ_MANIFEST_ID_RES" type="webcontent" href="@RD_MQZ_MANIFEST_HTM_NAME_HREF" adlcp:scormtype="sco">
<file href="@RD_MQZ_MANIFEST_SWF_NAME"/>
<file href="@RD_MQZ_MANIFEST_HTM_NAME"/>
<file href="SCORM_support/scorm_support.htm"/>
<file href="SCORM_support/scorm_support.js"/>
<file href="SCORM_support/scorm_support.swf"/>
</resource>
Actual XML:
<resources>
- <resource identifier="SCO_ID1_RES" type="webcontent"href="untitled.htm"adlcp:scormtype="sco">
<file href="untitled.swf" />
<file href="untitled.htm" />
<file href="SCORM_support/scorm_support.htm" />
<file href="SCORM_support/scorm_support.js" />
<file href="SCORM_support/scorm_support.swf" />
Please advise..
Thank You!Michael,
SCORM packages do have a number of "must-haves", but the listing of every last resource asset is more a best practice (although a good idea).
The content doc that you reference actually states that it is a best-practice document at the top.
My stand has always been that in the long run you are much better off if you follow all the rules (especially as the standards evolve and build on each other) so I would love to see captivate list all the resources in the future.
Importantly though, for any SCORM certified LMS there are two instances where resources MUST be listed.
First, if it is the href launch file for that particular resource (i.e. <resource identifier="SCO_ID1_RES" type="webcontent" href="untitled.htm"adlcp:scormtype="sco"> in your example) then obviously it must be listed in order for LMS to serve up the next part of the course.
The other time it must be listed is if that particular resource is actually a "dependency sub-element" of whatever sco or other resource it applies to.
As long as you have those bases covered, and all the other rules of course (schemas definitions, etc...) it should still pass the appropriate ADL conformance test suite.
I use both captivate 3 and 4 with a whole host of different LMS systems and have found the generated files to be quite sufficient for basic packaging needs.
Although, I have made a few customizations based on comments I have read from Andrew Cherney and Mike Rustici (I try to read everything either one of them answers for someone on the forum).
If you are saying that a particular LMS is doing some kind of "import validation" before it accepts and allows you to publish your content, then that is actually quite common (though usually transparent unless you hit a snag in the validation).
Typically, the validation will consist of a shortened version of the same basic items that the ADL test suite checks for (schemas and declarations, launch files, etc..).
That said, if because of an LMS that you need to account for, you absolutely NEED to have all the files listed in the manifest, a great tool for ensuring that is actually free.
It is called RELOAD, and if you ever take one of the courses run by the ADL Academic Co-Lab (which I highly recommend) that is the tool they use for teaching about packaging and sequencing.
Very useful tool for creating new packages or editing existing packages as well as adding metadata, sequencing rules and so on.
RELOAD lets you drag and drop whole directories of resources and set their dependency requirements so you could use it to quickly add all your resources to the manifest.
This is their website:
http://www.reload.ac.uk/
I can generally get by with just the files that captivate generates for scorm 1.2 , but for any heavy lifting (i.e. dynamic sequencing in scorm 2004), I always bring RELOAD into the picture.
I hope this was helpful. I tend to ramble on about standards sometimes...
Russ -
Creating a Flex Theme from a Skin made in Flash
Hi all, here's what I'm trying to do in Flash Builder 4 Beta 2:
I have the Flex Scope Skin used for creating UI for CS4 products from here:
http://www.adobe.com/devnet/creativesuite/
I have the Skin Design Extensions and Flex Component Kit from here:
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex_skins
The instructions on the skin page say to add the skin files to each Flex project which bloats the number of files in each project. What I'd like to do is compile the Scope Skin down to a SWC that can be referenced by projects OR create a Flex Theme.
I've tried compiling an SWC out of Flash CS4, this kind of works but I can't find a way of embedding the fonts in the SWC that are recognised by Flex. I've also tried crating a Theme SWC from Flex with no success.
Is there a tutorial out there showing how to create a Flex theme with embedded fonts and swf resources as well as CSS? I have found some tutorials but the are all basic.
TNKS!
G1.Create a layer on top of all existing layers.
2.Draw a rectangle shape.
3.set the width and height equal to the stagewidth and height.
4.Select the shape and convert it in to a symbol(selct and press F8).
5.On the popup select button.Click OK.
6.Double click on the created button.
7.You can see up,over,down ,hit.
8.Press on the frame hit and insert a key frame(F6);
9.Click on the first frame(up), delete the content on the frame.
10.Return to the main scene.
You have created an invisible button.
Click on the button and give it an instancename of 'invis_btn'
Paste the code on the frame where the button is
invis_btn.addEventListener(MouseEvent.CLICK,gotoURL);
function gotoURL(e:MouseEvent):void {
var url:String = "http://www.adobe.com";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request);
} catch (e:Error) {
// handle error here -
When uploading the scorm zip file from captivate to my LMS
(SumTotal version 7.1) I am getting the following error message
"An error occurred while parsing imsmanifest.xml. Attribute
http://www.w3.org/2001/XMLSchema-instance}schemalocation'
is not defined."
Has anyone experienced this before?
Thanks,
HenryBelow is the xml manifest if that could help determine the
solution?
<?xml version="1.0" encoding="UTF-8" ?>
- <manifest identifier="OneSource" version="1.3" xmlns="
http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:imscp="
http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:adlcp="
http://www.adlnet.org/xsd/adlcp_v1p3"
xmlns:imsss="
http://www.imsglobal.org/xsd/imsss"
xsi:schemaLocation="
http://www.imsglobal.org/xsd/imscp_v1p1
imscp_v1p1.xsd
http://www.adlnet.org/xsd/adlcp_v1p3
adlcp_v1p3.xsd
http://www.imsglobal.org/xsd/imsss
imsss_v1p0.xsd
http://ltsc.ieee.org/xsd/LOM
lomStrict.xsd">
- <metadata>
<schema>ADL SCORM</schema>
<schemaversion>CAM 1.3</schemaversion>
- <lom xmlns="
http://ltsc.ieee.org/xsd/LOM">
- <general>
- <identifier>
<catalog>Adobe Captivate Course</catalog>
<entry>OneSource</entry>
</identifier>
- <title>
<string language="x-none">Account Opening
Tutorial</string>
</title>
- <description>
<string language="x-none" />
</description>
- <keyword>
<string language="x-none" />
</keyword>
</general>
- <lifeCycle>
- <version>
<string language="x-none" />
</version>
- <status>
<source>LOMv1.0</source>
<value>final</value>
</status>
</lifeCycle>
- <metaMetadata>
- <identifier>
<catalog>test</catalog>
<entry>test 1000</entry>
</identifier>
<metadataSchema>LOMv1.0</metadataSchema>
<metadataSchema>SCORM_CAM_v1.3</metadataSchema>
</metaMetadata>
- <technical>
<format>text/html</format>
<location>.</location>
</technical>
- <educational>
- <typicalLearningTime>
<duration>PT0H0M</duration>
- <description>
<string language="x-none">Average length of time to
experience this Adobe Captivate Project.</string>
</description>
</typicalLearningTime>
</educational>
- <rights>
- <cost>
<source>LOMv1.0</source>
<value>no</value>
</cost>
- <copyrightAndOtherRestrictions>
<source>LOMv1.0</source>
<value>no</value>
</copyrightAndOtherRestrictions>
</rights>
- <classification>
- <purpose>
<source>LOMv1.0</source>
<value>idea</value>
</purpose>
- <description>
<string language="x-none" />
</description>
- <keyword>
<string language="x-none">Adobe
Captivate</string>
<string language="x-none" />
</keyword>
</classification>
</lom>
</metadata>
- <organizations default="OneSource_ORG">
- <organization identifier="OneSource_ORG">
<title>Account Opening Tutorial</title>
- <item identifier="OneSource_SCO" isvisible="true"
identifierref="OneSource_SCO_RES">
<title>Account Opening US
Citifolio_SCO_Title</title>
- <imsss:sequencing>
- <imsss:objectives>
- <imsss:primaryObjective objectiveID="PRIMARYOBJ"
satisfiedByMeasure="true">
<imsss:minNormalizedMeasure />
</imsss:primaryObjective>
</imsss:objectives>
</imsss:sequencing>
<adlcp:dataFromLMS>.</adlcp:dataFromLMS>
<adlcp:timeLimitAction>exit,message</adlcp:timeLimitAction>
</item>
</organization>
</organizations>
- <resources>
- <resource adlcp:scormType="sco"
identifier="OneSource_SCO_RES" type="webcontent" href="Account
Opening US Citifolio.htm">
<file href="Account Opening US Citifolio.swf" />
<file href="Account Opening US Citifolio.htm" />
<file href="SCORM_support/scorm_support.htm" />
<file href="SCORM_support/scorm_support.js" />
<file href="SCORM_support/scorm_support.swf" />
</resource>
</resources>
</manifest> -
Hi,
I am setting up a Dynamic Website, that users can signup for and configure their AIR application. They can upload files, add text and change the appearance. All of the files will be stored in a Directory. What I need to do, however, is recompile the Root AIR File using their directory, thus creating an AIR Package with my generic Application configured by their files.
Is this possible? Do I have to install the compiler on the Server somehow, and use PHP to send commands to the compiler, using the MXML files and the directory using the user's custom data?
Basically, when the User clicks 'Compile', I will need to send a variable to PHP containing the directory of the User's information. Then, I would need to pass this value and any other compiler arguments to the compiler and initiate the compilation, and output the file. I am not too familiar with compilers, so any advice or resources would be very helpful!!
Thanks much,
JesseSWF-based AIR apps require compilation (for the SWF resources). HTML-based AIR apps don't require compilation.
Creating an AIR package is not the same thing as compiling it. The packager does two things. It creates a zip-like file containing the application files and it signs the package with a digital signature. The packager, ADT, is a Java program. You could conceivably run it on a server. -
Please - HELP!!! I have been spinning my wheels on this... I added a SWF within InDesign and then exported my document as a SWF. Everything works fine in viewing my exported SWF (the overall goal is to create an interactive PDF). When I reimport the SWF and view it within InDesign everything is gravy. However, upon export my newly created PDF the page curls work, the button works but the embedded SWF within the document doesn't show (although it appeared to work in InDesign's multimedia preview within the program)???
"sub-SWF" inside "main-SWF" is not working if you place "main-SWF" back to InDesign and export it as PDF. That´s because InDesign does not embedd SWF while exporting it, instead of that, it creates a resources folder and stores placed SWF there.
When you place sub-SWF back to InDesign, you are actually placing an empty container. You should place SWF+resources folder and that´s not possible with InDesign´s place feature.
If you want to get your PDF work properly, you need to open it into Acrobat Professional and add that missing resources folder there.
You can read about that from here:
http://forums.adobe.com/message/5229177#5229177 -
Thanks Dave
Re the no controls in SWF problem, I did try adding the SWF resources. Camtasia places all the products of production in a folder, I loaded the main swf as the media and went Add Resources and added everything else, but still no controls appear when it runs. Camtasia has Preview option available at the production stage and I ran this and it showed controls.
Re the clip extending beyond window problem, Is there some way of posting a picture of the troublesome window? I tried a few tests. Firstly I embedded the clip with floating window and the default window size (320 * 240). It ran fine (although the clip was way too small) with the clip centred in the window, black bars on the right and left between the clip edge and the window boundary, with clip extending to the top and bottom of window. Next I doubled the window size, everything OK again but clip too small. I trebled the window size, still OK. When I set the window at four times default size (1280*960) the problem occurred. It looks exactly like the clip is extending beyond the right hand border of the window. You can see the windows’ X (close window) button on its to right corner, but it’s about an inch (to the left) in from the clips top right corner. It looks like there may be some maximum window size.
Thanks again.
I am very new to embedded video so forgive my ignorance here. I am creating clips with Camtasia and embedding them in a pdf with Acrobat pro X. I have tried SWF and MP4. The clips are large so I have set them to run in a floating window. There are two issues:
Although I have set the Width and Height slightly larger than the clip, I get a black band up the right hand side and the clip appears to extend beyond the Right hand side.
No matter what settings I use, when I embed a SWF I get no controllers when the clip runs.Thanks Dave
Re the no controls in SWF problem, I did try adding the SWF resources. Camtasia places all the products of production in a folder, I loaded the main swf as the media and went Add Resources and added everything else, but still no controls appear when it runs. Camtasia has Preview option available at the production stage and I ran this and it showed controls.
Re the clip extending beyond window problem I think I have worked out whats happening. The clip was definitely extending beyond the right hand edge of the Window. You can see the windows’ X (close window) button on its to right corner, but it’s about an inch in from the clips top right corner. However I experimented with various window sizes, smaller sizes worked fined but big windows created the problem. Then I noticed that when I moved the window, it is not fully floating on the desktop,as is the case with an avi loaded from a hyperlink, but floats in the pdf document. As I stretched the pdf's right hand edge (made the pdf window bigger) the extent to which the clip extended beyond the clip window decreased until it disappeared. I can understand that if the pdf window is too small you won't be able to see all the clip window, but something still seems a bit wrong here to me. If you have the pdf window maximised the clip appears centred in the clip window. If you drag the clip window to the right the window and clip remain together as they disappear beyond the pdf window. This is the behaviour I would expect to see in a smaller pdf window, it seems wrong that as you shrink the pdf window that the clip window shrinks in a manner which is out of sync with the shrinking of the clip itself, which is what happens. I can send a picture or avi if you like.
Thanks
Murray -
ExternalInterface.call across domains?
I'm using ExternalInterface.call in a swf file to call a
javascript in the html container. The swf file is located in a
different domain than the html container. Everything works fine if
all files are within the same root directory, but as soon as I
reference the swf file located in the other domain, the call stops
working! What am I missing?
swf file has this in frame 1:
import flash.external.ExternalInterface;
function clickListener(eventObj:Object):Void {
ExternalInterface.call("sendToResponseForm");
swf file has this on mc instance tracked as button:
on(press){
clickListener();
html file/container has this in <head> tag:
<script type="text/javascript">
function sendToResponseForm(){
window.location = "my.other.html.file";
</script>
html file has this embedded:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="550">
<param name="movie" value="
http://www.otherdomain.com/vid/my.SWFFile.swf"
/>
<param name="quality" value="high" />
<embed src="
http://www.otherdomain.com/vid/my.SWFFile.swf"
quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="700"
height="550"></embed>
</object>
Hopefully, that's enough for you to chew on. Like I said if
swf and html are in the same domain, it works. Just as soon as I
point to second domain for swf file source it stops working.
thanks
dekeHere's my mistake -- the swf file was fine and actually
worked in IE6/IE7 but wouldn't work in Firefox. The process of
including the swf file in the HTML was flawed. I originally
published the HTML using Dreamweaver to write the <object> in
the code. What fixed the problem was I published the swf file using
Flash to a desktop folder which produced a javascript file
(AC_RunActiveContent.js), the swf file and the HTML. The javascript
dynamically determines which browser was being used and which
player plugin was required. The script ultimately loads/writes the
embed or object for the swf file appropriately for the content
environment and everything communicates properly. It didn't have
anything to do with cross domain communication at all.
The main challenge was updating the Flash HTML/Javascript to
use the proper swf resource which was located on a different server
and move the js file to the appropriate directory updating the link
in the HTML accordingly. My only concern was the added overhead of
an external javascript source. But, at least I'm not concerned with
whether it works or not anymore.
Hope this helps somebody.
deke -
I have a "course" that has 18 indiviualized modules (cp). Is
there a fairly easy way to publish the course in SCORM 1.2 that
will give me the imsmanifest.xml file that has all of the modules
listed?
I've been trying a number of things and nothing seems to be
working.
Any assistance would be appreciated.Hi Kerina,
Assuming you wish to maintain the SCO at the module level,
your best bet would be to alter the manifest manually using a text
editor or IDE (Dreamweaver, Aptana, etc.).
You can start by creating a folder for the course level, then
publishing each module inside a subfolder. Then copy one of the
manifests produced by Captivate to the parent folder. The areas to
focus on are the organizations and resources sections, shown here.
<organizations default="FSA_CR07_ORG">
<organization identifier="FSA_CR07_ORG">
<title>FSA Civil Rights 2007</title>
<item identifier="Exam" isvisible="true"
identifierref="Exam_RES">
<title>FSA Civil Rights 2007 Exam</title>
<adlcp:maxtimeallowed></adlcp:maxtimeallowed>
<adlcp:datafromlms></adlcp:datafromlms>
<adlcp:masteryscore>70</adlcp:masteryscore>
<adlcp:timelimitaction>exit,message</adlcp:timelimitaction>
</item>
</organization>
</organizations>
<resources>
<resource identifier="Exam_RES" type="webcontent"
href="FSA-CR07.htm" adlcp:scormtype="sco">
<file href="FSA-CR07.swf"/>
<file href="FSA-CR07.htm"/>
<file href="SCORM_support/scorm_support.htm"/>
<file href="SCORM_support/scorm_support.js"/>
<file href="SCORM_support/scorm_support.swf"/>
</resource>
</resources>
</manifest>
For the organizations section, copy the information from each
of your 18 manifests into the items, and the same for files in the
resource section. After that, give it a run through the ADL Test
Suite to catch anything you may have missed.
http://www.adlnet.gov/scorm/index.aspx
There are also tools that will do this for you, such as the
L5 SCORM Producer, but I find in this situation, it is easier to do
it by hand.
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1028 647
Hope that helps.
Matt -
Accessing resources in loaded/external SWFs
I've been looking around for an effective way of solving this
issue, but without much like. What I'm trying to accomplish is
creating a container for my newest Flash site in main.swf and
loading other swf files that provide resources that modify mcs,
functions etc. of the main.swf. I plan to have main.swf hold my
background, logo etc. then each subrelated page as contact.swf,
index.swf to be placed on top of that swf.
I did find this thread:
http://www.kirupa.com/forum/archive/index.php/t-241538.html
but all I managed to get from it is how to reference elements in
the child from the parent using Loader.content. What I'm trying to
figure out is how to reference from the child to the parent. ie. if
I want to modify the background of the main.swf which is contained
in a function called changeBackground().
To add some more complexity I am trying to keep as much of my
code in .as files that are placed in the Document class. So for
each main.fla I have a main.as and index.fla is index.as. In my
index.as script I need to determine how to access objects/functions
contained in main.as.
I HOPE that I've explained that all properly. If I'm being
confusing or using inappropriate terms - apologies.First, you need a loadComplete function in your icMain class
to get called after the swf is loaded. You set up that relationship
already in this line:
indexLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
loadComplete);
so you need this:
private function loadComplete(event:Event):void
then, move these functions into the loadComplete function as
you have to wait until the swf is loaded before setting the
reference:
var indexPage:indexPage = indexLoader.content as indexPage;
indexPage.icMain = this;
In your indexPage class, you need to move your set mainSWF
function outside of the indexPage function. Also, the type of
object you are passing, according to your code, should be icMain.
So, instead of this:
public function indexPage():void
public function set mainSWF(icMain:MainSWFDocumentClass):void
_icMain = icMain;
Do this (notice I changed the name of your variable to avoid
name conflict. using the convention of starting class names with a
Capital letter would help too):
private var _mainSWF:icMain;
public function indexPage():void
public function set mainSWF(mainSWF:icMain):void {
_mainSWF = mainSWF;
Here is the rewritten icMain class:
package
public class icMain extends Sprite
public function icMain():void
var indexRequest:URLRequest = new
URLRequest("index/index.swf");
var indexLoader:Loader = new Loader();
indexLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
loadProgress);
indexLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
loadComplete);
indexLoader.load(indexRequest);
private function loadComplete(event:Event):void
var indexPage:indexPage = indexLoader.content as indexPage;
indexPage.icMain = this;
And here is your rewritten indexPage class:
package {
public class indexPage extends Sprite
private var _mainSWF:icMain;
public function indexPage():void
public function set mainSWF(mainSWF:icMain):void {
_mainSWF = mainSWF;
Maybe you are looking for
-
Creating backend services via Struts plugin
I have a design problem where I'm redeveloping the front end of our application, and in an effort to reduce coupling and preserve tier separation, I've implemented a Struts plugin which is comprised of "service" objects that use the business delegate
-
Captivate 8: adding text to a shape
when I add text to a smart shape, the text stays really close to the lines of the smart shape. It looks awful. Is there any way to format this or prevent it?
-
Do I need iTunes 10.4.1 if I'm still using OS X 10.6.8?
Do I need iTunes 10.4.1 if I'm still using OS X 10.6.8?
-
FCP X crashed, now all my projects are gone.
So I was working on a project and FCP X crashed (as it usually does). When I reopened it, many of the clips I had on the timeline were blacked out, with a red line on the bottom half of the clip. Same for my audio files. It won't let me reveal the
-
I have both of my computers "home share" turned on and I can see both of my computer's playlists...but for some reason I am unable to move new purchases from my desktop to my laptop. All I really want to do is get a new song that I bought on my deskt