//////////////////////////////////////////////////////////////////////////////// // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // //////////////////////////////////////////////////////////////////////////////// package flashx.textLayout.compose { /** * The ISWFContext interface allows a SWF file to share its context with other SWF files that load it. * An application that loads a SWF file of type ISWFContext can call methods in the context of the loaded SWF file. * The main usage is for calling the FTE TextLine creation methods. * *
There are two reasons for an application to use * this interface to control TextLine creation:
*TextBlock.recreateTextLine()
* instead of TextBlock.createTextLine()
when TLF recognizes that a TextLine is extant.Your application may have additional TextLine instances that can be reused. * To manually reuse existing TextLine instances:
*TextBlock.createTextLine()
, thenTextBlock.recreateTextLine()
with the extant TextLine instance instead
* of TextBlock.createTextLine()
.Please note, however, that the TextBlock.recreateTextLine()
is available
* only in Flash Player 10.1 and later.